Ludeon Forums

RimWorld => Mods => Releases => Topic started by: Madeline on January 26, 2019, 05:37:01 AM

Title: [1.0] automatic Rimworld mod sorter
Post by: Madeline on January 26, 2019, 05:37:01 AM
Actually, it isn't a mod, but it is an external program wrote with a python script.
2019/03/19
I re-build the whole code. make a logging system base and upload Log to github gist to share which mods are not in DB.
github gist : https://gist.github.com/RAMSlog (https://gist.github.com/RAMSlog)

new tutorial video
https://www.youtube.com/watch?v=y9TkcLRHehk (https://www.youtube.com/watch?v=y9TkcLRHehk)

this is download link(English version)
https://github.com/zzzz465/Rimworld-automatic-mod-sorter/releases

you can found it from Github
https://github.com/zzzz465/Rimworld-automatic-mod-sorter

so I made a program that automatically sorts  your program

how to use (old, better read Github version)
you need to activate mod you want to load, reboot rimworld and close rimworld.
and launch "LAUNCH ME.bat" from the file.
this program will detect your config file, subscribed workshop mod.
and back up your current config file(this file saved your load order).

next, the program will scan your activated mod from config files, and re-arrange it according to internal mod sorting order.

then, save it to a config file, and run Rimworld.

if the program's order doesn't have any information of mod, that mod will be automatically deactivated, and user needs to manually re-activate it in game.

this will reduce your job when you try to use more than 50+ mods.

Although there is such a feature, it can't automatically subscribe library mod or Core mods like hugslib, Alien framework. you need to know if there is a mod that needs a base mod.

currently, for the base version, I made the database for top 250 mods by subscribe number.
updating mod DB is time-consuming work but if you help me, we can do it faster.
please contact me.

lastest version : (check github version)

if you interested at updating DB, read GitHub description!

