Help in PS2 game debugging [Asura Engine][Black Delta Force Hawk Down]

How to translate the files of a game
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Help in PS2 game debugging [Asura Engine][Black Delta Force Hawk Down]

Post by Kratos9999 »

8-) Hi, someone with experience in PS2 game debugging can help me to understand what is going on when a game freeze in loading process? I am using the ps2dis to try debugging, I have translated 90% of Black Delta Force Hawk Down (ps2 version), but when I try to translate more, the game freezes in loading screen.
When the game is with translated file in 90%, the "Delta icon loading" is not showed, a black screen is showed during 4 seconds and after this the game starts normally.
When I insert the translated file in 92%, 93, the game shows a "Delta icon loading" and freeze. My translation is limited because this. What can be? a checksum routine to detect changes in text file, the filesize too large, I don't know. Someone have any idea?
Infos detailed about the text file format, the tool used for me to translating, details about the game, and more details about the problem in this link: https://drive.google.com/file/d/0B-izXc ... p=drivesdk
Last edited by Kratos9999 on Mon Apr 24, 2017 9:43 pm, edited 1 time in total.
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Help in PS2 game debugging

Post by Kratos9999 »

Someone??
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help in PS2 game debugging

Post by aluigi »

It's definitely too early for a bump...
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Help in PS2 game debugging

Post by Kratos9999 »

I did not understand??
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help in PS2 game debugging

Post by aluigi »

http://www.webopedia.com/TERM/T/thread_bump.html
First post: Sun Apr 23, 2017 7:41 pm
Bump: Mon Apr 24, 2017 12:37 am
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Help in PS2 game debugging

Post by Kratos9999 »

I understand the meaning of "bump" word. But, and the why for my game to freeze in situation specified above, someone can help me to solve?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help in PS2 game debugging [Black Delta Force Hawk Down]

Post by aluigi »

Without details about the format of the file you are editing, how you are reimporting/editing the file, what types and numbers of files you are editing, links to tools/scripts/format/info and so on, it's probably impossible that someone would even consider your topic, except if you are lucky enough that someone with deep knowledge of this specific game is viewing the forum :)

Just a suggestion to avoid to be ignored.

Anyway if you can edit 90% of the game (or game file? mah) then it's not a checksum problem, probably you just messed the format of the file during the editing.
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Help in PS2 game debugging [Black Delta Force Hawk Down]

Post by Kratos9999 »

Now the topic is updated as you suggested, aluigi. Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help in PS2 game debugging [Asura Engine][Black Delta Force Hawk Down]

Post by aluigi »

So it's the Asura engine, an essential information.

Topic moved in the correct section.
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Help in PS2 game debugging [Asura Engine][Black Delta Force Hawk Down]

Post by Kratos9999 »

In truth the Asura engine is not used in text file, I think the asura header is
in it just to indicate that
asura is the main archive format used in the game, but after this is a simple text format using ASCII encoding. The text file is not in an asura archive. I replace him in iso of the game simply using the Ultra Iso Premium.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help in PS2 game debugging [Asura Engine][Black Delta Force Hawk Down]

Post by aluigi »

Are we talking about different files or what?

The American.asr file you provided IS an Asura archive and the data in it is not just simple text, it's enough to open it with a hex editor to see the various utf16 NULL-delimited single strings. So even calling it "text file" is wrong.

If you are talking about another file then I don't understand why you uplaoded that American.asr
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Help in PS2 game debugging [Asura Engine][Black Delta Force Hawk Down]

Post by Kratos9999 »

Why the texts are in american.asr, I thought the american.asr were not a asura archive because I see only texts in him, I had not noticed the NULL strings delimited, and the tool that I am using to translate don't contain a library to handle asura files, it's just a text exporter/importer. I uploaded the American.asr and the tools because I believe that the problem is in an one of two; American.asr, or text tool.
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Help in PS2 game debugging [Asura Engine][Black Delta Force Hawk Down]

Post by Kratos9999 »

Finally! Solved the problem with the American.asr file.
The problem is:
Asura LTXT D2 98 02

"D2 98 02 is the original filesize in reverse order "02 98 D2" and converted to decimal is the filesize in bytes.
My tool reimport the texts, but don't update the new filesize, because this the game freezes.
So now I reimport the texts and update the filesize manually with the Hex editor, and the game is working fine.
The original filesize is 166Kb and my full translated file is 181Kb, with the filesize upadated manually the game is working normally.