[Xbox 360] Lost Odyssey .fpd
-
- Posts: 1193
- Joined: Sun Aug 17, 2014 7:27 pm
[Xbox 360] Lost Odyssey .fpd
Coalesced container?
Last edited by makc_ar on Wed Aug 22, 2018 7:28 am, edited 1 time in total.
-
- Posts: 54
- Joined: Sun Nov 12, 2017 12:30 pm
Re: [Xbox 360] Lost Odyssey .fpd
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
-
- Posts: 1193
- Joined: Sun Aug 17, 2014 7:27 pm
Re: [Xbox 360] Lost Odyssey .fpd
This is a bad script for archives. It doesn't unpack all files. Compressed data it skips.
-
- Posts: 561
- Joined: Tue Oct 13, 2015 1:26 pm
Re: [Xbox 360] Lost Odyssey .fpd
Your samples don't have localization files, just the engine configurations files.
-
- Posts: 1193
- Joined: Sun Aug 17, 2014 7:27 pm
Re: [Xbox 360] Lost Odyssey .fpd
@Delutto
Here text
Here text