Help - Old Converted Map by WDG Explorer Won't Load, Crashes

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
CyberCT
Greenhorn
Posts: 7
Joined: 15 Aug 2011, 05:18

Help - Old Converted Map by WDG Explorer Won't Load, Crashes

Post by CyberCT »

Way back in the day I made a map for Warzone 2100 called WinterRidges. Well, not only did I recently discover that this game has been redone to work with modern operating systems, but I was also able to find my old map made in Pumpkin Studio's old Editworld.

So I understand that the new map format must be in the .wz format, which is essentially a zip file with the .wz extension. The old extension is .wdg which is what my map originally was. So I was able to get WDG-Explorer to work on my PC and did the conversion metioned in the guide here:

viewtopic.php?t=609

So after doing so, I fired up Warzone 2100 and my map was in the map menu when I went to Skirmish. As soon as I click to start the game, the loading screen comes up as usual, then Warzone2100 just crashes / quits to desktop without any explaination, right before the skirmish game starts.

So under My Documents\Warzone2100 2.3\Logs, I see there are text log files. So I opened one up and here is what it says:


--- Starting log ---
error |09:54:43: [openLoadFile] file multiplay\maps\4c-WinterRidges/ttypes.ttp could not be opened: Insecure filename
error |09:54:43: [openLoadFile] Assert in Warzone: ../../../../lib/framework/frame.c:334 (!"unable to open file"), last script event: '<none>'
error |09:54:43: [loadMapPreview] loadMapPreview: Failed to load terrain types file
error |09:54:48: [openLoadFile] file multiplay\maps\4c-WinterRidges.gam could not be opened: Insecure filename
error |09:54:48: [openLoadFile] Assert in Warzone: ../../../../lib/framework/frame.c:334 (!"unable to open file"), last script event: '<none>'
error |09:54:48: [openLoadFile] file multiplay\maps\4c-WinterRidges/ttypes.ttp could not be opened: Insecure filename
error |09:54:48: [openLoadFile] Assert in Warzone: ../../../../lib/framework/frame.c:334 (!"unable to open file"), last script event: '<none>'
error |09:54:48: [startMission] Unable to load mission file
fatal |09:54:48: [startGameLoop] Shutting down after failure

I see that the last slash is wrong in the first line for the path. However, it is correct in the file itself in "4c-WinterRidges.addon.lev":

// MultiPlay Tech Level 1

level WinterRidges-T1
players 4
type 12
dataset MULTI_CAM_3
game "multiplay\maps\4c-WinterRidges.gam"
data "wrf\multi\campaign.wrf"
data "wrf\multi\fog3.wrf"

// MultiPlay Tech Level 2

level WinterRidges-T2
players 4
type 15
dataset MULTI_T2_C3
game "multiplay\maps\4c-WinterRidges.gam"
data "wrf\multi\campaign.wrf"
data "wrf\multi\fog3.wrf"

// MultiPlay Tech Level 3

level WinterRidges-T3
players 4
type 16
dataset MULTI_T3_C3
game "multiplay\maps\4c-WinterRidges.gam"
data "wrf\multi\campaign.wrf"
data "wrf\multi\fog3.wrf"

// Skirmish Tech Level 1

level Sk-WinterRidges-T1
players 4
type 14
dataset MULTI_CAM_3
game "multiplay\maps\4c-WinterRidges.gam"
data "wrf\multi\skirmish4.wrf"
data "wrf\multi\fog3.wrf"

// Skirmish Tech Level 2

level Sk-WinterRidges-T2
players 4
type 18
dataset MULTI_T2_C3
game "multiplay\maps\4c-WinterRidges.gam"
data "wrf\multi\t2-skirmish4.wrf"
data "wrf\multi\fog3.wrf"

// Skirmish Tech Level 3

level Sk-WinterRidges-T3
players 4
type 19
dataset MULTI_T3_C3
game "multiplay\maps\4c-WinterRidges.gam"
data "wrf\multi\t3-skirmish4.wrf"
data "wrf\multi\fog3.wrf"

What am I doing wrong here? Did I do the conversion wrong? I am attaching my old .wdg file if someone who has successfully made the conversions before could try on their end and see if they get the same result.
You do not have the required permissions to view the files attached to this post.
User avatar
Mysteryem
Global Moderator
Global Moderator
Posts: 728
Joined: 22 Sep 2008, 19:44
Location: UK

