The Forum is up for sale: XeNTaX Forum looking for new owner

Ninja Gaiden 3 xbox360 .lnk files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Darko
double-veteran
double-veteran
Posts: 723
Joined: Mon Jul 13, 2009 6:16 pm
Has thanked: 72 times
Been thanked: 138 times

Ninja Gaiden 3 xbox360 .lnk files

Post by Darko »

Deleted due to the new rules.
Last edited by Darko on Thu Apr 19, 2012 11:12 pm, edited 1 time in total.
Image
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Ninja Gaiden 3 xbox360 .lnk files

Post by chrrox »

the file you uploaded is just an index file
Darko
double-veteran
double-veteran
Posts: 723
Joined: Mon Jul 13, 2009 6:16 pm
Has thanked: 72 times
Been thanked: 138 times

Re: Ninja Gaiden 3 xbox360 .lnk files

Post by Darko »

Deleted due to the new rules.
Last edited by Darko on Thu Apr 19, 2012 11:12 pm, edited 1 time in total.
Image
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Ninja Gaiden 3 xbox360 .lnk files

Post by chrrox »

they use a modified version of the model format they used last time with he same tmc header.
also you can extract the files with offzip as they used zlib compression ill work on figuring out the correct way to get files but this will work if you want to look before then.
terios
n00b
Posts: 11
Joined: Sat Aug 14, 2010 3:24 am
Has thanked: 10 times
Been thanked: 2 times

Re: Ninja Gaiden 3 xbox360 .lnk files

Post by terios »

The DOA5 demo that comes with NG3 also appears to use this format. I was unable to extract the data with the method you described, perhaps my command was incorrect, but would you be willing to look at this as well? You can find the single .lnk file along with it's archive data here.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Ninja Gaiden 3 xbox360 .lnk files

Post by chrrox »

the files are uncompressed in the demo that is the reason offzip does not work.
Anyway I should be able to find some time bye the weekend to post an extractor script if no one else does by then.

this will extract the .lnk files without original names for now.

Code: Select all

endian BIG
idstring "D5TX"
goto 0xC
get files long
get unk01 longlong
get unk02 longlong
for i = 0 < files
get offset longlong
get zsize longlong
get size longlong
get arc longlong
if zsize == size
log "" offset size
else
clog "" offset zsize size
endif
next i
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Ninja Gaiden 3 xbox360 .lnk files

Post by chrrox »

this will extract the files with names just hit r if it mentions a duplicate file name.
its not perfect yet not sure what exactly is going on if someone else wants to look at it feel free.

Code: Select all

endian BIG
open FDSE "trial.lnk" 0
open FDSE "archive_order.bin" 1
goto 0x8 1
get files long 1
goto 0x24 1
savepos offset 1
for i = 0 < files
goto offset 1
get noff long 1
get arcnum long 1
get id long 1
savepos offset 1
goto noff 1
get name string 1
putarray 0 id name
next i
goto 0xC
get files long
get unk01 longlong
get unk02 longlong
for i = 0 < files
get offset longlong
get zsize longlong
get size longlong
get arc longlong
getarray name 0 i
if zsize == size
log name offset size
else
clog name offset zsize size
endif
next i
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Ninja Gaiden 3 xbox360 .lnk files

Post by chrrox »

this will get the correct names they skip a file name for some reason.

Code: Select all

endian BIG
open FDSE "trial.lnk" 0
open FDSE "archive_order.bin" 1
goto 0x8 1
get files long 1
goto 0x24 1
savepos offset 1
for i = 0 < files
goto offset 1
get noff long 1
get arcnum long 1
get id long 1
savepos offset 1
goto noff 1
get name string 1
putarray 0 i name
next i
getarray name 0 0
putarray 0 files name
goto 0xC
get files long
get unk01 longlong
get unk02 longlong
for i = 0 < files
get offset longlong
get zsize longlong
get size longlong
get arc longlong
set id i
math id + 1
getarray name 0 id
if zsize == size
log name offset size
else
clog name offset zsize size
endif
next i
Ares722
veteran
Posts: 154
Joined: Thu Jul 15, 2010 2:15 pm
Has thanked: 25 times
Been thanked: 9 times

Re: Ninja Gaiden 3 xbox360 .lnk files

Post by Ares722 »

chrrox wrote:this will get the correct names they skip a file name for some reason.

Code: Select all

endian BIG
open FDSE "trial.lnk" 0
open FDSE "archive_order.bin" 1
goto 0x8 1
get files long 1
goto 0x24 1
savepos offset 1
for i = 0 < files
goto offset 1
get noff long 1
get arcnum long 1
get id long 1
savepos offset 1
goto noff 1
get name string 1
putarray 0 i name
next i
getarray name 0 0
putarray 0 files name
goto 0xC
get files long
get unk01 longlong
get unk02 longlong
for i = 0 < files
get offset longlong
get zsize longlong
get size longlong
get arc longlong
set id i
math id + 1
getarray name 0 id
if zsize == size
log name offset size
else
clog name offset zsize size
endif
next i
hi chrrox, for an unknown reason i receive an error from the quickbms script. What version of quickbms do you use?
the erros is : error in src \ file.h line 187 myf open <> ..... Error no such file or directory. I've never found this type of error and the ink archive is not damaged.
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Ninja Gaiden 3 xbox360 .lnk files

Post by finale00 »

You are most likely not using quickbms correctly.
logansan25
veteran
Posts: 138
Joined: Mon Oct 04, 2010 1:15 am
Has thanked: 5 times
Been thanked: 3 times

Re: Ninja Gaiden 3 xbox360 .lnk files

Post by logansan25 »

Ares722 wrote:
chrrox wrote:this will get the correct names they skip a file name for some reason.

Code: Select all

endian BIG
open FDSE "trial.lnk" 0
open FDSE "archive_order.bin" 1
goto 0x8 1
get files long 1
goto 0x24 1
savepos offset 1
for i = 0 < files
goto offset 1
get noff long 1
get arcnum long 1
get id long 1
savepos offset 1
goto noff 1
get name string 1
putarray 0 i name
next i
getarray name 0 0
putarray 0 files name
goto 0xC
get files long
get unk01 longlong
get unk02 longlong
for i = 0 < files
get offset longlong
get zsize longlong
get size longlong
get arc longlong
set id i
math id + 1
getarray name 0 id
if zsize == size
log name offset size
else
clog name offset zsize size
endif
next i
hi chrrox, for an unknown reason i receive an error from the quickbms script. What version of quickbms do you use?
the erros is : error in src \ file.h line 187 myf open <> ..... Error no such file or directory. I've never found this type of error and the ink archive is not damaged.
I am try extract files frol DOA5 and appear for me the same error.
Post Reply