Mappy loader

Previous topic - Next topic

Moru

Has anyone made a loader for the mappy format FMP?

Program and documentation here:
http://www.tilemap.co.uk/mappy.php

If not I guess I'm starting on it when I have some time :-)

Schranz0r

No, not yet ;)
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Kitty Hello

See the showroom, BubmleBee has written an import filter for another map editor.

Moru

Yeah but I like Mappy better and have already old maps in that format so mabe others have use for a real loader too. The format is not XML but has support for a lot more fun things at the moment.

D2O

Hi Moru, simple way is, export as TXT an you can load with little Parser (?).
MID$()
Replace$()
...
..
-------------------------

If I don't have to work on the weekend, I look whether I can write lader a converter for it
I7 2600K; 8 GB RAM ; Win10 Pro x64 | NVidia GTX 750 TI 2048MB ; Realtec OnBoard Sound;
Lenovo ThinkPad T400: XP Pro
GLB Premium-immer Aktuell

Moru

that is boring, I want to read the full format, at least as much as I understand so far :-)

Kitty Hello

Do it. There's some who will surely assist you plus it's a great project others want to use as well.
Make a clever and descriptive TYPE for the level data, then read it.

Moru

I had a few hours last night while our baby was sleeping so basics are there. I'm just missing a nice way of loading signed short ints :-) Writnig with one hand as my daughter is only happy when on the arm :-)

Schranz0r

why short?
GLBasic use only INT 32Bit
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Moru

I'm reading a binary format, doesn't matter what GL basic uses or not uses, I need to read the format as it is saved.

Kitty Hello

PeeJay had a solution for this.
Something like:
if ushort > 32767 THEN ushort = ushort-65536

...I'm not 100% sure, though.