Join also our Discord channel! Click here.

Xenoblade Chronicles X/2 format bible

The Original Forum. Game archives, full of resources. How to open them? Get help here.
sfc123
n00b
Posts: 14
Joined: Sun Nov 09, 2014 7:25 pm
Has thanked: 1 time

Re: Xenoblade Chronicles X/2 format bible

Post by sfc123 » Mon Jan 07, 2019 3:07 pm

well done;~~

User avatar
PredatorCZ
mega-veteran
mega-veteran
Posts: 275
Joined: Mon Apr 21, 2014 8:32 pm
Has thanked: 8 times
Been thanked: 212 times
Contact:

Re: Xenoblade Chronicles X/2 format bible

Post by PredatorCZ » Sun Jan 13, 2019 3:06 pm

Just got my hands on XC2 Torna, arh/ard unpacker extacts files without problems.
All you need to do is rename bf2.ard to ira.ard at line 8 or so.

masagrator
ultra-n00b
Posts: 7
Joined: Wed Oct 17, 2018 12:45 am
Been thanked: 1 time

Re: Xenoblade Chronicles X/2 format bible

Post by masagrator » Sun Jan 20, 2019 1:36 pm

I tried your script for arh file (Xenoblade 2 + update 2.0.2) and i got

Code: Select all

- c_structs (2): "if" "id2" "-1"

Error: invalid command "if" or arguments -1 at line 41
I tried on 0.9.2, 0.9.0 and 0.7.7
Always the same

Edit: OK, problem solved, it just copied wrong.

MBychowski
ultra-n00b
Posts: 1
Joined: Fri Oct 18, 2019 12:02 am

Re: Xenoblade Chronicles X/2 format bible

Post by MBychowski » Fri Oct 18, 2019 12:06 am

Is it possible to open and extract data from .wismda files?
It'd be pretty great to have access to the map models

andree
advanced
Posts: 79
Joined: Sun Jul 09, 2017 1:36 pm
Has thanked: 7 times
Been thanked: 5 times

Re: Xenoblade Chronicles X/2 format bible

Post by andree » Fri Mar 13, 2020 2:04 am

Code: Select all

- signature of 4 bytes at offset 0x000000000018d5e0 doesn't match the one
  expected by the script:

  this one: "~%"
  7e 98 25 f8                                       ~.%.

  expected: "xbc1"
  78 62 63 31                                       xbc1

- 24 files found in 6 seconds
  coverage file 0    53%   1036794    1929104    . offset 00000000000fd208
  coverage file 1     0%   1627499    11007429922 . offset 000000000018d5e4
So I tried extracting the updated .ard and .arh file with the quickbms script with quickbms version 0.9.2 and it didn't extract all files, is it the updated .ard and .arh files or it is the script itself I need to edit?

kees
ultra-n00b
Posts: 2
Joined: Mon Jun 10, 2019 10:52 pm
Has thanked: 1 time

Re: Xenoblade Chronicles 2 arh/ard

Post by kees » Tue May 19, 2020 9:40 pm

PredatorCZ wrote:
Wed Apr 11, 2018 9:24 am
chrrox wrote:is there a decrypted release out there?
There is hactool decryptor already released. It can extract/decrypt most NSW cartriges.


Here is another script, that will extract SAR Containers from both games.

Code: Select all

# Xenoblade Chronicles sar unpacker
# Author Lukas Cone in 2016-2018
# script for QuickBMS http://quickbms.aluigi.org

get FOURCC long

if FOURCC == 0x31524153   
	endian big
elif FOURCC == 0x53415231
	endian little
else
	cleanexit
endif


get filesize long
get Version long
get FILES long
get OFFSET long
get DataOffset long
get dummy long
get dummy long
getdstring PATH 128

goto OFFSET

for i = 0 < FILES
    get iOffset long
    get iLen long
    get dummy long
    putarray 0 i iOffset
    putarray 1 i iLen
    set _fname PATH
	string _fname + "/"
	if Version > 500 
		getdstring iFname 36
		string _fname + iFname
		goto 48 0 SEEK_CUR
	else
		getdstring iFname 52
		string _fname + iFname
	endif
	putarray 2 i _fname	
next i

for i = 0 < FILES
  getarray iOffset 0 i
  getarray iLen 1 i
  getarray iFname 2 i
  log iFname iOffset iLen
next i   
ive tried it and tried feeding it into foobar with the .nop plugin but each time seem to get the file is corrupted. am i trying to read it out wrong or? even on quick bms 0.7.7.

User avatar
PredatorCZ
mega-veteran
mega-veteran
Posts: 275
Joined: Mon Apr 21, 2014 8:32 pm
Has thanked: 8 times
Been thanked: 212 times
Contact:

Re: Xenoblade Chronicles X/2 format bible

Post by PredatorCZ » Wed May 20, 2020 8:25 pm

andree wrote:
Fri Mar 13, 2020 2:04 am
So I tried extracting the updated .ard and .arh file with the quickbms script with quickbms version 0.9.2 and it didn't extract all files, is it the updated .ard and .arh files or it is the script itself I need to edit?
This thing is still being updated? Damn. From this error message, it seems, that file is marked as compressed, but actually isn't. Or they added something new to the archives.
kees wrote:
Tue May 19, 2020 9:40 pm
ive tried it and tried feeding it into foobar with the .nop plugin but each time seem to get the file is corrupted. am i trying to read it out wrong or? even on quick bms 0.7.7.
If the file begins with sadf dpcm/opus and head, it's a valid nop file. Make sure, your filename extension is .nop, if you're using vgmstream plugin, it will detect formats by extension first. Also vgmstream only supports opus formats, so if you have the one with dpcm, it won't work.

MasterFoodsBBQSauce
ultra-n00b
Posts: 1
Joined: Wed Jun 10, 2020 2:02 am

Re: Xenoblade Chronicles X/2 format bible

Post by MasterFoodsBBQSauce » Wed Jun 10, 2020 2:17 am

I've dumped my RomFS, then extracted the files from bf2.arh and bf2.ard. I've also located this list of data tables online, which...seems to pull data from common.bdat ...?
I don't know how to edit anything here, how to compile those tables myself; the online collection doesn't seem to have an author listed, so I can't exactly ask them for help.

Specifically, I want to locate three tables: this AchievementSet table, so I can reset my Affinity Charts for a NG-like NG+ playthrough, this Blade data table so I can give Blades with only two Aux Core slots three of them, and optionally this Driver data table, so I can edit max HP and other stats for Rex, Tora, and Zeke.

Could someone please assist me? I know this game's old, and unfortunately almost no-one's working on this brilliant game anymore, and Xenoblade: Definitive just released, but I still much prefer this one.

Post Reply