Punch Club Script Tool for Localization

How to translate the files of a game
akala
Posts: 6
Joined: Thu Dec 10, 2015 3:15 pm

Punch Club Script Tool for Localization

Post by akala »

Hi! I want to make a localization patch for this game but I can't change directly to files. HEX editor is worked but it's really hard.

files:

resources.assets\resources_00001.-5 (Deutsch)
resources.assets\resources_00002.-5 (English)
resources.assets\resources_00003.-5 (Spanish)
resources.assets\resources_00004.-5 (French)
resources.assets\resources_00005.-5 (Portuguese-Brazil)
resources.assets\resources_00006.-5 (Russian)
MitiSen
Posts: 17
Joined: Sat Jun 06, 2015 11:42 pm

Re: Punch Club Script Tool for Localization

Post by MitiSen »

http://forum.xentax.com/viewtopic.php?f=35&t=13790

Ask for makcar and my questin is how can open the .assets file.Can you help me? Sorry my bad english :)
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: Punch Club Script Tool for Localization

Post by swuforce »

Try this tool.
The_Reaper_CooL
Posts: 69
Joined: Sat Dec 05, 2015 2:31 pm

Re: Punch Club Script Tool for Localization

Post by The_Reaper_CooL »

swuforce wrote:Try this tool.


This doesn't work for me, it inputs a 0 kbyte file with nothing in it. What am I doing wrong, do I need to extract the files with a different program? (I use a QuickBMS script to do so)
The_Reaper_CooL
Posts: 69
Joined: Sat Dec 05, 2015 2:31 pm

Re: Punch Club Script Tool for Localization

Post by The_Reaper_CooL »

Okay, after a month hiatus or so I tested this tool. You can edit the text with it, but you can only write strings as long as the original one, or maybe shorter.

So basically it just lets you extract the text from the game, but if you make it longer then the game won't start.

I'm not talking about "Hey this file has 1325 characters in it, and if I write 1326 it crashes". I'm talking about "This ONE line is 5 characters, and if I write 6 or more it crashes". I hope you understand what I mean.

Any chance of updating the tool?
gula
Posts: 13
Joined: Wed Oct 22, 2014 7:14 pm

Re: Punch Club Script Tool for Localization

Post by gula »

not likely,these are not good tool's ...
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: Punch Club Script Tool for Localization

Post by swuforce »

The_Reaper_CooL
Posts: 69
Joined: Sat Dec 05, 2015 2:31 pm

Re: Punch Club Script Tool for Localization

Post by The_Reaper_CooL »



Nice! How did you manage to do that?

I'm using UnityAssetsExplorer, I extract the files, use your import/export tool to modify it, then I re-import using UnityAssetsExplorer.

What should I use instead?
The_Reaper_CooL
Posts: 69
Joined: Sat Dec 05, 2015 2:31 pm

Re: Punch Club Script Tool for Localization

Post by The_Reaper_CooL »

I'm going to be childish a bit: Today is my birthday, can anyone help me with this? :D
MerlinSVK
Posts: 165
Joined: Wed Aug 13, 2014 10:00 am

Re: Punch Club Script Tool for Localization

Post by MerlinSVK »

For Import/Export resources.assets file use UnityEX.

Export *.-5 files, then use swuforce's tools, translated -.5 files import back into resources.assets.
The_Reaper_CooL
Posts: 69
Joined: Sat Dec 05, 2015 2:31 pm

Re: Punch Club Script Tool for Localization

Post by The_Reaper_CooL »

MerlinSVK wrote:For Import/Export resources.assets file use UnityEX.

Export *.-5 files, then use swuforce's tools, translated -.5 files import back into resources.assets.


And it really works! Thank you very much! :D
DrZulu
Posts: 5
Joined: Sat Jun 18, 2016 5:36 am

Re: Punch Club Script Tool for Localization

Post by DrZulu »

Should swuforce's tool work with different files too?
I tried to use it to modify a .-22 file (by renaming its extension .-5) but got an empty .txt file as a result.
:-/
MerlinSVK
Posts: 165
Joined: Wed Aug 13, 2014 10:00 am

Re: Punch Club Script Tool for Localization

Post by MerlinSVK »

So, you have your answer.