Hi guys, currently I am with an translation project, is the Black ps2 game. The structure of the scripts text of this game are simple, however, I need of a tool for reorder the pointers in order to edit the content by inserting more texts replacing the originals.
The pointers are absolute, e.g the values 504F points to offset 4F50 and so on. The endstring is 00 or 0000, 00000000. Someone can make a tool for reorder this pointers automatically, the file with texts is in this link:
https://drive.google.com/file/d/0B24D4L ... p=drivesdk
Help with inserter for reorder pointers in script text
-
- Posts: 129
- Joined: Mon Aug 22, 2016 10:30 am
-
- Posts: 2
- Joined: Mon Oct 24, 2016 8:23 pm
Re: Help with inserter for reorder pointers in script text
Hey Kratos,
So you'resayingwhat you want is a program that does:
- save first pointer = start of text.
- read bytes from the file
- if byte is 00 then
. read all continuous 00 bytes from there (or stop at endof file)
. save offset of next non-zero byte (which is the pointer to the next text)
(until reachend of file)
Is that right or is there more data in the binary file you shared?
So you'resayingwhat you want is a program that does:
- save first pointer = start of text.
- read bytes from the file
- if byte is 00 then
. read all continuous 00 bytes from there (or stop at endof file)
. save offset of next non-zero byte (which is the pointer to the next text)
(until reachend of file)
Is that right or is there more data in the binary file you shared?
-
- Posts: 129
- Joined: Mon Aug 22, 2016 10:30 am
Re: Help with inserter for reorder pointers in script text
Is exactly this BlackDog
-
- Posts: 233
- Joined: Thu Oct 16, 2014 4:39 pm
Re: Help with inserter for reorder pointers in script text
Try this tool.
-
- Posts: 129
- Joined: Mon Aug 22, 2016 10:30 am
Re: Help with inserter for reorder pointers in script text
Thankyou very much swuforce by tool, I will be to test it and soon I post the results. Also thanks to blackdog, sorry for my bad english.
-
- Posts: 129
- Joined: Mon Aug 22, 2016 10:30 am
Re: Help with inserter for reorder pointers in script text
Swuforce, your tool works perfectly here, the game now is 100% in portuguese Brazil. Thank you very much by help