Rimworld map roof type editor for savegames

Started by thearn, January 21, 2017, 01:29:28 PM

Previous topic - Next topic

thearn

Hi,
I just completed work on a working version of a tool that lets you change the roof type (open, thin rock, constructed or overhead mountain) on any map tile in any Rimworld 0.16 save game.

I have working stand-alone binaries ready for Windows, Mac OS X and Ubuntu Linux. I'll be putting these up on sourceforge today.

EDIT: here are the Windows and Mac releases. Linux coming in a short bit: https://sourceforge.net/projects/rimworld-roof-editor/files/

I also see that I can host binary releases on GH:
https://github.com/thearn/Rimworld_roof_editor/releases/tag/0.9

For instructions, usage example, source code, and some background, head to:
https://github.com/thearn/Rimworld_roof_editor

Nebbeh


Nebbeh

Tested now, and must say it works like a charm. Only thing that was a bit difficult was to see where the mountain I added was, but I just added more roof then needed and removed it ingame.

thearn

Good to hear, let me know if any bugs come up.

Nebbeh

Quote from: thearn on January 21, 2017, 09:10:42 PM
Good to hear, let me know if any bugs come up.

Well, only thing I can think off, I removed everything on the map and added my own mountain. When I opened the savegame in the program I cannot see where my mountain is, so I had to log in and out a couple times to get overhead mountain added on my entire mountain.

Builder1234

This is awesome!  I was working on something similar after seeing that Reddit post as well.  Thanks!!

Zybert

Dude, I love you <3

I searched for a way to add overheaded mountain via dev mode. Then i found your GitHub site first.
Tried to start it via Python (just installed it for that), nothing happened.
Searched via run module for the error, it says "ImportError: No module named numpy".
Google says much about that, but nothing I (never used python or something like that) could understand  :-X
I'm glad I find your thread now, that saved me much time to understand what google says  ;D

This worked perfect with my Savegame, now I can give my mountain base a run  :D

Builder1234

Although I don't know how to go about fixing this tool, it does still work if you want to put some time into it.  See my other post:

https://ludeon.com/forums/index.php?topic=37089.0

CannonFodder

#8
For those who find this thread via google as I did, I ran into a roof related issue today and managed to work backwards on the roofsDeflate compression. I was able to open a few different B18 maps, export the bitmaps, edit in GIMP, then reload the changes back into the save and into the game successfully. This is an awesome tool that just needed a minor update for B18.

I've submitted a pull request for thearn's github repo, but he hasn't touched the project in over a year, so I'm going to put this link here in hopes that it might help someone else. And perhaps I can get some additional testing / feedback from other folks save files.

https://github.com/PhilM-47/Rimworld_roof_editor

Edit: I should note that I run on a linux box, so unfortunately, I don't have the tools for building an exe or OSX compatible version of this tool. But if you already have python installed, the only dependency mine has different from thearn's version is zlib.

TiberianSun371AlexW

You said it can be run using one of the pre-built binary distributions for Windows. What is that?

Balder

Any chance of a merciful soul producing an .exe out of this?

I've spent a couple of hours now installing python, zlib, numpy and other magical things from the land of programming unicorns. Did a fair bunch of searching on google too, since I've never touched anything like this before. I must admit that I am in way over my head - to the point where I don't even know what the right questions to ask are.

Pretty please, anyone?

jimship

#11
Quote from: CannonFodder on June 19, 2018, 10:33:52 AM
For those who find this thread via google as I did, I ran into a roof related issue today and managed to work backwards on the roofsDeflate compression. I was able to open a few different B18 maps, export the bitmaps, edit in GIMP, then reload the changes back into the save and into the game successfully. This is an awesome tool that just needed a minor update for B18.

I've submitted a pull request for thearn's github repo, but he hasn't touched the project in over a year, so I'm going to put this link here in hopes that it might help someone else. And perhaps I can get some additional testing / feedback from other folks save files.

https://github.com/PhilM-47/Rimworld_roof_editor

Edit: I should note that I run on a linux box, so unfortunately, I don't have the tools for building an exe or OSX compatible version of this tool. But if you already have python installed, the only dependency mine has different from thearn's version is zlib.

<3 your version still works with version 1.0, thanks

EDIT: I've made an exe for y'all windows users:

slatts

#12
Quote from: jimship on February 04, 2019, 08:26:41 AM
Quote from: CannonFodder on June 19, 2018, 10:33:52 AM
For those who find this thread via google as I did, I ran into a roof related issue today and managed to work backwards on the roofsDeflate compression. I was able to open a few different B18 maps, export the bitmaps, edit in GIMP, then reload the changes back into the save and into the game successfully. This is an awesome tool that just needed a minor update for B18.

I've submitted a pull request for thearn's github repo, but he hasn't touched the project in over a year, so I'm going to put this link here in hopes that it might help someone else. And perhaps I can get some additional testing / feedback from other folks save files.

https://github.com/PhilM-47/Rimworld_roof_editor

Edit: I should note that I run on a linux box, so unfortunately, I don't have the tools for building an exe or OSX compatible version of this tool. But if you already have python installed, the only dependency mine has different from thearn's version is zlib.

<3 your version still works with version 1.0, thanks

EDIT: I've made an exe for y'all windows users:

Several anti viruses are saying this is a trojan.

jacob814

Can anyone create an exe of this? I spent way to long today trying to get python 2.7 working and keep getting multiple errors. This is the closest thing I could find today that allows users to edit roof tiles to mountainous roof... Unless someone has an actual solution to make mountainous roofs, this is the closest thing we have. If only @TynanSylvester would add another dev mode tool to do this..

My Mods:
Glass&Lights