Page 1 of 1

Myth 2 portuguese version: bug with Loathing

Posted: Wed Aug 12, 2009 12:12 pm
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)

Re: Myth 2 portuguese version: bug with Loathing

Posted: Wed Aug 12, 2009 4:00 pm
by Pyro
Can you list the names of all the portuguese tags?

Re: Myth 2 portuguese version: bug with Loathing

Posted: Wed Aug 12, 2009 4:36 pm
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.

Re: Myth 2 portuguese version: bug with Loathing

Posted: Wed Aug 12, 2009 6:10 pm
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.

Re: Myth 2 portuguese version: bug with Loathing

Posted: Wed Aug 12, 2009 6:12 pm
by Pyro
They all seem a different size from the english ones. So all would be needed maybe.

Re: Myth 2 portuguese version: bug with Loathing

Posted: Wed Aug 12, 2009 6:32 pm
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?

Re: Myth 2 portuguese version: bug with Loathing

Posted: Wed Aug 12, 2009 6:54 pm
by devSin
Dude, those wouldn't even fit on a CD.

Maybe they have Portuguese-localized template tags?

Re: Myth 2 portuguese version: bug with Loathing

Posted: Wed Aug 12, 2009 8:40 pm
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.

Re: Myth 2 portuguese version: bug with Loathing

Posted: Thu Aug 13, 2009 3:16 pm
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.

Re: Myth 2 portuguese version: bug with Loathing

Posted: Tue Aug 25, 2009 9:43 am
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.

Re: Myth 2 portuguese version: bug with Loathing

Posted: Wed Sep 09, 2009 9:24 pm
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.

Re: Myth 2 portuguese version: bug with Loathing

Posted: Tue Sep 15, 2009 7:38 pm
by fidel
Here is the link to the portuguese tags, if u can help us

-LINK REMOVED -

Re: Myth 2 portuguese version: bug with Loathing

Posted: Wed Sep 16, 2009 12:53 am
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.

Re: Myth 2 portuguese version: bug with Loathing

Posted: Sat Sep 19, 2009 4:05 pm
by fidel
Thx Pyro, i'll try to do this.

Re: Myth 2 portuguese version: bug with Loathing

Posted: Sat Sep 19, 2009 4:37 pm
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.