Sort of a Batch Map Converter

Started by sambao, Jan 26, 2013, 11:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sambao

GOT THIS FROM eAthena boards. just reposting it

Quote from: 'Tyko'
Hope this to be the correct place to post.


-Introduction-
I've been looking for what I believe is something like a batch map converter.

What it do is to convert a full colored/textured map into a 3 colored/1 textured map.

I don't know if it's a gui program or a command line program.

-Explanation-
What makes me believe it's all automated?

Every 'new' map have with it some sort of "log", a .lua file.

http://i1193.photobucket.com/albums/aa348/xTyko/map-ori.png
+
http://i1193.photobucket.com/albums/aa348/xTyko/map-mag.png

=

http://i1193.photobucket.com/albums/aa348/xTyko/map-edi.png
+
http://i1193.photobucket.com/albums/aa348/xTyko/map-lua.png

The .lua files contains some "obvious" strings:
[codebox]----------------------------------------------
-- schg_cas01.lua
-- generated by ropm (sinny)
-- 2009/03/10
----------------------------------------------

-- map cell codes
CELL_WALKABLE = 0
CELL_SNIPABLE = 1
CELL_BLOCKING = 2
CELL_UNKNOWN = 3[/codebox]

That date, 2009/03/10, is a constant in every one of them. 538 maps eddited in just 1 day, I don't see it human-possible.

After looking a bit in internet, I came at >http://forum.ratemyserver.net/ro-graphic-coding-media/primitive-maps-and-mobs/< post in RMS forums. Although the download link is death, the date matches so it looks like he/she is the original autor of the very first grf (eddited this way) but I still have no idea how he/she made it.

ropm = ragnarok online primitive maps ?

I've tested a lot of map editting programs but I have not found this kind of "special" feature (batch convertion) so maybe it's a personal code or some understimated/private/unknown release.

Attached to this post are the map files and the .lua (of the screens) and the .bmp file used as texture. Also, a couple screens of how the map looks like.

http://i40.tinypic.com/4t9idd.png

-Request itself-
If someone knows anything about this map editor/converter or even have it and can share it, I'll be really grateful.

Thanks for reading (if you did read it all).

[Edit by Triper: fixed the quote tag]