[PS3] NBA JAM: On Fire Edition eng_us.db

How to translate the files of a game
McCunyao
Posts: 21
Joined: Fri Jan 06, 2017 12:33 pm

[PS3] NBA JAM: On Fire Edition eng_us.db

Post by McCunyao »

Hi, I was wondering if there's any chance the .db files from NBA JAM could be modified for translation. Thank you.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: [PS3] NBA JAM: On Fire Edition eng_us.db

Post by makc_ar »

Try DB Master Tool
Image
McCunyao
Posts: 21
Joined: Fri Jan 06, 2017 12:33 pm

Re: [PS3] NBA JAM: On Fire Edition eng_us.db

Post by McCunyao »

I've tried that tool, but whenever I open the files I get a "Cannot read beyond the end of the stream" error. Are you using the DB Master 15 version?
McCunyao
Posts: 21
Joined: Fri Jan 06, 2017 12:33 pm

Re: [PS3] NBA JAM: On Fire Edition eng_us.db

Post by McCunyao »

I've managed to modify the file so DB Master 15 and 12 can read the file, but I can't make a new version. Seems like the hashes are not correctly recalculated (At least for this game).
beedy
Posts: 81
Joined: Sat Aug 26, 2017 8:09 am

Re: [PS3] NBA JAM: On Fire Edition eng_us.db

Post by beedy »

McCunyao wrote:I've managed to modify the file so DB Master 15 and 12 can read the file, but I can't make a new version. Seems like the hashes are not correctly recalculated (At least for this game).


I modified NHL games big endian localization .db files swapping index table values to little endian then DB Master can read the file. After DB master editing swapping little endian back to big endian and then open the file with Generic EA DB Editor (https://forums.operationsports.com/forums/ncaa-football-rosters/590543-generic-ea-roster-editor.html and just save the file and it calculates hashes correctly. Xml file for DB Editor in attachment.

Edit: I toggle tools->calculate all hashes before save the file in DB master then open the file in DB Editor and save the file and it repairs crc32 hash values in the index table and other at the end of the file.
McCunyao
Posts: 21
Joined: Fri Jan 06, 2017 12:33 pm

Re: [PS3] NBA JAM: On Fire Edition eng_us.db

Post by McCunyao »

Thank you very, very much! That definitely solved the last hurdle with texts. Fonts, however, are not displaying the full character set... I'll have to dig deeper.
McCunyao
Posts: 21
Joined: Fri Jan 06, 2017 12:33 pm

Re: [PS3] NBA JAM: On Fire Edition eng_us.db

Post by McCunyao »

So I've found a new problem: the fonts. They don't seem to contain the full Latin-1 set on every font. I went to this post to check for the source files, with the extension .ast, but the contents inside seem to be some sort of compressed graphics on the fonts.ast part, while font_extents.ast seem to be text files with the code information.

Could anyone check out those textures?
johnz1
Posts: 14
Joined: Thu Jan 17, 2019 4:00 am

Re: [PS3] NBA JAM: On Fire Edition eng_us.db

Post by johnz1 »

beedy wrote:I modified NHL games big endian localization .db files swapping index table values to little endian then DB Master can read the file.

I really want to edit this file. I think I understand everything after this, but I don't exactly know what the "index table values" are. I'd really appreciate some help.

Thanks
beedy
Posts: 81
Joined: Sat Aug 26, 2017 8:09 am

Re: [PS3] NBA JAM: On Fire Edition eng_us.db

Post by beedy »

johnz1 wrote:
beedy wrote:I modified NHL games big endian localization .db files swapping index table values to little endian then DB Master can read the file.

I really want to edit this file. I think I understand everything after this, but I don't exactly know what the "index table values" are. I'd really appreciate some help.

Thanks

You need Fifa db converter and Fifa Master tool doing this. Db converter do big endian to little endian conversion for index table what I did manually in Hex editor before I found the converter.
Here is links for tools:
https://forums.operationsports.com/forums/ea-sports-nhl-legacy/964947-fifa-db-master-alternative-db-editor.html
johnz1
Posts: 14
Joined: Thu Jan 17, 2019 4:00 am

Re: [PS3] NBA JAM: On Fire Edition eng_us.db

Post by johnz1 »

Excellent - thank you! I spent a few hours this past weekend trying to get this to work (flipping to little endian), but couldn't get the DB to load in DB Master. The DB converter worked like a charm.

For future reference, here's how I'm able to edit 'eng_us.db' for PS3:

- Convert to little endian with the FIFA DB Converter
- Edit the DB with DB Master
- Convert back to big endian with the FIFA DB Converter