Page 3 of 3

Re: How to Extract Models from Open Season Video Game

Posted: Mon Apr 25, 2022 9:52 am
by VendorX
Script below will split (by brute force) *.dec file in to proper UPackages - later I will write export raw data script from it.

Code: Select all

# Open_Season_dec.bms
# Game: Open Season
# Unreal Engine 2 v927 *.dec files
# script for QuickBMS http://quickbms.aluigi.org

set CurOffset long 0
get FileSize asize
get FileName basename

set FileCount long 0

do
  get B byte
  math CurOffset + 1
  if B == 0xc1
    get C byte
    math CurOffset + 1
    if C == 0x83
      get D byte
      math CurOffset + 1
      if D == 0x2a
        get E byte
        math CurOffset + 1
        if E == 0x9e
          xmath Offset "CurOffset - 4"
          print "%Offset%"
          putArray 0 FileCount Offset
          math FileCount + 1
        endif
      endif
    endif
  endif
  
  xmath NextOffset "CurOffset + 4"

while NextOffset < FileSize

print "%FileCount%"

for index = 0 < FileCount
  getArray Offset 0 index
  set NextOffset long FileSize
  xmath x "index + 1"
  
  if x < FileCount
    getArray NextOffset 0 x
  endif
  
  xmath Size "NextOffset - Offset"
  string TempName p= "%s_%i.%s" FileName index assets

  log TempName Offset Size
  
next index
CMD:

Code: Select all

quickbms.exe Open_Season_dec.bms "Export\_pc\menu.dec" Export\_pc\menu_dec
Note: *.assets is a dummy extension.

Re: How to Extract Models from Open Season Video Game

Posted: Mon Apr 25, 2022 9:04 pm
by tritterman
i don't get it.

Re: How to Extract Models from Open Season Video Game

Posted: Tue Apr 26, 2022 2:31 pm
by VendorX
Let me enlighten you: end effect of those three scripts is bunch of files which the game engine (UE2) is using. At this point unless you will write a decompiler (time consuming), there is no easy way to export UE content.
OFC, you can open decompressed (.dec) file in some Hex editor and find all needed offsets, then guess 'what is what' and where belong to - good luck wth that ...- AND maybe in a few years you will finish what you are trying to achive.
Good luck.

Re: How to Extract Models from Open Season Video Game

Posted: Tue Apr 26, 2022 2:45 pm
by tritterman
well update me if there's a Solution then.

Re: How to Extract Models from Open Season Video Game

Posted: Sun May 22, 2022 8:27 am
by ShadowLuigi
I'll share the files for the other versions including the PSP version at some point. don't know when tho

Re: How to Extract Models from Open Season Video Game

Posted: Sun May 22, 2022 1:13 pm
by tritterman
ok.

Re: How to Extract Models from Open Season Video Game

Posted: Wed Jun 22, 2022 1:24 am
by tritterman
I'm trying to figure out which part in UModel can open Open Season Character and Extract to SFM.

Re: How to Extract Models from Open Season Video Game

Posted: Wed Jun 22, 2022 1:26 am
by tritterman
i've tried everything.

Re: How to Extract Models from Open Season Video Game

Posted: Wed Jun 22, 2022 1:44 am
by tritterman
Wait! i found some .ini files that can contain something.
Which script can i use to export ini files.

Re: How to Extract Models from Open Season Video Game

Posted: Sun Jul 10, 2022 8:05 pm
by ShadowLuigi
How's everybody doing?

Re: How to Extract Models from Open Season Video Game

Posted: Mon Jul 11, 2022 12:59 am
by tritterman
it's not good. for me.