Re: NieR Replicant ver.1.22 .arc
Posted: Tue Apr 27, 2021 8:04 am
Currently working on reversing meshes, but fresh eyes can always help! Here's the templates we've been working on:
I hope Discord server invite links aren't against the rules: https://discord.gg/QBZZZvTeRa
My guess is hash, you can compare the value of that in entries with very similar filenames (eg. the first mot_dyw010/mot_dyw011 entries, or msh_spl_visivle003_1, msh_spl_visivle003_2, msh_spl_visivle003_3) the unknown value only increases by 1 on each, but it's much different when entry names aren't similar, maybe gives a clue about the hasher they use.
param\snow\text if you use my tool on previous page.rhadamants wrote: ↑Tue Apr 27, 2021 8:56 pm Has anyone figured out which file the game texts are in?
I extract all the files using the emil.exe tool, but I have not found anything like Lang, Language, Localization, etc.
The lang_en directory has 1kb files.
I tried to reimport modified data but game wont start if compressed chunk changes even by one byte (i added it to lang1.arc). But It works with original compressed chunks. I tried to rewrite offset and size in info.arc.infogram wrote: ↑Tue Apr 27, 2021 8:18 pm My guess is hash, you can compare the value of that in entries with very similar filenames (eg. the first mot_dyw010/mot_dyw011 entries, or msh_spl_visivle003_1, msh_spl_visivle003_2, msh_spl_visivle003_3) the unknown value only increases by 1 on each, but it's much different when entry names aren't similar, maybe gives a clue about the hasher they use.
It's appear to be in the same format as the PS3 version.LinkOFF wrote: ↑Tue Apr 27, 2021 9:14 pmparam\snow\text if you use my tool on previous page.rhadamants wrote: ↑Tue Apr 27, 2021 8:56 pm Has anyone figured out which file the game texts are in?
I extract all the files using the emil.exe tool, but I have not found anything like Lang, Language, Localization, etc.
The lang_en directory has 1kb files.
Can you upload a sample file?rhadamants wrote: ↑Wed Apr 28, 2021 5:19 am It's appear to be in the same format as the PS3 version.
Is there any parse for these texts?
Sounds like game checks for "..\build_assets\rom\pc\" folder, if it exists then it'll load files from there instead of from *.arc.Loading (pseudo) loose files for NieR Replicant ver.1.22474487139
Requirement:
https://github.com/yretenai/kaine/releases (emil.exe specifically)
-Extract all .arc files using emil.exe to a temp destination of your choice. You should end up with a folder that contains 15 folders and a single .bxon file. (maybe more if you unpack DLC)
-Copy the contents of \steamapps\common\NieR Replicant ver.1.22474487139\data\sound TO <<your temp extracted path>>\sound
-Remove the .xap file extension for all extracted files. Do not do what I did and do each one-by-one manually.
Batch remove all .xap file extensions
-Windows command prompt in the folder that contains the 15 folders you extracted and run the following command and grab lunch/coffee/whatever. Will take a good 20-30 min. Maybe @Yretenai can add a flag to ignore file extensions on export if the idea pans out?
forfiles /S /M *.xap /C "cmd /c rename @file @fname"
-Create the following folder structure on the same drive Nier Replicant is installed:
<<Steam Install>>
-steamapps
-common
-build_assets
-rom
-pc
-Copy/Paste/Cut the 15 folder and single .bxon folder into the pc folder created above
-Rename your current \steamapps\common\NieR Replicant ver.1.22474487139\data folder to anything other than data
-Launch the game via Steam as per usual.
YMMV, but my experience has been no different playing this way thus far.
Edit 1: Currently getting a black screen in intro and cut-scenes. Likely a missed or additional export/extract and will look into tomorrow. Audio files needed some additional work so these needing that as well would not be surprising.
Edit 2: Confirmed \data\movie\*.arc did not extract .
Workaround - copy contents of NieR Replicant ver.1.22474487139\data\movie TO \steamapps\common\build_assets\rom\pc\movie
Nier_Replicant_BLJM60223.rarlehieugch68 wrote: ↑Wed Apr 28, 2021 8:33 pmCan you upload a sample file?rhadamants wrote: ↑Wed Apr 28, 2021 5:19 am It's appear to be in the same format as the PS3 version.
Is there any parse for these texts?
If I'm not mistaken, are these tab-delimited values (0x09) plain text files?rhadamants wrote: ↑Sun May 02, 2021 4:38 pmNier_Replicant_BLJM60223.rarlehieugch68 wrote: ↑Wed Apr 28, 2021 8:33 pmCan you upload a sample file?rhadamants wrote: ↑Wed Apr 28, 2021 5:19 am It's appear to be in the same format as the PS3 version.
Is there any parse for these texts?
It's ps3 jpn and en patch files.lehieugch68 wrote: ↑Wed Apr 28, 2021 8:33 pm
If I'm not mistaken, are these tab-delimited (0x09) plain text files?