XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Dec 14, 2018 11:29 am

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: Wed May 27, 2015 9:40 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1721
Has thanked: 38 times
Have thanks: 1176 times














You can make the ads go away by registering

TheReaperCooL wrote:
you'd have to recalculate every single text that's been inserted


The tool will do it automatically for all text lines.


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Wed May 27, 2015 10:05 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:
you'd have to recalculate every single text that's been inserted


The tool will do it automatically for all text lines.


Exporting it into a file might be better, but you should do what works and what's easier (I'd prefer exporting as I've said before).

EDIT:
I've looked around, and I see that there are no other files that contain strings, at least not under 10 megabytes (which means that's the only text in the game, but I need to look deeper in the files).

Also I've found almost all unicode characters, but couldn't test them. They should be the same as they were for Magicka 1. Once I get home I'll test them out.


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

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1721
Has thanked: 38 times
Have thanks: 1176 times
Ok, I will try export/import thought I doubt about this utf-8 encoding and how it may work.

Also I can see no files with "double FF". Can you send me those?

Did you find dialogue text? Because if you didn't, there's no use in this repacker.

p.s. another strange thing, different language files have different number of strings.


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Thu May 28, 2015 5:44 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, I will try export/import thought I doubt about this utf-8 encoding and how it may work.

Also I can see no files with "double FF". Can you send me those?

Did you find dialogue text? Because if you didn't, there's no use in this repacker.

p.s. another strange thing, different language files have different number of strings.


Sorry, not double FF, double 00. I'm translating many games and I wrote a bad value.

Also there's only one string file, but it's all messed up and didn't see the dialogue, but I think it's all there.


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Thu May 28, 2015 6:05 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1721
Has thanked: 38 times
Have thanks: 1176 times
TheReaperCooL wrote:
it's all messed up and didn't see the dialogue, but I think it's all there.


The list is sorted by hash value.


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

Joined: Sat Apr 17, 2010 8:18 pm
Posts: 58
Has thanked: 0 time
Have thanks: 1 time
Tried out the unicode characters, and I'm happy that the game can use all unicode characters, no need for tricky letters and such (by this I mean that some games require ő, but there's no such character, so I use ô or maybe õ instead, but here it's not needed thankfully).

Link to the image


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

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1721
Has thanked: 38 times
Have thanks: 1176 times
We have a problem with special characters. Some lines contain "next line" characters and when converted to txt or xls it will be impossible to leave them. I need to replace them with something.


Last edited by daemon1 on Thu May 28, 2015 8:45 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Thu May 28, 2015 8:38 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:
We have a problem with special characters. Some lines contain "next line" characters and when converted to txt or xls it will be impossible to leave them. I need to replace them with something.

Exporter ready.


In this cases I always use × or ¤, because those can't be found normally in files. Here you can find this, but if you'd define this "next line" character with both chars next to each other (like פ), then it wouldn't be a problem I guess.

Thanks for the exporter, will look through the text and see how I can translate it.


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

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1721
Has thanked: 38 times
Have thanks: 1176 times
I have no time or experience to parse utf-8 strings, so i just replaced 0xD to 0xF0 and 0xA to 0xF1. If the source file will contain either of these bytes, it will not work.

This is exporter/importer. If the parameter is txt file, it will do import. If it is ".strings", it will do export.


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: Thu May 28, 2015 9:28 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:
I have no time or experience to parse utf-8 strings, so i just replaced 0xD to 0xF0 and 0xA to 0xF1. If the source file will contain either of these bytes, it will not work.

This is exporter/importer. If the parameter is txt file, it will do import. If it is ".strings", it will do export.


Thanks dude, you rock!

Some examples of trying out the program:

Some main menu text

Testing weapon descriptions

Testing tutorial descriptions


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Fri May 29, 2015 9:01 am 
Offline
ultra-n00b

Joined: Mon Jun 21, 2010 6:31 am
Posts: 1
Has thanked: 1 time
Have thanks: 0 time
hey,
nice work daemon1!
btw you said the audio files are packed into one bank file... how do you extract these?

thanks :)


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Fri May 29, 2015 5:43 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1721
Has thanked: 38 times
Have thanks: 1176 times
mystvilla wrote:
the audio files are packed into one bank file... how do you extract these?


You need to write a tool to extract them. The format is simple: filename hash, offset, size - for every sound.


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Sat May 30, 2015 8:32 am 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1721
Has thanked: 38 times
Have thanks: 1176 times
I can't find where they store filenames yet. Also there are at least 2 types of banks in different games: those with .stream files, and without them.


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Mon Jun 01, 2015 6:31 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1721
Has thanked: 38 times
Have thanks: 1176 times
It seems there are no sound filenames left in this engine, because it doesn't need them. It works with audio events and sound file hashes. Some events may use many sounds in random, or many different events may use the same sound. Like this:

audio event "ring_activate" ---> sound file 45A40FC9
audio event "relic_activate" ---> sound file 45A40FC9

So i think we can only extact them with no filenames.


Top
 Profile  
 
 Post subject: Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files
PostPosted: Tue Jun 02, 2015 6:36 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Thu Aug 12, 2010 8:15 am
Posts: 368
Has thanked: 54 times
Have thanks: 81 times
Is there a way to make a compiled list of audio events and group them by sound file ID?


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 5 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