[1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)

Started by shakeyourbunny, April 07, 2019, 07:05:28 AM

Previous topic - Next topic

shakeyourbunny

0.95.0 (2019-07-17):
maintenance release, bugfixes
new:
- added custom parameters to shell scripts for passing through.
- all values from the configuration file are available as command line switches
  (except github username and password).

changed:
- re-added some delays to script for better readability of output, is configurable.
- updated documentation to reflect changes.
- RWMS now waits on errors (optionally if possible).
- some internal code refactoring.

fixed:
- make shell scripts runnable from every directory (Ibmaian).
- wait_on_error configuration value was mostly ignored.

shakeyourbunny

0.95.1 (2019-08-17):
fixed:
- fix for the windows people, binary should do its thing now.

0.95.1 is functional the same as 0.95.0, only difference now is that the windows executable works now as intended.

Canute

shakeyourbunny,
i notice something.
From Baby and children.
Quoteetc alien race mod (Optional)
children, school and learning (Optional)
Baby and Children (This Mod) (last -2)
Baby and Children alien race support (support mod) (last -1)
and a player said he used the tool and got this modlist
https://gist.github.com/HugsLibRecordKeeper/2653f6e0ad9a437831832758eba94cfd
You see Children, school and learning is pretty high at the modlist, above race mods.


shakeyourbunny

Did an major database update, added 184 new unknown mods. DB has now 3513 known mods to Rimworld-kind.

Have fun playing!

monkmith

quick question.  how does this sort non steam mods (the ones you manually place in the mods folder)?  asking because i've run the script and found it didn't properly sort a couple of the mods i had even though they were listed in the database.  all of them were saved backups of the mods an were in the mods folder instead of the steam workshop folder.

just wondering what the script looks at when it decides to order mods.  is it the folder name?  or maybe something in the about.xml file?

edit: is this script supposed to list every steam workshop mod as unknown?  the script window that opens shows every steam workshop mod as the workshop id number and lists them as unknown, but when i let it finish an write the new mod order list the unknown mods .txt file it generates doesn't include a single one of those workshop mods.

edit2: stupid, realized i messed up on the config file.

shakeyourbunny

The name is taken from the About.xml in the mod directory itself. If steam mode is enabled / allowed, it also tries to look on the workshop page for the name of the mod. After that, it will classify it as unknown, if there is no connection.


asquirrel

I don't see a way to change the cfg file so it finds my mods folder.  The default .cfg file is looking in my c drive.  I don't know how to create a new one and the old one doesn't list a path.

How do I change the path so it finds my mods folder?

This is where my mods are located. 

Z:\SteamGames\steamapps\common\RimWorld\Mods

Thanks!

Canute

You download the win package, so you don't need the whole python thing.
You download the archive with 2 files.
The executable and a .ini file.
Open the .ini file with a texteditor (even notepad works).
Then look for [paths]
and enter the path's for your system.

shakeyourbunny

If you consult the documentation at https://github.com/shakeyourbunny/RWMS/blob/master/docs/documentation.md#command-line-options you may see what RWMS is thinking:
rwms_sort-0.95.1 --dump-configuration

This produces the following (on my system, abbreviated):

** RWMS 0.95.1 by shakeyourbunny
...
Current OS agnostic configuration

Steam is on .....................: OK D:\Spiele\Steam

RimWorld folder .................: OK D:\Spiele\Steam\steamapps\common\RimWorld
RimWorld configuration folder ...: OK C:\Users\shakeyourbunny\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config
RimWorld local mods folder ......: OK D:\Spiele\Steam\steamapps\common\RimWorld\Mods
RimWorld steam workshop folder ..: OK D:\Spiele\Steam\steamapps\workshop\content\294100
RimWorld ModsConfig.xml .........: OK C:\Users\shakeyourbunny\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config\ModsConfig.xml


If everything is right, it will say "OK".

You have to adjust the rwms_config.ini file (open it with notepad, it is in the same folder as the executable). There you have to change the line "steam=" to "steam=Z:\SteamGames". Save the file and re-run the command above to check if everything is right.

