extract_arc doesn't work with arc files from resident evil HD remaster and Dragon's Dogma Dark Arisen
title should be hopefully self-explanatory, but generally speaking i was using revil_toolset in a rush when datamining the switch version of two games: resident evil HD remaster (biohazard HD remaster in Japan) and Dragon's Dogma Dark Arisen.
anyway, both games have a massive horde of arc files laying around, so i thought, "maybe i should be testing them with extract_arc or something, i dunno" so i did exactly that and effective immediately it proved to be a dead-end.
C:\[REDACTED]\RevilToolset-v2.5.118-win64>revil_toolset.exe extract_arc "C:\[REDACTED\Dragon's Dogma Dark Arisen\nativeNX\sa\NX\root.arc"
MTF Archive Extractor v1.5.2, Copyright (C) 2020-2023 Lukas Cone
Simply drag'n'drop files/folders onto application or use as revil_toolset extract_arc [options] path1 path2 ...
Tool can detect and scan folders and uncompressed zip archives.
ℹ Loading config: revil_toolset.config
[0x00005BA4] Processing: C:/[REDACTED/Dragon's Dogma Dark Arisen/nativeNX/sa/NX/root.arc
⛔ [0x00005BA4] Coundn't find title.
C:\[REDACTED]\RevilToolset-v2.5.118-win64>revil_toolset.exe extract_arc C:\[REDACTED]\biohazard\nativeNXx64\sa\NX_64\Game.arc
[0x00000E10] MTF Archive Extractor v1.5.2, Copyright (C) 2020-2023 Lukas Cone
[0x00000E10] Simply drag'n'drop files/folders onto application or use as revil_toolset extract_arc [options] path1 path2 ...
Tool can detect and scan folders and uncompressed zip archives.
ℹ [0x00000E10] Loading config: revil_toolset.config
[0x00004A60] Processing: C:/[REDACTED]/biohazard/nativeNXx64/sa/NX_64/Game.arc
⛔ [0x00004A60] Coundn't find title.
every time i tried to do anything (and i mean every. single. time.) with one of these arc files from both games with this tool, it was always telling me that "coundn't find title".
You need to open revil_toolset.config and edit title and platform for extract_arc.
There is a help text as well.
ok, i'll see what i can do
sorry for double posting, but what i did is this.
for resident evil HD remaster, i just set title to biohazzard_0 (then i set the title to other titles as well out of desperation) and platform to NSW for extract_arc.
this is what i got
⛔ [0x00001538] invalid map<K, T> key
as for Dragon's Dogma Dark Arisen, i don't know. i don't want to get the same error.
biohazzard_0 + Win32
and
dragons_dogma + Win32
Just as help section says
NSW platform is mostly for MH titles (also listed in a help section)
i tried both, and for dark arisen files the dragons_dogma + Win32 combo worked rather well, though it only worked for like 4 files at most.
however, i tried the biohazzard_0 + Win32 combo on resident evil files and it could only shat out 0kb zip files.
I've tried both, they extract properly. I see you use version 2.5.118. Yesterday I released 2.5.121, try that one.
tried 2.5.121, still nothing. may need to test this further.
sorry for double-posting, but i tested 2.5.121 with a focus on getting extract_arc to work with at least two games.
here are my attempted settings from the "setting" file.
for resident evil hd remaster:
<extract_arc
title="biohazzard_0"
platform="Win32" />
for dragon's dogma dark arisen
<extract_arc
title="dragons_dogma"
platform="Win32" />
i tried extract_arc on both games with these two settings in mind (one setting for one game each, while keeping the rest of the setting file intact), though all i had to do is just replace the "title" value with whatever i wanted based on your instructions. instructions that i don't really understand but i followed them nonetheless.
anyway, after that, i had extract_arc try to extract as much arc files as it could muster by passing along the directory of where the arc files resided, and what do you know, even after extract_arc was done looking for arc files to do something useful with them, it could only spit out 0kb zip files before giving up and... i don't know man, i'm just out of luck here.
again, i'm going to test this further.
as for the "0kb zip files" part, that part is only true if (in the setting file at least) you only have create-zip set to true. if you set it to false, then extract_arc will create folders for you.
however it will generate literally no files (or fewer files? again, i had to shuffle between two "title" values to get this shit to work), and if you forget to set the "title" value to whichever title name you wanted to set to or (generally speaking) you just so happened to not be careful with this setting file or using the tool (or both), will instead be a power-hogging piece-of-shit as it tries to get through each and every arc file it finds. or if you picked just one arc file, maybe it won't?
There seems to be constant problems with Windows versions. I'm gonna try to update codebase.
Also why are you so mean to the tool? It's explicitly written to squeeze every bit of power out of your CPU. If you experience some several stuttering or delays with OS, it's Windows's fault not being able to properly balance threads, coz I never experienced it on linux. If it's such of a big deal, I can add setting to limit number of worker threads.
oh no, i'm truly sorry! it's just that testing this tool on these two games alone proved stressful to me.
also i should've said from the start that i'm a Win10 (Windows 10 Pro to be exact) user, updated to version 22H2 because i always make it a point to update my PC somehow. never had a good experience with linux itself from what little time i had with it.
and no don't worry about optimizing everything i'm just testing things as i go.
anyway, sorry for the mess i caused!
no worries, I've released new version in nightly 2.6.122
I tested them both, although I tested win64 in Wine, they both extracted arcs.
Sorry for the map::at nonsense, I relied too much on those exceptions
I also noticed I messed up spelling for biohazard.
Oh well, better late than never I guess.
OK, time for me to test 2.6.122
tried 2.6.122 still unlucky 😭
Evil 5 game animation is not extracted
@gamer19771356 You're having the same problem, or is your report unrelated to this issue?
I've tested functionality with others and couldn't replicate the problem you're having.
Is there any additional info you can provide? Like exotic path names? Read/write permissions?
Sadly I am completely in a blank here.
me?
exotic path names? idk what you really mean by this but path names weren't all that "exotic" on my end, no special characters here, just the usual boring ASCII char stuff
didn't check if said path had read/write permissions but i could open one of these arc files through HxD, so long as they resided in a folder that didn't somehow "protect" all the files around it nothing really stopped me from tinkering with these files in any way
tbh it's been about 4 months max since this issue went live, i don't remember a whole lot of what has happened outside here
and now i'm testing RevilLib on the PS4 version of Dragon's Dogma Dark Arisen. wish me luck!
tested RevilLib v2.7.146 on root.arc from (full and uncensored path name) E:\EP0102-CUSA07340_00-DDDAFULLGAME0000\nativePS4\sa\GNM read/write permissions are all good, meaning no restrictions on how far i can screw up them arc files (but will keep them all on!)
set title from config file to "dragons_dogma", platform set to "PS4" (this time), and...
[0x00006094] MTF Archive Extractor v1.7.10, Copyright (C) 2020-2024 Lukas Cone
[0x00006094] Simply drag'n'drop files/folders onto application or use as revil_toolset extract_arc [options] path1 path2 ...
Tool can detect and scan folders and uncompressed zip archives.
ℹ [0x00006094] Loading config: revil_toolset.config
[0x00004760] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/sa/GNM/root.arc
Pressione qualquer tecla para continuar. . . 0%
0% is what happened, it just generated a 0kb zip file instead
This is possibly a silent crash. (In a recent issue I found out Windows platform just silently ends the program) This appears to be the initial case as well, since I guess Windows no longer shows message when app crashes. Gonna need to rethink a few things.
Dragon's Dogma for PS4 is unsupported, you can however try to use Win32 platform. No guarantees.
in the config file, i decided to set title to "dragons_dogma" and platform to "Win32" so i can finally make some use out of the arc files from Dragon's Dogma PS4 ver and yeeeeeeeeeeeep
MTF Archive Extractor v1.7.10, Copyright (C) 2020-2024 Lukas Cone
Simply drag'n'drop files/folders onto application or use as revil_toolset extract_arc [options] path1 path2 ...
Tool can detect and scan folders and uncompressed zip archives.
ℹ Loading config: revil_toolset.config
[0x000020B4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/sa/GNM/root.arc
⛔ [0x000020B4] incorrect header check
MTF Archive Extractor v1.7.10, Copyright (C) 2020-2024 Lukas Cone
Simply drag'n'drop files/folders onto application or use as revil_toolset extract_arc [options] path1 path2 ...
Tool can detect and scan folders and uncompressed zip archives.
ℹ Loading config: revil_toolset.config
[0x000009D8] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/title.arc
⛔ [0x000009D8] unknown compression method
MTF Archive Extractor v1.7.10, Copyright (C) 2020-2024 Lukas Cone
Simply drag'n'drop files/folders onto application or use as revil_toolset extract_arc [options] path1 path2 ...
Tool can detect and scan folders and uncompressed zip archives.
ℹ Loading config: revil_toolset.config
[0x00002C04] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/Initialize.arc
arc files are either reported as having "incorrect header check", "unknown compression method" or not being reported on at all, instead the program is simply shut-down.
and that's about it. at least from me.
Should be fixed in v2.8.150. I've tested ps4 dd:da myself. I've also added notification when the app crashes, this should mitigate future confusions.
testing...
for root.arc, from ps4 dd:da, extract_arc had no problems extracting arc file at all. however, i'd like to test all arc files from that ps4 ver game with extract_arc, see if i'm missing anything there.
good news: all arc files from ps4 dd:da were correctly extracted. extract_arc reported no errors:
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw000.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw001.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw002.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw003.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw004.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw005.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw006.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw012.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw013.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw020.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bbw030.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld000.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld001.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld002.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld003.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld004.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld005.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld006.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld007.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld008.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld009.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld012.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld013.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld020.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bld030.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow000.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow001.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow002.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow003.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow004.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow005.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow006.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow007.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow008.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow012.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow013.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow020.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bow030.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bqi.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bqi000.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bqi001.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bqi002.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bqi003.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bqi004.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/bqi005.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw000.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw001.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw002.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw003.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw004.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw005.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw006.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw012.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw013.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw020.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/mbw030.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/qui.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/qui000.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/qui001.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/qui002.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/qui003.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/qui004.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/qui005.arc
[0x00004E0C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld000.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld001.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld002.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld003.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld004.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld005.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld006.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld007.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld008.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld009.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld010.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld011.arc
[0x00001E6C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld012.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld013.arc
[0x000037F4] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld020.arc
[0x0000439C] Processing: E:/EP0102-CUSA07340_00-DDDAFULLGAME0000/nativePS4/rom/wp/w2/sld030.arc
only flaw is it extracts "empty folders" as well, having the same name as the files themselves, only without an extension.
Should be fixed in v2.8.153.
ahh, thank you. had to test new v2.8.153 on ps3 dd arc files tho because i no longer had ps4 dd:da arc files. safe to say, as far as using extract_arc on ps3 files goes, nothing went wrong there. arc extraction went without a hitch also.