if you like it, go to Steam page (https://steamcommunity.com/sharedfiles/filedetails/?id=1639553706) and please do thumb-up!


@@@@ALWAYS CHECK GITHUB DESCRIPTION@@@@
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Bunkier on January 26, 2019, 04:04:08 PM
Holy shit, thing that i always wanted, nice job
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on January 27, 2019, 03:37:08 AM
https://drive.google.com/file/d/1XCiZw3hY9LTHT72AjjvgX1NQwS-6SnEY/view?usp=sharing

v0.3 beta release update
current DB(01/27) mod list : 273 mods
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on January 27, 2019, 07:37:48 AM
v0.33 minor update
https://drive.google.com/open?id=1z3YOupkGsxtCmxdanjB8luvhQWsrVT-a
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Seeker89 on January 27, 2019, 08:33:12 AM
How does this mod work? how does it know where to put the mod?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on January 27, 2019, 09:14:05 PM
I have a mod order list that makes a mod conflict error to a minimum.
the mods in the DB will be sorted according to the rules.
if you're interested at the mod sort order, please find me at Rimworld Discord name 'Madeline'
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: YEETHOG on January 28, 2019, 02:15:33 AM
Great tool! Are you constantly adding mods to the "mod order list?" I noticed while using this tool that some mods appeared in red and others in green. The mods that appeared in green ended up being sorted. Mods that were red weren't activated. I have been waiting a long time for a tool like this!
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: ertzuiop on January 28, 2019, 03:46:35 AM
Getting this error and im not using workshop.

[attachment deleted due to age]
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on January 28, 2019, 05:20:06 AM
Quote from: ertzuiop on January 28, 2019, 03:46:35 AM
Getting this error and im not using workshop.
I updated program to ignore that. it happens when mod folder structure is abnormal

Quote from: YEETHOG on January 28, 2019, 02:15:33 AM
Great tool! Are you constantly adding mods to the "mod order list?" I noticed while using this tool that some mods appeared in red and others in green. The mods that appeared in green ended up being sorted. Mods that were red weren't activated. I have been waiting a long time for a tool like this!

GREEN = workshop mod
YELLOW = Local mod
BLUE = local mod saved by "mod manager" mod

and, yes. I constantly updating my db to support more mods.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: ertzuiop on January 28, 2019, 06:02:44 AM
Still same error with newest update. Specify abnormal folder structure.
Btw. how to contribute to your mod?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on January 28, 2019, 06:07:47 AM
Quote from: ertzuiop on January 28, 2019, 06:02:44 AM
Still same error with newest update. Specify abnormal folder structure.
Btw. how to contribute to your mod?

I mistakenly set the file incorrectly. v0.35 beta release should work.
if you want to contribute DB, then add me on steam.
https://steamcommunity.com/id/madeline1324/
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: ertzuiop on January 28, 2019, 06:43:28 AM
Not using steam.
Discord?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on January 28, 2019, 09:12:02 AM
Quote from: ertzuiop on January 28, 2019, 06:43:28 AM
Not using steam.
Discord?
Madeline#1941

current mod support : 600+ mods.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Gavote on January 29, 2019, 02:30:07 AM
Well...my jaw just hit the floor. 600+ mods supported?! Excellent work, and thank you!
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Canute on January 29, 2019, 03:54:28 AM
I think after you got the Top 1000 workshop mods (i think all the forum mod's are there too).
You maybe could work at an ingame solution.
Maybe in cooperation with Fluffy's modmanger to sort the modlist over your database ?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on January 29, 2019, 04:25:08 AM
Quote from: Canute on January 29, 2019, 03:54:28 AM
I think after you got the Top 1000 workshop mods (i think all the forum mod's are there too).
You maybe could work at an ingame solution.
Maybe in cooperation with Fluffy's modmanger to sort the modlist over your database ?


It is a very good idea. but I don't think an in-game mod can change config files to re-arrange mod order.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Canute on January 29, 2019, 05:27:26 AM
You can sort the mod with the ingame or fluffy manager by hand.
Instead to do this manual you just click at a button "Sort mod by Madeline" to arrange them at the list.
And when you leave the modmanger, Rimworld safe them like before.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on January 30, 2019, 09:20:22 PM
Quote from: Canute on January 29, 2019, 05:27:26 AM
You can sort the mod with the ingame or fluffy manager by hand.
Instead to do this manual you just click at a button "Sort mod by Madeline" to arrange them at the list.
And when you leave the modmanger, Rimworld safe them like before.

isn't it hard to get the latest db?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Ashnal on January 31, 2019, 02:12:14 AM
I don't see why. An update for Fluffys could pull the list straight from your github.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on January 31, 2019, 07:36:01 AM
I checked anything can possible with C#.
when my DB is enough to cover most mods, I'll find a way to release this to a mod.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Trentennisfigati on February 04, 2019, 06:10:38 AM
Can't really use this tool. Didn't really figured it out yet...
but is it possible to read the mod list you compiled, to check the order of my mods?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Canute on February 04, 2019, 09:01:47 AM
Madeline,
i just test out your the 0.37 version.
- you tool want RimworldWin64.exe  but the exe is named RimWorld2096Win64.exe or RimWorld2150Win64.exe or at last for the DRM version of Rimworld.
- similar to the data folder, so ofcouse the tool can't find it.  Renaming the folder isn't a solution because Rimworld wouldn't start anymore.

- You should put at the description is currently a Windows only executable.

Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on February 05, 2019, 06:52:44 AM
Quote from: Canute on February 04, 2019, 09:01:47 AM
Madeline,
i just test out your the 0.37 version.
- you tool want RimworldWin64.exe  but the exe is named RimWorld2096Win64.exe or RimWorld2150Win64.exe or at last for the DRM version of Rimworld.
- similar to the data folder, so ofcouse the tool can't find it.  Renaming the folder isn't a solution because Rimworld wouldn't start anymore.

- You should put at the description is currently a Windows only executable.


I forgot DRM version Rimworld, I'll fix it. also, make a bypass route if it can't find any folder.

yes. I'll add a description. thank you for your report.



Quote from: Trentennisfigati on February 04, 2019, 06:10:38 AM
Can't really use this tool. Didn't really figured it out yet...
but is it possible to read the mod list you compiled, to check the order of my mods?

I can't understand. can you tell me more clearly?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on February 05, 2019, 07:05:01 PM
Quote from: Canute on February 04, 2019, 09:01:47 AM
Madeline,
i just test out your the 0.37 version.
- you tool want RimworldWin64.exe  but the exe is named RimWorld2096Win64.exe or RimWorld2150Win64.exe or at last for the DRM version of Rimworld.
- similar to the data folder, so ofcouse the tool can't find it.  Renaming the folder isn't a solution because Rimworld wouldn't start anymore.

- You should put at the description is currently a Windows only executable.



1) I updated program v0.4 to fix your problem.
2) also, if the program can't find config, workshop, or a local folder, it will ask you to select the folder.
3) and sadly Linux support is not in the to-do list. maybe I can do it later?

always, thanks for your bug report!


also, program updated to v0.4
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: dragonlance88 on February 05, 2019, 07:28:41 PM
I just downloaded the version 0.4 master file but i can't figure out how to update. How do I do that?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on February 05, 2019, 07:59:06 PM
Quote from: dragonlance88 on February 05, 2019, 07:28:41 PM
I just downloaded the version 0.4 master file but i can't figure out how to update. How do I do that?
can you DM to me? discord Madeline#1941
Other testers tried and worked well.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Canute on February 06, 2019, 03:05:19 AM
0.42
I started from Rimworld dir, but the .exe request got searched at c:\
Maybe you can take over the folder into the requester from who the .bat is launched.