Re: Help - Old Converted Map by WDG Explorer Won't Load, Cra

Post by Mysteryem »

Use forward slashes in the addon.lev, not backslashes.
"...If pure awesomeness were bricks, this would be the Great Wall of China...
The glory of this has collapsed on its self so far, that even the neutrons have collapsed."
CyberCT
Greenhorn
Posts: 7
Joined: 15 Aug 2011, 05:18

Re: Help - Old Converted Map by WDG Explorer Won't Load, Cra

Post by CyberCT »

Thanks for the reply.

For any directory structure on the hard drive, the "\" should be correct, am I right? That's the way it's laid out above.
User avatar
bendib
Regular
Regular
Posts: 1016
Joined: 29 Aug 2010, 05:22
Location: Imeuta

Re: Help - Old Converted Map by WDG Explorer Won't Load, Cra

Post by bendib »

No. Use "/". Just do it. You'll see. :^)
Also known as Subsentient.
CyberCT
Greenhorn
Posts: 7
Joined: 15 Aug 2011, 05:18

Re: Help - Old Converted Map by WDG Explorer Won't Load, Cra

Post by CyberCT »

OK I replaced the "\" with "/" and it still crashes. Here's the log file:


--- Starting log ---
error |04:41:34: [openLoadFile] file multiplay/maps/4c-WinterRidges/ttypes.ttp could not be opened: File not found
error |04:41:34: [openLoadFile] Assert in Warzone: ../../../../lib/framework/frame.c:334 (!"unable to open file"), last script event: '<none>'
error |04:41:34: [loadMapPreview] loadMapPreview: Failed to load terrain types file
error |04:41:38: [openLoadFile] file multiplay/maps/4c-WinterRidges/ttypes.ttp could not be opened: File not found
error |04:41:38: [openLoadFile] Assert in Warzone: ../../../../lib/framework/frame.c:334 (!"unable to open file"), last script event: '<none>'
error |04:41:38: [loadMapPreview] loadMapPreview: Failed to load terrain types file
error |04:41:46: [openLoadFile] file multiplay/maps/4c-WinterRidges/ttypes.ttp could not be opened: File not found
error |04:41:46: [openLoadFile] Assert in Warzone: ../../../../lib/framework/frame.c:334 (!"unable to open file"), last script event: '<none>'
error |04:41:46: [startMission] Unable to load mission file
fatal |04:41:46: [startGameLoop] Shutting down after failure
CyberCT
Greenhorn
Posts: 7
Joined: 15 Aug 2011, 05:18

Re: Help - Old Converted Map by WDG Explorer Won't Load, Cra

Post by CyberCT »

Anyone? I have the old wdg file attaching in a .zip file in my first post. Maybe someone can attempt the same conversion and see if it works for them?
medusa
Trained
Trained
Posts: 175
Joined: 25 Jul 2011, 01:56

Re: Help - Old Converted Map by WDG Explorer Won't Load, Cra

Post by medusa »

CyberCT wrote:Anyone? I have the old wdg file attaching in a .zip file in my first post. Maybe someone can attempt the same conversion and see if it works for them?
viewtopic.php?f=4&t=8045#p85860 :roll:
CyberCT
Greenhorn
Posts: 7
Joined: 15 Aug 2011, 05:18

Re: Help - Old Converted Map by WDG Explorer Won't Load, Cra

Post by CyberCT »

medusa wrote:
CyberCT wrote:Anyone? I have the old wdg file attaching in a .zip file in my first post. Maybe someone can attempt the same conversion and see if it works for them?
viewtopic.php?f=4&t=8045#p85860 :roll:
Dude, I made that post in the other thread and didn't expect anything. That's why I made my own thread.
medusa
Trained
Trained
Posts: 175
Joined: 25 Jul 2011, 01:56

Re: Help - Old Converted Map by WDG Explorer Won't Load, Cra

Post by medusa »

if you post in two places then why wouldn't you look in both locations?
that don't matter now that it works.
you HaVe A CaSe IsSuE fOr FiLeNaMeS it wants everything in lowercase.