Ludeon Forums

RimWorld => Mods => Tools => Topic started by: Jaxxa on October 30, 2014, 06:22:32 AM

Title: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: Jaxxa on October 30, 2014, 06:22:32 AM
RimworldModManager

This is still a work in progress and does not currently work correctly.

Keep an eye out for this on the official forums in the Tools section.

Instructions

Note that this program only works on windows. Tested on 7 and 10.

1. Open the program "RimworldModManager.exe"

2. Press Load to Load a Profile, these profiles record your Rimworld game lcoation and config location.

3. Press New, In the Top Box Enter or navigate to your Rimworld folder (the folder containing Rimworld.exe). The next box is for the Rimworld Config Folder. The default should already be selected "C:\Users\{USER}\AppData\LocalLow\Ludeon Studios\RimWorld". If you are overriding it to a new location enter / navigate to that lcoation. Note that Relitive paths will start from this program, not to the RimWorld.exe.  Then press OK to create your New profile.

4. Select the Profile that you want to use and click OK. This will probaly be the profile you just created if you made one, or can be any of the previously saved profiles.

5. The main grid will now show you all of the mods that you have and the status of them. You can move them up / down or enable / disable the selected mod using the buttons at the top of the screen. You can then Just save the Mod configuration or Save the configuration and Run Rimworld.

Issue checking

The main interesting part of theis program is the Issues column.
This tries to automatically detect issues in your load order / configuration. These issues are writted out in both the issues Column and The selected mod's issues are writted in the pannel on the right when the mod is selected.

Some types of issues that are chaecked are Core mod not enabled, core mod not first, Mod missing on disk (it exists in your load order but the actual mod is missing), a mod with missing dependencies, dependencies that are not loaded or dependencied that are later in the load order.

Checking for dependencies is done based on an aditional .xml file and so may not be avalable for every mod without out the modder including that file.

Part of the reasong for including this functionality is as a demonstration on what could be done with the hope that somthing similar could be included in the base game or a more integrated mod / program.


ChangeLog:

01.00.00
Initial Release

01.00.01
Support for different Folder names from XML Names.
Support for missing XML Tags in About.xml
Removed Description and URL columns.


Download:

https://github.com/jaxxa/RimworldModOrginiser/releases
Title: Re: [TOOL] Rimworld Mod Manager
Post by: StorymasterQ on October 30, 2014, 08:19:27 PM
I would suggest a checked list box (http://msdn.microsoft.com/en-us/library/system.windows.forms.checkedlistbox(v=vs.110).aspx), and unchecked mods don't get saved back into modsList.xml. Early version can just read from the XML for the mod order and load it here, but for future versions, I'd like it to scan the Mods folder and add mods that are not in the order into the list.
Title: Re: [TOOL] Rimworld Mod Manager
Post by: Kubouch on November 06, 2014, 03:35:08 PM
Cool, this is much needed! I'm also dreaming of some mod database for automatic download and update mods. Plus what SotymasterQ said. There was a similar project some time ago but unfortunately died: https://ludeon.com/forums/index.php?topic=4044.msg40044#msg40044 (https://ludeon.com/forums/index.php?topic=4044.msg40044#msg40044). Anyway, good work with this. I'll try it out.
Title: Re: [TOOL] Rimworld Mod Manager
Post by: Evul on November 06, 2014, 08:07:15 PM
Quote from: Kubouch on November 06, 2014, 03:35:08 PMI'm also dreaming of some mod database for automatic download and update mods.

That whould be awesome O.O
It have been done mod whise in other games ^^
https://github.com/oharaandrew314/TinkerTime
Just puttning it out there ;)
Title: Re: [TOOL] Rimworld Mod Manager
Post by: Jaxxa on November 16, 2014, 01:48:26 AM
Since EdB has released a similar tool that works from within the game, I will not be updating this and encourage you all to use that version:

https://ludeon.com/forums/index.php?topic=7454.0
Title: Re: [TOOL] Rimworld Mod Manager
Post by: ZehAngrySwede on December 13, 2014, 03:07:38 AM
Will this work with Alpha 8? Seeing as how EdB hasn't had the opportunity to update his mod, this could be a good substitute for the time being! If it works with the new version, that is.
Title: Re: [TOOL] Rimworld Mod Manager
Post by: Jaxxa on December 13, 2014, 03:11:28 AM
I have not done any updates with it, but I don't know if the file structure has changed. Give it some go and let me know if it works. If not I will update it.
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-04-16
Post by: Jaxxa on April 16, 2016, 01:48:09 AM
I just released an update to this program.

The interesting part is getting it to warn you about load order issues based on additional .xml files that can be added to mods.
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-04-16
Post by: Glendening on April 23, 2016, 09:10:00 PM
I love the idea of something that can compare the mod files to look for conflicts or at least let you decide what mod order is needed. Someone had something similar for Fallout3/NV a while back that helped me out a lot to crack down on conflicts.

