Myth 2 portuguese version: bug with Loathing

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
User avatar
Kurt Ramone
Posts: 10
Joined: Tue Aug 04, 2009 12:27 am
Location: Novo Hamburgo, RS - Brasil
Contact:

Myth 2 portuguese version: bug with Loathing

Post by Kurt Ramone »

Hi guys. There's a bug with the portuguese version of the game on Loathing editor.

When you try to edit most of map actions, the editor just crash with portuguese tags folder. If you change for english tags folder, it works normal.

Using Win XP SP3.
Don't think it's needed logs, there's nothing there.

Any way to fix it, or this issue is already know by the people?

Ty.


PS: I know, I need to learn a little more english. But you know portuguese? 8)
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: Myth 2 portuguese version: bug with Loathing

Post by Pyro »

Can you list the names of all the portuguese tags?
User avatar
Kurt Ramone
Posts: 10
Joined: Tue Aug 04, 2009 12:27 am
Location: Novo Hamburgo, RS - Brasil
Contact:

Re: Myth 2 portuguese version: bug with Loathing

Post by Kurt Ramone »

Sure.
  1. cache, size: 128 bytes;
  2. international large install, size: 128 bytes;
  3. international small install, size: 51 MB;
  4. large install, size: 329 MB;
  5. medium install, size: 3,52 MB;
  6. small install, size: 109 MB;
Total size: 494 MB.
Last edited by Kurt Ramone on Wed Aug 12, 2009 8:38 pm, edited 1 time in total.
User avatar
Melekor
Site Admin
Posts: 2449
Joined: Sat May 01, 2004 12:10 am
Contact:

Re: Myth 2 portuguese version: bug with Loathing

Post by Melekor »

To debug this, we'll need a copy of the portugese tags. I'm guessing that only the ones which contain "international" in the name are different from the English versions, but you'll have to doublecheck that.
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: Myth 2 portuguese version: bug with Loathing

Post by Pyro »

They all seem a different size from the english ones. So all would be needed maybe.
Myrd
Site Admin
Posts: 4031
Joined: Fri Mar 19, 2004 10:17 pm

Re: Myth 2 portuguese version: bug with Loathing

Post by Myrd »

Kurt Ramone wrote:Sure.
  1. cache, size: 128 bytes;
  2. international large install, size: 128 bytes;
  3. international small install, size: 51 MB;
  4. large install, size: 329 MB;
  5. medium install, size: 352 MB;
  6. small install, size: 109 MB;
Total size: 494 MB.
Your math doesn't add up. :P

51 MB + 329 MB + 352 MB + 109 MB = 841 MB

Can you double check your file sizes?
devSin
Posts: 44
Joined: Mon Jul 06, 2009 2:16 pm

Re: Myth 2 portuguese version: bug with Loathing

Post by devSin »

Dude, those wouldn't even fit on a CD.

Maybe they have Portuguese-localized template tags?
User avatar
Kurt Ramone
Posts: 10
Joined: Tue Aug 04, 2009 12:27 am
Location: Novo Hamburgo, RS - Brasil
Contact:

Re: Myth 2 portuguese version: bug with Loathing

Post by Kurt Ramone »

Kurt Ramone wrote:Sure.
  1. cache, size: 128 bytes;
  2. international large install, size: 128 bytes;
  3. international small install, size: 51 MB;
  4. large install, size: 329 MB;
  5. medium install, size: 3,52 MB;
  6. small install, size: 109 MB;
Total size: 494 MB.
My fault. Sorry forget a , in medium install, it's 3,52 MB not 352 MB.

I think all is changed in the tags, because, text, sound and imagens are translated, and bad translated, a lot of erros.
User avatar
Melekor
Site Admin
Posts: 2449
Joined: Sat May 01, 2004 12:10 am
Contact:

Re: Myth 2 portuguese version: bug with Loathing

Post by Melekor »

Just expanding on my original post: You can check which files are different using md5summer: http://www.md5summer.org/. Put the different ones in a zip file and upload it to rapidshare or something like that and post the link here.
User avatar
Kurt Ramone
Posts: 10
Joined: Tue Aug 04, 2009 12:27 am
Location: Novo Hamburgo, RS - Brasil
Contact:

Re: Myth 2 portuguese version: bug with Loathing

Post by Kurt Ramone »

I'll try to upload the portuguese files at my work in the next few days, can't do it at home.
User avatar
fidel
Posts: 16
Joined: Mon May 01, 2006 9:35 am
Contact:

Re: Myth 2 portuguese version: bug with Loathing

Post by fidel »

i got this same problem when a tried to edit map actions on Loathing.

For now i start the uploading the portuguese tags like u guys request. When it is finished i´ll post the link in here.
User avatar
fidel
Posts: 16
Joined: Mon May 01, 2006 9:35 am
Contact:

Re: Myth 2 portuguese version: bug with Loathing

Post by fidel »

Here is the link to the portuguese tags, if u can help us

-LINK REMOVED -
Last edited by fidel on Sat Sep 19, 2009 4:06 pm, edited 1 time in total.
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: Myth 2 portuguese version: bug with Loathing

Post by Pyro »

Ok I figured it out after some experimentation. The Portuguese tags contain the "internal map action keywords" string list tag translated into Portuguese but left all the template tags in English. So when you open the Map Actions in Loathing, none of the parameters match the internal map action keywords. This was causing the crash. There are two ways to fix this.

One way is to alter all the template tags to use the Portuguese keywords instead of English keywords. This would be easy copy and pasting, but the rest of the templates (like descriptions and parameter names) would still be in English unless someone translated them. The second way to fix this is to just use the English keywords.

Since the second choice is a lot easier, I made an addon patch with just that tag. Download the English Loathing Fix. Extract it and place the plugin in your plugins folder. Now when you load Loathing (1.7 or higher), you will not crash.

By the way, now that we have the tags, you can remove that link so others can't download it. Funny I had to download a 312 MB zip only to find out a 521 byte sized tag was causing the crash.
User avatar
fidel
Posts: 16
Joined: Mon May 01, 2006 9:35 am
Contact:

Re: Myth 2 portuguese version: bug with Loathing

Post by fidel »

Thx Pyro, i'll try to do this.
User avatar
Kurt Ramone
Posts: 10
Joined: Tue Aug 04, 2009 12:27 am
Location: Novo Hamburgo, RS - Brasil
Contact:

Re: Myth 2 portuguese version: bug with Loathing

Post by Kurt Ramone »

Thanks Pyro and Fidel for the tags upload!
Pyro wrote:Funny I had to download a 312 MB zip only to find out a 521 byte sized tag was causing the crash.
Hah! Well it's solved now. That's the cause I can't upload all the files, 300+ MB with 3G connection.
Post Reply