Quotetype Y or N : n
wrong input. please type Y or N
You see, case sensitive check.

Beside that, it is working.

Quote from: dragonlance88 on February 05, 2019, 07:28:41 PM
I just downloaded the version 0.4 master file but i can't figure out how to update. How do I do that?
This isn't a Rimworld mod, it is a Window's tool/application.
Unzip it into your Rimworld installation, or somewhere else but don't forget the location later ! :-)
Then just start "Launch mod sorter.bat" and follow the instructions.

Title: Re: [1.0] automatic Rimworld mod sorter
Post by: harpo99999 on February 06, 2019, 03:09:38 AM
does the program work in 32 bit windows?, could not get it to run in my 32 bit rimworld
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on February 06, 2019, 08:33:53 AM
Quote from: harpo99999 on February 06, 2019, 03:09:38 AM
does the program work in 32 bit windows?, could not get it to run in my 32 bit rimworld

it doesn't matter what OS version you're using.
let me check your error so I can handle that.

I'll upload a 32-bit version. please wait!


Quote from: Canute on February 06, 2019, 03:05:19 AM
0.42
I started from Rimworld dir, but the .exe request got searched at c:\
Maybe you can take over the folder into the requester from who the .bat is launched.

Quotetype Y or N : n
wrong input. please type Y or N
You see, case sensitive check.

Beside that, it is working.

Quote from: dragonlance88 on February 05, 2019, 07:28:41 PM
I just downloaded the version 0.4 master file but i can't figure out how to update. How do I do that?
This isn't a Rimworld mod, it is a Window's tool/application.
Unzip it into your Rimworld installation, or somewhere else but don't forget the location later ! :-)
Then just start "Launch mod sorter.bat" and follow the instructions.



it will ignore upper/lower in next version. thank you!
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Trentennisfigati on February 09, 2019, 08:10:39 PM
Ok, last version works fine for me.
How can we contribute to your list? Is it only for modders?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on February 11, 2019, 01:53:05 AM
Quote from: Trentennisfigati on February 09, 2019, 08:10:39 PM
Ok, last version works fine for me.
How can we contribute to your list? Is it only for modders?

use my tool included in zip file.
go to  template_updater folder. and run .bat file.
it will scan your workshop/local mod and compare with the DB, and collect mods that not registered in DB.
you can see order rules and tutorials in Github.
when you finish your work, a new template file will be saved in your desktop folder. send it to me.


Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Trentennisfigati on February 11, 2019, 09:55:18 AM
the updater has the same issue as the previous version for the non-steam version, the name of the exe is different
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on February 11, 2019, 06:55:59 PM
Quote from: Trentennisfigati on February 11, 2019, 09:55:18 AM
the updater has the same issue as the previous version for the non-steam version, the name of the exe is different

https://github.com/zzzz465/Rimworld-automatic-mod-sorter/releases/tag/v0.43
here, I fixed that problem.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Trentennisfigati on February 12, 2019, 12:13:57 PM
thanks! I think passing a mod with P when you're not sure isnt working thou.

edit: seems to work with S

PS

no slot for adding races mod?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Seipherwood on February 13, 2019, 03:43:22 PM
Using 0.43 and its not creating the file after i spend forever having to manually adjust mods.
Also, not entirely sure what im suppose to be putting for them, i ended up doing 14 for 95% of em cause idk.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: AlanAlva on February 17, 2019, 01:28:36 AM
What is error occur! mean ? is incompatible mods or something ?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on February 17, 2019, 04:32:18 PM
Quote from: AlanAlva on February 17, 2019, 01:28:36 AM
What is error occur! mean ? is incompatible mods or something ?

it will happen if any mod is not in your workshop/local mod folder but it is on the mod config list.
the program read your config file and try to add mod through your workshop/local mod folder. but if the program can't find actual mod file, and it raise a error.

I think you should remove your config file, and start rimworld to make a fresh config file.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: PreDiabetic on March 16, 2019, 04:45:57 PM
wait what? Even my mod is there hahaha, that's a good program, I hope you can improve that overtime.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: jpnm92 on March 16, 2019, 05:21:58 PM
Quoteyou can found it from Github
find
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: E-102 on March 16, 2019, 09:18:50 PM
Amazing tool mad props to you guys!!
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: fledermaus on March 17, 2019, 08:34:53 PM
Hi Madeline. Thank you for this very useful tool!

