Help for Ghost Trick NDS

Une question en rapport avec le ROMHacking ?
Dans cette section nous tenterons de vous conseiller ou de partager nos connaissances, bien entendu dans la limite de nos compétences et de notre disponibilité.

Help for Ghost Trick NDS

Message non lupar Lyan53 » Mardi 4 Octobre 2011 à 22:54:05

Lyan53 a écrit:
cierpa a écrit:Ummm... I have a question. Does anyone here trying to hack .xml files from Ghost Trick?


This game is release in french language, I suppose nobody's try to hack it in France ;)

But I see inside .XML files and that is what I found :


.xml.lz files are compressed in Lzss type 11 (use batch lz77 or lzss codec for extract it)
.xml.bin files are not compressed


Inside, I found game script with relative search:
ImageImage

And the character table (not complete):
Code: Tout sélectionner
0A00=A
0B00=B
0C00=C
0D00=D
0E00=E
0F00=F
1000=G
1100=H
1200=I
1300=J
1400=K
1500=L
1600=M
1700=N
1800=O
1900=P
1A00=Q
1B00=R
1C00=S
1D00=T
1E00=U
1F00=V
2000=W
2100=X
2200=Y
2300=Z
2400=a
2500=b
2600=c
2700=d
2800=e
2900=f
2A00=g
2B00=h
2C00=i
2D00=j
2E00=k
2F00=l
3000=m
3100=n
3200=o
3300=p
3400=q
3500=r
3600=s
3700=t
3800=u
3900=v
3A00=w
3B00=x
3C00=y
3D00=z
4500=Ç
5900=à
5B00=â
5E00=ç
5F00=è
6000=é
6100=ê
6500=î
7000=û
E100=.
EA00="
EF00=,
F300='
FF00=
01FF=<line??>
03FF=<begin??>



It seems .xml files contains several sub-files (the name of sub-file are stocked in the end of .xml)



My search are make on the "st01_game000_Expand.fr.xml" file ("data /st01/" folder)

In the header of .xml files :
Image

In green >> File ID
In red >> size of game script table >> offset 0x34 to 0x2977
In orange >> ?? (I don't know)
In blue > size of sub-files index + files names >> offset 0x2978 to the end of file ( - 0x4 bytes of padding)


Detail for sub-files index:


In green > I'm not sure, maybe indicate a begin of new data table (0x2A for "index table" and 0x2A too for "names table")
In orange > number of files stocked inside index


In this index, each file is stocked in 0x8 bytes:
In red > offset relative to name table (name of file) >> beginning of this table on offset 0x2978
In blue > offset relative to game script


Good luck ;)
Image
Avatar de l’utilisateur
Lyan53
Administrateur du site
 
Messages: 864
Âge: 46
Enregistré le: Lundi 22 Novembre 2010 à 20:48:11
Genre: Homme

Retourner vers Sur le ROMhacking

Qui est en ligne

Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 9 invités

x

#{title}

#{text}