Offtopic: if life and work would not get in my way, I'd already had time to do implement some new things here :))


Tiikeria

EDIT: Apparently, my Mac was not defaulting to Python 3.8, and was trying to use Python 2.7. Got it to work after switching Terminal over to 3.8!

Hey guys! I'm a bit of a novice with Python, so forgive me. I'm trying to run RWMS on Mac OS 10.13.6. I've followed the documentation on setting it up, but when I run the script, it gives me

** RWMS 0.95.1 by shakeyourbunny ***********************************************
bugs: https://github.com/shakeyourbunny/RWMS/issues
database updates: visit https://github.com/shakeyourbunny/RWMSDB/issues

*** fatal error: ** updatecheck: could not load update URL.

Press ENTER to terminate the program.


I've tried doing manual entries in the config file, and turning off updates, but it tells me there's a fatal error in loading the DB file.

Here's what my config comes back as, it all looks fine. Anyone have any ideas on how to get this working?


** RWMS 0.95.1 by shakeyourbunny ***********************************************
bugs: https://github.com/shakeyourbunny/RWMS/issues
database updates: visit https://github.com/shakeyourbunny/RWMSDB/issues

pyinstaller configuration
we are not frozen
bundle dir is /Users/Kenji/Desktop/RWMS-0.95.1/RWMS
sys.argv[0] is /Users/Kenji/Desktop/RWMS-0.95.1/rwms_sort.py
sys.executable is /Library/Frameworks/Python.framework/Versions/3.7/bin/python3
os.getcwd is /Users/Kenji
sys.platform is darwin

configuration file is /Users/Kenji/Desktop/RWMS-0.95.1/rwms_config.ini

Current OS agnostic configuration

Steam is on .....................: OK /Users/Kenji/Library/Application Support/Steam

RimWorld folder .................: OK /Users/Kenji/Library/Application Support/Steam/steamapps/common/RimWorld/RimWorldMac.app
RimWorld configuration folder ...: OK /Users/Kenji/Library/Application Support/RimWorld/Config
RimWorld local mods folder ......: OK /Users/Kenji/Library/Application Support/Steam/steamapps/common/RimWorld/RimWorldMac.app/Mods
RimWorld steam workshop folder ..: OK /Users/Kenji/Library/Application Support/Steam/steamapps/workshop/content/294100
RimWorld ModsConfig.xml .........: OK /Users/Kenji/Library/Application Support/RimWorld/Config/ModsConfig.xml

Updatecheck .....................: True
Open Browser ....................: False
Wait on Error ...................: True
Wait on Exit ....................: True
Enable delays in output .........: True
Disable Steam Checks ............: False
Do not remove unknown mods ......: True
Tweaks are disabled .............: True

shakeyourbunny

Quote from: Tiikeria on October 27, 2019, 12:59:27 PM
I've followed the documentation on setting it up, but when I run the script, it gives me

** RWMS 0.95.1 by shakeyourbunny ***********************************************
bugs: https://github.com/shakeyourbunny/RWMS/issues
database updates: visit https://github.com/shakeyourbunny/RWMSDB/issues

*** fatal error: ** updatecheck: could not load update URL.

Check your firewall settings, RWMS loads its database from github.


Void

Great tool, thanks for your work! :)

Some quick Infos:

* The Python dowload link is malformed (it even gets flagged as malicious link by Steam).
* On https://steamcommunity.com/sharedfiles/filedetails/?id=1903712002 "Main Mod version is found on..." links to itself (1903712002).

* Regarding RimThemes and RimSaves:
The author says on the Mod Workshop page from RimThemes "Need to be loaded in first position in mod list!" (right after core, before HugsLib) and "[...]It can be related to your mod order, please put RimSaves just before HugsLib and test if it works.[...]" (from RimSaves faq).
RWMS puts these mods later in the list.

* Shouldn't Mod Manager / Better Mod Mismatch Window be right after Hugslib/JecsTools?

(Before RWMS I used this post for mod sorting, seems like RWMS does some things different. Thats why I'm a bit confused and give my suggestions here.)