Important information: this site is currently scheduled to go offline indefinitely by end of the year.

How to Extract Models from Open Season Video Game

Post questions about game models here, or help out others!
VendorX
advanced
Posts: 46
Joined: Mon Nov 12, 2018 10:16 pm
Been thanked: 9 times

Re: How to Extract Models from Open Season Video Game

Post 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.
tritterman
veteran
Posts: 88
Joined: Mon Aug 23, 2021 10:14 pm
Been thanked: 4 times

Re: How to Extract Models from Open Season Video Game

Post by tritterman »

i don't get it.
VendorX
advanced
Posts: 46
Joined: Mon Nov 12, 2018 10:16 pm
Been thanked: 9 times

Re: How to Extract Models from Open Season Video Game

Post 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.
tritterman
veteran
Posts: 88
Joined: Mon Aug 23, 2021 10:14 pm
Been thanked: 4 times

Re: How to Extract Models from Open Season Video Game

Post by tritterman »

well update me if there's a Solution then.
ShadowLuigi
beginner
Posts: 20
Joined: Sat May 12, 2018 8:27 pm

Re: How to Extract Models from Open Season Video Game

Post by ShadowLuigi »

I'll share the files for the other versions including the PSP version at some point. don't know when tho
tritterman
veteran
Posts: 88
Joined: Mon Aug 23, 2021 10:14 pm
Been thanked: 4 times

Re: How to Extract Models from Open Season Video Game

Post by tritterman »

ok.
tritterman
veteran
Posts: 88
Joined: Mon Aug 23, 2021 10:14 pm
Been thanked: 4 times

Re: How to Extract Models from Open Season Video Game

Post by tritterman »

I'm trying to figure out which part in UModel can open Open Season Character and Extract to SFM.
tritterman
veteran
Posts: 88
Joined: Mon Aug 23, 2021 10:14 pm
Been thanked: 4 times

Re: How to Extract Models from Open Season Video Game

Post by tritterman »

i've tried everything.
tritterman
veteran
Posts: 88
Joined: Mon Aug 23, 2021 10:14 pm
Been thanked: 4 times

Re: How to Extract Models from Open Season Video Game

Post by tritterman »

Wait! i found some .ini files that can contain something.
Which script can i use to export ini files.
ShadowLuigi
beginner
Posts: 20
Joined: Sat May 12, 2018 8:27 pm

Re: How to Extract Models from Open Season Video Game

Post by ShadowLuigi »

How's everybody doing?
tritterman
veteran
Posts: 88
Joined: Mon Aug 23, 2021 10:14 pm
Been thanked: 4 times

Re: How to Extract Models from Open Season Video Game

Post by tritterman »

it's not good. for me.
Post Reply