Help: Red Faction Armagedon (be_strings) Xbox360 textool

How to translate the files of a game
Graveyard
Posts: 54
Joined: Sun Nov 12, 2017 12:30 pm

Help: Red Faction Armagedon (be_strings) Xbox360 textool

Post by Graveyard »

Hello zenhaxers

I'm trying to translate Red Faction Guerrilla\Armagedon.

The swuforce script (https://www.zenhax.com/viewtopic.php?f=12&t=3544) works perfectly in the PC version .le_strings files, however, on Xbox 360 the extension is be_strings, and the script above does not extract the texts so that I can edit them.

Is there any other way or tool so I can extract the texts?

Thanks for listening.
Zolodei
Posts: 36
Joined: Sat Sep 16, 2017 6:34 pm

Re: Help: Red Faction Armagedon (be_strings) Xbox360 textool

Post by Zolodei »

Ask swuforce to rewrite, on the big endian. https://en.wikipedia.org/wiki/Endianness
Graveyard
Posts: 54
Joined: Sun Nov 12, 2017 12:30 pm

Re: Help: Red Faction Armagedon (be_strings) Xbox360 textool

Post by Graveyard »

Zolodei wrote:Ask swuforce to rewrite, on the big endian. https://en.wikipedia.org/wiki/Endianness



Here is the request to swuforce. :D
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: Help: Red Faction Armagedon (be_strings) Xbox360 textool

Post by swuforce »

Send some sample file.
Graveyard
Posts: 54
Joined: Sun Nov 12, 2017 12:30 pm

Re: Help: Red Faction Armagedon (be_strings) Xbox360 textool

Post by Graveyard »

swuforce wrote:Send some sample file.


Sent, look at the pm box.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help: Red Faction Armagedon (be_strings) Xbox360 textool

Post by aluigi »

Universal script for any endianess:

Code: Select all

get NAME basename
string NAME + ".txt"
get DUMMY long  # 0xa84c7f73
get VER short
endian guess16 VER
get STRINGS long
for i = 0 < STRINGS
    get DUMMY long
    get SIZE short
    slog NAME -1 SIZE unicode
    padding 4
next i
Graveyard
Posts: 54
Joined: Sun Nov 12, 2017 12:30 pm

Re: Help: Red Faction Armagedon (be_strings) Xbox360 textool

Post by Graveyard »

aluigi wrote:Universal script for any endianess:

Code: Select all

get NAME basename
string NAME + ".txt"
get DUMMY long  # 0xa84c7f73
get VER short
endian guess16 VER
get STRINGS long
for i = 0 < STRINGS
    get DUMMY long
    get SIZE short
    slog NAME -1 SIZE unicode
    padding 4
next i



Thank you Aluigi. Worked perfectly. I will advance the service, and hope that the size limit does not interfere with reimportation and consequently, the final result. :D

If swuforce updates your script, we'll eliminate this potential problem. 8-)
Graveyard
Posts: 54
Joined: Sun Nov 12, 2017 12:30 pm

Re: Help: Red Faction Armagedon (be_strings) Xbox360 textool

Post by Graveyard »

swuforce wrote:Send some sample file.



I am leaving here my thanks to swuforce for updating the script. :D
Graveyard
Posts: 54
Joined: Sun Nov 12, 2017 12:30 pm

Re: Help: Red Faction Armagedon (be_strings) Xbox360 textool

Post by Graveyard »

aluigi wrote:Universal script for any endianess:

Code: Select all

get NAME basename
string NAME + ".txt"
get DUMMY long  # 0xa84c7f73
get VER short
endian guess16 VER
get STRINGS long
for i = 0 < STRINGS
    get DUMMY long
    get SIZE short
    slog NAME -1 SIZE unicode
    padding 4
next i


Hello aluigi, could you update the script to be compatible with that other file, with the same extension, but of Saints Row IV?

https://www.mediafire.com/file/hquhxrox ... be_strings