Actions

SCHG

Sonic the Hedgehog (2006 game)

From Sonic Retro

Revision as of 19:32, 14 February 2014 by Andruid (talk | contribs) (File Formats (contains speculation))

This is the Sonic Community Hacking Guide for Sonic the Hedgehog (2006).

SCHG: Sonic the Hedgehog (2006 game)
Main Article
Sound Editing
Sound Editing
Music List
Voices


Decompilation

You must use XBOX 360 ISO Extraxt to unpack or repack the .iso.

.ARC UnPack/RePack

To UnPack: Simply drag and drop an .arc file onto arctool.exe, and it will unpack its contents into a folder with the same name as the original .arc file.

To RePack: Run a command prompt and type "arctool.exe -i "nameoffolder" "nameofarc.arc"" without quotes.

For example: C:\Users\User\Desktop\arctool.exe -i player player.arc. ("player" being the folder and "player.arc" being the name of the file after packing.)

Make sure that arctool.exe is in the same location as the folder that you'd like to repack or else the above method won't repack.

.LUB Decompilation

  • 1. Place ChunkSpy.exe into the xenon folder.
  • 2. Create a text file there with the following code:
for /r %%i in (*.lub) do (
  chunkspy "%%~dpni.lub" > "%%~dpni.lua"
)
  • 3. Rename the file extension to .bat and run it.

File Formats (contains speculation)

  • .arc: Archives that can be unpacked and packed with arctool.exe
  • .bin: Collision files
  • .csb: Event files
  • .dds: Texture files
  • .epb: Event play book
  • .ftm: Font maps
  • .fxo: DirectX Shader files
  • .hkx: Havok physics behavior files
  • .kbf: Mission files
  • .lub: Compiled .lua scripts. These can be decompiled using Chunkspy.exe and a batch script. You may not need to recompile them for the game to work.
  • .mab: Event and miscellaneous character files
  • .mbi: Motion Base Information Files. These files contain morph data. They can be opened in notepad.
  • .mst: Message files
  • .path: Scripted path files
  • .peb: Particle effect files
  • .pfi: Text-related files
  • .pkg: File indexes
  • .plc: Particle effect loaders
  • .prop: Level variables and actions
  • .ptb: Tells which particle effects to load on each area, character, or event.
  • .rab: Related to the .bin files
  • .sbk: Groups the sound effects that belong to specific enemies or characters.
  • .set: Object/effect placement files
  • .tev: Used in breakable objects
  • .wmv: Video files
  • .xna: Unknown files
  • .xncp: Sprite files
  • .xnd: Camera files
  • .xne: Used in miscellaneous objects
  • .xng: Only used for a cage
  • .xni: Used for lighting
  • .xnm: Animation files
  • .xno: Model files. Here is a link to the model converter. (3DS Max is required)
  • .xnv: Special effect generation files
  • .xtm: Can be opened in notepad. Contains gliding animation data for Knuckles.
  • .xto: Can be opened in notepad. Contains information for Kyozoress enemies.
  • .xtv: Can be opened in notepad. Kyozoress material file

Directories

win32

  • \archives: Where most character, enemy, and level .arc files are kept.
    • stage_e0304: Soleanna at the End of the World / Solaris arena
    • stage_kdv_d: Kingdom Valley "Mach speed" section
    • stage_rct_b: Radical Train "Mach speed" section
    • stage_tpj_c: Tropical Jungle Siver/Rouge/final section
    • stage_wap_b: White Acropolis second/final section

xenon

  • \archives: Where some other .arc files are kept. All of the .lub scripts can be found here.
    • Stage: Contains stage collision data
    • Player: Contains the code for all of the characters
    • Sound: Contains sound effects
  • \event: Where the cut scene videos and voice files are kept. Pre-rendered cut scenes are in .wmv, while other cut scenes have .xma files.
  • \sound: Music files and credits videos
    • \event: Cutscene music

Trivia

  • In many of the player .lua files, there is a parameter called "input_method_mario64"
  • The menu files from the TGS demo are at win32\archives\sprite\win32\sprite\gameshow.
  • The Kingdom Valley TGS demo files are located at xenon\archives\scripts\xenon\placement\other\gameshow.

Contributors

(In alphabetical order)

Sonic Community Hacking Guide
General
SonED2 Manual | Subroutine Equivalency List
Game-Specific
Sonic the Hedgehog (16-bit) | Sonic the Hedgehog (8-bit) | Sonic CD (prototype 510) | Sonic CD | Sonic CD (PC) | Sonic CD (2011) | Sonic 2 (Simon Wai prototype) | Sonic 2 (16-bit) | Sonic 2 (Master System) | Sonic 3 | Sonic 3 & Knuckles | Chaotix | Sonic Jam | Sonic Jam 6 | Sonic Adventure | Sonic Adventure DX: Director's Cut | Sonic Adventure DX: PC | Sonic Adventure (2010) | Sonic Adventure 2 | Sonic Adventure 2: Battle | Sonic Adventure 2 (PC) | Sonic Heroes | Sonic Riders | Sonic the Hedgehog (2006) | Sonic & Sega All-Stars Racing | Sonic Unleashed (Xbox 360/PS3) | Sonic Colours | Sonic Generations | Sonic Forces
Technical information
Sonic Eraser | Sonic 2 (Nick Arcade prototype) | Sonic CD (prototype; 1992-12-04) | Dr. Robotnik's Mean Bean Machine | Sonic Triple Trouble | Tails Adventures | Sonic Crackers | Sonic 3D: Flickies' Island | Sonic & Knuckles Collection | Sonic R | Sonic Shuffle | Sonic Advance | Sonic Advance 3 | Sonic Battle | Shadow the Hedgehog | Sonic Rush | Sonic Classic Collection | Sonic Free Riders | Sonic Lost World
Legacy Guides
The Nemesis Hacking Guides The Esrael Hacking Guides
ROM: Sonic 1 | Sonic 2 | Sonic 2 Beta | Sonic 3

Savestate: Sonic 1 | Sonic 2 Beta/Final | Sonic 3

Sonic 1 (English / Portuguese) | Sonic 2 Beta (English / Portuguese) | Sonic 2 and Knuckles (English / Portuguese)
Move to Sega Retro
Number Systems (or scrap) | Assembly Hacking Guide | 68000 Instruction Set | 68000 ASM-to-Hex Code Reference | SMPS Music Hacking Guide | Mega Drive technical information