Sims 4 STBL

How to translate the files of a game
minus2l
Posts: 5
Joined: Sat Aug 23, 2014 6:56 pm

Sims 4 STBL

Post by minus2l »

It's a string table from Sims 4 Game. I've no idea how to edit them. So, I'm waiting your helps.

Here:
Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sims 4 STBL

Post by aluigi »

The format is simple but I can't help for the editing because I have no tools for that job (except using a hex editor as last hope):

Code: Select all

idstring "STBL"
goto 7
get STRINGS long
goto 0x15
for i < STRINGS
    get DUMMY long  # seems a CRC but doesn't work
    get DUMMY byte
    get STRSZ short
    getdstring STR STRSZ
    print "%STR%"
next i
minus2l
Posts: 5
Joined: Sat Aug 23, 2014 6:56 pm

Re: Sims 4 STBL

Post by minus2l »

Yes, just like I did :) Thank you.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sims 4 STBL

Post by aluigi »

I have ever thought to solutions for text modding but I come ever to a dead end.
Basically the problem is not dumping the strings, the problem is reimporting them... exactly like the problem of reimporting files back in the archives.

The simple solution of keeping the string size fixed for reinjection is very simple and doesn't offer big improvements than the hex editor method (except using a text editor which is more comfortable).

Modifying the file structure for reimporting strings longer than the original is risky.

I still think that a possible future feature of quickbms may be something like the simple strings reinjection (size <= original).
minus2l
Posts: 5
Joined: Sat Aug 23, 2014 6:56 pm

Re: Sims 4 STBL

Post by minus2l »

aluigi wrote:I have ever thought to solutions for text modding but I come ever to a dead end.
Basically the problem is not dumping the strings, the problem is reimporting them... exactly like the problem of reimporting files back in the archives.

The simple solution of keeping the string size fixed for reinjection is very simple and doesn't offer big improvements than the hex editor method (except using a text editor which is more comfortable).

Modifying the file structure for reimporting strings longer than the original is risky.

I still think that a possible future feature of quickbms may be something like the simple strings reinjection (size <= original).


Oh, that would be more helpful for localization teams.