Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

twelvesky 2 new_sobject

Featured Replies

  • Author
  • Localization

raykingnihong, posted Tue Mar 24, 2015 4:54 pm (4061)


Hi guys,
A very old game, but recently updated sObject file, the old script has not work, here is a sample of the old and the new file https://onedrive.live.com/redir?resid=6 ... =file,7z

Here is fatduck old script

dword numResource
struct RES
{


}


Code:

# Game: TwelveSky & TwelveSky 2 (PC)
# by fatduck Jul2011
# script for QuickBMS http://aluigi.org/papers.htm#quickbms

get PRENAME basename
get NUMRES long
savepos OFS_RES
for i = 1 to NUMRES
goto OFS_RES
get FLAG1 long
get USIZE long
if FLAG1 != 1
math FLAG1 -= USIZE
math FLAG1 *= -1
else
math FLAG1 -= 1
endif
get CSIZE long
savepos OFS_RES
set RESNAME PRENAME
string RESNAME = _
if i < 10
string RESNAME = "0"
endif
string RESNAME = i
string RESNAME = .mdl
if USIZE > 0
clog RESNAME OFS_RES CSIZE USIZE
endif
math OFS_RES = CSIZE
math OFS_RES = FLAG1

goto OFS_RES
get FLAG1 long
get USIZE long
if FLAG1 != 1
math FLAG1 -= USIZE
math FLAG1 *= -1
else
math FLAG1 -= 1
endif
get CSIZE long
savepos OFS_RES
set RESNAME PRENAME
string RESNAME = _
if i < 10
string RESNAME = "0"
endif
string RESNAME = i
string RESNAME = .dds
if USIZE > 0
clog RESNAME OFS_RES CSIZE USIZE
endif
math OFS_RES = CSIZE
math OFS_RES = FLAG1
next i
  • Author
  • Localization

aluigi, posted Tue Mar 24, 2015 5:55 pm (4066)


The new files you provided have just one resource in them so it's impossible to understand the meaning of some bytes.
In my opinion the easiest way to dump their content is using just offzip because some files are dds (recognized by offzip) and the others are models.
  • Author
  • Localization

aluigi, posted Wed Mar 25, 2015 9:41 am (4086)


I prefer the single files intead of downloading a whole game :)

But why don't you like the offzip idea?
offzip -a INPUT_FILE OUTPUT_FOLDER 0
  • Author
  • Localization

raykingnihong, posted Wed Mar 25, 2015 12:08 pm (4091)


Hi aluigi , My friends, thank you very much for your help, I very like the offzip method, I give the game connect, to make more friends to download this game, thanks for your great work
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.