Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1763
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1210 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by daemon1 » Wed May 27, 2015 9:40 pm

TheReaperCooL wrote:you'd have to recalculate every single text that's been inserted
The tool will do it automatically for all text lines.

User avatar
TheReaperCooL
advanced
Posts: 58
Joined: Sat Apr 17, 2010 8:18 pm
Been thanked: 2 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by TheReaperCooL » Wed May 27, 2015 10:05 pm

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.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1763
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1210 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by daemon1 » Thu May 28, 2015 4:53 pm

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.

User avatar
TheReaperCooL
advanced
Posts: 58
Joined: Sat Apr 17, 2010 8:18 pm
Been thanked: 2 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by TheReaperCooL » Thu May 28, 2015 5:44 pm

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.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1763
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1210 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by daemon1 » Thu May 28, 2015 6:05 pm

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.

User avatar
TheReaperCooL
advanced
Posts: 58
Joined: Sat Apr 17, 2010 8:18 pm
Been thanked: 2 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by TheReaperCooL » Thu May 28, 2015 7:23 pm

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

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1763
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1210 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by daemon1 » Thu May 28, 2015 7:28 pm

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.

User avatar
TheReaperCooL
advanced
Posts: 58
Joined: Sat Apr 17, 2010 8:18 pm
Been thanked: 2 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by TheReaperCooL » Thu May 28, 2015 8:38 pm

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.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1763
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1210 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by daemon1 » Thu May 28, 2015 8:52 pm

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.
You do not have the required permissions to view the files attached to this post.

User avatar
TheReaperCooL
advanced
Posts: 58
Joined: Sat Apr 17, 2010 8:18 pm
Been thanked: 2 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by TheReaperCooL » Thu May 28, 2015 9:28 pm

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

mystvilla
ultra-n00b
Posts: 1
Joined: Mon Jun 21, 2010 6:31 am
Has thanked: 1 time

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by mystvilla » Fri May 29, 2015 9:01 am

hey,
nice work daemon1!
btw you said the audio files are packed into one bank file... how do you extract these?

thanks :)

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1763
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1210 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by daemon1 » Fri May 29, 2015 5:43 pm

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.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1763
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1210 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by daemon1 » Sat May 30, 2015 8:32 am

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.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1763
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1210 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by daemon1 » Mon Jun 01, 2015 6:31 pm

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.

brendan19
ultra-veteran
ultra-veteran
Posts: 373
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 82 times

Re: Magicka 2/Wizard Wars, Showdown Effect, Gauntlet files

Post by brendan19 » Tue Jun 02, 2015 6:36 pm

Is there a way to make a compiled list of audio events and group them by sound file ID?

Post Reply