Hacking [Release] The Legend of Heroes: Zero no Kiseki - Evolution Psvita

Beastly-Zero

Active Member
Newcomer
Joined
Apr 1, 2020
Messages
30
Trophies
0
Age
36
XP
162
Country
Italy
I agree on that. Zero Evo would be the definitive version (as are the fan patched Sky Evo games currently) if someone patched the Geofront translation into it. The translation is just fantastic.
Yea...
I agree too but WHEN? i don't wait another 6-8 months IF, MAYBE they do it.
I'm going to finish right now (last boss) the 3rd, after that i start with Zero EVO and bye bye.
 

moonblood666

Well-Known Member
Member
Joined
Feb 24, 2014
Messages
484
Trophies
0
Age
39
XP
1,693
Country
Gambia, The
It seems the entire translation by Geofront is available in plain text form now: http://trailsinthedatabase.com/game-scripts?game_id=4
http://trailsinthedatabase.com/game-scripts?game_id=4
Depending on how easy/hard it is to work with the Evo version's scena files this might be helpful. Since this includes the Japanese script side by side to the English one it could be possible to programmatically replace the Japanese lines in the Evo script with the proper English ones from this site.

Same for Ao

http://trailsinthedatabase.com/game-scripts?game_id=5&chr=&q=
 
Last edited by moonblood666,

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,878
Country
United States
It seems the entire translation by Geofront is available in plain text form now: http://trailsinthedatabase.com/game-scripts?game_id=4
Depending on how easy/hard it is to work with the Evo version's scena files this might be helpful. Since this includes the Japanese script side by side to the English one it could be possible to programmatically replace the Japanese lines in the Evo script with the proper English ones from this site.

Same for Ao

http://trailsinthedatabase.com/game-scripts?game_id=5&chr=&q=
Actually, the database decompiled the Geofront scripts.
 
  • Like
Reactions: ExData7

Beastly-Zero

Active Member
Newcomer
Joined
Apr 1, 2020
Messages
30
Trophies
0
Age
36
XP
162
Country
Italy
I already started Zero no Kiseki EVO, 12 hours, Chap. 1, and i m going to enjoy it.
Can't wait months and months of maybe :( , i hope fo Ao EVO and that's it.
 

GraveViolento

Well-Known Member
Newcomer
Joined
Feb 14, 2017
Messages
58
Trophies
0
Age
27
XP
934
Country
United States
Hey everyone! So I've been lurking the forums and especially this thread for a while now, but after moonblood666 posted a link to the Geofront translation in plain text, I thought that maybe I could take my own swing at "translating" Trails from Zero Evolution (I honestly don't know how to read any Japanese and all I would be doing is replacing the Japanese text with English, so using translating very loosely here). I do also have to state that I have never really done any modding before but I would say when it comes to experience that I'm a jack of all trades and master of none kinda thing-- I have done some programming, done a bit of photoshop and video editing, and etc.

Anyways getting to the main point of this post, I was trying to extract the data1.psarc using Total Commander and the PSARC plugin, however I keep running into an error issue, as seen in the photo below:
Capture.PNG


Not sure if I messed something up during installation or if it may just be my copy of the game? The installation of the Total Commander and it's PSARC plugin seemed pretty straightforward so I'm leaning towards my copy of the game being at fault.

Regardless I was able to get around this by using VitaShell and extracting all the folders out of data1 and onto the my SD Card and navigated to the scena folder. There I was able to find all the bin files that seem to match the the filename that's on the "Trails in the Database" website. I then did a quick look up of one of the lines to see if it existed in the bin file and yeah, it was there as shown in the pic below:
Untitled.png


So now my other question is what can I/should I do next? Is it really as easy as just replacing all the Japanese text with English in the bin files (like using the find and replace function in notepad++ for starters before going into how to automate the process using a script) or is there maybe another way to do things? Also not sure what to do once I'm done with some modifications, as I don't know how to compress everything back into a PSARC file for testing or if that's the right way to go about it. I haven't spent too much time on this, only started looking into this yesterday, but if someone could point me in the right direction at what links to look at and such, that would be awesome!
 

moonblood666

Well-Known Member
Member
Joined
Feb 24, 2014
Messages
484
Trophies
0
Age
39
XP
1,693
Country
Gambia, The
Hey everyone! So I've been lurking the forums and especially this thread for a while now, but after moonblood666 posted a link to the Geofront translation in plain text, I thought that maybe I could take my own swing at "translating" Trails from Zero Evolution (I honestly don't know how to read any Japanese and all I would be doing is replacing the Japanese text with English, so using translating very loosely here). I do also have to state that I have never really done any modding before but I would say when it comes to experience that I'm a jack of all trades and master of none kinda thing-- I have done some programming, done a bit of photoshop and video editing, and etc.

