October 31, 2025, 11:59:11 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


LOADMAPDATA

Started by ckoehn, January 10, 2010, 04:01:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ckoehn

How do you create the "level.dat" file needed for LOADMAPDATA?

fasecero

January 10, 2010, 07:38:13 PM #1 Last Edit: January 10, 2010, 11:27:08 PM by fasecero
There seems to be no info about it.
Perhaps you can create a new tile map, saving it using SAVEMAPDATA, and then study the composition of the generated file.

pistol350

Actually, there is a program that comes with cbasic called "mapedit" that you can use to create and maybe edit an existing level file.
i think somebody converted it to ebasic syntax but not sure.
Anyway, if someone is interested in doing it, here is the CBASIC source code

PS : i renamed it to mapedit.eba as attaching .cba files seems not to be allowed
Regards,

Peter B.

ckoehn

Thank you for your replies.  I thought that there should be either a program to generate that file or at least documentation on its format.

pistol350

January 12, 2010, 02:59:46 AM #4 Last Edit: January 12, 2010, 03:24:24 AM by pistol350
Did you try to compile mapedit from Cbasic ?
I've not done it recently but from what i remember you can generate a .map file with it.

Or maybe use the version released with the new 2D pak of ibasic pro.
i will make a quick search and post the .exe if i manage to find it.

PS : I found the .exe + source and sample example.
It won't compile in ebasic as it depends on the Ibasic pro 2D pak

Regards,

Peter B.

Michael Hartlef

Peter is correct. I extended the 2D pak for IBP at the time to be able to use 2 windows like in IBasic Standard. But if the map format didn't change in EB, then you shoudl be able to use that editor for it too.

pistol350

Regards,

Peter B.

benjamin805

I used a program called mappy (i think) to make maps for a game I did in another language you can download the program with directions on how to make a map here http://www.lbdownloads.com/files/viewtopic.php?t=651   I made the map for IBASIC PRO so not sure if the format is the same as for EBASIC,  you will have to try it out.