Hacking nights of azure 2 psarc repack issues

  • Thread starter Deleted User
  • Start date
  • Views 3,014
  • Replies 16
  • Likes 1
D

Deleted User

Guest
OP
Hey guys. I'm trying to repack the English pc scripts into the vita version. I'm using total commander with the psarc plugin. I dumped the game with maid dump (can you dump it with nonpdrm and get a decrypted psarc file?). I copied over the event folder which are the same size on both versions. I repacked the file and replaced the original in the game folder with vitashell. When I launch it I get an error message that it is corupted. Then I seen the repacked file is slightly smaller. Original size is 2.40 gb (2,513,579 kb)
Repacked file 2.39 gb (2,509,087)

I used these option to repack, psarc ver. 3 compression:zlibs rate: 9

Any help is appreciated!
 
  • Like
Reactions: ExData7
D

Deleted User

Guest
OP
Tried repack and got the same error message as well. Thanks anyway guys. I'll report back if I make any progress.
 
D

Deleted User

Guest
OP
Success! Maidump was giving me a corrupted file. I used the repatch method and it works perfectly. I have managed to import the English script. There's is some spacing issues, but there is no problem reading the script in game. Here's a few shots
upload_2018-8-2_0-23-44.jpeg



upload_2018-8-2_0-24-49.jpeg






upload_2018-8-2_0-24-10.jpeg


I'm working on the patch now. Xdelta output the patch at 2 gb so I'm trying to make it as small as possible.

This only translates the script including dlc and side events.. Not the menu or items/skills. The files format for the images still needs a tool made to extract.
If anyone is interested in looking into the images and where to find the item/skill ect text I would appreciate it.
 
Last edited by ,
  • Like
Reactions: swosho and ExData7

xYuunax

Well-Known Member
Member
Joined
Feb 6, 2018
Messages
333
Trophies
0
Location
Hong Kong
XP
1,678
Country
Hong Kong
@sephurchin the rest of the translations are .xml files (name.xml description.xml system_message.xml talk_message.xml tweet_message.xml) ... thought the PC assets are encrypted (xml.e), no way to swap them unless you can decrypt them... (decrypt key is prolly in the .exe) I've attempted to translate them manually with a friend, we did translate like 20% of it, but there way too many strings and way too tedious, and we've pretty much given up, since we both bought a switch.

also you have to replace/swap the font file for all translations to appear properly.

Good luck
 
Last edited by xYuunax,
  • Like
Reactions: Deleted User
D

Deleted User

Guest
OP
@sephurchin the rest of the translations are .xml files (name.xml description.xml system_message.xml talk_message.xml tweet_message.xml) ... thought the PC assets are encrypted (xml.e), no way to swap them unless you can decrypt them... (decrypt key is prolly in the .exe) I've attempted to translate them manually with a friend, we did translate like 20% of it, but there way too many strings and way too tedious, and we've pretty much given up, since we both bought a switch.

also you have to replace/swap the font file for all translations to appear properly.

Good luck
Thanks! I'll try the font file next. Good to know about the rest. If I can't find the encryption keys maybe I'll just manual it. Did you try to make a patch? Xdelta won't go below 2 gb on the patch side.
 
D

Deleted User

Guest
OP
OK so found the font file it is call lillyfont.gln. adding and/or swapping does not fix the spacing issue. Also I have edited the xml files directly with notepad++ with the xml plug in. I replaces all the Japanese names in the names.xml file. Problem is it is not showing in game. All names are still in the original Japanese. The same thing with the description.xml. Strange how the script file show fine, but not these. Anyone have any ideas why?
 

xYuunax

Well-Known Member
Member
Joined
Feb 6, 2018
Messages
333
Trophies
0
Location
Hong Kong
XP
1,678
Country
Hong Kong
Patching now. I'll go through and take a look. I take it the switch files were easier to handle. Great job at getting the rest of the assets. This was getting kind of frustration.

yea switch has the xml decrypted, but the story scripts are a different story... looks encrypted and also in a different format compared to pc/vita.
 
D

Deleted User

Guest
OP
yea switch has the xml decrypted, but the story scripts are a different story... looks encrypted and also in a different format compared to pc/vita.
Got your patch extracted and going through the files now. The talk bubbles is up first. I see a lot of files that make sense now like the font and the menu text was not an image as I first thought. Let me play around with it and see. What method did you use to make the patch?
 

xYuunax

Well-Known Member
Member
Joined
Feb 6, 2018
Messages
333
Trophies
0
Location
Hong Kong
XP
1,678
Country
Hong Kong
Got your patch extracted and going through the files now. The talk bubbles is up first. I see a lot of files that make sense now like the font and the menu text was not an image as I first thought. Let me play around with it and see. What method did you use to make the patch?

just the normal psarc tool
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Will you give me mouth to mouth oxygen if my throat closes?
  • K3N1 @ K3N1:
    Nah the air can do that
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    A @ abraarukuk: hi guys