Magna Carta: The Phantom of Avalanche .fpb [PC]

How to translate the files of a game
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Magna Carta: The Phantom of Avalanche .fpb [PC]

Post by makc_ar »

Image

Example 0092.fpb
Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Magna Carta: The Phantom of Avalanche .fpb [PC]

Post by aluigi »

I guess the strings are encoded (obfuscated?) in some way:

Code: Select all

get NAME filename
string NAME + ".txt"
get STRINGS long
savepos BASE_OFF
xmath BASE_OFF "BASE_OFF + (STRINGS * (4 + 4 + 4)) + 4"
for i = 0 < STRINGS
    get ID long
    get OFFSET long
    get SIZE long
    math OFFSET + BASE_OFF
    slog NAME OFFSET SIZE
next i
get STRINGS_SIZE long
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Magna Carta: The Phantom of Avalanche .fpb [PC]

Post by makc_ar »

Thanks a lot ialuig!

Someone tool export\import the script?
Delacroix
Posts: 65
Joined: Mon Dec 08, 2014 1:16 pm

Re: Magna Carta: The Phantom of Avalanche .fpb [PC]

Post by Delacroix »

This is a QuickBMS script. Mark the contents of the CODE box and save it in notepad with extension .bms. Then use QuickBMS with this script at the files.
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Magna Carta: The Phantom of Avalanche .fpb [PC]

Post by Delutto »

Delacroix wrote:This is a QuickBMS script. Mark the contents of the CODE box and save it in notepad with extension .bms. Then use QuickBMS with this script at the files.
:lol: He knows that.
makc_ar wrote:Thanks a lot ialuig!

Someone tool export\import the script?
Reimport does't work?
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Magna Carta: The Phantom of Avalanche .fpb [PC]

Post by makc_ar »

Delutto wrote:Reimport does't work?

Game crashed.