Sonic Heroes/Indirect Editing

From Sonic Retro

SCHG: Sonic Heroes
Main Article
Mechanic Editing

DOL Editing
EXE Editing
Music Pointers
Object Parameter Data
Relocatable Editing (PC)
File Offsets

Model Editing
Collision Format
Model Format
Level Editing

Camera Editing
Event Editing
ID list
Indirect Editing
Light Editing
Level List
Object Editing
Object Porting
Spline Editing
Texture Animation Editing
Visibility Editing

Particle Editing
Particle Editing
Sound Editing
Music List

Sound Editing

SCHG How-Tos

Custom Object Material Effect Tutorial
Level Editing Tutorial

Indirect information files provide the indirect shader effect from the sLL_indinfo.dat files and they are stored in big endian.

Indirect File layout

Each entry array is 0x10 long and the properties contain simple info for indirect textures applied to a model.

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Offset Type Description
0x00 Byte Indirect Type
0x01 Byte X Coordinate
0x02 Byte Y Coordinate
0x03 Byte Z Coordinate
0x04 Byte UV Coordinate Scale
0x08 Float Horizontal Pan Speed
0x0C Float Vertical Pan Speed