Question:Is it possible to export a whole map as one bmp-file?
I'd like to see the whole map (20x20 pixels for each tile).
And by the way, what is the .tilemap file that can be exported from the editor?
Exporting a whole map as bmp?
Moderators: marionline, SDHawk
- marionline
- Metal Slime
- Posts: 673
- Joined: Sat Feb 26, 2011 9:23 pm
Yes, you can! RMSephy wrote a tool that can do that:
https://github.com/Spencer-Zhang/ohr-cartographer
(Select "Clone or Download" at the top right and then "Download ZIP")
Here is the thread about it: http://www.slimesalad.com/forum/viewtopic.php?t=6373
Oops, I thought that I mentioned this on the F1 help page, but it turns out I only mentioned it in whatsnew.txt
A .tilemap file is the OHR's format for the tilemaps of a map. You can use it to copy a map between different .rpg files. But it ONLY includes the tile layers, it does not include tilesets, NPCs, walls, zones, map settings, or anything else. In future it will be replaced with a better format that does include those things.
https://github.com/Spencer-Zhang/ohr-cartographer
(Select "Clone or Download" at the top right and then "Download ZIP")
Here is the thread about it: http://www.slimesalad.com/forum/viewtopic.php?t=6373
Oops, I thought that I mentioned this on the F1 help page, but it turns out I only mentioned it in whatsnew.txt
A .tilemap file is the OHR's format for the tilemaps of a map. You can use it to copy a map between different .rpg files. But it ONLY includes the tile layers, it does not include tilesets, NPCs, walls, zones, map settings, or anything else. In future it will be replaced with a better format that does include those things.
Last edited by TMC on Sun Nov 20, 2016 2:21 pm, edited 1 time in total.
- marionline
- Metal Slime
- Posts: 673
- Joined: Sat Feb 26, 2011 9:23 pm
@TMC:
Thanks for your answer.
From the thread I take it, it can be run under Linux.
But I am not familliar with Ruby ....
I tried:
<quote>ruby main.rb </quote>
And that's the error I got:
<quote>
ruby main.rb
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- oily_png (LoadError)
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /media/<user>/<usb>/Finish_Game/tools/ohr-cartographer-master/lib/map.rb:1:in `<top (required)>'
from main.rb:2:in `require_relative'
from main.rb:2:in `<main>'
</quote>
Do I have to do something else first before running 'ruby main.rb'?
Or is it because I'm trying to run it from USB-drive?
Thanks for your answer.
From the thread I take it, it can be run under Linux.
But I am not familliar with Ruby ....
I tried:
<quote>ruby main.rb </quote>
And that's the error I got:
<quote>
ruby main.rb
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- oily_png (LoadError)
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /media/<user>/<usb>/Finish_Game/tools/ohr-cartographer-master/lib/map.rb:1:in `<top (required)>'
from main.rb:2:in `require_relative'
from main.rb:2:in `<main>'
</quote>
Do I have to do something else first before running 'ruby main.rb'?
Or is it because I'm trying to run it from USB-drive?
You're both in luck. The program is written in Ruby and OSX and all decent GNU/Linux distros include Ruby by default. (Depending on which OSX, looks like you might not have rubygems, though, I don't know.)
I realised that the program requires a copy of the 'unlump' tool, which we don't actually provide a copy of for OSX anywhere, so I added copies for linux and mac to ohr-cartographer myself (I'll also change the OHR's nightly build script). You will need to get the program from my github repo; RMSephy has disappeared without accepting my pull requests.
I put the instructions here: http://rpg.hamsterrepublic.com/ohrrpgce ... rtographer
I realised that the program requires a copy of the 'unlump' tool, which we don't actually provide a copy of for OSX anywhere, so I added copies for linux and mac to ohr-cartographer myself (I'll also change the OHR's nightly build script). You will need to get the program from my github repo; RMSephy has disappeared without accepting my pull requests.
I put the instructions here: http://rpg.hamsterrepublic.com/ohrrpgce ... rtographer
Last edited by TMC on Mon Nov 21, 2016 2:22 pm, edited 1 time in total.