(PS3) Darksiders OBPK packages

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
XAION
ultra-n00b
Posts: 1
Joined: Sat Sep 18, 2010 4:12 pm

(PS3) Darksiders OBPK packages

Post by XAION » Wed Oct 06, 2010 11:15 am

The contents of this post was deleted because of possible forum rules violation.

WRS
ultra-veteran
ultra-veteran
Posts: 601
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 135 times

Re: (PS3) Darksiders OBPK packages

Post by WRS » Wed Oct 06, 2010 8:50 pm

along with the filelist are either folder names or resource types.
as i cant determine which is which, these are nameless :( but hopefully i can get it completely working

there is also a minor issue with skipping the position pointers with things which arent files.
> so this script will only work with lurcher.opps3 for now. only the "FOLDERSKIP" part needs updating to dump everything else.


so yeah, nameless files atm, but split up :)
will try to work on it more later

edit: sorry about these excessive paragraphs - must be some encoding issue with firefox - edited it now

Code: Select all

# few notes on filenames

# "psystem" are BOD files
# "mp3" is FSB

endian big

## Header

idstring "OBPK"
getdstring UNKNOWN 14
get NSTRUCTPOINTER long # >= 30
get DATAPOINTER long    # next 4096 block - NSTRUCTPOINTER

## EStruct (only in scythe.opps3 from the few examples i had -
#           though has the same structure as NStruct)

get ESTRUCTCOUNT long

for i = 0 < ESTRUCTCOUNT
  getdstring UNKNOWN 8
  get NAMELEN long
  getdstring NAME NAMELEN
next i

## NStruct
# goto NSTRUCTPOINTER

get NSTRUCTCOUNT long

for i = 0 < NSTRUCTCOUNT
  getdstring UNKNOWN 8
  get NAMELEN long
  getdstring NAME NAMELEN
next i

## ZLib data chunks

savepos LASTPOS
math DATASTART = DATAPOINTER
math DATASTART += NSTRUCTPOINTER
goto DATASTART

get ZSIZE long
savepos POS
get SIZE asize
math SIZE -= POS

# the opps3 files are small enough to make this ok
clog MEMORY_FILE POS SIZE ZSIZE

## Split files
goto LASTPOS

get NULL long
get FOLDERS long # actually resource type, not folder
math FOLDERSKIP = FOLDERS
math FOLDERSKIP *= 10 # NOTE: 10 IS FOR lurcher file ONLY - OTHER FILES ARE DIFFERENT (not completely reversed)

getdstring UNKNOWN FOLDERSKIP
get UNKNOWN long
math FILECNT = ESTRUCTCOUNT
math FILECNT += NSTRUCTCOUNT
math FILECNT -= FOLDERS

print "Exporting %FILECNT% files (there are references to %FOLDERS% types)!"
math MEMOFFSET = 0

for i = 0 < FILECNT
  getdstring UNKNOWN 8
  get SIZE1 long
  get BYTE4 byte
  get SIZE2 long
  get NULL long
  log "" MEMOFFSET SIZE1 MEMORY_FILE
  math MEMOFFSET += SIZE1
next i
Useful tool links:

Ares722
veteran
Posts: 154
Joined: Thu Jul 15, 2010 2:15 pm
Has thanked: 24 times
Been thanked: 9 times

Re: (PS3) Darksiders OBPK packages

Post by Ares722 » Mon Oct 11, 2010 3:36 pm

It seems quite interesting...... if I remember well , this game is based on unreal engine 3 ,right? Maybe Gildor 's tool could help...

WRS
ultra-veteran
ultra-veteran
Posts: 601
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 135 times

Re: (PS3) Darksiders OBPK packages

Post by WRS » Mon Oct 11, 2010 6:22 pm

op just needs to respond for me to bother finishing it. another tool would defeat the point of this tread - op wanted to learn more about how this file format stored the offsets.
Useful tool links:

prudislav
beginner
Posts: 35
Joined: Tue Oct 12, 2010 11:48 pm
Has thanked: 1 time

Re: (PS3) Darksiders OBPK packages

Post by prudislav » Wed Oct 13, 2010 5:02 pm

do you have a script for PC files???

godinhochina
ultra-n00b
Posts: 4
Joined: Tue Jul 21, 2009 11:00 pm

Re: (PS3) Darksiders OBPK packages

Post by godinhochina » Wed Oct 13, 2010 11:52 pm

I wanna translate this game for the PT-BR language to a web site in Brazil called http://www.gamevicio.com.br, so if anyone else here find a tool, please send it to my email:
augustogodinho@hotmail.com

Ares722
veteran
Posts: 154
Joined: Thu Jul 15, 2010 2:15 pm
Has thanked: 24 times
Been thanked: 9 times

Re: (PS3) Darksiders OBPK packages

Post by Ares722 » Thu Nov 11, 2010 10:37 am

Any news about extracting the models from this game?

Post Reply