[Xbox 360] Lost Odyssey .fpd

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

[Xbox 360] Lost Odyssey .fpd

Post by makc_ar »

Image

Coalesced container?
Image
Last edited by makc_ar on Wed Aug 22, 2018 7:28 am, edited 1 time in total.
Graveyard
Posts: 54
Joined: Sun Nov 12, 2017 12:30 pm

Re: [Xbox 360] Lost Odyssey .fpd

Post by Graveyard »

I can not remember where I got this script, but it works in the .fpd files.

Code: Select all

get ARCHIVE_END asize
set FName string "File_"
set COUNTER 0

#locate first header
findloc RES_START string "ž*ƒÁ\0*"
goto RES_START
savepos RES_START
#read some bytes some I can use findloc to search for next header
getdstring DUMMY 0x9
for
    set RES_NAME FName
    math COUNTER += 1
    findloc HEADER_OFS string "ž*ƒÁ\0*"
   
    # for the last Resource file, use EOF as offset
    if HEADER_OFS == 0 then
        set HEADER_OFS ARCHIVE_END
    endif
    goto HEADER_OFS
   
    savepos RES_OFFSET
    math RES_OFFSET -= RES_START
    string RES_NAME += COUNTER
    log RES_NAME RES_START RES_OFFSET
   
    savepos RES_START
    getdstring DUMMY 0x9
next
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: [Xbox 360] Lost Odyssey .fpd

Post by makc_ar »

This is a bad script for archives. It doesn't unpack all files. Compressed data it skips.
Image
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: [Xbox 360] Lost Odyssey .fpd

Post by Delutto »

Your samples don't have localization files, just the engine configurations files.
LO.7z
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: [Xbox 360] Lost Odyssey .fpd

Post by makc_ar »

@Delutto
Here text
Image