Difference between revisions of "Sonic Heroes/Spline Editing"
From Sonic Retro
Igorseabra4 (talk | contribs) (Created page with "{{SCHG SH}} SPL splines are found in many places in Sonic Heroes. Splines such as rails and autoloops are not in SPL format, those instead are in the SCHG:Sonic Heroes/EXE...") |
|||
Line 1: | Line 1: | ||
{{SCHG SH}} | {{SCHG SH}} | ||
− | SPL splines are found in many places in Sonic Heroes. Splines such as rails and autoloops are not in SPL format, those instead are in the [[SCHG:Sonic Heroes/EXE Editing|executable]]. SPLs are found directly in the dvdroot folder or in ONE archives, and contain data for special stage splines, automated camera sections, and many objects such as flowers/propellers and the alligator in [[Lost Jungle]]. | + | SPL splines are found in many places in Sonic Heroes. Splines such as rails and autoloops are not in SPL format, those instead are in the [[SCHG:Sonic Heroes/EXE Editing|executable]]. SPLs are found directly in the dvdroot folder or in ONE archives, and contain data for special stage splines, automated camera sections, and many objects such as flowers/propellers and the alligator in [[Frog Forest]] and [[Lost Jungle]]. |
== Format == | == Format == |
Revision as of 16:06, 14 February 2019
SCHG: Sonic Heroes |
---|
Main Article |
Mechanic Editing |
DOL Editing |
Model Editing |
Collision Format Model Format |
Level Editing |
Camera Editing |
Particle Editing |
Particle Editing |
Sound Editing |
Music List |
SCHG How-Tos |
Custom Object Material Effect Tutorial |
SPL splines are found in many places in Sonic Heroes. Splines such as rails and autoloops are not in SPL format, those instead are in the executable. SPLs are found directly in the dvdroot folder or in ONE archives, and contain data for special stage splines, automated camera sections, and many objects such as flowers/propellers and the alligator in Frog Forest and Lost Jungle.
Format
The file is little endian. It's a Renderware binary stream file with just one section.
int32 sectionType // 0C 00 00 00 int32 sectionSize // number of bytes in file -0x0C int32 renderWareVersion // always FF FF 00 14 in Heroes int8[20] null int32 amountOfPoints // get total number of bytes in file, subtract 0x34 and divide by 0x0C int32 unknown // always 01 00 00 00 vertex3[amountOfPoints] vertices // vertex3: 0x0C bytes float32 X float32 Y float32 Z
Tools
Heroes SPL Editor can convert between SPL and OBJ which can be imported/exported from 3d model editors.