I was bored, so I decided to try writing a program that could read entire tilemaps from OHR games and export them as a big PNG file.
https://dl.dropboxusercontent.com/u/22483930/ohr-mapper.rar
Just click and drag an RPG file into mapper.exe, and follow the command line instructions to print out any map from your game. The exported maps will be saved in the /maps folder. Technically you need a password to get into encrypted RPG files, but you can bypass that by copying the playing.tmp folder into the same folder as mapper.exe and renaming it to "rpgname.rpgdir".
As an example, I've printed out a map of the school from Alice is Trapped.
https://dl.dropboxusercontent.com/u/22483930/screenshots/mansion0.png
Bob the Hamster wrote:
How cool!
Any chance you might be willing to share the source? I would like to try compiling a Linux version of this (I tried mapper.exe in Wine, but it did not work)
Any chance you might be willing to share the source? I would like to try compiling a Linux version of this (I tried mapper.exe in Wine, but it did not work)
Of course! I uploaded the source at https://github.com/Spencer-Zhang/ohr-cartographer
Pepsi Ranger wrote:
For some reason it won't work for me. The window disappears almost as quickly as it appears, but a screen capture reveals that it can't find the file I'm dropping into mapper.
Sounds like something is up with how the program is interpreting the filename or the path. Just for reference, what is the path to the file? And are there any spaces in any of the directory names?
Here's a screenshot of what I actually see. Note that this was taken with a split-second screen capture. The window disappears almost as quickly as it appears. It does so whether I run the executable with an RPG file or unlumped folder dropped in, or with nothing at all. If I don't drop anything in, it reports a different message telling me that I need to run it with a game.
Also, I tried running it from the folder I extracted directly to. I also tried running the version packaged in the zip file called "OHR Cartographer" off the source link you posted.
Nothing works. This window keeps popping up.
Place Obligatory Signature Here
Also, I tried running it from the folder I extracted directly to. I also tried running the version packaged in the zip file called "OHR Cartographer" off the source link you posted.
Nothing works. This window keeps popping up.
Place Obligatory Signature Here
I've updated the file a little bit (and made it so that it doesn't close right away). Can you try running it again and tell me what you see?
https://dl.dropboxusercontent.com/u/22483930/ohr-mapper.rar
https://dl.dropboxusercontent.com/u/22483930/ohr-mapper.rar
Well damn! I guess I have no excuse for not making a strategy guide to my games now. This feature is seriously awesome. Thanks for figuring out how to make this happen!
Check out Red Triangle Games!
Check out Red Triangle Games!
Awesome work! Saves us some trouble :)
I had a look through the code. Pretty clean.
The problem that Pepsi Ranger has is probably that it doesn't support openning an RPG file which is in a different directory. I found that pretty annoying as well, so I added it.
I also found a bug, the first tile in each animation range was misdrawn.
I wanted to start discussing a new RELOAD-based map and tileset format. Hopefully that's not too much of a disaster. Simple file formats are great for external tools, but requiring a RELOAD implementation seems far better than the alternatives. If you ever care to update it, you could either use reload2xml, or port one of the existing RELOAD implementations written in FreeBasic, Python, and Java.
I had a look through the code. Pretty clean.
The problem that Pepsi Ranger has is probably that it doesn't support openning an RPG file which is in a different directory. I found that pretty annoying as well, so I added it.
I also found a bug, the first tile in each animation range was misdrawn.
I wanted to start discussing a new RELOAD-based map and tileset format. Hopefully that's not too much of a disaster. Simple file formats are great for external tools, but requiring a RELOAD implementation seems far better than the alternatives. If you ever care to update it, you could either use reload2xml, or port one of the existing RELOAD implementations written in FreeBasic, Python, and Java.
RMSephy wrote:
I've updated the file a little bit (and made it so that it doesn't close right away). Can you try running it again and tell me what you see?
More or less the same thing. The window stays open, so thanks or fixing that, but the error is even more mocking. The screenshot says it all.
And I downloaded the zip file for OHR Cartographer following TMC's fix, but I don't think his adjustments have been committed yet. My feeling is that I'll have fewer problems with it once they are.
Place Obligatory Signature Here