Anyways getting to the main point of this post, I was trying to extract the data1.psarc using Total Commander and the PSARC plugin, however I keep running into an error issue, as seen in the photo below: View attachment 212268

Not sure if I messed something up during installation or if it may just be my copy of the game? The installation of the Total Commander and it's PSARC plugin seemed pretty straightforward so I'm leaning towards my copy of the game being at fault.

Regardless I was able to get around this by using VitaShell and extracting all the folders out of data1 and onto the my SD Card and navigated to the scena folder. There I was able to find all the bin files that seem to match the the filename that's on the "Trails in the Database" website. I then did a quick look up of one of the lines to see if it existed in the bin file and yeah, it was there as shown in the pic below:View attachment 212269

So now my other question is what can I/should I do next? Is it really as easy as just replacing all the Japanese text with English in the bin files (like using the find and replace function in notepad++ for starters before going into how to automate the process using a script) or is there maybe another way to do things? Also not sure what to do once I'm done with some modifications, as I don't know how to compress everything back into a PSARC file for testing or if that's the right way to go about it. I haven't spent too much time on this, only started looking into this yesterday, but if someone could point me in the right direction at what links to look at and such, that would be awesome!

About your Total Commander issue: did you use the maidump version of the game? If you used a NoNpDrm version it's understandable for it not to work since the files are encrypted. Otherwise you should be able to use Total Commander to unpack and pack the PSARC file. I've done this with Sora SC Evo's maidump version back in the day and it worked, so I don't see a reason why it shouldn't do so here.

