update README
This commit is contained in:
parent
a7982c4fef
commit
37205b6345
@ -37,11 +37,14 @@ for zonetool files (*.cgsc*, *.cgsc.stack*) use: `zasm`, `zdisasm`, `zcomp`, `zd
|
|||||||
|`decomp` |decompile a `file.gscbin` |`file.gsc` |
|
|`decomp` |decompile a `file.gscbin` |`file.gsc` |
|
||||||
|
|
||||||
## File Format
|
## File Format
|
||||||
|
If you need to extract scripts from fastfiles or game memory, use [Zonetool](https://github.com/ZoneTool/zonetool) or [Jekyll](https://github.com/EthanC/Jekyll).
|
||||||
|
|
||||||
- gsc-tool ``.gscbin`` format is a serialized ScriptFile struct: ***name***: null-term string, ***compressedLen***: 4 byte uint, ***len***: 4 byte uint, ***bytecodeLen***: 4 byte uint, ***buffer***: byte array[compressedLen], ***bytecode***: byte array[bytecodeLen].
|
- gsc-tool ``.gscbin`` format is a serialized ScriptFile struct: ***name***: null-term string, ***compressedLen***: 4 byte uint, ***len***: 4 byte uint, ***bytecodeLen***: 4 byte uint, ***buffer***: byte array[compressedLen], ***bytecode***: byte array[bytecodeLen].
|
||||||
|
|
||||||
- zonetool (IW5) format made of bytecode file ``.cgsc`` and decompressed stack buffer ``.cgsc.stack``.
|
- zonetool (IW5) format made of bytecode file ``.cgsc`` and decompressed stack buffer ``.cgsc.stack``.
|
||||||
|
|
||||||
- treyarch (T6) format is a single buffer with gscobj data ``.gsc`` or ``.csc``.
|
- treyarch (T6) format is a single buffer with gscobj data ``.gsc`` or ``.csc``.
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
This project is based on [*RektInator's* gsc-asm](https://github.com/ZoneTool/gsc-asm). Special thanks to **RektInator**, **JTAG** & **Dasfonia**.
|
This project is based on [*RektInator's* gsc-asm](https://github.com/ZoneTool/gsc-asm). Special thanks to **RektInator**, **JTAG** & **Dasfonia**.
|
||||||
## Disclaimer
|
## Disclaimer
|
||||||
|
Loading…
Reference in New Issue
Block a user