XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Oct 20, 2018 9:09 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Tue May 26, 2015 6:24 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1687
Has thanked: 36 times
Have thanks: 1108 times














You can make the ads go away by registering

TheReaperCooL wrote:
will see after packing them back in in the way they are now.


So you think you can edit text to the language you need using 1-byte encoding in one of the languages they have here and fonts they use in game?


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Tue May 26, 2015 6:45 pm 
Offline
advanced
User avatar

Joined: Sat Apr 17, 2010 8:18 pm
Posts: 58
Has thanked: 0 time
Have thanks: 1 time
daemon1 wrote:
TheReaperCooL wrote:
will see after packing them back in in the way they are now.


So you think you can edit text to the language you need using 1-byte encoding in one of the languages they have here and fonts they use in game?


Well I see that the string files contains random stuff in the beginning (don't know what all that means), and then the strings come, separated with NUL or double FF HEX bytes.

If I change it and pack it back in then I can see if it changes, if it works, will see if I could write longer or smaller strings in it, then I go and use unicode characters (lots of them are supported, there are separate files for German, Swedish and such languages, I could use those if I'm correct).


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Tue May 26, 2015 7:27 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1687
Has thanked: 36 times
Have thanks: 1108 times
TheReaperCooL wrote:
I go and use unicode characters (lots of them are supported, there are separate files for German, Swedish and such languages, I could use those if I'm correct).


That's what I was asking about. So these unicode characters will be enough for your language?


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Tue May 26, 2015 7:42 pm 
Offline
advanced
User avatar

Joined: Sat Apr 17, 2010 8:18 pm
Posts: 58
Has thanked: 0 time
Have thanks: 1 time
daemon1 wrote:
TheReaperCooL wrote:
I go and use unicode characters (lots of them are supported, there are separate files for German, Swedish and such languages, I could use those if I'm correct).


That's what I was asking about. So these unicode characters will be enough for your language?


I don't know yet, but I assume they are included in the game, seeing how cyrillic characters are already in it, and it supports many languages. I'll only know for sure once I've tested it.


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Tue May 26, 2015 8:35 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1687
Has thanked: 36 times
Have thanks: 1108 times
Ok. Well, at least I can say you can't write longer or smaller strings in it, because that "random stuff in the beginning" are all string offsets, and they need to be changed for that.


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Tue May 26, 2015 9:15 pm 
Offline
advanced
User avatar

Joined: Sat Apr 17, 2010 8:18 pm
Posts: 58
Has thanked: 0 time
Have thanks: 1 time
daemon1 wrote:
Ok. Well, at least I can say you can't write longer or smaller strings in it, because that "random stuff in the beginning" are all string offsets, and they need to be changed for that.


Damn... thought they are something like that. I translate other games too, and I have a hard time adjusting the pointers in Clock Tower (SNES).


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Tue May 26, 2015 11:53 pm 
Offline
mega-veteran
mega-veteran

Joined: Fri Aug 22, 2014 6:14 pm
Posts: 169
Has thanked: 9 times
Have thanks: 5 times
TheReaperCooL wrote:
daemon1 wrote:
If you think you can change these files for your purposes, I can try and pack it back.


Well I can edit the text in these files with a HEX Editor or something like that, and I'd like to translate these games. It would be awesome if you could help me out with it.

Although I might need to put up another request for the text files, maybe they need some unpacking too, but will see after packing them back in in the way they are now.

EDIT:
Just found Magicka 2's String files, and I think I can easily edit them. Will have to try once I can pack them back in :)


Hey, we are working on translation too, which file exactly?


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Wed May 27, 2015 7:53 am 
Offline
advanced
User avatar

Joined: Sat Apr 17, 2010 8:18 pm
Posts: 58
Has thanked: 0 time
Have thanks: 1 time
Taner038 wrote:
TheReaperCooL wrote:
daemon1 wrote:
If you think you can change these files for your purposes, I can try and pack it back.


Well I can edit the text in these files with a HEX Editor or something like that, and I'd like to translate these games. It would be awesome if you could help me out with it.

Although I might need to put up another request for the text files, maybe they need some unpacking too, but will see after packing them back in in the way they are now.

EDIT:
Just found Magicka 2's String files, and I think I can easily edit them. Will have to try once I can pack them back in :)


Hey, we are working on translation too, which file exactly?


dd5d5b00fde9b0fb

And there are lots of files in it, and you need to edit the very first, which is B64470F86611DB9A.strings

Can't pack it back in yet, but you could edit this file and then when we can pack it back in you could translate the game. Also I'm translating it into Hungarian, as I've translated the first game and Wizard of the Square Tablet, too :)


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Wed May 27, 2015 4:08 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1687
Has thanked: 36 times
Have thanks: 1108 times
TheReaperCooL wrote:
dd5d5b00fde9b0fb

And there are lots of files in it


What are these files? All strings or something else?


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Wed May 27, 2015 4:31 pm 
Offline
advanced
User avatar

Joined: Sat Apr 17, 2010 8:18 pm
Posts: 58
Has thanked: 0 time
Have thanks: 1 time
daemon1 wrote:
TheReaperCooL wrote:
dd5d5b00fde9b0fb

And there are lots of files in it


What are these files? All strings or something else?


All strings, and here's the list:

B64470F86611DB9A.strings (English)
B64470F86611DB9A_2.strings (Italian)
B64470F86611DB9A_4.strings (Portuguese-Brazil)
B64470F86611DB9A_8.strings (Russian
B64470F86611DB9A_10.strings (German)
B64470F86611DB9A_20.strings (Polish)
B64470F86611DB9A_40.strings (French)
B64470F86611DB9A_80.strings (Spanish)


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Wed May 27, 2015 4:44 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1687
Has thanked: 36 times
Have thanks: 1108 times
ok, i will now try some tests. Packing only one file - english, will be easier, and maybe this is all we need.

update: interesting, it worked. Now I'm gonna make a tool that will pack one "english strings" file into package and you try it.


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Wed May 27, 2015 8:04 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1687
Has thanked: 36 times
Have thanks: 1108 times
Very first and temporary solution for repacking.

Unpack the strings again, and the tool will additionally make a file "data.bin" that contains some unknown info that we need to put back into the package.

Then change english strings (don't change its size yet!) and pack back with bitsquid_str [strings file name]
That file "data.bin" must be in the same folder.

It will make out.packet file, rename it to whatever it was originally and put into the game.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Wed May 27, 2015 9:17 pm 
Offline
advanced
User avatar

Joined: Sat Apr 17, 2010 8:18 pm
Posts: 58
Has thanked: 0 time
Have thanks: 1 time
daemon1 wrote:
Very first and temporary solution for repacking.

Unpack the strings again, and the tool will additionally make a file "data.bin" that contains some unknown info that we need to put back into the package.

Then change english strings (don't change its size yet!) and pack back with bitsquid_str [strings file name]
That file "data.bin" must be in the same folder.

It will make out.packet file, rename it to whatever it was originally and put into the game.


Tried it out, and yes, I could translate the game. I was curious and tried to input longer text, and the game started, but anything after said string was like [LOC:NOT_TRANSLATED] and such.

Link to picture

EDIT:
Also I've just noticed, but this file only contains item, spell and such descriptions, but not actual dialogue. They are stored in a different file


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Wed May 27, 2015 9:27 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1687
Has thanked: 36 times
Have thanks: 1108 times
To make longer texts, we have these options:

- you edit it in hex, and I make a tool that recalculate and update the offsets.
- make a tool to fully export texts (to what format?) and import them back


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Wed May 27, 2015 9:34 pm 
Offline
advanced
User avatar

Joined: Sat Apr 17, 2010 8:18 pm
Posts: 58
Has thanked: 0 time
Have thanks: 1 time
daemon1 wrote:
To make longer texts, we have these options:

- you edit it in hex, and I make a tool that recalculate and update the offsets.
- make a tool to fully export texts (to what format?) and import them back


Well the export sounds good (.txt or .xls is good, or whatever way you can extract it). This is because if I translate something and then I make a typo or something, then you'd have to recalculate every single text that's been inserted


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group