As for the automation: perhaps read the scena file into a string first. The tricky part would be how to work with the Geofront plain text. Just try the simplest solution first, perhaps some kind of hash table (a Map in Java for instance or a Dictionary in C#) where the Japanese line is the key and the English one the value and then replace the instances of the key values in the String you've read from the Vita version scena file. The problem with a hash table though would be if there are multiple instances of a key String if you use the Japanese line as a key... and there most definitely will be. But like you I also have never rom-hacked, o take this with a grain of salt. Just have fun experimenting and see where you get. Good luck.
 
Last edited by moonblood666,

PortableGuy

Active Member
Newcomer
Joined
Aug 24, 2018
Messages
31
Trophies
0
Age
35
XP
1,416
Country
Gibraltar
Geofront just announced they’re doing Ao, and they’re 75% through editing, so it would be perfect if we could eventually get both of their translations on Vita.

I would love to ask The Database, as this is really close to the XSEED standard, but after his amazing, expansive and harrowing work on the Sora trilogy, I understand his unwillingness to do more.
 

GraveViolento

Well-Known Member
Newcomer
Joined
Feb 14, 2017
Messages
58
Trophies
0
Age
27
XP
934
Country
United States
About your Total Commander issue: did you use the maidump version of the game? If you used a NoNpDrm version it's understandable for it not to work since the files are encrypted. Otherwise you should be able to use Total Commander to unpack and pack the PSARC file. I've done this with Sora SC Evo's maidump version back in the day and it worked, so I don't see a reason why it shouldn't do so here.
So I was being a dummy here and thought I was trying to open up the decrypted one when in fact I was still clicking on the encrypted version haha.

The decompiler works. You don't need to scrape
Okay so here is where I have a problem. I'm not sure what I'm doing wrong or if I'm missing something, but I was trying to follow the instructions on the github for the EDDecompiler, I was able to clone both repositories however I can't seem to figure out how to actually Decompile the script for Zero. As for the opcodes, based on what I read from here: https://heroesoflegend.org/forums/viewtopic.php?t=328 it seems that "for zero evo, the dialogue opcode has appeared to change from 0x5c to 0x57" and "the end marker has changed from 0059 to 0054" which I was able to see in the bin file.

I also was just taking a look at what EvilGoku did for his translation patch, and it seems that he stuck all his translation at the end without ever touching the original Japanese script, however I can't seem to understand how he got the pointers to look there as everything else looks virtually similar unless I overlooked something.
 
Last edited by GraveViolento,

xpehbam

New Member
Newbie
Joined
Jun 11, 2020
Messages
2
Trophies
0
Age
36
XP
32
Country
Bahamas, The
Is there any reason why Geofront refuses to do a Vita patch? They went through such a long and meticulous process doing this translation, surely making a vita patch wouldn't be such a big deal for them. Unless it is way more complicated than a simple copy paste job as some people in this thread seem to believe.

By the way, I'm interested in getting platinum on all trails games. I'm wondering if the fan patches in any way mess with the trophies. Did anyone get a platinum on TiTS trilogy with Database's patch? What about EvilGoku's version of Zero?
 

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,878
Country
United States
Is there any reason why Geofront refuses to do a Vita patch? They went through such a long and meticulous process doing this translation, surely making a vita patch wouldn't be such a big deal for them. Unless it is way more complicated than a simple copy paste job as some people in this thread seem to believe.

By the way, I'm interested in getting platinum on all trails games. I'm wondering if the fan patches in any way mess with the trophies. Did anyone get a platinum on TiTS trilogy with Database's patch? What about EvilGoku's version of Zero?
If you somehow can not obtain trophies after using the patch, you may be able to use trophax to unlock the trophies.
 

xpehbam

New Member
Newbie
Joined
Jun 11, 2020
Messages
2
Trophies
0
Age
36
XP
32
Country
Bahamas, The
If you somehow can not obtain trophies after using the patch, you may be able to use trophax to unlock the trophies.

I'm aware you can hack them but I'd like to do them the legit way. It's basically the sole reason I even considered playing it on vita, if not for trophies I'd just play the PC version.
 

PortableGuy

Active Member
Newcomer
Joined
Aug 24, 2018
Messages
31
Trophies
0
Age
35
XP
1,416
Country
Gibraltar
Is there any reason why Geofront refuses to do a Vita patch? They went through such a long and meticulous process doing this translation, surely making a vita patch wouldn't be such a big deal for them. Unless it is way more complicated than a simple copy paste job as some people in this thread seem to believe.

By the way, I'm interested in getting platinum on all trails games. I'm wondering if the fan patches in any way mess with the trophies. Did anyone get a platinum on TiTS trilogy with Database's patch? What about EvilGoku's version of Zero?
I haven’t played Zero, but this hasn’t broken anything in the TITS trilogy AFAIK (I haven’t platinumed all of them yet).
 

Dasutein

Member
Newcomer
Joined
Jul 3, 2020
Messages
13
Trophies
0
Age
27
XP
91
Country
United States
These are just some observations on my part from tinkering with the game's files a bit. Hopefully this helps push things in the right direction for any future work done to port Geofront's translation to Evolution, for both Zero and Ao.
  • Op-codes in the Scena files are indeed different, as @GraveViolento mentioned, and will need to be found in order for EDDecompiler to work with Evolution's Scena files. Some op-codes are the same, however, such as 0x01, 0x02, and 0x03. I'm not especially familiar with the Scena format, so I'm not sure how to go about finding the full list of op-codes; these were just ones I found from a brief comparison in a hex editor.
  • Geofront's ITP files are actually renamed PNGs, and not directly compatible with Evolution (tried doing this with the title screen and it just turned black, and the buttons disappeared). These will need to converted and shrunk down to match the resolution on Evolution.
  • Geofront's _dt files in the text directory are compatible with Evolution. t_quest._dt will need to be updated to accommodate the new quests exclusive to Evolution. t_mgame2._dt in Evolution will need to be translated (contains the text for the new minigames exclusive to this version). The Korokoro Mishy minigame can be localized as Mishy Tilt 'n' Tumble, matching Kirby Tilt 'n' Tumble's Japanese title, Korokoro Kirby.
  • Geofront's Monster Notes are compatible with Evolution, but the text flows outside the window. A font change would probably help this. The dat files in the \battle\dat directory are also compatible.
  • Files in Data0, Data1 and Data2.psarc can be rearranged between each other freely. This might be useful if you want to move all the essential files to a single psarc, and use another, smaller psarc with just the modded files for faster testing. Evolution reads all of the psarc files as a single entity, not caring which one the files are located in.
I also want to bring to everyone's attention that the PC version's textures can be used on Evolution, and they look amazing in this version. Since Zero and Ao Evolution have better shaders than any other versions (even the recent PS4 ports), this makes for a really nice looking version of the game, especially with the better shadows and water ripples. If anyone continues the work on Evolution, I implore you to bring these over, as there are absolutely no downsides to doing this.

I was able to test this in Zero Evolution by copying over the map it3 files from the PC version, and cutting out the map cclm files in data0.psarc\data\cclm\map4, which are not essential to the game. In Ao Evolution, you can just overwrite the map files in data1.psarc\data\map, since there are no cclm files to deal with.

Below are comparison images, with the original textures first, then the PC version's textures.
central_square-original_textures.png
central_square-pc_textures.png
prologue-original_textures.png
prologue-pc_textures.png
administrative_district-original_textures.png
administrative_district-pc_textures.png
harbor_district_original_textures.png
harbor_district-pc_textures.png
 
Last edited by Dasutein,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Boo I thought that was a rejection comment