Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

AFS (Gotcha Force): Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
[[Gotcha Force | ← Gotcha Force]]
[[Gotcha Force | ← Gotcha Force]]


Les fichiers contenus dans l'AFS de Gotcha Force sont chargés en utilisant l'index de la suite d'offsets / length dans la TOC. On vérifie cela car le jeu fonctionne bien en supprimant le pad entre la fin des couples offset/length et l'adresse du FD (pad qui représente plusieurs blocks), ce qui décale l'ensemble des offsets de chaque fichiers. D'ailleurs le jeu fonctionnera sans FD.
Files packed in the Gotcha Force AFSs are loaded using theirs index in the suite of (offset / length) in the Table Of Content. We verify that by running the game after removing empty spaces after the end of the TOC which represent several empty blocks changing every offsets of files packed in it. Also removing Filename Directory of the game and running it start the game without bugs.


---------------------------------
---------------------------------
 
Researchs:
Le code pour décompresser l'afs pourrait se trouver en effectuant des diffs sur l'ensemble des dols qui parsent des AFS ayant la même structure, en étudiant les octets plutôt que les bits :
The assembly code unpacking the afs could be find by diffs of a collection of dols parsing the AFS with the same structures, by studiying offsets rather than bits:
* FD présent,
* FD present ?
* ?
* ?
On réalisera un csv avec le nom des dols, et la présence ou non d'un fichier AFS, avec une tolérance aux erreurs.
We could build a csv with dol names with presence of not of AFS with errors tolerence.


[[Category:File format]]
[[Category:File format]]
[[Category:Gotcha Force]]
[[Category:Gotcha Force]]

Revision as of 20:08, 22 August 2022

← Gotcha Force

Files packed in the Gotcha Force AFSs are loaded using theirs index in the suite of (offset / length) in the Table Of Content. We verify that by running the game after removing empty spaces after the end of the TOC which represent several empty blocks changing every offsets of files packed in it. Also removing Filename Directory of the game and running it start the game without bugs.


Researchs: The assembly code unpacking the afs could be find by diffs of a collection of dols parsing the AFS with the same structures, by studiying offsets rather than bits:

  • FD present ?
  • ?

We could build a csv with dol names with presence of not of AFS with errors tolerence.