Difference between revisions of "Sonic Heroes/Particle Editing"
From Sonic Retro
(→File Layout) |
(→File Layout) |
||
Line 6: | Line 6: | ||
Each _ptcl.bin files contains 0x80 byte entries for a variety of different effects.<br>The entry for the files follows this:<br> | Each _ptcl.bin files contains 0x80 byte entries for a variety of different effects.<br>The entry for the files follows this:<br> | ||
<br> | <br> | ||
− | {{yellow|00 1E 05 00}} 00 0F 1D 46 {{blue| | + | {{yellow|00 1E 05 00}} 00 0F 1D 46 {{blue|00 00 00 00}} 00 00 00 {{magenta|00}} 00 {{yellow|01}} 00 {{magenta|64}} 00 64 00 {{green|32}} 00 00 {{purple|00 00}} {{cyan|00 02}} {{grey|00 00}}<br>{{red|00 05 00}} {{yellow|00}} {{lime|00}} 00 00 00 {{cyan|00 00}} {{Olive|00 00}} {{orange|00 00 00 00}} {{purple|00 00 00 00}} 00 00 00 00 00 00 00 00 00 00 00 00<br>3F 33 33 36 3E CC CC CD 3F 33 33 34 3F 00 00 00 32 80 00 00 32 80 00 00 {{green|00 00 00 00}} 40 40 00 00<br>{{blue|00 00 00 00}} 00 00 00 00 {{orange|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00}} |
{| class="prettytable" | {| class="prettytable" | ||
Line 24: | Line 24: | ||
|{{magenta|Byte}} | |{{magenta|Byte}} | ||
|{{magenta|Fade time?}} | |{{magenta|Fade time?}} | ||
+ | | | ||
+ | |- | ||
+ | |{{yellow|0x11}} | ||
+ | |{{yellow|Byte}} | ||
+ | |{{yellow|Unknown<br>Probably ignored}} | ||
| | | | ||
|- | |- | ||
Line 29: | Line 34: | ||
|{{magenta|Byte}} | |{{magenta|Byte}} | ||
|{{magenta|Amount of particles}} | |{{magenta|Amount of particles}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
| | | | ||
|- | |- | ||
Line 39: | Line 39: | ||
|{{green|Byte}} | |{{green|Byte}} | ||
|{{green|Unknown}} | |{{green|Unknown}} | ||
+ | | | ||
+ | |- | ||
+ | |{{purple|0x19}} | ||
+ | |{{purple|Word}} | ||
+ | |{{purple|Unknown}} | ||
| | | | ||
|- | |- | ||
Line 59: | Line 64: | ||
|{{lime|Byte}} | |{{lime|Byte}} | ||
|{{lime|Particle rotation}} | |{{lime|Particle rotation}} | ||
+ | | | ||
+ | |- | ||
+ | |{{cyan|0x27}} | ||
+ | |{{cyan|Word}} | ||
+ | |{{cyan|Rotate animation speed}} | ||
+ | | | ||
+ | |- | ||
+ | |{{Olive|0x29}} | ||
+ | |{{Olive|Word}} | ||
+ | |{{Olive|Rotate animation}} | ||
| | | | ||
|- | |- |
Revision as of 03:52, 19 February 2017
This article is a work in progress. Its content and location may change completely and frequently until this notice is removed. |
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 |
Particle effects for certain objects are set in the cmn_ptcl.bin and sLL_ptcl.bin files located in the dvdroot folder. They are big endian binary files that defines particles assigned to the object by the EXE.
File Layout
Each _ptcl.bin files contains 0x80 byte entries for a variety of different effects.
The entry for the files follows this:
00 1E 05 00 00 0F 1D 46 00 00 00 00 00 00 00 00 00 01 00 64 00 64 00 32 00 00 00 00 00 02 00 00
00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
3F 33 33 36 3E CC CC CD 3F 33 33 34 3F 00 00 00 32 80 00 00 32 80 00 00 00 00 00 00 40 40 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Offset | Type | Description | Notes |
---|---|---|---|
0x00 | Long | Particle Horizontal Size | |
0x0C | Long | RBGA Color | |
0x0F | Byte | Fade time? | |
0x11 | Byte | Unknown Probably ignored |
|
0x13 | Byte | Amount of particles | |
0x17 | Byte | Unknown | |
0x19 | Word | Unknown | |
0x1C | Word | Particle Velocity | |
0x20 | 3 Bytes | Always 00 05 00 | |
0x23 | Byte | Blend Mode | |
0x24 | Byte | Particle rotation | |
0x27 | Word | Rotate animation speed | |
0x29 | Word | Rotate animation | |
0x2C | Float | Particle Life time | The lower the float value is, the more time the particles will stay; higher float values will make the particles disappear quicker. |
0x30 | Float | Particle Life threshold? | |
0x58 | Float | Particle Size | |
0x60 | Float | Spread Size | |
0x68 | Text | Particle texture name to be used. |