I can't open my World Map

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

H-pyttoSS
Fighter Fly
Fighter Fly
Posts: 36
Joined: Sat Sep 20, 2014 10:59 am

I can't open my World Map

Postby H-pyttoSS » Wed Nov 12, 2014 4:51 pm

I'm having a problem. I can't open my world map anymore. Everytime I try to open it, this appears:

Run-time error '13':

Type mismatch


Anyone have a solution to this problem? Help me!

lighthouse64
Charged Spiny
Charged Spiny
Posts: 1804
Joined: Sat Apr 26, 2014 6:28 am

Re: I can't open my World Map

Postby lighthouse64 » Wed Nov 12, 2014 11:37 pm

H-pyttoSS wrote:I'm having a problem. I can't open my world map anymore. Everytime I try to open it, this appears:

Run-time error '13':

Type mismatch


Anyone have a solution to this problem? Help me!
Maybe it's because your custom scenery is above 32x32 px

HeroLinik
Larry Koopa
Larry Koopa
Posts: 3464
Joined: Fri Dec 20, 2013 1:28 pm
Contact:

Re: I can't open my World Map

Postby HeroLinik » Thu Nov 13, 2014 5:51 am

lighthouse64 wrote:
H-pyttoSS wrote:I'm having a problem. I can't open my world map anymore. Everytime I try to open it, this appears:

Run-time error '13':

Type mismatch


Anyone have a solution to this problem? Help me!
Maybe it's because your custom scenery is above 32x32 px
No, it's got nothing to do with the dimensions of CGFX on the world map. It's actually because you have CGFX on the map beyond scene-32 (?), which crash the game. To get around this, make a backup of the original graphics folder and then replace the CGFX in the original folder.

Veudekato
Guest

Re: I can't open my World Map

Postby Veudekato » Thu Nov 13, 2014 8:07 am

if its about 'CGFX on the map beyond scene-32' (as said castlewars) Please give me world file. Or download PlatGenWohl Open your world - delete this scenes with name 32+ (or what) and save world

Imaynotbehere4long
Boomerang Bro
Boomerang Bro
Posts: 1389
Joined: Thu Jan 23, 2014 3:00 pm

Re: I can't open my World Map

Postby Imaynotbehere4long » Thu Nov 13, 2014 9:33 am

castlewars wrote: It's actually because you have CGFX on the map beyond scene-32 (?), which crash the game.
I thought that lead to a different runtime error, something like "Run Time error 300-something, control array element __ does not exist."

Go ahead and try to open the map file without CGFX anyway. That may still be the problem.

H-pyttoSS
Fighter Fly
Fighter Fly
Posts: 36
Joined: Sat Sep 20, 2014 10:59 am

Re: I can't open my World Map

Postby H-pyttoSS » Thu Nov 13, 2014 11:36 am

Castlewars,
I replaced only scene-8 and scene-14, no more. The other CGFXs on the map are all tiles and level graphics.


Veudekato,
here's the world's file - https://www.sendspace.com/file/94lkhk

Wohlstand
Chargin' Chuck
Chargin' Chuck
Posts: 2008
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: I can't open my World Map

Postby Wohlstand » Thu Nov 20, 2014 9:34 am

I just tested and found: bug is dumb:
You just used quotes in the string values (here in the 'credits' fields), they are makes any SMBX files broken.

PGE always tell you, WHERE file have a wrong line:
Image

what's means?

Let's open notepad and look for 12'th line:

Image

Yes, this is a WLD format violation, string values should be "some text", but not "hello, my "toilet" is flooded".

Takes all broken strings:

Code: Select all

"Level and World Map Design by ""H-pyttoSS"""
"Custom Graphics partially by ""Valtteri's Graphics Pack"""
"Custom Graphics partially by ""SMB1 Expanded GFX-Pack 2.0 - Sednaiur"""
"Custom Graphics partially by ""H-pyttoSS"""
and replace with:

Code: Select all

"Level and World Map Design by 'H-pyttoSS'"
"Custom Graphics partially by 'Valtteri's Graphics Pack'"
"Custom Graphics partially by 'SMB1 Expanded GFX-Pack 2.0 - Sednaiur'"
"Custom Graphics partially by 'H-pyttoSS'"
and we getting this view:
Image

After changes, save file and reopen them in the PGE or in the SMBX Editor:

and voila, world file just opened correctly: ;)
Image

Also, when you will save files in the PGE, it will always remove all wrong characters from strings to prevent any damages of SMBX file format

If you don't wanna fixing it yourself, take fixed file back:
http://engine.wohlnet.ru/docs/_files_fo ... _11_20.zip


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari