Update README.md

This commit is contained in:
tmpz23 2022-01-29 09:03:47 +01:00 committed by GitHub
parent 18c3f6443a
commit 774e10579e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,22 +10,22 @@ If you want more infos about the game, go read our [Gotcha Force Wiki](http://re
**Warning - Running tests is for dev purpose: it will create lots of files and this could stress your SSD.**
## gcmtool.py
Python3 script for unpack/pack GCM iso files. This tool can rebuild FileStringTable (FST) of GCM and patch boot.bin with a new apploader.img, boot.dol, add/remove/edit of folder and files of the game.
Python3 script for unpack/pack GCM/iso files. This tool can rebuild FileStringTable (FST) of GCM and patch boot.bin with a new apploader.img, boot.dol, add/remove/edit of folder and files of the game.
### User manual
Unpack iso GCM file **game.iso** in folder **iso_unpack**: (If the destination folder is not specified, it will use the game_code-DVD_number as folder.)
Unpack GCM/iso file **game.iso** in folder **unpack_iso**: (If the destination folder is not specified, it will use the game_code-DVD_number as folder.)
```
gcmtool.py --unpack game.iso iso_unpack
gcmtool.py --unpack game.iso unpack_iso
```
Pack folder in iso:
Pack folder in GCM/iso:
```
gcmtool.py --pack iso_unpack game.iso
gcmtool.py --pack unpack_iso game.iso
```
Rebuild FST and patch boot.bin for a new apploader, dol, and add/remove/edit of folders and files:
```
gcmtool.py --rebuild-fst iso_unpack
gcmtool.py --rebuild-fst unpack_iso
```
Japanese charset is not handled for now except if you have installed Japanese local. The original GCM iso and repack GCM iso are different most of the time. This is because GCM DVD contains "empty spaces" with data unused (old datas or random datas I don't know). So this datas are useless and loss during unpack.
Japanese charset is not handled for now except if you have installed Japanese local. The original GCM/iso and repack GCM/iso are different most of the time. This is because GCM DVD contains "empty spaces" with data unused (old datas or random datas I don't know). So this datas are useless and loss during unpack.
### Extracted file tree
root folder contains all files of the unpacked GCM/iso