I have a lot of mods that don't get sorted so I was using the Template Updater and following the directions on GitHub, but I am confused by this part:
Quote14~15. item/terrain/object/simple mod like add animals. 15. simple mod or mods that don't modify mod many.

15~16. mod that affact AI behavior example: haul to stack, while you're up

15 is used for 2 different categories? Simple mods and AI mods? Is this a typo?
For my own use I can create my own convention, but if this is for a public database I would appreciate some guidance on how you would like these categories handled.
Thanks again for such a useful utility.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on March 19, 2019, 07:45:43 AM
Quote from: fledermaus on March 17, 2019, 08:34:53 PM
Hi Madeline. Thank you for this very useful tool!

I have a lot of mods that don't get sorted so I was using the Template Updater and following the directions on GitHub, but I am confused by this part:
Quote14~15. item/terrain/object/simple mod like add animals. 15. simple mod or mods that don't modify mod many.

15~16. mod that affact AI behavior example: haul to stack, while you're up

15 is used for 2 different categories? Simple mods and AI mods? Is this a typo?
For my own use I can create my own convention, but if this is for a public database I would appreciate some guidance on how you would like these categories handled.
Thanks again for such a useful utility.

yeah cuz actually mods that goes to "simple mods or don't modify ~~~~" can go anywhere. it really doesn't conflict with others. so I just give number 14~15 for DB rule. I think that should be changed to 14~14.9
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: makute on March 25, 2019, 07:23:13 AM
Version 0.52 searches by default on steam workshop, is ther a way to make it look for mods in a different folder?
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Canute on March 25, 2019, 07:43:20 AM
I don't think you can get a path to the DRM-free installation that is stored somewhere in the registry.
So you need to do a prompt for the Rimworld installation if you don't detect a steam installation.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: makute on March 25, 2019, 11:23:47 AM
But it worked a couple versions ago. The app looked for the steam workshop first and for a different folder later.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Canute on March 25, 2019, 11:57:28 AM
Then go a couple version back, and rebuild on that version !
If you need a tester for none-steam only user, just PM me :-)

Title: Re: [1.0] automatic Rimworld mod sorter
Post by: makute on March 25, 2019, 12:30:02 PM
I wish I could, but the app forces the update :(

I'll give a try later, disconnected from the net.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: damnfan on March 25, 2019, 08:32:35 PM
Looks like the folder issue is that it uses the default Steam path. So I re-installed my game back in the default Steam path instead of a different drive and that fixed the issue.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: macbuk on March 28, 2019, 08:29:43 AM
Is there any way to modify the game path? I have my Rimworld copy installed on another drive (SSD) while it searches for it on my primary drive (HDD) steam location and I'd like to keep it that way to avoid overly long loading times.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Madeline on March 30, 2019, 09:38:29 AM
Quote from: macbuk on March 28, 2019, 08:29:43 AM
Is there any way to modify the game path? I have my Rimworld copy installed on another drive (SSD) while it searches for it on my primary drive (HDD) steam location and I'd like to keep it that way to avoid overly long loading times.

fixed code to find the proper directory of Rimworld Local/workshop folder.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: shakeyourbunny on April 09, 2019, 04:00:26 PM
I know that is not really nice, but you can use my take on RimWorld Mod Sorting on https://gitlab.com/rwms/rwms (forum page see  https://ludeon.com/forums/index.php?topic=48518.0).

@zzzz465 for your info:
my forked version was rewritten again and again until about only 10% of your code and only the basic structure was left. At this point, I ditched the whole codebase and wrote my own version from scratch.

It also has not the common issues found here.

As you stated you also don't have the time now for maintaining your script ( https://github.com/zzzz465/Rimworld-automatic-mod-sorter/issues/9 )
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: JesusKreist on June 16, 2019, 03:16:07 PM
Great idea.

But I have the distinct impression something went wrong when the sorter sorted my mods.
I did end up with a bunch of mods which I manually disabled active, a bunch of manually activated mods disabled and the load order gives me TONS of red warnings on loadup.

I am VERY glad the sorter does a backup before sorting.


/edit
Nope, not working for me.
Mods that the sorter does not know get disabled.
Some mods end up at the wrong place in the load order. Happened in my example with TE Turret Expansion which got sorted in front of the main mod named Turret Extensions and Modcheck which shall be loaded first, even before Core and did end up in the middle of the load order.
Title: Re: [1.0] automatic Rimworld mod sorter
Post by: Canute on June 16, 2019, 05:24:15 PM
Try out the other sorting tool.
https://ludeon.com/forums/index.php?topic=48518.0