Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

Sacred 2 index Archives

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
michalss
Moderator
Posts: 955
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 506 times

Sacred 2 index Archives

Post by michalss »

Hi all,

Please anyone can help me out to repack this files. Or at least BMS script with reimport possible? Game is Sacred 2 and X360 version.Index file is readable with texts...

Code: Select all

http://dl.dropbox.com/u/38234344/Sacred_2_X360.rar
tahnk you
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
michalss
Moderator
Posts: 955
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 506 times

Re: Sacred 2 index Archives

Post by michalss »

anyone please ?
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
michalss
Moderator
Posts: 955
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 506 times

Re: Sacred 2 index Archives

Post by michalss »

reall noone can help pls ?
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 1280 times
Contact:

Re: Sacred 2 index Archives

Post by aluigi »

the compression algorithm is a problem because it looks xmemdecompress but there is something wrong with it so the following script does NOT work:

Code: Select all

# Sacred 2 UNFINISHED!
# comtype is not correct or tuned!

open FDDE "index"
string DATA p= "%03d" 0
open FDDE DATA 1

comtype xmemdecompress  # doesn't work
endian big
math FILES = 0x7fffffff
math j = 0
for i = 0 < FILES
    get LEVEL byte
    get NAME_OFF threebyte
    get SIZE long
    get ZSIZE long
    get OFFSET long
    if LEVEL >= 9
        putarray 0 j NAME_OFF
        putarray 1 j OFFSET
        putarray 2 j ZSIZE
        putarray 3 j SIZE
        math j += 1
    endif
    if LEVEL == 0
    if NAME_OFF == 0
    if SIZE == 0
        math FILES = i
    endif
    endif
    endif
next i
math FILES = j
savepos NAMES_OFF
math NAMES_OFF -= 4
for i = 0 < FILES
    getarray NAME_OFF 0 i
    getarray OFFSET   1 i
    getarray ZSIZE    2 i
    getarray SIZE     3 i
    math NAME_OFF += NAMES_OFF
    goto NAME_OFF
    get NAME string
    clog NAME OFFSET ZSIZE SIZE 1
next i
michalss
Moderator
Posts: 955
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 506 times

Re: Sacred 2 index Archives

Post by michalss »

thank you for your help. It is very sad, keep doing worst every day with this formats :(
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
Post Reply