I had a little error pop up when trying to run your mod manager. I tossed it up as an issue on the GIT page.
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-04-16
Post by: Lumaan on April 27, 2016, 10:05:12 PM
Getting a similar error as the above user on a full modded game  :'(
So is doing some testing on a clean test Rimworld. One thing I found right away is you are looking after mod name from the "<name>Community Core Library v0.13.1.1</name>" inside the "About.xml" but the game gets the name inside the "ModsConfig.xml" from the folder name inside the "Mods" folder.
With CCL *Without edit* your program is looking after "Community Core Library v0.13.1.1" and compare it against "ModsConfig.xml" mod name that are "Community Core Library", if I edit the "About.xml" from CCL to only show "<name>Community Core Library</name>" I get that it's on the disk, otherwise I get the "Missing on Disk"  :(
Activating CCL from your program put "Community Core Library v0.13.1.1" into the "ModsConfig.xml" and then the game is not loading the mod because the game is looking after "Community Core Library v0.13.1.1" folder, but on the disk the folder is called "Community Core Library"
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: Jaxxa on May 29, 2016, 03:46:58 AM
Thanks for reporting those issues. They should both be fixed in the new version. Please let me know if they happen again.
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: Fridolin on June 09, 2016, 06:02:37 AM
hey jaxxa, nice work!

this is just a feedback 8)
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: Jaxxa on June 09, 2016, 07:25:58 AM
Thanks for the Feedback, Appreciate knowing that people are finding it helpful.
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: H8ff0000 on August 12, 2016, 08:38:29 PM
Hey Jaxxa, is this working in A14?
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: Jaxxa on August 14, 2016, 10:56:19 PM
I have not tested in with A15, but as far as I know it should work.
It wont be Pulling in Workshop mods, but for non workshop mods it should work the same as it did previously.

If not let me know what about it is not working.
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: H8ff0000 on August 15, 2016, 06:10:49 PM
@Jaxxa
Found a very minor typo:

Open the program, select Load, then New. The following window is called NewProfile. Near the top of this window, it says the following:
'Please createa new profile:'
There is no space between 'create' and 'a'.
I know this is hardly even noticeable, but I noticed, so I figured I'd pass it along.
And let me take this opportunity to say thank you for all of your hard work.
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: Deimos Rast on August 18, 2016, 10:02:38 PM
I don't know how much time you're still devoting to this, but as some one who pumps a lot of mods into his install, this would be an invaluable tool. However, there is a slight issue: I'm on Linux, and it would seem you're not.

I can get it to run with Mono, but the issue is how the different OS's handle file pathing (Windows/Linux). Windows uses C:\Blah\Blah\ whereas the Linux equivalent would be C:/Blah/Blah/ (it also handles spacing in folder names differently I believe).
I futzed around in the settings and changed what I could to use *proper* Linux pathing, but it would seem there is more at work than I can fix from my end.
Admittedly, the target market for such a fix would be pretty small, so it might not be worth your while. Still, it'd be neato. ;D
Cheers.

p.s. If you don't already know, hitting Move Up/Down on a blank modlist throws an exception. Not really an issue, but figured I'd mention it.
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: Jaxxa on August 28, 2016, 08:10:08 PM
Quote from: H8ff0000 on August 15, 2016, 06:10:49 PM
Thanks I will fix that in the next version.

Quote from: Deimos Rast on August 18, 2016, 10:02:38 PM

Yeah, I am not on linux, I wasn't even aware that it would run.
I can have a quick look if I can see what would be breaking things and if there is a better way to do it that will work for windows and linux.
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: Phidaissi on September 03, 2016, 01:15:25 AM
I've not done much in C#, but in many places Windows will accept forward slashes, so if that doesn't break it just using them by default is one option.

The other is to fetch the OS specific path separator.
https://msdn.microsoft.com/en-us/library/system.io.path.pathseparator(v=vs.110).aspx
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: samuk190 on October 02, 2016, 03:50:26 PM
i hope you continue, and add "duplicate name mod list"
because i have steam and non steam mods, and sometimes it conflicts because i enable two mods that have same name xD
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: Jaxxa on October 06, 2016, 05:55:51 PM
What exactly would you want for a "duplicate name mod list"?

Just a list of mods that are duplicated in both Steam and Non steam folders?
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: TeflonJim on October 13, 2016, 12:22:01 PM
Quote from: Phidaissi on September 03, 2016, 01:15:25 AM
The other is to fetch the OS specific path separator.
In theory the static method System.IO.Path.Combine rather than concatenating strings should let you build OS-specific paths without requiring hard-coding or discovery of the path separator. I, personally, have never tried :)

On a Linux / Unix system, is workshop content also stored relative to the game content? That is, is this roughly correct?

Game: <steamLibDir>/steamapps/common/RimWorld
Workshop modules: <steamLibDir>/steamapps/workshop/content/<steamAppID>/<modsByWorkshopID>

Is the SteamAppID happily stored in a "steam_appid.txt" file in the game directory as it is in Windows?

Chris
Title: Re: [TOOL] Rimworld Mod Manager _ Updated 2016-05-29
Post by: Smexy_Vampire on November 22, 2018, 03:19:26 AM
still being worked on ?