The Forum is up for sale: XeNTaX Forum looking for new owner
Ninja Gaiden 3 xbox360 .lnk files
-
chrrox
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1411 times
-
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
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.
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.
Re: Ninja Gaiden 3 xbox360 .lnk files
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
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.
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
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.
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
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
hi chrrox, for an unknown reason i receive an error from the quickbms script. What version of quickbms do you use?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
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

- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 307 times
-
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
I am try extract files frol DOA5 and appear for me the same error.Ares722 wrote:hi chrrox, for an unknown reason i receive an error from the quickbms script. What version of quickbms do you use?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
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.

