Actions

SCHG

Difference between revisions of "Sonic Heroes/DOL Editing"

From Sonic Retro

(Created page with "{{SCHG SH}} The main DOL of the GC game is start.dol. This executable contains codes in different offsets for each region and version released in a variety of countries. ==M...")
 
Line 21: Line 21:
 
| {{Laser Lemon|Material value}}
 
| {{Laser Lemon|Material value}}
 
|}
 
|}
 +
 +
See the [[SCHG:Sonic Heroes/EXE Editing#Material_Opcodes|EXE editing page]] for function parameter details.
  
 
Nintendo System Material function:<br>
 
Nintendo System Material function:<br>
 
{{grey|38 60 00 00 38 80 00 00 38 A0 00 00 38 c0 00 00}}
 
{{grey|38 60 00 00 38 80 00 00 38 A0 00 00 38 c0 00 00}}
 +
 +
===Offsets===
 +
A list shows offsets for special material effects that were discovered in the DOL. More codes that have been found and not already on the list will be added.
 +
 +
====NTSC-U====
 +
{|class="prettytable"
 +
!Addresses (Final)||Materials||Default Parameter Values||Targeting Object||Notes
 +
|-
 +
|1D8FF<br>1D90B
 +
|Source Blend<br>Destination Blend
 +
|02<br>06
 +
|Teleporter Switch Effect Blend Condition
 +
|
 +
|}

Revision as of 19:16, 16 August 2017

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
Voices

SCHG How-Tos

Custom Object Material Effect Tutorial
Level Editing Tutorial


The main DOL of the GC game is start.dol. This executable contains codes in different offsets for each region and version released in a variety of countries.

Material Opcodes

A number of code sections contain additional material/graphic codes that are rendered via Renderware engine that provides special effects to an object such as Espio's invisibility and Thundershoot electricity effects.
Function entry:

RenderWare Material function:
38 60 00 00 38 80 00 00

Offset Type Description
0x04 Byte Material type
0x08 Byte Material value

See the EXE editing page for function parameter details.

Nintendo System Material function:
38 60 00 00 38 80 00 00 38 A0 00 00 38 c0 00 00

Offsets

A list shows offsets for special material effects that were discovered in the DOL. More codes that have been found and not already on the list will be added.

NTSC-U

Addresses (Final) Materials Default Parameter Values Targeting Object Notes
1D8FF
1D90B
Source Blend
Destination Blend
02
06
Teleporter Switch Effect Blend Condition