READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

DEAD OR ALIVE XTREME 3: SCARLET

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
chrrox
Moderator
Posts: 2536
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1261 times

DEAD OR ALIVE XTREME 3: SCARLET

Post by chrrox » Fri Mar 22, 2019 4:33 pm

Here is a quickbms script to extract this game.
Image

Code: Select all

#script by chrrox
#use quickbms
#http://aluigi.altervista.org/quickbms.htm
open FDSE "package_data.bin" 1
comtype zlib_noerror
goto 0x68 1
get FILES long 1
goto 0x80 1
get NSTART1 long 1
get LNKNAME1 long 1
get UNK long 1
get SEC3START long 1
math LNKNAME1 + 0x90
savepos TMP 1
goto LNKNAME1 1
get REMOVE string 1
string REMOVE + /
get LNKFILE string 1
string LNKFILE R REMOVE ""
open FDSE LNKFILE
goto TMP 1
for i = 0 < FILES
set MEMORY_FILE2 binary ""
set MEMORY_FILE3 binary ""
goto TMP 1
get HASH long 1
get UNK1 long 1
get NOFF long 1
get UNK2 long 1
get UNK3 long 1
get FLAG long 1
get UNK4 longlong 1
get UNK5 long 1
get UNK5 long 1
get FBASE long 1
savepos TMP 1
math NOFF + 0x90 1
math NOFF + NSTART1 1
goto NOFF 1
get NAME string 1
#print "%NAME%"
math FBASE * 0x20
math FBASE + 0x20
    goto FBASE
    get OFFSET longlong
    get SIZE longlong
    get ZSIZE longlong
    get COMP longlong
    #print "1 %OFFSET% %SIZE% %ZSIZE% %COMP%"
    if SIZE > ZSIZE
      log MEMORY_FILE2 OFFSET ZSIZE
      append
      do
        get CSIZE long MEMORY_FILE2
        savepos COFF MEMORY_FILE2
        #print "Yay %SIZE% %COFF% %CSIZE%"
        if SIZE > 0x4000
          math CSIZE & 0x7FFF
          #print "%COFF% %CSIZE%"
          clog MEMORY_FILE3 COFF CSIZE 0x4000 MEMORY_FILE2
          math SIZE - 0x4000
          math COFF + CSIZE
          goto COFF MEMORY_FILE2
          padding 16 MEMORY_FILE2
        else
          math CSIZE & 0x7FFF
          clog MEMORY_FILE3 COFF CSIZE SIZE MEMORY_FILE2
          math SIZE - SIZE
        endif
      while SIZE > 0
    append
    get TSIZE asize MEMORY_FILE3
    log NAME 0 TSIZE MEMORY_FILE3
    else
      log NAME OFFSET ZSIZE
    endif
next i

User avatar
chrrox
Moderator
Posts: 2536
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1261 times

Re: DEAD OR ALIVE XTREME 3: SCARLET

Post by chrrox » Sat Mar 23, 2019 4:37 pm

Here is a script to extract the ktss files from the xhs files.
You can then play them with vgmstream

Code: Select all

#script by chrrox
#use quickbms
#http://aluigi.altervista.org/quickbms.htm
get ARC basename
goto 0x14
get FILES long
savepos TMP
for i = 0 < FILES
goto TMP
get OFFSET long
savepos TMP
goto OFFSET
get NULL long
get SIZE long
set NAME ARC
string NAME + i
string NAME + .ktss
log NAME OFFSET SIZE
next i

TerryXX
n00b
Posts: 14
Joined: Sun Oct 12, 2014 1:26 pm
Has thanked: 12 times

Re: DEAD OR ALIVE XTREME 3: SCARLET

Post by TerryXX » Sat Mar 23, 2019 6:32 pm

Hi chrrox, these scripts work on which version, ps4 or Switch?

User avatar
chrrox
Moderator
Posts: 2536
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1261 times

Re: DEAD OR ALIVE XTREME 3: SCARLET

Post by chrrox » Sat Mar 23, 2019 7:56 pm

switch version there is no way to get ps4 files.

TerryXX
n00b
Posts: 14
Joined: Sun Oct 12, 2014 1:26 pm
Has thanked: 12 times

Re: DEAD OR ALIVE XTREME 3: SCARLET

Post by TerryXX » Sun Mar 24, 2019 12:00 am

Hi chrrox, so the version I have of the game the file ends with .nsp I extracted the files with a python script "nspx.py", but the files are not .bin I tried to rename but obviously your script gave me an error, I need to do some specific procedures to create these .bin files?
Thx.

User avatar
chrrox
Moderator
Posts: 2536
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1261 times

Re: DEAD OR ALIVE XTREME 3: SCARLET

Post by chrrox » Sun Mar 24, 2019 11:49 am

You need to use hactool to extract to raw files.
just google extract nsp and the first result will give you tools.
you want version 1.6 of the bat file
NCA-NSP-XCI_TO_LayeredFS.bat

TerryXX
n00b
Posts: 14
Joined: Sun Oct 12, 2014 1:26 pm
Has thanked: 12 times

Re: DEAD OR ALIVE XTREME 3: SCARLET

Post by TerryXX » Sun Mar 24, 2019 4:36 pm

Sorry if I still bother you chrrox but I found yet another error :( so I extracted the .bin file and renamed to package_data.bin, load quickbms_4gb_files select our script etc etc but this error happens:

error in src\file.c line 487: fdnum_open()
Error= No such file or directory

Last script line before the error or that produced the error:
20 open FDSE LNKFILE

Definitely I skip something but I don't know what :(

User avatar
chrrox
Moderator
Posts: 2536
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1261 times

Re: DEAD OR ALIVE XTREME 3: SCARLET

Post by chrrox » Sun Mar 24, 2019 5:38 pm

You should never need to rename any files they will show up when you extract the nca correctly

TerryXX
n00b
Posts: 14
Joined: Sun Oct 12, 2014 1:26 pm
Has thanked: 12 times

Re: DEAD OR ALIVE XTREME 3: SCARLET

Post by TerryXX » Sun Mar 24, 2019 10:31 pm

Eureka, after several attempts I understood what I was wrong I used the command Romfs.bin instead of Romfs Folder, I am trying to extract also the various dlc and for now everything seems to work, thx again chrrox.

xperiagenerator
n00b
Posts: 10
Joined: Wed Dec 17, 2014 1:10 pm

Re: DEAD OR ALIVE XTREME 3: SCARLET

Post by xperiagenerator » Tue Mar 26, 2019 1:35 pm

@chrrox
How to open tmc/tmcl files of the game?

Post Reply