Ludeon Forums

RimWorld => Mods => Tools => Topic started by: shakeyourbunny on April 07, 2019, 07:05:28 AM

Title: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 07, 2019, 07:05:28 AM
RWMS - RimWorld Mod Sorter
Version 0.95.1.4, > 3620 known mods.

Links
Homepage: https://bitbucket.org/shakeyourbunny/rwms
Download: https://bitbucket.org/shakeyourbunny/rwms/downloads/
Issues: https://bitbucket.org/shakeyourbunny/rwms/issues
Database contribution: https://bitbucket.org/shakeyourbunny/rwmsdb/issues <-- unknown mods here

Windows TLDR:
- unzip the latest rwms_sort-x.xx.xx-win.zip in a directory.
- run rwms_sort-x.xx.x.exe --dump-configuration to see if it's OK everywhere.
- if not you may have to edit the rwms_config.ini

Description and Features
This Python script sorts your ModConfigs.xml (RimWorld mod configuration) for better loading time putting the
dependencies of your mod order in the right spot. This is also the only function of the script, it will do this
one thing and nothing else.

You know the drill: "put this mod at the first spot, after mods X or at last". Now you don't have to remember this,
just use this sorting script.

Features:
- sorts your active mods; Core, Hugslib, libraries, frameworks first, then normal mods and at the bottom patches,
  textures and other pesky mods who want to be loaded last.
- (semi)automatic detection of the mod and game paths; you can override it with a configuration file
- displays detected paths if you wish
- automatically saves unknown mods in a JSON for submission.
- optional autosubmitting unknown mods (see documentation)
- script works on Windows, Linux and OSX; drm free build and steam build.
- if there are some unknown mods, the script asks if it should really write the modified ModsConfig.xml
  (unknown mods are removed from the load order).

Installation and Usage
Full Installation instructions see https://bitbucket.org/shakeyourbunny/rwms

Quick Command Line Overview:
Quote
** RWMS 0.95.1 by shakeyourbunny ***********************************************

bugs: https://bitbucket.org/shakeyourbunny/rwms/issues
database updates: visit https://bitbucket.org/shakeyourbunny/rwmsdb/issues

usage: rwms_sort.py [-h] [--disable-steam] [--dont-remove-unknown-mods]
                    [--openbrowser] [--disable-tweaks] [--contributors]
                    [--dump-configuration] [--dump-configuration-nowait]
                    [--reset-to-core] [--wait-error] [--wait]
                    [--enable-delays] [--steamdir STEAMDIR]
                    [--drmfreedir DRMFREEDIR] [--configdir CONFIGDIR]
                    [--workshopdir WORKSHOPDIR] [--localmodsdir LOCALMODSDIR]

optional arguments:
  -h, --help            show this help message and exit
  --disable-steam       (override) disable steam detection
  --dont-remove-unknown-mods
                        (override) do not remove unknown mods
  --openbrowser         (override) opens browser if new version available,
                        implies force updatecheck
  --disable-tweaks      (override) disable user tweaks
  --contributors        display contributors for RWMS(DB)
  --dump-configuration  displays the current configuration RWMS is thinking of
  --dump-configuration-nowait
                        displays the current configuration RWMS is thinking
                        of, forces no waiting (for scripts)
  --reset-to-core       reset mod list to Core only
  --wait-error          (override) wait on errors
  --wait                (override) wait on exit
  --enable-delays       (override) enable some delays
  --steamdir STEAMDIR   (override) Steam installation directory
  --drmfreedir DRMFREEDIR
                        (override) DRM free directory of RimWorld
  --configdir CONFIGDIR
                        (override) location of game configuration / save
                        directory
  --workshopdir WORKSHOPDIR
                        (override) location of Steam Workshop mod directory
  --localmodsdir LOCALMODSDIR
                        (override) location of local mod directory

Feedback
I'd appreciate any feedback and unknown mod submissions (just paste the contents of the rwms_unknown_xxxxxxx.json here or a new gitlab issue on https://bitbucket.org/shakeyourbunny/rwms/issues). Please include what platform you are playing RimWorld on and what build (DRMfree/Steam).

The categorization database was built from scratch from the most popular mods from Steam Workshop, some personal preferences and wholesale inclusion of mods of the more well-known mod authors.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. sort your mods automagically
Post by: shakeyourbunny on April 07, 2019, 12:21:29 PM
- rwmsdb: updated to 660 mods.
- rwms: write fix
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. sort your mods automagically
Post by: shakeyourbunny on April 08, 2019, 03:11:42 PM
updated to 789 known mods, has now a version number.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. sort your mods automagically
Post by: shakeyourbunny on April 09, 2019, 04:02:17 PM
configuration file now overrides all automatic detection, path sanity logic moved to main script.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 10, 2019, 04:04:25 AM
Hi,
some feedback.
Win10 Rimworld DRM user, no steam installation.
Python installed.
1.question: is there no option for you to made executable files for you for each OS out of the scripts ?

python command from the .bat file not recognized (maybe i need to restart the PC) but direct start the rwms_sort.py works.
But the scripts end's so fast that i can't read any. Using Idle from python to run the script.

Starting script without .ini file.
** error, steam workshop directory 'C:\Program Files (x86)\Steam/steamapps/workshop/content/294100' could not be found. please check your installation and / or configuration file.

Starting script with modified .ini file
** error, could not find ModsConfig.xml; detected: '"C:\Users\Canute\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios"/ModsConfig.xml'
You wanted
Quote; configuration directory for RimWorld, where game saves etc reside
configdir = "C:\Users\Canute\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios"
and that is the path, sure the ModsConfig.xml is inside Config folder, trying to add this at the .ini.
Just to carify, the saves arn't inside the Config folder, so you description is wrong.

Loading mod data.
** error, steam workshop directory 'C:\Program Files (x86)\Steam/steamapps/workshop/content/294100' could not be found. please check your installation and / or configuration file.

So does the script don't work without steam ?

My suggestion, don't let the people edit the .ini file.
Add file requeste windows for the file path's you need and safe these into the .ini

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 10, 2019, 08:28:52 AM
Announcement: if you download 0.92, don't forget to install the python module "BeautifulSoup" (command line: pip install bs4).

Quote from: Canute on April 10, 2019, 04:04:25 AM
Hi,
some feedback.
Win10 Rimworld DRM user, no steam installation.
Python installed.
1.question: is there no option for you to made executable files for you for each OS out of the scripts ?
I'm looking into it producing a standalone executable for Windows users.

Quote
python command from the .bat file not recognized (maybe i need to restart the PC) but direct start the rwms_sort.py works.
But the scripts end's so fast that i can't read any. Using Idle from python to run the script.
Will look into it. This script is mainly meant for the CLI (for now) but will add some slowdowns.

Quote
Starting script without .ini file.
** error, steam workshop directory 'C:\Program Files (x86)\Steam/steamapps/workshop/content/294100' could not be found. please check your installation and / or configuration file.

Starting script with modified .ini file
Quote; configuration directory for RimWorld, where game saves etc reside
configdir = "C:\Users\Canute\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios"
and that is the path, sure the ModsConfig.xml is inside Config folder, trying to add this at the .ini.
Just to carify, the saves arn't inside the Config folder, so you description is wrong.
Will clarify description.

Quote
Loading mod data.
** error, steam workshop directory 'C:\Program Files (x86)\Steam/steamapps/workshop/content/294100' could not be found. please check your installation and / or configuration file.

So does the script don't work without steam ?
It seems that you have Steam installed, so the autodetection assumes that you have the Steam build of the game and until 0.90, the config file was ignored if something was found automatically.

This was reverted in 0.91 (see https://gitlab.com/rwms/rwms/issues/1#note_159115775), so any entries there will override the automatic detection; path and file checking was moved into the main script.

Quote
My suggestion, don't let the people edit the .ini file.
Not really, because the configuration file is also meant for things the script does not yet cover or can cover in a reliable way (installation path of drm free build, for example..)

Quote
Add file requeste windows for the file path's you need and safe these into the .ini
Is a suggestion to look into.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 10, 2019, 09:15:52 AM
Quote from: shakeyourbunny on April 10, 2019, 08:28:52 AM
Quote
Loading mod data.
** error, steam workshop directory 'C:\Program Files (x86)\Steam/steamapps/workshop/content/294100' could not be found. please check your installation and / or configuration file.

So does the script don't work without steam ?
It seems that you have Steam installed, so the autodetection assumes that you have the Steam build of the game and until 0.90, the config file was ignored if something was found automatically.
Maybe some remains at the registry, but steam isn't installed.
Uninstall never remove anything :-(

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 10, 2019, 02:34:43 PM
I made a windows executable (0.92) with current fixes, https://my.pcloud.com/publink/show?code=XZCCbE7ZV9XQtKmDLaVpsFEqMRwsbBh4pTuV
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: NordLord on April 12, 2019, 12:14:20 AM
I've pointed it to the directories it needs to go to in the config but the script crashes still trying to go to the "assumed" directory so I'm not sure why.
Config directories: https://gyazo.com/a09d65cf292f6547a62cac4bf2c1ac95
The crash message: https://gyazo.com/ce24c9a0d9f935828f2b16e9b41048ba
P.S, you should add a press to continue on completion or fail so people can diagnose issues better. The command prompt auto closes so people with issues won't be able to give you info on whats going on.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 12, 2019, 03:37:19 AM
Sorry for the confusion, I mostly do the bug tracking on gitlab, where I opened for you a ticket: https://gitlab.com/rwms/rwms/issues/4

In essence, I'll look into it, but I will do it after my day job.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 13, 2019, 03:52:42 PM
New Release 0.93

Changelog:
- configurable disabling steam check (fixes issue 4)
- update version check (issue #5)
- added some slowdowns (issue #6)
- windows executable ignores configuration file fixed (issue #7)
- added configurable keypress on error and exit
- project moved back to GitHub, it doesn't like JSON as extension...

Note:
There are some new options in rwms_config.ini (either add them manually or get the new configuration file from the distribution):

Quote
; disable update check
updatecheck = True
; opens a new browser windows with the download page,
; if there is an update available (not yet implemented)
openbrowser_on_update = False

; wait for a keypress, if an error occurs
waitforkeypress_on_error = True

; wait for keypress on program end.
waitforkeypress_on_exit = True

; disable check for steam
disablesteam = False
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 13, 2019, 04:25:10 PM
Windows excutable version.
With the disablesteam option it finaly worked.
But if someone don't enter a steamdir, you should check that too and use it disabledsteam.

And why do you allways want localmodsdir ?
Isn't that allways configdir + "/mods" ? You can change only the savedatafolder, but not not Mods.

Just test a run without .ini file.
Don't work, and you forget to add "Press ENTER to close the program." at this exit.

Thy python version don't work, does i got the wrong version, i installed the latest Python 3.7.3.
Or does i realy need the Python 3.6.0 Dec. 23, 2016  ?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 13, 2019, 06:09:47 PM
Quote from: Canute on April 13, 2019, 04:25:10 PM
Windows excutable version.
With the disablesteam option it finaly worked.
But if someone don't enter a steamdir, you should check that too and use it disabledsteam.
empty "steamdir" means that the automatic detection should kick in, if you want to disable checking for steam entirely, use the new switch "disablesteam".

Quote
And why do you allways want localmodsdir ?
Isn't that allways configdir + "/mods" ? You can change only the savedatafolder, but not not Mods.
The parameter "localmodsdir" is for overriding the automatic detection.

Quote
I run a Just test a run without .ini file.
Don't work, and you forget to add "Press ENTER to close the program." at this exit.
If you run the script without the configuration file, it is in fully automatic mode and has the following defaults:
- check for new version enabled.
- dont wait for keypresses (errors nor program exit) .. reason is easier integration in other scripts or UI which capture standard output.
- steam check is not disabled.
- path detection is automatic (look for steam version and then maybe drm free on standard paths / registry entries).

Not waiting for any keypresses is expected behaviour in this mode, main reason for this is easier integration in other tools or for a future GUI shell around it which captures the output. I am aware that such thing would be really nice, but doing a proper and sane (read: not Electron) cross-plattform UI is currently beyond my Python knowledge, but this may change.

Quote
Thy python version don't work, does i got the wrong version, i installed the latest Python 3.7.3.
Or does i realy need the Python 3.6.0 Dec. 23, 2016  ?
Please provide output of "what is not working".

Current output with my system (Windows, Steam version) is:
Quote
C:\Projects\Github\RWMS>python rwms_sort.py
*** RWMS 0.93 by shakeyourbunny
visit https://gitlab.com/rwms/rwms/issues for reporting problems,
visit https://gitlab.com/rwms/rwmsdb/issues for uploading potential unknown mods
.
   please use the generated .json file.

loading current RWMS database.

Database (structure v4, last update Mon Apr  8 19:00:05 2019) successfully loaded.
945 known mods, 5 contributors.
Top contributors: shakeyourbunny (662), ? Black Goat ? (129), nightliss (57), dreipixel (49), Preechr (48),

Loading and parsing ModsConfig.xml

Loading mod data.
could not find metadata for item 1552879967 (skipping, is probably a scenario)!   
could not find metadata for item 1568128102 (skipping, is probably a scenario)!
could not find metadata for item 1625392558 (skipping, is probably a scenario)!

sorting mods.

332 subscribed mods, 271 (271 known, 0 unknown) enabled mods
lucky, no unknown mods detected!
Writing new ModsConfig.xml.
Writing done.

C:\Projects\Github\RWMS>python --version
Python 3.7.2
Fiddling with path locations is only needed if you use the DRM-free version because they have no installer, just a zip file to download wherever you feel like it to download. This is not possible to autodetect (except the scripts does a bruteforce file system scan over your entire computer and I'm 100% sure that nobody wants this).

Steam on Linux and OSX is another story, I need some information where to the default locations for RimWorld are except for the configuration itself, this is documented in the RimWorld wiki (and already integrated).





Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 14, 2019, 04:31:30 AM
I installed python 3.7.3, windows recognize the .py files als python files and exceute them with the python interpreter.
But the shell don't recognize the command python, i think missing path settings to the python for the shell enviroment.
So the batch datai don't work. But the shell recognize the .py file and start exceute the python interpreter.
D:\Games\RimWorld2150Win64\rwms-master>rwms_sort.py
Traceback (most recent call last):
  File "D:\Games\RimWorld2150Win64\rwms-master\rwms_sort.py", line 13, in <module>
    from bs4 import BeautifulSoup
ModuleNotFoundError: No module named 'bs4'

D:\Games\RimWorld2150Win64\rwms-master>
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 14, 2019, 01:35:33 PM
Quote from: Canute on April 14, 2019, 04:31:30 AM
D:\Games\RimWorld2150Win64\rwms-master>rwms_sort.py
Traceback (most recent call last):
  File "D:\Games\RimWorld2150Win64\rwms-master\rwms_sort.py", line 13, in <module>
    from bs4 import BeautifulSoup
ModuleNotFoundError: No module named 'bs4'
D:\Games\RimWorld2150Win64\rwms-master>


please enter the following in the CLI:

pip install bs4

After that, it should run. Don't forget to download the most  recent release 0.93 on https://github.com/shakeyourbunny/RWMS/releases/tag/0.93 . There is also a recent windows binary included if you wish to use it.


Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 14, 2019, 01:50:55 PM
I allready wrote, the windows executable works fine.

I just want test out the script.
Quote
please enter the following in the CLI:
Code: [Select]
pip install bs4
Don't work for windows shell , not at python one.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 14, 2019, 02:54:00 PM
Quote from: Canute on April 14, 2019, 01:50:55 PM
I allready wrote, the windows executable works fine.

I just want test out the script.
Quote
Don't work for windows shell , not at python one.

Please follow installation instructions as described on the RWMS homepage and for further help, I really need the output of the commands and what exactly you do, "don't work" is not very helpful.

I did get other feedback, but they all are positive and report no issues.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 14, 2019, 04:47:57 PM
Ok, i repaired/modify python.
Python got added to the enviroment now, and pip got installed too.
now "pip install bs4" worked.
You should add that at the Install instruction too. Together to run python installer as admin at the windows version.

After that all, the script works fine now.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rawrfisher on April 14, 2019, 10:15:30 PM
list of unknown mods:
- RIMMSqol
- [KV] Impassable Map Maker - 1.0
- [KV] Weapon Storage - 1.0
- 富商 Silver Rich Merchant
- [KV] Infinite Storage - 1.0
- Tiberium Rim
- Engraved Walls [1.0]
- Rimcolle Hair
- SZ_StonesAndTerrains
- Rimcolle Clothes
- Extended Storage Extended
- Save Our Ship (Reloaded)
- Orassans
- [1.0]ResourcePackCore
- Lesser mood debuffs
- RedistHeat
- Ra2Bunker[1.0]
- [CP] Rimmu-Nation - Clothing (All Craftable!) (1.0)
- [RH] Faction: Militaires Sans Frontieres (1.0)
- AnyPlant
- Expanded Rims
- Shaggy - God of Destruction
- Glowroot
- Gloomy Vanilla
- [Ods] SCP Early Access (READ DESC)
- Highway Restoration 1.0
- [sd] spaceship
- WeaponsOfChoice

Just gonna leave this here.  This is the list of mods I use that are not reconized by your sorter
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 15, 2019, 03:38:04 AM
Quote from: Canute on April 14, 2019, 04:47:57 PM
Ok, i repaired/modify python.
Python got added to the enviroment now, and pip got installed too.
now "pip install bs4" worked.
You should add that at the Install instruction too. Together to run python installer as admin at the windows version.
This is already included in the documentation ;)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 15, 2019, 03:59:53 AM
Too much to read for aDAU (https://de.wikipedia.org/wiki/D%C3%BCmmster_anzunehmender_User) or like you call it BDU ! :-)

But you allready made the executeable version for such people.

Another suggestion i got as i saw rawrfisher posting, when the script detect unkown mods, you should add "Please post the rwms_unknown_mods_.....json" to where ever you want".

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 15, 2019, 04:46:11 AM
Quote from: rawrfisher on April 14, 2019, 10:15:30 PM
list of unknown mods:
...
Just gonna leave this here.  This is the list of mods I use that are not reconized by your sorter
see https://github.com/shakeyourbunny/RWMSDB/issues/8

added 23 mods.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rawrfisher on April 15, 2019, 10:34:29 AM
Github link don't show the update.  Did I miss somthing?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 15, 2019, 10:56:12 AM
Hmm i see them at the Database.
https://github.com/shakeyourbunny/RWMSDB/blob/master/rwmsdb.json
Search for Glowroot, at example.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rawrfisher on April 15, 2019, 11:04:31 AM
Maybe the database just didnt update for me.

Edit: I just realized we might be talking about 2 different things.
I'm using the sorter cause I wanna sort my modlist and reload the save I was playing before I started using the sorter.  The github list does show them but they keep appearing as unknown on the sorter for me
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 15, 2019, 11:27:36 AM
Doh i thought the database got loaded direct from github, maybe this isn't the case.
Then you need to wait for a new version or maybe try
to download the file i linked and replace the rwms_database.json.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rawrfisher on April 15, 2019, 01:09:17 PM
Didnt work for me.  Also found that the mod down for me isnt reconized either
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 15, 2019, 01:19:46 PM
Version 0.93.1:
- no new features
- changed all references from gitlab to github (this also fixes https://github.com/shakeyourbunny/RWMS/issues/3)

Bonus: 2 new mods added, RWMS now knows about 1008 mods.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rawrfisher on April 15, 2019, 01:25:34 PM
list of unknown mods:
- 富商 Silver Rich Merchant


Just a quick reply
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 15, 2019, 02:18:26 PM
Quote from: rawrfisher on April 15, 2019, 01:25:34 PM
list of unknown mods:
- 富商 Silver Rich Merchant
Please include the generated rwms_unknown_xxxxxx.json.txt as an attachment, better open an issue on the RWMSDB tracker. I had to create the JSON for myself and it already included this mod. It seems that my text editor did not save the the non-roman letters correctly in UTF-8.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rawrfisher on April 15, 2019, 02:28:15 PM
Heres the log you mentioned

[attachment deleted due to age]
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 15, 2019, 04:41:16 PM
Can't you let the script upload the .json file straight to github ? Like hugslib create the logfiles ?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 16, 2019, 05:30:36 AM
For safely automatically uploading data from an application there has to be some sort of authentication for doing so. These authentication credentials have to be provided by the application itself and this is compromising the security and trustworthiness of the script itself, if I would either put it into the source or make it publicly available somewhere.

Hugslib (and some certain other project) try to mitigate this by creating a special Github user which only contain these logs. Note that at every moment anyone can take over these accounts if he or she just looks at the provided source for credentials.

I'm willing to implement such a feature, but there is a safer way by creating an issue on GitHub, but you will have to provide a valid Github API token in the rwms_config.ini for doing so. In addition, there will be a new dependenncy to install for the Python version of the script.

Canute, please open a feature request in my issue tracker on Github if you still want to have this feature.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 16, 2019, 05:58:23 AM
I don't realy need or want that feature.
I just though maybe it would keep some handwork away from you.
But you allways need to classify and sortin the reported mods manualy anyway.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rawrfisher on April 17, 2019, 05:10:20 PM
list of unknown mods:
- 富商 Silver Rich Merchant
- Time-Based Dangers
- Level This! (Version 1.3: Electric Configuloo)
- Secret Passage Doors

Dont worry about silver rich merchant.  Anyway This is the current list of mods that wernt reconized. 
Wasnt sure if I should post the TXT as well but here it is. 

[attachment deleted due to age]
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 18, 2019, 03:59:09 PM
Hi, added your mods (alongside a batch of other contributors); should all be included now.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rawrfisher on April 18, 2019, 06:18:37 PM
Thanks.  Give it a couple days and I'll probly end up finding some new mod lol

Edit:  I hate how if I joke about something it tends to turn out to happen <,<

list of unknown mods:
- Desynchronized (v1.4.6)
- Rimstro
- [RH] Faction: Task Force 141 (1.0)

[attachment deleted due to age]
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 20, 2019, 03:53:12 AM
current status: 1134 mods.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 21, 2019, 08:53:57 AM
fixes to the database:
- moved ModCheck to load it before Core.
- moved RimQuest above RimWriter to avoid clashes (is now gameplay, instead storyteller).

Thanks to the recent contributions to (in no particular order): czarneski77, Deathawaits4, KaosuReido, Jolc3r

database now knows about 1282 mods.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rawrfisher on April 23, 2019, 12:10:42 AM
Another trio of mods  8)

[attachment deleted due to age]
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 23, 2019, 08:08:59 AM
New release: 0.93.2:
- added a "contributors" command line argument to display contributors (they have at least to be 10 mods contributed, though)
- documentation fixes and touchups

new contributions to the DB pushes the DB to 1292 known mods.

@rawrfisher: thanks for your three new mods.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 25, 2019, 01:35:58 PM
New release: 0.94.0:

0.94.0 (2019-04-25):
new:
- automatic issue creation, if you put in your Github credentials in the configuration file.

changed:
- reworked output on the command line, now leaner, less scroll and (hopefully) more informative.
- updated documentation, especially the configuration file
- reworked changelog (you are reading this)

fixed:
- several fatal errors did not honor the waitforkeypress_on_error in the configuration file.

Note that I am aware that there is also a token / OAuth system available for the GitHub API, but I could
not get it to work with just having access to issues. If you have a workable solution (in Python 3), please
contact me.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: victaria on April 25, 2019, 09:29:25 PM
I am getting this error when i run the .bat file

ModuleNotFoundError: No module named 'request'
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: gojujoe on April 26, 2019, 12:08:29 AM
A few issues.

1.You link to the "Download (includes windows executable)" is broken 404 page not found.

2.After extracting the assets to a folder and running the .bat file I get
C:\Users\Joe\Desktop\RWMS>python rwms_sort.py
'python' is not recognized as an internal or external command,
operable program or batch file." in CMD prompt.

I am very new to Py and the instructions weren't organised to easily tell you where to start and exactly what step to move onto next. It just wasn't laid out simply enough for me. I hate to sound needy but is there any way you can so a simple 1.2.3.4.5 list instructions revision soon to make things a little less frustrating for the technically impaired or just plain mentally exhausted after a 10 hour work day? It would make using and recommending your tool so much more viable.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on April 26, 2019, 02:33:24 AM
gojujoe,
try to run the python setup again and repair/modify it.
Be sure you enable the envirmoment variables and the pip module to install other modules.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 26, 2019, 02:48:16 AM
Quote from: victaria on April 25, 2019, 09:29:25 PM
I am getting this error when i run the .bat file

ModuleNotFoundError: No module named 'request'
Sorry, but I could not reproduce the error, it just runs fine with the batch file; perhaps you try the Windows executable (see releases page)?

Quote from: gojujoe on April 26, 2019, 12:08:29 AM
A few issues.

1.You link to the "Download (includes windows executable)" is broken 404 page not found.
Where did you click on it? I checked on the page, there are no links anymore to it, please use the release page on https://www.github.com/shakeyourbunny/RWMS/releases instead.

Quote from: gojujoe on April 26, 2019, 12:08:29 AM
I am very new to Py and the instructions weren't organised to easily tell you where to start and exactly what step to move onto next. It just wasn't laid out simply enough for me. I hate to sound needy but is there any way you can so a simple 1.2.3.4.5 list instructions revision soon to make things a little less frustrating for the technically impaired or just plain mentally exhausted after a 10 hour work day? It would make using and recommending your tool so much more viable.
If you go to https://github.com/shakeyourbunny/RWMS there is a step by step installation guide for Python on Windows about halfway down the page. You also may use the binary executable (it's just a packed python plus the script into one standalone exe) on the releases page (https://github.com/shakeyourbunny/RWMS/releases).

Most people had problems with the autodetection of game paths, but they did always something out of ordinary. If the autodetection fails, you can modify the configuration file (rwms_config.ini) to force the script into the paths you want. Explanation is provided as a comment in the configuration file itself and in the documentation.

I know that a standard graphic user interface would be a boon, but I'm not proficient enough in Python to do a proper one which also works cross platform without maintaining several codebases (ie not only on Windows, but also on Linux and macOS). This user interface may come someday, but don't wait for it.

Have fun using it, I use this script every so often, because I always had a bunch of annoying red errors every time I boot up RimWorld. With this script they are gone.

The only bug I know of is that MapReroll loads, but if you want the symbol on the top right corner, you will have to do a save and reload. After this, it will show up.


Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Xaviien on April 30, 2019, 11:40:56 AM
Quote from: shakeyourbunny on April 26, 2019, 02:48:16 AM
Quote from: gojujoe on April 26, 2019, 12:08:29 AM
A few issues.

1.You link to the "Download (includes windows executable)" is broken 404 page not found.
Where did you click on it? I checked on the page, there are no links anymore to it, please use the release page on https://www.github.com/shakeyourbunny/RWMS/releases instead.
The Download link (highlighted below) points to https://www.github.com/releases instead of https://github.com/shakeyourbunny/RWMS/releases (https://github.com/shakeyourbunny/RWMS/releases)

(https://i.imgur.com/qlIvci9.png)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on April 30, 2019, 02:23:44 PM
oops, that is an oversight. fixed the link to the correct location ( https://www.github.com/shakeyourbunny/RWMS/releases ).

Thank you!
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 04, 2019, 06:14:25 AM
0.94.1:

new:
- asks if script may open a new browser window to RWMSDB issues tracker if unknown mods are detected.
- table of contents in documentation.
- added documentation about contents of the unknown data file which is generated for submission.

modified:
- reworked data format for unknown mods file, now has versioning, some meta information about installation
  and Steam Workshop links to mods if steam support is not disabled. Reason for including this meta information
  is relieving me from the guesswork of the installation I'm already doing if I have to pinpoint bugs.
- reworked script output wording and flow a bit.
- automatically sanitize contributor name, if an email address is provided. I already did this manually in the
  unknown mod submissions.

Concerning the inclusion of the operating system metadata in the unknown mods file:
This will only include the output of the Python "sys.platform" call, which will produce "darwin", "win32" or "linux".
Please refer to the documentation page https://docs.python.org/3.7/library/sys.html#sys.platform for more details.
If I need more platform-specific details, I will ask directly in the issue / forum.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Kladdey on May 04, 2019, 06:54:47 AM
Huh, that's strange - It seems to create the issue automatically, but it doesn't show up on issue tracker.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 04, 2019, 07:28:23 AM
Quote from: Kladdey on May 04, 2019, 06:54:47 AM
Huh, that's strange - It seems to create the issue automatically, but it doesn't show up on issue tracker.
It does work, but wait a moment until Github has processed the issue creation; you have three issues there now :)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 04, 2019, 07:28:50 AM
0.94.2:
- changed unknown data file format slightly for easier processing
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Kladdey on May 04, 2019, 07:31:53 AM
Oh damn, sorry about that.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 08, 2019, 03:56:19 PM
new release 0.94.3:

new:
- new configuration option "dontremoveunknown": do not remove unknown mods (and stick them at the bottom of the list)
- new command line parser, try --help
- new command line option "--disable-steam", overrides same configuration file setting
- new command line option "--dont-remove-unknown-mods", overrides same configuration file setting
- new command line option "--reset-to-core", resets ModsConfig.xml to Core only (idea taken from Mehni's tool)
- documentation added

changed:
- "contributors" command line option changed to "--contributors" (new parser)
- small delays removed

fixed:
- configuration directive "openbrowser_on_update" works now
- minor XML fix, empty li-element removed in ModsConfig.xml
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: sayheyjay on May 09, 2019, 01:45:06 PM
I cannot get this to work on MacOS with the DRM free version. I have the latest Python installed, but if I try to run the script it throws numerous "invalid syntax" errors if I run it from Phython. If I run from Terminal it gives different errors.

What am I missing?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 10, 2019, 12:04:20 AM
Can you please open a ticket on https://www.github.com/shakeyourbunny/RWMS/issues and paste the full terminal output there in a new ticket (or paste it here) that I can analyze the output?

Did you install the bs4 module with pip ? (pip install bs4)?

Thank you!
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 10, 2019, 12:58:19 PM
Update to 0.94.4:

new:
- new command line option "--dump-configuration", dumps the current configuration RWMS has itself configured, same as "python rimworld_configuration.py"
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: sayheyjay on May 10, 2019, 06:14:07 PM
Quote from: shakeyourbunny on May 10, 2019, 12:04:20 AM
Can you please open a ticket on https://www.github.com/shakeyourbunny/RWMS/issues and paste the full terminal output there in a new ticket (or paste it here) that I can analyze the output?

Did you install the bs4 module with pip ? (pip install bs4)?

Thank you!
I never did figure it out, so I just ran the Win .exe in Parallels. That worked great.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: VoidRose on May 10, 2019, 06:54:05 PM
I'm new to this coding and gotten my self lost when trying to use this.
How do i use this on Mac?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on May 11, 2019, 04:27:59 AM
VoidRose,
i would suggest you do it like sayheyjay and use the windows executable if you got the option to do this on your mac.
Other you need to follow the instruction from the first posting.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: VoidRose on May 12, 2019, 12:28:48 AM
Very will and i try it with wine.. did not worked. Going to do it with my window computer and it keep skipping my mods. Using the .EX file
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 12, 2019, 03:53:19 AM
You just have to install Python 3.7 from python.org: https://www.python.org/downloads/mac-osx/, then download the Python source and follow the provided instructions in the README (use the Terminal for this).

You may also have to configure the paths.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Enervated on May 12, 2019, 04:14:14 PM
Would you be interested into making this with a proper UI in .NET?
Something like this(with a better look): https://i.imgur.com/MF9lTxc.png

Ideally this would include customization rules from a context menu or something of the sort, with a global database of pre-set rules like this has, stored in JSON or something lighter like TOML. It would work something like the LOOT tool for the bethesda games (https://loot.github.io/). It certainly wouldn't be as polished or feature-heavy, especially since load order in rimworld isn't as important as it is in bethesda games, but it would still fill the role.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: VoidRose on May 12, 2019, 08:07:13 PM
Quote from: shakeyourbunny on May 12, 2019, 03:53:19 AM
You just have to install Python 3.7 from python.org: https://www.python.org/downloads/mac-osx/, then download the Python source and follow the provided instructions in the README (use the Terminal for this).

You may also have to configure the paths.
Will done what you said and i think i set up the configure paths with the new pyhton up to date. I'm sorry if i'm being a hand full as i lack the experience to do this as will having a hard time following the instructions.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: sayheyjay on May 12, 2019, 11:53:02 PM
Quote from: shakeyourbunny on May 12, 2019, 03:53:19 AM
You just have to install Python 3.7 from python.org: https://www.python.org/downloads/mac-osx/, then download the Python source and follow the provided instructions in the README (use the Terminal for this).

You may also have to configure the paths.
That's not all you need to do. Macs have python installed already, but it's the older 2.7. Installing the required 3.7 and them typing python in terminal won't work. You need to type "python3" and then your commands. You also need to install pip and bs4.
After installing python 3.7, open terminal and type
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
then
python3 get-pip.py
then
python3 -m pip install beautifulsoup4
After that you are ready to try the mod, but I still had errors and it wouldn't work. The windows .exe worked fine.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: VoidRose on May 13, 2019, 01:11:46 AM
Quote from: sayheyjay on May 12, 2019, 11:53:02 PM
Quote from: shakeyourbunny on May 12, 2019, 03:53:19 AM
You just have to install Python 3.7 from python.org: https://www.python.org/downloads/mac-osx/, then download the Python source and follow the provided instructions in the README (use the Terminal for this).

You may also have to configure the paths.
That's not all you need to do. Macs have python installed already, but it's the older 2.7. Installing the required 3.7 and them typing python in terminal won't work. You need to type "python3" and then your commands. You also need to install pip and bs4.
After installing python 3.7, open terminal and type
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
then
python3 get-pip.py
then
python3 -m pip install beautifulsoup4
After that you are ready to try the mod, but I still had errors and it wouldn't work. The windows .exe worked fine.
Thank you this is what i needed and yes i just got some errors too ^^U now i got to know why it happens. Can't get to use .exe on my mac since i dont have boot camp and wine wont work with it.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on May 13, 2019, 02:14:22 AM
sayheyjay,
could you maybe work together with shakeyourbunny and create a mac executeable ?
I am not a mac user, but i think many mac user would be happy since the terminal command maybe scare some standard user.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 13, 2019, 03:43:45 AM
I have access to a macOS computer to do a binary, but not on a regularily basis and currently, I'm bargaining with the owner to lend me his machine for testing purposes.

In other news, brace yourself for 1.0 release in about a week.

Among other things, the new database will not be compatible with earlier releases due a massive internal restructuring and preparation for new shiny features. Good News, this new database release will include all ~ 3000 mods (1.0 release) from the Steam Workshop. All current contributors will retain their contribution credit and every user is encouraged to submit future new unknown mods.

And no, there is support for non-workshop mods (for example that mod that may not be named *cough*) and very welcome, as well as support for all platforms and variations of the RimWorld install.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Flavio11113 on May 13, 2019, 11:25:18 AM
Quote
G:\RimWorld\RWMS-master>python rwms_sort.py
** RWMS 0.94.4 by shakeyourbunny ***************************************************************************************
bugs: https://github.com/shakeyourbunny/RWMS/issues
database updates: visit https://github.com/shakeyourbunny/RWMSDB/issues

loading database.

Database (v4, date: Sun May 12 11:00:23 2019) successfully loaded.
1890 known mods, 60 contributors.
Top contributors: shakeyourbunny (694), Black Goat (159), czarneski77 (120), Nightliss (63), Dessometrics (57),

Loading and parsing ModsConfig.xml
Loading mod data.
could not find metadata for item HaulToStack-master (skipping, is probably a scenario)!
Sorting mods.

155 subscribed mods, 1 (2 known, 6 unknown) enabled mods
Traceback (most recent call last):
  File "rwms_sort.py", line 260, in <module>
    rimworld_version = xml.find('version').text
AttributeError: 'NoneType' object has no attribute 'text'

G:\RimWorld\RWMS-master>pause
Drücken Sie eine beliebige Taste . . .

Had a hard time to manually path Python37, manually install pip, bs4 and module.

Now this Message finally came up. I have no solution to this:
Quote
AttributeError: 'NoneType' object has no attribute 'text'
pls help :'(
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 13, 2019, 03:59:34 PM
Can you provide your ModsConfig.xml as it is now?

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: sayheyjay on May 13, 2019, 11:18:51 PM
Quote from: VoidRose on May 13, 2019, 01:11:46 AM
Quote from: sayheyjay on May 12, 2019, 11:53:02 PM
Quote from: shakeyourbunny on May 12, 2019, 03:53:19 AM
You just have to install Python 3.7 from python.org: https://www.python.org/downloads/mac-osx/, then download the Python source and follow the provided instructions in the README (use the Terminal for this).

You may also have to configure the paths.
That's not all you need to do. Macs have python installed already, but it's the older 2.7. Installing the required 3.7 and them typing python in terminal won't work. You need to type "python3" and then your commands. You also need to install pip and bs4.
After installing python 3.7, open terminal and type
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
then
python3 get-pip.py
then
python3 -m pip install beautifulsoup4
After that you are ready to try the mod, but I still had errors and it wouldn't work. The windows .exe worked fine.
Thank you this is what i needed and yes i just got some errors too ^^U now i got to know why it happens. Can't get to use .exe on my mac since i dont have boot camp and wine wont work with it.
What errors are you getting? Are you setting up the config file as mentioned in the readme? I'm surprised Wine won't work; I don't think I've see it balk at anything. Again you need to set the config file up for the .exe to work.

My errors with the Mac version were related to not being able to contact github. Not sure why, but it failed to connect to the required paths. I could ping other sites, but the github links in the script timed out and couldn't be pinged in terminal. Again, no problems with that using the windows .exe.

EDIT: Wait, I'm confusing Wine with Wineskin. Have you tried making a Wineskin with the .exe?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: sayheyjay on May 13, 2019, 11:19:54 PM
Quote from: Canute on May 13, 2019, 02:14:22 AM
sayheyjay,
could you maybe work together with shakeyourbunny and create a mac executeable ?
I am not a mac user, but i think many mac user would be happy since the terminal command maybe scare some standard user.
Unfortunately I have no programming skills. I have no problem troubleshooting and running scripts to assist, though.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 14, 2019, 02:47:46 AM
Quote from: sayheyjay on May 13, 2019, 11:18:51 PM
EDIT: Wait, I'm confusing Wine with Wineskin. Have you tried making a Wineskin with the .exe?
I'll generate a native OSX binary for the terminal when I have some spare time in the work (and my colleague lets me do it).
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Flavio11113 on May 14, 2019, 02:09:02 PM
Quote from: shakeyourbunny on May 13, 2019, 03:59:34 PM
Can you provide your ModsConfig.xml as it is now?

<?xml version="1.0" encoding="utf-8"?>
<ModsConfigData>
  <buildNumber>2059</buildNumber>
  <activeMods>
    <li>Core</li>
    <li>HugsLib</li>
    <li>Miscellaneous_Core</li>
    <li>GiddyUpCore-1.1.4</li>
    <li>JecsTools-1.1.0.15</li>
    <li>PrepareLanding</li>
    <li>ExpandedProsthetics&amp;OrganEngineering</li>
    <li>AlienRaces-1.0_v1</li>
    <li>A_Dog_Said_1.0</li>
    <li>Rimsenal</li>
    <li>Rimsenal - Security pack</li>
    <li>Rimsenal - Federation</li>
    <li>Rimsenal - Feral</li>
    <li>Zabrak Race</li>
    <li>Twilek Race</li>
    <li>TwilekEPOE-master</li>
    <li>EdBPrepareCarefully</li>
    <li>Miscellaneous_Robots</li>
    <li>Miscellaneous_BeeAndHoney</li>
    <li>Miscellaneous_TrainingFacility</li>
    <li>Miscellaneous_Incidents</li>
    <li>Misc Robots++</li>
    <li>HaulToStack</li>
    <li>Increased Stack</li>
    <li>AreaUnlocker</li>
    <li>Androids</li>
    <li>Rim-of-Madness---Vampires-1.20.0.1</li>
    <li>Rim of Madness - Werewolves</li>
    <li>Call of Cthulhu – Arachnophobia</li>
    <li>Call of Cthulhu - Straitjackets</li>
    <li>Industrial Age - Objects and Furniture</li>
    <li>Call-of-Cthulhu---Elder-Things-1.21.0.0</li>
    <li>Call-of-Cthulhu---Factions-1.20.0.2</li>
    <li>Call-of-Cthulhu---Cults-1.20.0.4</li>
    <li>RimWriter-master</li>
    <li>Call-of-Cthulhu---Cosmic-Horrors-1.20.0.1</li>
    <li>HP Lovecraft Storyteller</li>
    <li>GeneticRim-4.5</li>
    <li>GeneticRimCosmicHorrorsPatch-3.02</li>
    <li>VariablePopulation</li>
    <li>PRF_Core</li>
    <li>Death Rattle</li>
    <li>Rimworld_IndustrialRoller</li>
    <li>Miniaturisation-1.0.0</li>
    <li>Vegetable Garden</li>
    <li>VGP_Trees_Flowers</li>
    <li>VGP_More Veggies</li>
    <li>VGP_Soylent Production</li>
    <li>VGP_Tools</li>
    <li>VGP_Resources</li>
    <li>VGP_Medicine</li>
    <li>VGP_Fabric</li>
    <li>VGP_Garden_Drinks</li>
    <li>VGP_Garden_Gourmet</li>
    <li>VGP_Canning</li>
    <li>VGP_Garden_Drinks_Bulk</li>
    <li>VGP CoffeeTeaDrugs</li>
    <li>VGP_Garden_Dyes</li>
    <li>Psychology</li>
    <li>QualityBuilder</li>
    <li>QualitySurgeon</li>
    <li>Color Coded Mood Bar</li>
    <li>RelationsTab</li>
    <li>AnimalTab</li>
    <li>WorkTab</li>
    <li>MedicalTab</li>
    <li>RimFridge</li>
    <li>AdjustableTradeShips</li>
    <li>Complex Jobs</li>
    <li>PathAvoid</li>
    <li>MoreTraitSlots</li>
    <li>OmniCoreDrill</li>
    <li>Bulk-Components</li>
    <li>NeurotrainerCrafting</li>
    <li>rimworld-consolidatedtraits-master</li>
    <li>HighTechLaboratoryFacilities-master</li>
    <li>sd_adv_powergen-1-1.0.2</li>
    <li>rim-LinkableDoors-master</li>
    <li>Nature is Pretty Sweet</li>
    <li>Embrasures</li>
    <li>Storage-Solutions-master</li>
    <li>RF - Advanced Bridges</li>
    <li>RF - Fishing</li>
    <li>ImprovedWorkbenches</li>
    <li>More Vanilla Turrets</li>
    <li>DamageIndicators-master</li>
    <li>Therapy</li>
    <li>Turret Collection</li>
    <li>DeadMansClothing</li>
    <li>CentralizedClimateControl</li>
    <li>GlitterTech</li>
    <li>Star Wars Factions</li>
    <li>Realistic Darkness</li>
    <li>Blueprints</li>
    <li>Realistic Rooms</li>
    <li>Fences And Floors</li>
    <li>HMTBLite</li>
    <li>ColonyManager</li>
    <li>DefensivePositions</li>
    <li>FashionRIMsta_1.0</li>
    <li>Hospitality-1.0.16</li>
    <li>T-MoreFloors</li>
    <li>Miscellaneous_MAI</li>
    <li>ExtendedInspectData-1.2.2.4</li>
    <li>TradingSpot</li>
    <li>T-MoreBedsVanilla</li>
    <li>No-Death-Cooties-On-Armour-master</li>
    <li>Additional Joy Objects</li>
    <li>1589401542 Fire Extinguisher</li>
    <li>Rimworld-Shields</li>
    <li>RT_Fuse-1.0-1.2.1</li>
    <li>QC_Quantum_Cooling</li>
    <li>Temperature Control</li>
    <li>Veinminer-R1.0-master</li>
    <li>Ceiling Light</li>
    <li>Floor Lights</li>
    <li>ElectricFence</li>
    <li>Tables+ (1.0) 1.6.1</li>
    <li>More Linkables</li>
    <li>Hunt For Me</li>
    <li>ExpandedRoofing-master</li>
    <li>More Furniture</li>
    <li>RIMkea_1.0</li>
    <li>Snap Out</li>
    <li>AllowTool</li>
    <li>MineItAll</li>
    <li>NamesGalore-master</li>
    <li>AnimalsLogic</li>
    <li>RimWorld-MendAndRecycle-master</li>
    <li>FeedTheColonists-1.0.3</li>
    <li>MarvsUghYouGotMe</li>
    <li>AvoidFriendlyFire</li>
    <li>RT_SolarFlareShield-1.0-1.3.1</li>
    <li>RT_PowerSwitch-1.0-1.0.13</li>
    <li>Rimkit-1.4.763</li>
    <li>Dubs-Mint-Minimap-1.1.71</li>
    <li>Dubs-Mint-Menus-1.0.219</li>
    <li>Dubs-Bad-Hygiene-2.5.733</li>
    <li>BiggerFuses</li>
    <li>BiggerBatteries</li>
    <li>Training Rack</li>
    <li>TilledSoil</li>
    <li>WhatTheHack-1.2.6</li>
    <li>TickMultiThread</li>
    <li>RF - Rim Disorders</li>
    <li>RF - Pawns are Capable!</li>
    <li>Job Splitter</li>
    <li>Hardworking animals</li>
    <li>No more sleeping Zs</li>
    <li>Pharmacist</li>
    <li>PrisonLabor</li>
    <li>Locks</li>
    <li>Dubs-Paint-Shop-1.0.66</li>
    <li>GiddyUpCaravan-1.1.1</li>
    <li>GiddyUpMechanoids-1.1.1</li>
    <li>GiddyUpRideAndRoll-1.1.1</li>
    <li>battlemounts-1.1.2</li>
    <li>Children</li>
    <li>Rimefeller-1.2.428</li>
    <li>RotTickFix</li>
    <li>RuntimeGC</li>
    <li>Smoked-Meat</li>
    <li>Rimatomics-1.6.801</li>
    <li>MoreVanillaTurretsTEPatch</li>
    <li>NonDecayingStorage</li>
    <li>MiningCo. MiningHelmet</li>
    <li>MiningCo. AlertSpeaker</li>
    <li>IdleFix</li>
    <li>GouRIMet_1.0</li>
    <li>T-MoreBedsCloth</li>
    <li>LongRangePodLauncher</li>
    <li>Star Wars Animal Collection</li>
    <li>Faction Discovery</li>
    <li>Miscellaneous_TurretBase</li>
    <li>RepairBench</li>
    <li>FollowMe-master</li>
    <li>Mannable Turrents</li>
  </activeMods>
</ModsConfigData>
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Flavio11113 on May 14, 2019, 02:14:21 PM
I just enabled those mods yesterday if you are wondering.

New Log is:

G:\RimWorld\RWMS-master>python rwms_sort.py
** RWMS 0.94.4 by shakeyourbunny ***************************************************************************************
bugs: https://github.com/shakeyourbunny/RWMS/issues
database updates: visit https://github.com/shakeyourbunny/RWMSDB/issues

loading database.

Database (v4, date: Sun May 12 11:00:23 2019) successfully loaded.
1890 known mods, 60 contributors.
Top contributors: shakeyourbunny (694), Black Goat (159), czarneski77 (120), Nightliss (63), Dessometrics (57),

Loading and parsing ModsConfig.xml
Loading mod data.
could not find metadata for item RimworldStackXXL-master (skipping, is probably a scenario)!
Sorting mods.

172 subscribed mods, 177 (166 known, 19 unknown) enabled mods
Traceback (most recent call last):
  File "rwms_sort.py", line 260, in <module>
    rimworld_version = xml.find('version').text
AttributeError: 'NoneType' object has no attribute 'text'

G:\RimWorld\RWMS-master>pause
Drücken Sie eine beliebige Taste . . .
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 14, 2019, 03:04:31 PM
Quote from: Flavio11113 on May 14, 2019, 02:14:21 PM
Loading mod data.
could not find metadata for item RimworldStackXXL-master (skipping, is probably a scenario)!
This is because its mod directory is missing its About.xml file.

Quote from: Flavio11113 on May 14, 2019, 02:09:02 PM
Quote from: shakeyourbunny on May 13, 2019, 03:59:34 PM
Can you provide your ModsConfig.xml as it is now?

<?xml version="1.0" encoding="utf-8"?>
<ModsConfigData>
  <buildNumber>2059</buildNumber>
The culprit is here, RWMS is looking for the <version> node, not a <buildNumber>. Guess you are playing an older version of RimWorld.

Will be investigating.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 14, 2019, 03:16:08 PM
new release:
- small bugfix release 0.94.5 (for older versions of RimWorld)

Version of RimWorld should be detected now correctly.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 15, 2019, 04:39:41 PM
Added some documentation and support for Python users for easier installation of required Python modules.

Run 'install_requirements' (.sh for Linux/OSX, .cmd for Windows) to install missing Python modules after the installation of Python. Also added some instructions in the documentation for OSX users.

Note that this is just in the development, you have to clone the repo directly.

You will also have to review your rwms_config.ini, there are some structural changes there. The new "disabletweaks" setting currently does nothing, this is just a stub (for now).



Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Flavio11113 on May 16, 2019, 02:36:57 PM
Downloaded the new bugfix release and everything worked  great. Thanks!
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: tiedforfirst on May 16, 2019, 03:14:33 PM
hey shake last night i accidentally closed my duplicate submission on github (issue #110) at roughly the same time you closed the original (#106). that is my bad. i could have waited to see what you would do. also i wanted to let you know there is a mod that is no longer available in the original (issue #106) which is  "All the Doormats" .
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 16, 2019, 04:52:06 PM
Quote from: tiedforfirst on May 16, 2019, 03:14:33 PM
hey shake last night i accidentally closed my duplicate submission on github (issue #110) at roughly the same time you closed the original (#106). that is my bad. i could have waited to see what you would do. also i wanted to let you know there is a mod that is no longer available in the original (issue #106) which is  "All the Doormats" .
Just resubmit your submission or reopen the ticket please ;)

I'll look into it as soon as I have the time for.

Currently, I'm ironing out some problems on OSX :D
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 18, 2019, 05:44:24 PM
release 0.94.6:
new:
- added requirement.txt and install-requirements script for easier installation needed modules.

fixed:
- fixes for Steam autodetection on Windows.
- added proper Steam detection for Linux and OSX (thanks jpc0)
- more flexible start for rwms_sort.sh (thanks jpc0)

changed:
- internal structure, refactoring for easier source code management.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on May 19, 2019, 03:59:38 AM
Quotenew:
- added requirement.txt and install-requirements script for easier installation needed modules.
Sorry the requirement.txt don't made it into the archive file, just present at the master.
And you should maybe add --user at the install_requirements.cmd
bs4 didn't got installed at my side, maybe/because i didn't installed python at the default location.
with --user, it worked.

After start the rwms_sort.bat
QuoteTraceback (most recent call last):
  File "rwms_sort.py", line 18, in <module>
    import RWMS.configuration
ModuleNotFoundError: No module named 'RWMS'

The windows executable works fine. :-)


Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 19, 2019, 05:52:12 AM
I removed the extra source zip file, Github does this anyway automatically.

Regarding the install_requirements script: in the next version you will be able to add your own custom parameters to the pip call; its already in my local source tree, but this warrants no commit or release update.

Just add "%1 %2 %3 %4 %5 %6 %7 %8 %9" (.cmd) or "$*" (.sh) without the quotes to the line with "pip".
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on May 19, 2019, 09:00:49 AM
Since you provide executable for Windows and maybe Mac all the time, you should point potential user at these first.
So they don't need to install python which they don't need beside the your modsorting.

With the source, even the script works fine. :-)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: tiedforfirst on May 22, 2019, 06:13:22 PM
thanks shakeyourbunny. rwms is the greatest thing since sliced packaged survival meals.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Jake on May 25, 2019, 10:06:58 PM
Quote from: tiedforfirst on May 22, 2019, 06:13:22 PMthanks shakeyourbunny. rwms is the greatest thing since sliced packaged survival meals.
What they said. I've been battling mod load-order issues for a week since I finally upgraded to 1.0 and this has been a godsend.

One quick question for other users before I edit the wiki: Has anyone else had a problem getting the script to work using "/home/your user name/.config/unity3d/Ludeon Studios/RimWorld/prefs" as the location for ModConfig.xml? After a bit of hunting around I eventually found it in "/home/my user name/.config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/Config".
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on May 26, 2019, 03:13:45 AM
At last ".../Ludeon Studios/RimWorld by Ludeon Studios" is the default savedatafolder.
Inside you find Config, Saves,....
And Config folder is where you find all the rimworld config files like Modconfig.xml or prefs.xml.

I know for older rimworld releases they got different names. And we all know the Rimworld wiki isn't very uptodate.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on May 26, 2019, 08:29:56 AM
Thank you for your feedback!

The most recent version of the script should have this issue fixed, see https://github.com/shakeyourbunny/RWMS/commit/37ce285ae96e3e6a641a9443a9b4727060245228#diff-5540fb734a6544a46c4227445c322c33R131


https://github.com/shakeyourbunny/RWMS/archive/master.zip

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: BlackViperMWG on June 03, 2019, 06:17:25 PM
Hi, your mod/script/program is amazing! One question though, if I picked not to write in ModConfig (because I had no idea if I should), does that mean my mod order was not updated by your thing or not? What purpose does the "write into ModConfig" serve?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: tiedforfirst on June 03, 2019, 06:57:10 PM
You should always let it write to your modconfig! It is what the program is for and will not do anything to your load order if you slam the n key. If you are scared create a copy of your old modconfig and put that somewhere you will remember. The purpose of modconfig is to store the order of your mods in a list.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on June 04, 2019, 02:55:41 AM
Quote from: BlackViperMWG on June 03, 2019, 06:17:25 PM
Hi, your mod/script/program is amazing! One question though, if I picked not to write in ModConfig (because I had no idea if I should), does that mean my mod order was not updated by your thing or not? What purpose does the "write into ModConfig" serve?
You need to let it write, if you want the changes anyway. Regardless, if you decide to want your configuration backup prior writing, RWMS always makes a backup file with a date stamp.

BTW: it is more nice to the user if an application asks to do something if the consequences are not really clear (and have a possibility to shut the program up if desired).

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: VoidRose on June 10, 2019, 10:58:01 PM
Can the ModConfig be removed if needed to be?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on June 11, 2019, 02:50:32 AM
The ModConfig.xml is the file Rimworld store it modlist.
If you delete that file, Rimworld just would create the default modlist at the next start.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on June 11, 2019, 06:49:33 AM
Quote from: VoidRose on June 10, 2019, 10:58:01 PM
Can the ModConfig be removed if needed to be?

If you want to reset the ModsConfig.xml, either delete it (will be autocreated by the game itself) or you can reset it with the following command:


rwms_sort.py --reset-to-core


The current developer version on Github may also does this, but can leave Fluffy's Mod Manager active, if you wish and have the Steam version of the game installed (and subscribed to this mod).


rwms_sort.py --reset-to-core-mm

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: JesusKreist on June 19, 2019, 02:57:34 PM
A few things I found.

The automatic search of the steam install does not work. Not fully at least.
I got rimworld in a different folder than steam itself, the sorter just complains that it could not find the workshop folder for rimworld.
It finds the main steam folder but not the rimworld installation.

Some mods don't even get recognized
Loading and parsing ModsConfig.xml
Loading mod data.
could not find metadata for item 1126324755 (skipping, is probably a scenario)!
could not find metadata for item 1537825382 (skipping, is probably a scenario)!
could not find metadata for item 672718060 (skipping, is probably a scenario)!
could not find metadata for item 672718149 (skipping, is probably a scenario)!
could not find metadata for item 705924057 (skipping, is probably a scenario)!
could not find metadata for item 708455313 (skipping, is probably a scenario)!
could not find metadata for item 715759739 (skipping, is probably a scenario)!
could not find metadata for item 717632155 (skipping, is probably a scenario)!
could not find metadata for item 724766205 (skipping, is probably a scenario)!
could not find metadata for item 725130005 (skipping, is probably a scenario)!
could not find metadata for item 725576127 (skipping, is probably a scenario)!
could not find metadata for item 725623521 (skipping, is probably a scenario)!
could not find metadata for item 725947920 (skipping, is probably a scenario)!
could not find metadata for item 725949967 (skipping, is probably a scenario)!
could not find metadata for item 726096646 (skipping, is probably a scenario)!
could not find metadata for item 726372052 (skipping, is probably a scenario)!
could not find metadata for item 726384389 (skipping, is probably a scenario)!
could not find metadata for item 726479594 (skipping, is probably a scenario)!
could not find metadata for item 727309536 (skipping, is probably a scenario)!
could not find metadata for item 728160701 (skipping, is probably a scenario)!
could not find metadata for item 728302587 (skipping, is probably a scenario)!
could not find metadata for item 728302896 (skipping, is probably a scenario)!
could not find metadata for item 728310963 (skipping, is probably a scenario)!
could not find metadata for item 728314859 (skipping, is probably a scenario)!
could not find metadata for item 728315620 (skipping, is probably a scenario)!
could not find metadata for item 728318507 (skipping, is probably a scenario)!
could not find metadata for item 730384702 (skipping, is probably a scenario)!
could not find metadata for item 730528968 (skipping, is probably a scenario)!
could not find metadata for item 730817198 (skipping, is probably a scenario)!
could not find metadata for item 730899625 (skipping, is probably a scenario)!
could not find metadata for item 731693333 (skipping, is probably a scenario)!
could not find metadata for item 731730828 (skipping, is probably a scenario)!
could not find metadata for item 731735894 (skipping, is probably a scenario)!
could not find metadata for item 732430955 (skipping, is probably a scenario)!
could not find metadata for item 732515888 (skipping, is probably a scenario)!
could not find metadata for item 732754899 (skipping, is probably a scenario)!
could not find metadata for item 733113011 (skipping, is probably a scenario)!
could not find metadata for item 733997423 (skipping, is probably a scenario)!
could not find metadata for item 734224899 (skipping, is probably a scenario)!
could not find metadata for item 735047411 (skipping, is probably a scenario)!
could not find metadata for item 735147874 (skipping, is probably a scenario)!
could not find metadata for item 736139206 (skipping, is probably a scenario)!
could not find metadata for item 736172213 (skipping, is probably a scenario)!
could not find metadata for item 736207111 (skipping, is probably a scenario)!
could not find metadata for item 739089840 (skipping, is probably a scenario)!
could not find metadata for item 740930354 (skipping, is probably a scenario)!
could not find metadata for item 745193823 (skipping, is probably a scenario)!
could not find metadata for item 746631165 (skipping, is probably a scenario)!
could not find metadata for item 747313773 (skipping, is probably a scenario)!
could not find metadata for item 748619608 (skipping, is probably a scenario)!
could not find metadata for item 750111404 (skipping, is probably a scenario)!
could not find metadata for item 751295960 (skipping, is probably a scenario)!
could not find metadata for item 753947874 (skipping, is probably a scenario)!
could not find metadata for item 754637870 (skipping, is probably a scenario)!
could not find metadata for item 754773948 (skipping, is probably a scenario)!
could not find metadata for item 755227567 (skipping, is probably a scenario)!
could not find metadata for item 755733069 (skipping, is probably a scenario)!
could not find metadata for item 756216922 (skipping, is probably a scenario)!
could not find metadata for item 758810805 (skipping, is probably a scenario)!
could not find metadata for item 760088748 (skipping, is probably a scenario)!
could not find metadata for item 760708576 (skipping, is probably a scenario)!
could not find metadata for item 761219125 (skipping, is probably a scenario)!
could not find metadata for item 761315214 (skipping, is probably a scenario)!
could not find metadata for item 763575600 (skipping, is probably a scenario)!
could not find metadata for item 765751403 (skipping, is probably a scenario)!
could not find metadata for item 766959460 (skipping, is probably a scenario)!
could not find metadata for item 774849061 (skipping, is probably a scenario)!
could not find metadata for item 774989162 (skipping, is probably a scenario)!
could not find metadata for item 776679895 (skipping, is probably a scenario)!
could not find metadata for item 779592154 (skipping, is probably a scenario)!
could not find metadata for item 780996548 (skipping, is probably a scenario)!
could not find metadata for item 781383672 (skipping, is probably a scenario)!
could not find metadata for item 784370602 (skipping, is probably a scenario)!
could not find metadata for item 785754949 (skipping, is probably a scenario)!
could not find metadata for item 789311421 (skipping, is probably a scenario)!
could not find metadata for item 796303006 (skipping, is probably a scenario)!
could not find metadata for item 796643425 (skipping, is probably a scenario)!
could not find metadata for item 796643583 (skipping, is probably a scenario)!
could not find metadata for item 799834506 (skipping, is probably a scenario)!
could not find metadata for item 802218392 (skipping, is probably a scenario)!
could not find metadata for item 806662500 (skipping, is probably a scenario)!
could not find metadata for item 810339752 (skipping, is probably a scenario)!
could not find metadata for item 817231829 (skipping, is probably a scenario)!
could not find metadata for item 817996020 (skipping, is probably a scenario)!
could not find metadata for item 818322128 (skipping, is probably a scenario)!
could not find metadata for item 820841728 (skipping, is probably a scenario)!
could not find metadata for item 822107128 (skipping, is probably a scenario)!
could not find metadata for item 822180758 (skipping, is probably a scenario)!
could not find metadata for item 822205827 (skipping, is probably a scenario)!
could not find metadata for item 822470192 (skipping, is probably a scenario)!
could not find metadata for item 823126273 (skipping, is probably a scenario)!
could not find metadata for item 823765506 (skipping, is probably a scenario)!
could not find metadata for item 824132570 (skipping, is probably a scenario)!
could not find metadata for item 824303869 (skipping, is probably a scenario)!
could not find metadata for item 825487565 (skipping, is probably a scenario)!
could not find metadata for item 826153738 (skipping, is probably a scenario)!
could not find metadata for item 826366050 (skipping, is probably a scenario)!
could not find metadata for item 826824646 (skipping, is probably a scenario)!
could not find metadata for item 827346960 (skipping, is probably a scenario)!
could not find metadata for item 828705258 (skipping, is probably a scenario)!
could not find metadata for item 830221184 (skipping, is probably a scenario)!
could not find metadata for item 832245101 (skipping, is probably a scenario)!
could not find metadata for item 832333531 (skipping, is probably a scenario)!
could not find metadata for item 834016280 (skipping, is probably a scenario)!
could not find metadata for item 834253740 (skipping, is probably a scenario)!
could not find metadata for item 834522171 (skipping, is probably a scenario)!
could not find metadata for item 836265383 (skipping, is probably a scenario)!
could not find metadata for item 837080832 (skipping, is probably a scenario)!
could not find metadata for item 837566991 (skipping, is probably a scenario)!
could not find metadata for item 838336462 (skipping, is probably a scenario)!
could not find metadata for item 838842766 (skipping, is probably a scenario)!
could not find metadata for item 857350593 (skipping, is probably a scenario)!
could not find metadata for item LICENSE (skipping, is probably a scenario)!
could not find metadata for item README.md (skipping, is probably a scenario)!
Sorting mods.

Amongst these is the actual scenario I am subscribed to. Yes the singular scenario. One.

And finally the sorter did change absolutely nothing.
I even threw in a few errors but the "new" modconfig is exactly like the "old" modconfig.


It might be because as I mentioned above the sorter expects the game to be in the main steam folder and gets confused.

/edit
Recently at the felt 28th attempt it did shuffle around the modconfig.
Don't know why it didn't before.
/edit 2
The new modconfig threw WAY more red errors than the original one.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on June 19, 2019, 04:19:10 PM
First things first:
- what exact version of RWMS did you use?
- did you read the documentation at https://www.github.com/shakeyourbunny/RWMS? If you have some unexpected behaviour, you always try to consult the manual of an application, not only RWMS itself.

Quote from: JesusKreist on June 19, 2019, 02:57:34 PM
Some mods don't even get recognized
Loading and parsing ModsConfig.xml
Loading mod data.
could not find metadata for item 1126324755 (skipping, is probably a scenario)!
Reason is that RWMS cannot locate the correct workshop base folder location and it has to look in every mod directory to find the name of the mod. Scenarios do not have this information, so it assumes that this ID is a scenario.

Quote from: JesusKreist on June 19, 2019, 02:57:34 PM
And finally the sorter did change absolutely nothing.
I even threw in a few errors but the "new" modconfig is exactly like the "old" modconfig.
This is intended behaviour not to fuck up your configuration if RWMS is not configured correctly.

Among this, it is also mentioned in the documentation that automatic configuration only works in certain scenarios (see documentation). For all other cases - like not having RimWorld / Steam not in the default steam location (stored in the Windows Registry) - manual configuration of the configuration file may be necessary. If you can point me to the file or registry key, where Steam stores its library path configuration to parse, I'll gladly implement alternate library location support.

If you have a newish release of RWMS, you can always get the current configuration (automatic included) with this command:

python rwms_sort.py --dump-configuration

(if you are using the binary executable, replace "python rwms_sort.py" with the name of the executable). More configuration options are available if you replace "--dump-configuration" with "--help".

Suggested settings in rwms_config.ini:
steamdir = path_to_rimworld_steam_directory
workshopdir = path_to_workshop_directory

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: JesusKreist on June 19, 2019, 04:36:55 PM
Second things second:
The version of RWMS is the latest.
And I am a rather old informatics guy, I am strongly in favor of a RTFM approach.

@ the not changing modconfig being intended.
I should have mentioned that the rwms_config.ini has been manually filled.
Mainly because the automatic steam search did not work. And it has been done correctly.
The sorter gave a statement about how many mods it had found, how many it did not know and that it sorted the modconfig.
And as said for many attempts it didn't. Without changing anything in the rwms_config.ini it did recently. To a load order riddled with errors.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on June 30, 2019, 06:23:11 AM
As already mentioned: you have some non-standard configuration and multiple Steam libraries are not supported for automatic configuration as long as I do not know where the configuration for the steam libraries are stored. If you know where this information is, please inform me.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on June 30, 2019, 06:25:22 AM
0.94.7 has been released, I strongly suggest to update.

Reason is that I had to modify the database format a bit (see below) and this will confuse all RWMS versions prior to this release. I could not avoid this change without messing the older versions up, sorry, so please upgrade.

0.94.7 (2019-06-30):
changed:
- RimWorld release names and mod versions are now filtered out in order to curb the need to add a duplicate
  database entry for the new mod version of the same mod.

  This also means that the current database format has been slightly tweaked and older versions of RWMS than 0.94.7
  will likely produce bunch of false unknown mods. This cannot be avoided.

- configuration dump has been adjusted.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Tgr on July 01, 2019, 07:11:28 PM
Every time I run this, it activates random mods that are not enabled and breaks everything.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Tgr on July 01, 2019, 07:18:39 PM
For example, I am still subscribed to a Rimworld B17 "Darkest Night SK" mod. Every single time I run this script, it activates it and puts it in the load order near the bottom, resulting in huge strings of red errors on load.

I struggle to imagine that activating unactivated mods is intended behavior, seeing as it seems pretty random which mods it chooses to turn on or not.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: lunaferret on July 11, 2019, 12:44:33 AM
Neat addon!

However, you might want to mention in either the top post or the documentation that, if you have only just installed Python, you need to set the environmental variable paths, and then also install bs4. This is in Windows 10 1809. I saw mention of the need to install bs4 here, but it's not mentioned in the documentation.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on July 11, 2019, 02:29:47 AM
He did it, you just oversaw (but i made the similar mistake while installing python)

QuoteInstallation:
Make sure you have Python 3.6+ installed (python --version), see also full installation instructions.
- Windows Download: https://www.python.org/downloads/
- Ubuntu / Mint / Debian: https://askubuntu.com/questions/865554/how-do-i-install-python-3-6-using-apt-get#865569
- install python module 'BeautifulSoup' ( pip install bs4 )

The enviroment variable is set by the python installed on default installation (but disabled if you use custom and you need to enable it).
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on July 11, 2019, 06:51:48 AM
Quote from: TREH on July 01, 2019, 07:18:39 PM
For example, I am still subscribed to a Rimworld B17 "Darkest Night SK" mod. Every single time I run this script, it activates it and puts it in the load order near the bottom, resulting in huge strings of red errors on load.

I struggle to imagine that activating unactivated mods is intended behavior, seeing as it seems pretty random which mods it chooses to turn on or not.

Please provide the following information that I can reproduce this behaviour:
- operating system (Windows, Linux, OSX) and release number / distribution.
- RimWorld version
- RWMS version (did you upgrade to the latest release version and this behaviour still happens? If you are using the GIT version instead of the release which may have newer commits, provide commit number)
- Python version ( python --version )
- subscribed mods (just provide ModsConfig.xml)
- description of the issue.

Better, open an issue on GitHub (https://www.github.com/shakeyourbunny/RWMS/issues) and put all the requested information in order to make it reproducible for me, so I can debug this.

Maybe - if I have the time - I'll add a command line switch to collect these information more or less easier.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on July 11, 2019, 07:05:05 AM
Quote from: lunaferret on July 11, 2019, 12:44:33 AMI saw mention of the need to install bs4 here, but it's not mentioned in the documentation.
https://github.com/shakeyourbunny/RWMS/blob/master/docs/documentation.md#missing-modules

This will take care of any missing dependencies and there may be in future more than just BeautifulSoup.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: lunaferret on July 14, 2019, 04:49:50 PM
Quote from: shakeyourbunny on July 11, 2019, 07:05:05 AM
Quote from: lunaferret on July 11, 2019, 12:44:33 AMI saw mention of the need to install bs4 here, but it's not mentioned in the documentation.
https://github.com/shakeyourbunny/RWMS/blob/master/docs/documentation.md#missing-modules

This will take care of any missing dependencies and there may be in future more than just BeautifulSoup.

Oh wow, I must have gone over that page at least 5-6 times and completely missed it. Okay then, thank you!
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Vehicular_Zombicide on July 15, 2019, 07:41:30 PM
I have the DRM free version of Rimworld, so I don't have any Steam directories to write to. When I tried using the standalone Windows version to sort, it wouldn't get past the configuration page, throwing the following error instead:

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

loading database.

Database (v4, date: Sun Jul 14 17:31:36 2019) successfully loaded.
2879 known mods, 107 contributors.
Top contributors: shakeyourbunny (697), randomnone (205), Black Goat (159), pigand (125), czarneski77 (120),

Loading and parsing ModsConfig.xml
*** fatal error: could not find ModsConfig.xml; detected: 'C:\Users\James\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves/ModsConfig.xml'

Press ENTER to terminate the program.


Attached is the config file for RWMS. Any idea what I'm doing wrong?

[attachment deleted due to age]
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on July 16, 2019, 01:22:05 AM
It looks like you never started the game at least once, so no ModsConfig.xml can exist.

There is no configuration page, but you can do the following to display a "configuration page":

rwms_sort --dump-config

It will display the detected paths, if you use the the most recent developer commit, it will even check the paths and files if they exist or not.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: ThiIsMe007 on July 18, 2019, 03:12:11 AM
Hi there,

first thank you for sharing with us your creation. I've only tested it on a couple of mods so far, but it looks very promising from what I could see.

The only issue I had was that your program didn't correctly detect my folder settings, but then my game setup isn't the most orthodox either, since I keep both the Steam and the no-DRM version installed. Manually filling out the rwms_config.ini file did help, but giving the user of your program the option to use profiles in the future, created/confirmed at first launch for example, could be interesting to look into if you don't mind suggestions.

Anyway I had a question for you, which is not directly related to your tool, but I thought you may be best placed to know the answer to it.

What priorities does the game use to load mods from :
?

My goal is to fix a "bugged" Steam mod (Startup Impact (https://steamcommunity.com/workshop/filedetails/?id=1684944322)), by adding a custom Manifest.xml file for Fluffy's mod manager to properly set its load order (absolute first, before "Core").

If I directly modify the Steam mod, my changes will be overwritten by its next update. If I add a local copy of the mod with the same name to the Custom mod folder, I'm not certain that the game takes it from there instead of the Steam mod folder (see my question above). If I add a local copy of the mod to the Custom mod folder with a different name, it works, but your tool detects it as an "unknown" mod.

How should I best proceed ? Thank you again for insight and advice.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: ThiIsMe007 on July 18, 2019, 03:49:37 AM
Okay, after further testing, I might have a bug to report with a mod unknown to your tool (https://steamcommunity.com/sharedfiles/filedetails/?id=1633702129).

The mod was initially placed on the inactive tab (I'm using Fluffy's mod manager). When I launched your program, it detected the mod as unknown and asked me if I wanted to proceed. After saying yes, it placed the mod at the end of my active mod list.

Is it possible to make tool only care about active mods, and leave inactive mods as they are ?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on July 18, 2019, 04:06:41 AM
QuoteManually filling out the rwms_config.ini file did help, but giving the user of your program the option to use profiles in the future
These tool isn't very big, so why you don't have 2 folders with different ini files ?
One for DRM-free one for steam settings ?

Btw. i suggest to use for the DRM-free an override of the default saveddata location, so it use different settings/mods then the steam one.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: ThiIsMe007 on July 18, 2019, 04:54:02 AM
Quote from: Canute on July 18, 2019, 04:06:41 AM
QuoteManually filling out the rwms_config.ini file did help, but giving the user of your program the option to use profiles in the future
These tool isn't very big, so why you don't have 2 folders with different ini files ?
One for DRM-free one for steam settings ?

Yes, to use different versions of the game.

Sooner or later, I'll probably completely switch to 1.0+, but I'm still not fixed whether I'll use the Steam or no-DRM game for that in the future. Steam has the advantage of mod updates of course, but I don't need or want all the Steam social crap with its overhead while playing, so no-DRM has its advantages too.

In any case, profiles can't hurt (and would be very useful to players like me I think), but as I said, it's only a suggestion.

QuoteBtw. i suggest to use for the DRM-free an override of the default saveddata location, so it use different settings/mods then the steam one.

Excellent suggestion, thank you. I'll have a closer look into that.

To the @OP and tool author, how can I help with reporting unknown mods to your database? Is GIT the only option ?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on July 18, 2019, 04:58:23 AM
When you play with mods, the mod update is a nice feature. So stay with steam.
As non-steam user i can tell you it is sometimes a pain to keep the mod's uptodate.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on July 18, 2019, 03:09:19 PM
Quote from: ThiIsMe007 on July 18, 2019, 03:49:37 AM
Okay, after further testing, I might have a bug to report with a mod unknown to your tool (https://steamcommunity.com/sharedfiles/filedetails/?id=1633702129).

The mod was initially placed on the inactive tab (I'm using Fluffy's mod manager). When I launched your program, it detected the mod as unknown and asked me if I wanted to proceed. After saying yes, it placed the mod at the end of my active mod list.

Is it possible to make tool only care about active mods, and leave inactive mods as they are ?

Please file unknown mods to the database issues: https://www.github.com/RWMSDB/issues.

The script does not enable disabled mods, maybe this was an oversight that unknown, deactivated mods got automatically activated (and perhaps put on the bottom of the load order).

If the latter is the case, see https://github.com/shakeyourbunny/RWMS/blob/master/docs/documentation.md#interactive-and-misc-options (dontremoveunknown). It may be a side effect of this. If it's true, feel free to file a bug on the issue tracker on https://www.github.com/RWMS/issues.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: lbmaian on July 23, 2019, 11:46:30 PM
Hiya, I created a little fork of RWMS: https://github.com/lbmaian/RWMS (pull request: https://github.com/shakeyourbunny/RWMS/pull/25)

It has the following changes:
1) Fix non-active unknown mods being added to ModConfig.xml
2) Add local database json file option (defaults to "rwms_database.json") that appends/overwrites entries in the remote database json, so unknown mods can be more easily sorted locally (note: mods in the local database yet not in the remote database still remain in the unknown mods report)
3) Preserve database ordering of mods within the same category - this also allow reordering of mods within the same category via local database
4) Pretty-print the output ModConfig.xml
5) Add dump-database option which dumps the combined local and remote database json
6) Add dump-database-scores option which dumps the sorted mapping from mod name to sort score as json
7) Show relative paths for local unknown mods in the unknown mods report

There's no built exe for this, so you'd have to download the source ZIP and install/run it with the standard instructions: https://github.com/shakeyourbunny/RWMS/blob/master/docs/documentation.md
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: ThiIsMe007 on July 24, 2019, 02:08:50 PM
@lbmaian Very nice, and thank you for updating this valuable tool. I'm going to test it and report later.

Might I abuse and request a pre-compiled Windows x64 executable please ?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: lbmaian on July 24, 2019, 07:09:10 PM
Alright I published a windows release: https://github.com/lbmaian/RWMS/releases

See if that works.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: ThiIsMe007 on July 25, 2019, 12:47:38 AM
Fantastic, thank you very much. Your additions really made my life easier, especially 5) and 2).

This tool is very much comparable what we have for Skyrim with LOOT (https://www.nexusmods.com/skyrimspecialedition/mods/1918/), or for Oblivion with BOSS (https://boss-developers.github.io/). Hopefully it'll gather enough community support to maintain a curated Rimworld mod database in the future.

May I ask if you've already thought about how to handle requirements while sorting, such as Mod B requires Mod A to be loaded before it (Mod A < Mod B), or more complex chains such as Mod A < Mod B < Mod C ? Not thinking of mods like Giddy, coming with a "core" that can easily be preloaded anywhere, but rather this kind of mod (https://steamcommunity.com/sharedfiles/filedetails/?id=1730938407) (see Load order section).

Right now I'm working on a rather large mod list, and I manually fix whatever the sorting tool comes up with inside Fluffy's mod manager. It sure would help if more mod authors provided proper Manifest.xml files with their mods.

Anyway, I'll be testing this tool rather extensively this week end, and report any issues I have. Once I'm all done, I shall also log all my unknowns to the GIT.

Please have a nice day.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: lbmaian on July 25, 2019, 01:47:58 AM
I actually did think about mod dependencies, but implementing support them is not only a technical challenge (somehow support both Fluffy's Mod Manager's Manifest.xml and Steam workshop dependencies?), but also a design challenge, particularly how mod dependencies should interact with the mod categorization sorting.

For example, "Release Animals into Wild" has a dependency on "Allow Tool", but is categorized as "animal", which is lower than "Allow Tool"'s category of "ui". This is a categorization error, but in the general case, mod dependencies can throw a wrench into the way mod categorization works.

The workaround is to add another categorization right after the dependency's categorization, and indeed, in the above specific case, "Release Animals into Wild" should be categorized as "ui_addon", which is just after the "ui" category.

Another problem is that most mod authors don't bother providing manifests, as you noted. Sometimes they use workshop dependencies instead. Sometimes they just provide explicit guidance in the mod's description. Or sometimes by their very nature, one type of mod just has to load after another type of mod, hence the mod categorization scheme. But sometimes a suitable category doesn't exist.

So rather than provide the ability to create an ad-hoc category, I added the ability to explicitly order mods in the same category: within the same category, mods that appear earlier in the list will load before mods the appear later. For this purpose, the local database's mods are de-facto prepended to the list of mods.

I use this functionality in my local rwms_database.json, for example, to ensure "AnimalCollabProj Patch Pack" loads before "AnimalCollabProj Lite". I also changed "Camera+" to load before "TD Enhancement Pack", with the addition of changing "Camera+" from "ui" to "annoyance", due to a conflicting mouse zoom feature, but I'm not sure what the proper categorization fix for that should be. "TD Enhancement Pack" just does a bunch of things, some of which address annoyances, and some that are really just UI stuff.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: ThiIsMe007 on July 25, 2019, 02:25:46 AM
Yeah, I was thinking that requirements should probably override categories, since it's always best to load the mods as high as possible in the load order after respecting dependencies. For example :

Mod A < Mod B gives

Mod C
Mod A
Mod B
Mod D

not

Mod C
Mod A
Mod D
Mod B

even if categorization doesn't agree.

This however supposes that some kind of reliable system exists to identify these dependencies, and if mod authors don't fill them in correctly in whatever tool, someone else will probably have to.

FWIW, I found this page (https://rwom.fandom.com/wiki/Mod_Order_Guide) about mod categorizations, but I'm not sure that's still valid or even useful. It wasn't to me, so I have come up with my own categories (https://i.ibb.co/N9BzdJB/categorization.png), which I use to eliminate obvious redundancies between mods in the same category, with the prospect of having your tool do its thing later. I will just have to see how that works out this week-end.

EDIT : I forgot to mention that some kind of warning about incompatibilities would also be useful in the future. For example, don't load Expanded Crops (https://steamcommunity.com/sharedfiles/filedetails/?id=1543552057) with VGP (https://steamcommunity.com/workshop/filedetails/?id=1185272266). All in time though...
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on July 25, 2019, 02:51:17 AM
Yeah i think too.
These mod's should stick together. So long the dependency isn't a libary mod like hugslib.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on July 25, 2019, 03:42:35 AM
Quote from: lbmaian on July 25, 2019, 01:47:58 AM
I actually did think about mod dependencies, but implementing support them is not only a technical challenge (somehow support both Fluffy's Mod Manager's Manifest.xml and Steam workshop dependencies?), but also a design challenge, particularly how mod dependencies should interact with the mod categorization sorting.
This is a planned feature for a 1.0 relase of RWMS, I agree that is a challenge (and this is one of the reasons why the 1.0 release will introduce an very different database format which is incompatbile with the current version, though it will use distinct filename to ease migration to the new coming version). It is possible to parse the mod XMLs, but they are many variations and by far not every mod has a complete set of data.

Quote from: lbmaian on July 25, 2019, 01:47:58 AM
Another problem is that most mod authors don't bother providing manifests, as you noted. Sometimes they use workshop dependencies instead. Sometimes they just provide explicit guidance in the mod's description. Or sometimes by their very nature, one type of mod just has to load after another type of mod, hence the mod categorization scheme. But sometimes a suitable category doesn't exist.
I don't need to add anything here, would say the same, good explanation.

Quote from: lbmaian on July 25, 2019, 01:47:58 AM
So rather than provide the ability to create an ad-hoc category, I added the ability to explicitly order mods in the same category: within the same category, mods that appear earlier in the list will load before mods the appear later. For this purpose, the local database's mods are de-facto prepended to the list of mods.
Thank you for your efforts, I'll review your pull request and will integrate it after looking through.

All modifications though, I still accept contributions on the Github tracker, so no worries :)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on July 25, 2019, 01:59:59 PM
Oh, so side not from my documentation https://github.com/shakeyourbunny/RWMS/blob/master/docs/documentation.md#license
Quote
Note that you are not allowed to take parts of the scripts for using them in your own mod sorting or mod manager scripts without written permission.
This also covers the json database and the categorization. If you wanna do an active fork you have to start from scratch and you are not allowed to do an "import" or something similar. And yes, making an offline copy of the json and then using that is importing. Accessing the database with your fork is also not permitted.

The categorization work was fun, but it also was an huge amount of work on my side and I also had to do a reboot myself (RWMS was originally a set of bugfixes where the fixes outgrow the original script until I came to the point of throwing everything away and did a clean-room reimplementation).

It is better (and encouraged by myself) if you have something useful to contribute and/or bugfixes, I am not shy to include them (and give proper credit where credit is due). They will be merged (or in case added to the database) after review.

Just don't be twitchy, I do have a day job and cannot watch the relevant forums 24/7.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: lbmaian on July 26, 2019, 07:46:31 PM
shakeyourbunny doesn't like the idea of local databases and requested that I removed the feature. While I may disagree with the decision, I did effectively remove it for the version that was merged back to the master branch.

I'll still be maintaining my own private version of the script, since waiting days, let alone weeks, for correct database updates is not practical for me.

They also reverted the intra-category sorting change from de-facto workshop id sorting to database entry order. I'll be keeping that as well, since it's nice for ad-hoc mod reorderings.

If you want to know how to modify the script to have a local database, just PM me.

Quote from: shakeyourbunny on July 25, 2019, 01:59:59 PM
Oh, so side not from my documentation https://github.com/shakeyourbunny/RWMS/blob/master/docs/documentation.md#license
Quote
Note that you are not allowed to take parts of the scripts for using them in your own mod sorting or mod manager scripts without written permission.
This also covers the json database and the categorization. If you wanna do an active fork you have to start from scratch and you are not allowed to do an "import" or something similar. And yes, making an offline copy of the json and then using that is importing. Accessing the database with your fork is also not permitted.

I have to point out that for a private fork, this is legally as enforceable as a EULA that tries to prevent web scraping. At least in the US (not sure about Europe). The very fact that both the script and database are downloaded to the local user in plain text means it's fair use for the user to modify them, as long as they aren't distributed - and even if they were distributed, fair use can still apply due to the non-commercial nature of the product. That's something only a court can resolve on a case-by-case basis.

If you want me to, I can remove my public fork. I already removed the releases/tags/binaries.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on July 27, 2019, 03:30:17 AM
Quote from: lbmaian on July 26, 2019, 07:46:31 PM
The very fact that both the script and database are downloaded to the local user in plain text
The JSON is never downloaded to disk only in the process memory of the script, same for the categorization.

Quote from: lbmaian on July 26, 2019, 07:46:31 PM
If you want me to, I can remove my public fork. I already removed the releases/tags/binaries.
The main problem on your changes are that it relegates the online database to something which is only considered for updates and fallback instead of the canonical source for sorting. In addition, the scoring system you did is a rollback to the older times' of RWMS which originally had this, but I reworked this in the current form to avoid some really ugly problems on the maintainer's side.

The irony of all this that the very reason of slow updates is that besides working full-time for putting food on my table, there is a major rewrite in the works which anticipated all of your concerns of not letting do your own updates and not letting tinkering with the sort order. In this release it still has the current design choices, but there is some leeway for local modifications which are automatically integrated into the sort order process if present. The beautiful side of these local changes that if you do can also share them by uploading to the issue tracker.

If there are better ideas for speeding up the categorizing process and correcting them, please share your ideas.

I am very grateful for pouring your time and appreciate your motivation in all of this, but ultimately if I had not reacted in such a way, this all would be repeated history.

So I appreciate your offer for removing your public repository, but this decision is on your side.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: ThiIsMe007 on July 27, 2019, 04:15:23 AM
First, I'd like to thank Ibmaian again for producing the fork, which made the initial version actually usable (and useful to me) by fixing the bug involving unknown mods.

Next I'd like to say that I have the feeling that no one (in this thread at least) ever had the intention to "steal" anything from this project. On the contrary, we all contributed to it in different ways, be it either directly through coding and design, the brunt work, which credit rightfully belongs to shakeyourbunny, the tool author, be it through patching/forking, as Ibmaian has done, or be it, much more modestly, through testing and feedback, to validate usability cases.

It's the author's decision to know which direction the project should take, and everyone should respect that, but human nature being what it is, I believe there was room to word concerns (as legitimate as they might be) differently than it was done a couple of posts above.

Finally, I'd like to emphasize that as a player and user I am very grateful to whomever works on a project (tool, mod, art, etc.) and cares to share it with the community. It's in everyone's interest to see interesting projects like this one prosper, but to also protect the motivation of all the parties involved in the project, including the rights of the author but also the possibility to discuss and consider options, opinions or alternatives (like forks).

As a side-note, having experienced and contributed to similar sorting tools on different games with sometimes a much, much higher mod amount than Rimworld, the idea of a proprietary online-only database for sorting purposes is not a healthy design decision.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: lbmaian on July 27, 2019, 05:15:50 AM
Quote from: shakeyourbunny on July 27, 2019, 03:30:17 AM
The JSON is never downloaded to disk only in the process memory of the script, same for the categorization.
It's memory either way, just of different durations, and that distinction doesn't really matter for private fair use. For example, consider the use case of a web browser that downloads a copyrighted webpage for the user to interact with. The browser may be either storing the webpage only in memory or also in a disk cache. Suppose further, that the user modifies the copyrighted webpage via browser web developer tools. As long as the user isn't financially gaining from this act or redistributing the modified webpage, this definitely falls under fair use.

QuoteThe main problem on your changes are that it relegates the online database to something which is only considered for updates and fallback instead of the canonical source for sorting. In addition, the scoring system you did is a rollback to the older times' of RWMS which originally had this, but I reworked this in the current form to avoid some really ugly problems on the maintainer's side.

The irony of all this that the very reason of slow updates is that besides working full-time for putting food on my table, there is a major rewrite in the works which anticipated all of your concerns of not letting do your own updates and not letting tinkering with the sort order. In this release it still has the current design choices, but there is some leeway for local modifications which are automatically integrated into the sort order process if present. The beautiful side of these local changes that if you do can also share them by uploading to the issue tracker.

If there are better ideas for speeding up the categorizing process and correcting them, please share your ideas.
I'm glad you're working on allowing local changes that are stable through sorts, and a better process for syncing those local changes back to the official database.

However, I would urge you do at least SOME level of consistent ordering within categories in the meantime. Your current version has no technical guarantee that sorting is stable between script runs (or more likely, stable sorting between different machines/file-systems given the same mod list).

QuoteIf there are better ideas for speeding up the categorizing process and correcting them, please share your ideas.
A couple ideas come to mind:

1) Assuming you do allow users to locally change mod categories (and any inter-category ordering) in the future, you should definitely include them in the unknown mod report (well, unknown + changed mods).

2) Assuming you do allow users to locally change inter-category mod order for mods, and if they don't correspond to the default ordering, include such mods with smart context. For instance, if the default order was A B C D E F G, and it was locally changed to A G D E B C F, the "order violating adjacent mods" are G D and E B, and thus those would be included in the report.

3) Including the full mod list, or perhaps if that impinges on user privacy too much, at least the diff between the full mod list and the result of the sort without local changes.

4) A server-side database that stores user-submitted local changes (both changed category, and the above "order violating adjacent mod" thing) and counts of such submitted changes. For the popular mods, you'd see higher counts for any changes regarding them, increasing the likelihood such changes are correct.

QuoteI am very grateful for pouring your time and appreciate your motivation in all of this, but ultimately if I had not reacted in such a way, this all would be repeated history.

So I appreciate your offer for removing your public repository, but this decision is on your side.
That sounds quite the interesting history with forking, or at least personal code/data control, you have there. Personally, GPL would be sufficient to ensure I was attributed and could see all changes to my code/data. But I can understand everyone has different standards on the level of personal control, and there have been cases of "abuse" of even GPL in the past (e.g. the KHTML/Webkit divergence way back then).
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on July 27, 2019, 09:42:37 AM
Quote from: ThiIsMe007 on July 27, 2019, 04:15:23 AM
First, I'd like to thank Ibmaian again for producing the fork, which made the initial version actually usable (and useful to me) by fixing the bug involving unknown mods.
This is also fixed now, and one of the main reasons why I wanted a merge back. Although the recent commits were a bit messy, but I wanted to give him proper credit.

I never took the credit for others people contribution and I won't take it. This is also the reason why RWMS always displays the highest contributors to the dataset on running it, having an extra switch for displaying more of them and if you want to look up who contributed what, you have always the option to dig through the Github commits for RWMSDB.

The latter is also the main reason why I insist on doing it through it, if someone has a better idea for quicker updates, a way for checking each mod and giving proper credit for the submitter is appreciated.

Quote from: lbmaian on July 27, 2019, 05:15:50 AM
I'm glad you're working on allowing local changes that are stable through sorts, and a better process for syncing those local changes back to the official database.

However, I would urge you do at least SOME level of consistent ordering within categories in the meantime. Your current version has no technical guarantee that sorting is stable between script runs
This is true due to the category system, I agree that some finer control would be nice and there will be some sort of user definable override (not replacement!).

ad 1)
good idea, this relieves the user from double duty reporting ;)

ad 2)
something in this line is planned, only problem is time on my side (have a longer weekend, so let's see, how far I can get).

Current status of the rewrite is that the formal description of the new data structure is finished more or less and I should re-run some scraping for it.

ad 3)
I was taught that you should avoid collecting data more than strictly necessary for processing and I strictly adhere to it. If somebody wants to share their changes, they should upload it to the tracker.

[/quote]

Quote from: lbmaian on July 27, 2019, 05:15:50 AM
That sounds quite the interesting history with forking, or at least personal code/data control, you have there.
One of the lessons I learned that if you are burned and removed from contributing projects, you should not do the same, but the opposite: giving credit where credit is due.

As above said, the reason for the messy commits after the merge is that the attributions for your work remain visible.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on July 27, 2019, 09:43:10 AM
0.94.8 (2019-07-26):
new:
- build script for windows executable

changed:
- improved mod name cleaner
- 7zip support for build script (thanks Ibmaian)
- 7zip support improvements in build script
- re-added windows binary executable in release
- improved configuration dump, checks now validity of paths
- improved documentation
- pretty print ModsConfig.xml (thanks Ibmaian)

fixed:
- crash on empty ModsConfig.xml
- several small internal cosmetic and lint fixes (thanks Ibmaian)
- fix for older Python versions (thanks Rocketeer999)
- unknown, ACTIVE mods are now not removed anymore (thanks Ibmaian), you can enable / disable this behaviour with the dontremoveunknown switch in the configuration file, which already existed, but did not do the correct thing(tm). Default is keeping them.

For your convienence, download for the 0.98.4 RWMS windows executable is https://github.com/shakeyourbunny/RWMS/releases/download/0.98.4/rwms_sort-0.94.8-win.zip .
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: lbmaian on July 27, 2019, 09:54:15 PM
Quote from: shakeyourbunny on July 27, 2019, 09:42:37 AM
ad 3)
I was taught that you should avoid collecting data more than strictly necessary for processing and I strictly adhere to it. If somebody wants to share their changes, they should upload it to the tracker.
Sure that's a good principle, but from my long experience with maintaining and debugging high-throughput distributed applications, while it's useful for primary logs and data to be as succinct and noiseless as possible, it's useful to have extra context linkable to the primary data as needed. If your worry is about privacy, performance, or simply storage space, then I understand.

edit: Come to think of it, just printing out a diff to the user would be nice, to see what actually changed.

Quote
As above said, the reason for the messy commits after the merge is that the attributions for your work remain visible.
The merge and the resulting code is still rather messy and reverts a lot my fixes and changes (including some python best practices stuff) that were unrelated to local database or sorting at all.

I did bundle way too many changes in the pull request (since it was originally just supposed to be a private fork), so it's understandable if you didn't understand the reasoning behind every single change. And github doesn't make interactive merges (git merge --no-commit -no-ff, git reset, git add --interactive) on pull requests easy.

There are some regressions, one pretty serious, in the last release: https://github.com/shakeyourbunny/RWMS/issues/26
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on July 30, 2019, 02:49:53 PM
0.98.9
bugfix release
fixed:
- show relative paths for local unknown mods in the unknown mods report
-    ensure unknown mod report and ModConfig.xml backup have the same timestamp in the name (in the very rare case that the minute changes during the script)

internal code fixes:

-   use tuples instead of lists for fixed sized objects
-    move unknown mod handling in load_mod_data outside to avoid side effects in it
-    use os.path.join in another place
-    remove unnecessary file.close() after with statements, since the with statements guarantee it's already called

Big thank you to Ibmaian (did the release except wrap-up and windows binary)
Windows binary: https://github.com/shakeyourbunny/RWMS/releases/download/0.98.9/rwms_sort-0.94.9-win.zip
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: lbmaian on July 30, 2019, 08:21:25 PM
To be clear, those were just the minor changes. The more important changes were:
* Fixed: The 7zip support in the exe build script is broken
* Fixed: wait_for_exit function doesn't actually exit the script, so e.g. --contributors still tries to update ModConfig.xml
* Ask for confirmation to write to ModConfig.xml when there are no unknown mods
* Pretty print --reset-to-core written ModConfig.xml
* Include UTF-8 BOM in ModConfig.xml (Rimworld-saved ModConfig.xml always has this, although Rimworld does still load ModConfig.xml without the BOM)
* Outputs total # active unknown mods, instead of # total unknown mods
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: VoidRose on August 07, 2019, 01:08:38 AM
Hi ya i might have some path issues and want to know if this is right?

; -------------------------------------------------------------------------------
; -- installation directories options --
; steam installation directory
[paths]
steamdir = /Users/name/Library/Application Support/Steam
; RimWorld main installation directory (DRM free build)
drmfreedir =
; configuration directory for RimWorld, where game saves etc reside
configdir = /Users/name/Library/Application Support/RimWorld/Saves
; location of the steam workshop mod files (full path, with AppID)
workshopdir = /Users/name/Library/Application Support/Steam/SteamApps/workshop/content/294100
; location of the local mods (full path, Mods/ directory in RimWorld game folder)
localmodsdir = /Users/name/Library/Application Support/Steam/SteamApps/common/RimWorld/RimWorldMac.app/Mods

Did i set up the path right? I get this env: python3\r: No such file or directory when i try to run rwms_sort.py
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on August 07, 2019, 06:37:29 AM
Quote from: VoidRose on August 07, 2019, 01:08:38 AM
Did i set up the path right? I get this env: python3\r: No such file or directory when i try to run rwms_sort.py
Did you really get the \r in the error line?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: VoidRose on August 07, 2019, 05:17:06 PM
Quote from: shakeyourbunny on August 07, 2019, 06:37:29 AM
Quote from: VoidRose on August 07, 2019, 01:08:38 AM
Did i set up the path right? I get this env: python3\r: No such file or directory when i try to run rwms_sort.py
Did you really get the \r in the error line?
Yes this happen.

[attachment deleted due to age]
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on August 08, 2019, 03:26:13 AM
Please redownload the most current commit https://github.com/shakeyourbunny/RWMS/archive/master.zip

I fixed the line feeds in the script files (sigh Windows...), should work now.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Namuras on August 09, 2019, 02:51:35 AM
While i appreciate the effort put into this, it seems getting your script to run is a pita. I somehow cant get bs4 to install on my machine and therefor the script just shuts down.

edit: nvmd i had a bad case of stupid
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on August 09, 2019, 02:56:44 AM
Namuras,
when you use linux normaly you should be able to install python and all of the submodules like bs4 too.
And when you use window's why you don't use the window's executable instead ?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Namuras on August 09, 2019, 02:59:56 AM
Quote from: Canute on August 09, 2019, 02:56:44 AM
Namuras,
when you use linux normaly you should be able to install python and all of the submodules like bs4 too.
And when you use window's why you don't use the window's executable instead ?

see edit... i had a bad case of stupid. if i can't spellcheck...
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rimmer21 on August 09, 2019, 04:21:47 AM
After hours of tinkering, I finally got it to work, bless you. Is It compatible with the offline mod sorter (https://ludeon.com/forums/index.php?topic=49371.0)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on August 09, 2019, 04:26:49 AM
I don't want to be rude, but did you read the instructions? There is a whole section how to install the things on Linux, OSX and Windows manually.

If you want some automatism, there is a small companion script in the same directory, called "install_requirements" (.sh for Linux/OSX, .cmd for Windows) which will take care of the dependencies once you have Python up and running.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rimmer21 on August 09, 2019, 04:43:15 AM
Quote from: shakeyourbunny on August 09, 2019, 04:26:49 AM
I don't want to be rude, but did you read the instructions? There is a whole section how to install the things on Linux, OSX and Windows manually.

If you want some automatism, there is a small companion script in the same directory, called "install_requirements" (.sh for Linux/OSX, .cmd for Windows) which will take care of the dependencies once you have Python up and running.

Yes the instructions helped a lot. It was my first time using the command scripts and GitHub and the pyinstaller wasn't installing correctly so after I installed it, all my configurations work. I didn't mean to come off as rude (my mistakes hindered me I guess), I love the tool! Any word on the compatability ?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on August 09, 2019, 09:01:37 AM
Yeah,
thy python (windows) installer is a bit confusing. That happen to my first try too.
Forget enviroment variable to set.
That's why i recomment to use the executable file, when i recommend this tool to someone.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: VoidRose on August 09, 2019, 08:54:46 PM
Can't get the .sh to work as it says i cant find the needed .txt
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: lbmaian on August 10, 2019, 08:02:49 PM
Are you talking about install_requirements.sh? It would help if you posted the full error.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: VoidRose on August 13, 2019, 09:12:42 PM
here

[attachment deleted due to age]
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: lbmaian on August 14, 2019, 03:51:30 AM
The script has to be run from the install directory.

So cd into the install directory then run ./install_requirements.sh
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on August 14, 2019, 03:53:03 AM
Hehe, I was actually typing the same thing at this very moment :D
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: VoidRose on August 15, 2019, 01:17:16 AM
Quote from: lbmaian on August 14, 2019, 03:51:30 AM
The script has to be run from the install directory.

So cd into the install directory then run ./install_requirements.sh

I wish i knew what is cd?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on August 17, 2019, 06:27:37 AM
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.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on August 17, 2019, 02:28:42 PM
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.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on August 28, 2019, 05:03:31 AM
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.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on September 14, 2019, 03:54:25 AM
updated modlist to 3329 known mods.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on October 12, 2019, 06:51:28 AM
Did an major database update, added 184 new unknown mods. DB has now 3513 known mods to Rimworld-kind.

Have fun playing!
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: monkmith on October 20, 2019, 05:57:16 PM
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.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on October 22, 2019, 03:22:35 PM
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.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: asquirrel on October 23, 2019, 03:21:21 PM
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!
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on October 23, 2019, 04:16:48 PM
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.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on October 23, 2019, 04:22:00 PM
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 :))
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: asquirrel on October 23, 2019, 06:04:30 PM
Sweet!  Thanks folks! :)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Tiikeria on October 27, 2019, 12:59:27 PM
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
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on November 01, 2019, 03:02:58 AM
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.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on November 01, 2019, 04:59:19 AM
For convenience, I published my script on Steam Workshop:
https://steamcommunity.com/sharedfiles/filedetails/?id=1903707307
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Void on November 03, 2019, 02:08:39 PM
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 (https://steamcommunity.com/sharedfiles/filedetails/?id=1668983184) and RimSaves (https://steamcommunity.com/sharedfiles/filedetails/?id=1713367505):
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 (https://www.reddit.com/r/RimWorld/comments/asvtig/something_thats_worth_a_read_for_anyone_that/) for mod sorting, seems like RWMS does some things different. Thats why I'm a bit confused and give my suggestions here.)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: ProfZelonka on November 08, 2019, 02:51:24 PM
I probably missed it somewhere, but I'm not seeing how this mod works in figuring out what the order should be??

What I'm seeing after using the tool: Mod list in a "pretty good" order, many logical, most by category of "animal" or "item" it looks to be.. but when I start the game a bunch of mods actually don't work. Take Moody and RimHUD for example, they were towards the end of the modlist and didn't work. I moved them both towards the top and they work just fine. What's this tool really do and who determines where the mod order should be? Again, a bunch of mods are not in order. Also, how does this mod compare to RimPy?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on November 09, 2019, 02:59:20 AM
Quote from: Void on November 03, 2019, 02:08:39 PM
* The Python dowload link is malformed (it even gets flagged as malicious link by Steam).
This is because the moon logic of the site prefixes every link beginning with www. with https://, so Steam itself falls flat on its face on this. The python interpreter itself is used virtually everywhere, and if this would be malware, the whole internet would be infected.

Corrected this to satisfy the demands of the web page itself.

Quote from: Void on November 03, 2019, 02:08:39 PM
* On https://steamcommunity.com/sharedfiles/filedetails/?id=1903712002 "Main Mod version is found on..." links to itself (1903712002).
Corrected, thank you.

Quote from: Void on November 03, 2019, 02:08:39 PM
* Regarding RimThemes (https://steamcommunity.com/sharedfiles/filedetails/?id=1668983184) and RimSaves (https://steamcommunity.com/sharedfiles/filedetails/?id=1713367505):
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.
- please open an issue on the RWMSDB site. I know that currently there are many issues open (I know, real life, doing this after my day do day job).

Quote from: Void on November 03, 2019, 02:08:39 PM
(Before RWMS I used this post (https://www.reddit.com/r/RimWorld/comments/asvtig/something_thats_worth_a_read_for_anyone_that/) for mod sorting, seems like RWMS does some things different. Thats why I'm a bit confused and give my suggestions here.)
Sorting order is similar, but not quite the same (animals and storyteller stuff differ). I still categorize the stuff manually, so there may be some errors here and there, but I'm happy to have corrections.


Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Eskoze on December 20, 2019, 09:46:42 AM
Hey, seems like your Github is down.. I can't reach it :/
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: coemgen98 on December 20, 2019, 10:34:30 AM
It seems down too. Keeps sending me a 404
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on December 20, 2019, 10:38:47 AM
The whole user "shakeyourbunny" got removed from github.
Maybe shakeyourbunny abandon the project and closed all doors.
But only he can give us answers, but since Last Active:   November 09, 2019 i wouldn't count on this.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on December 20, 2019, 11:32:26 AM
I did not get any notice that my account there got flagged, seemingly for "hate speech".

It seems that Microsoft seems a very vengeful company, it seems for asking to reinstate the santa hat icon in the VSCode editor after some guy demanded the removal, because this is "this is almost equally offensive as a swastika."

Original ticket: https://archive.md/AqvW0
Answer tickets:
https://archive.md/rhlXq
https://archive.md/2nXup

I never used bad speech, just suggesting that they should reinstate the hat, write a short apology and then be done with it instead of (what they did) banning, censoring and closing the tickets about all inquiries to reverse this.

Happy holidays!

PS: I'll look into a solution.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Eskoze on December 20, 2019, 11:45:49 AM
At least thank you for the answer, hope you'll find a solution because I can't manage my load order by myself haha ! :D
Anyway, happy holidays to you!
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on December 20, 2019, 12:13:59 PM
I have one request:

please don't discuss the santa hat issue here, this is really off-topic. If you want, please do it on reddit or similar.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on December 20, 2019, 02:47:12 PM
IMPORTANT

please download the newest revision of the tool at

https://bitbucket.org/shakeyourbunny/rwms/downloads/

to have the functionality restored.

Caveats:
- no new stuff, just fixing the functionality
- issues are sadly gone

I'm looking into options to have mod db updates more regularily submitted or done, if you have any suggestions, they are welcome.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Eskoze on December 20, 2019, 04:41:57 PM
Thanks for being this reactive ! Keep up the good work :)
Cya
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: The13thRonin on December 28, 2019, 09:14:30 AM
Is the most up to date database the one from October the 19th?

If not how do I upgrade the database? It's not recognising some mods and keeps resetting them to the bottom of the load order (E.g. Psychic Awakening).
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on December 28, 2019, 09:54:14 AM
The mod load the database direct from a cloud database when you use the script. So you allways got the latest version.
If you encounter unknow mods, you can submit
QuoteFeedback
I'd appreciate any feedback and unknown mod submissions (just paste the contents of the rwms_unknown_xxxxxxx.json here or a new gitlab issue on https://bitbucket.org/shakeyourbunny/rwms/issues). Please include what platform you are playing RimWorld on and what build (DRMfree/Steam).
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on December 28, 2019, 11:07:14 AM
Support for the GitHub version is discontinued, development will continue onwards on bitbucket.org.

Reason is that some entitled politically correct snowflake was offended on a ticket submission from me where I wanted to take down a dark theme from an application (which was a reaction to the  removal of a santa hat in the user interface because .... same level as some certain political symbol).

Luckily, I was able to remove the flag, but I don't want to do stuff on Github any more where everyone may be offended by anything. Please, if you must reply to this, write me an PM, but I don't want to derail this thread.

Will look into options for a solution for quicker (and perhaps) community-based update solution. If anyone has some good suggestions, let's discuss these.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on December 28, 2019, 01:52:15 PM
Quote from: The13thRonin on December 28, 2019, 09:14:30 AM
Is the most up to date database the one from October the 19th?
Just updated the database, sourced from the issues on bitbucket.

If any mods are now missing, please submit a ticket there.

Quote from: The13thRonin on December 28, 2019, 09:14:30 AM
If not how do I upgrade the database? It's not recognising some mods and keeps resetting them to the bottom of the load order (E.g. Psychic Awakening).
Psychic Awakening is now in the database, was a part of a submission.

I'll think about a(n additional) local database source with the option for some form of sharing / sourcing it to make the utility more future-proof in an event of getting the online database nuked by some idiotic snowflake.

Main problem is the format in which the local stuff is saved; easiest solution (for me) would be plain JSON, but this is not really user-friendly...
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on December 28, 2019, 03:09:30 PM
Update 0.95.1.4

fixes download url for database / categories on BitBucket.

Version 0.95.1.3 does not recognize new updates, so you should download.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: fetusthebard on January 06, 2020, 10:58:33 PM
This is sort of a support request, but more because I'm stumped and less because I believe the tool isn't working for me. I use the DRM-free version of Rimworld, and in the config file set the pathway to my Config folder. The sorter then throws an error out, claiming that it cannot find the ModsConfig.xml. I've checked, and the ModsConfig.xml is in that folder, and the pathway seems correct looking at it multiple times. Also of note, when I remove the quotes around "Ludeon Studios" and "Rimworld by Ludeon Studios" the sorter immediately attempts to look for the Steam Directory. This leads me to believe I'm formatting the configuration correctly, but messing something else up, as the program still doesn't detect the XML file.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on January 07, 2020, 01:28:57 AM
Try setting

Quote
disablesteam=True
( with a capital T).

to let RWMS ignore all stuff Steam.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: fetusthebard on January 08, 2020, 03:18:58 AM
Quote from: shakeyourbunny on January 07, 2020, 01:28:57 AM
to let RWMS ignore all stuff Steam.
Yup! It immediately worked on the first try after disabling the Steam search. Was the option being set to False messing with the pathing I set? Now I'm sort of embarrassed  :-[
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: GrumpyProgrammer on January 11, 2020, 08:43:42 PM
Getting a crash on DRM-free Rimworld on Linux using dry-run mode. Traceback:

Traceback (most recent call last):
  File "/media/DataDrive/Software/RimWorld/Mods/ModSort/master/rwms_sort.py", line 547, in <module>
    print_dry_run(modsconfigfile, doc, mod_data_full)
  File "/media/DataDrive/Software/RimWorld/Mods/ModSort/master/rwms_sort.py", line 53, in print_dry_run
    name = mod_data[mod][2]
KeyError: 'Dubs-Bad-Hygiene-2.5.950'


Not sure if it's related, but the Unknown Mods file doesn't match the detected unknown mods:

Detected:

Unknown ACTIVE mod ID Dubs-Bad-Hygiene-2.5.950 found..
Unknown ACTIVE mod ID Dubs-Mint-Menus-1.2.346 found..
Unknown ACTIVE mod ID Dubs-Mint-Minimap-1.1.109 found..
Unknown ACTIVE mod ID AnimalAlerts found..
Unknown ACTIVE mod ID Hospitality-1.0.23 found..
Unknown ACTIVE mod ID Rah's Bionics and Surgery Expansion 2.0 found..

Unknown Mods file:


{
"meta": {
  "contributor": "",
  "mods_known": 117,
  "mods_unknown": 2,
  "os": "linux",
  "rimworld_version": "1.0.2282 rev725",
  "rwms_version": "0.95.1.4",
  "time": "Sat Jan 11 20:16:21 2020"
},
"unknown": {
  "[T] ArtMyBed": [
   "not_categorized",
   "<RimWorld install directory>/Mods/T-ArtMyBed"
  ],
  "[XND] Animal Alerts": [
   "not_categorized",
   "<RimWorld install directory>/Mods/AnimalAlerts"
  ]
},
"version": 2
}


The file doesn't appear to be malformed, though, so maybe this is working as intended?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: joeyjoejoeshabidoo on January 12, 2020, 08:19:15 AM
How do I make the tool do something? I downloaded it, pasted it in: C:\Steam\steamapps\common\RimWorld. Ran it as admin, it read my mods and made a list of unknown mods; it asked if I really want to write Modsconfig.xml to which I said yes then it closed.
I then open the game, check my mods list and they haven't changed at all.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Xeal on February 04, 2020, 04:22:38 AM
{
"meta": {
  "contributor": "",
  "mods_known": 107,
  "mods_unknown": 9,
  "os": "win32",
  "rimworld_version": "1.0.2408 rev747",
  "rwms_version": "0.95.1.4",
  "time": "Tue Feb  4 00:59:37 2020"
},
"unknown": {
  "Forsakens (race only)": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1919063102"
  ],
  "Loading In Progress": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1975622772"
  ],
  "RimOverhaul: DarkNET: Without Ore and Gas System": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1896011593"
  ],
  "SRTS Expanded Simple Mats": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1921166591"
  ],
  "Trade Ships Drop Spot": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1969732297"
  ],
  "Vanilla Animals Expanded \u2014 Australia": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1963681588"
  ],
  "Vanilla Factions Expanded: Settlers": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1986745449"
  ],
  "Vanilla Furniture Expanded: Art": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1968134023"
  ],
  "Vanilla Furniture Expanded: Farming": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1957158779"
  ]
},
"version": 2
}


Just some unknown mods from my use today.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: popster99 on February 06, 2020, 03:07:38 PM
Unknown mods found
{
"meta": {
  "contributor": "",
  "mods_known": 3,
  "mods_unknown": 23,
  "os": "win32",
  "rimworld_version": "1.0.2408 rev747",
  "rwms_version": "0.95.1",
  "time": "Thu Feb  6 20:04:22 2020"
},
"unknown": {
  "Android Tiers + Vanilla Expanded Medical": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1956510084"
  ],
  "Android Tiers++ Expansion": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1918589742"
  ],
  "Extra Walls and Floors": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1882432197"
  ],
  "Immortals": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1984905966"
  ],
  "Level This! (Version: Plasmatic Configuloo)": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1703452618"
  ],
  "Meat Survival Meals": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1957387327"
  ],
  "PawnTargetFix": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1896982754"
  ],
  "Reinforced Walls": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1929389479"
  ],
  "Trade Ships Drop Spot": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1969732297"
  ],
  "Vanilla Animals Expanded \u2014 Australia": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1963681588"
  ],
  "Vanilla Animals Expanded \u2014 Boreal Forest": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1895364938"
  ],
  "Vanilla Animals Expanded \u2014 Ice Sheet": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1895364782"
  ],
  "Vanilla Animals Expanded \u2014 Tropical Rainforest": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1907283872"
  ],
  "Vanilla Animals Expanded \u2014 Tropical Swamp": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1907283935"
  ],
  "Vanilla Animals Expanded \u2014 Tundra": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1895364585"
  ],
  "Vanilla Events Expanded": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1938420742"
  ],
  "Vanilla Factions Expanded: Settlers": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1986745449"
  ],
  "Vanilla Fishing Expanded": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1914064942"
  ],
  "Vanilla Furniture Expanded: Art": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1968134023"
  ],
  "Vanilla Furniture Expanded: Farming": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1957158779"
  ],
  "Vanilla Weapons Expanded: Laser": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1989352844"
  ],
  "Vanilla Weapons Expanded: Quickdraw": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1906780517"
  ],
  "[JDS] Simply Storage": [
   "not_categorized",
   "https://steamcommunity.com/sharedfiles/filedetails/?id=1961098970"
  ]
},
"version": 2
}
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on February 06, 2020, 03:46:57 PM
Please report unknown mods at https://bitbucket.org/shakeyourbunny/rwmsdb/issues and not in this thread.

I am sorry, but work life is more demanding than planned now, so I do know that updates have been sparse. In order to remedy this, I'd like to add some support for local rules (and instructions how to make them) in addition to the standard ones and a way for some sort of community exchange for these to have more up to date rules.

Perhaps I'll devise something this weekend, guess I'll enable a special folder for sourcing local rules, so they can be shared easily (via this thread I guess?).


Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on February 06, 2020, 03:56:07 PM
Quote from: shakeyourbunny on February 06, 2020, 03:46:57 PM
Please report unknown mods at https://bitbucket.org/shakeyourbunny/rwmsdb/issues and not in this thread.
Don't forget to update the first posting, there still stand to paste the text here or made a issue at github !
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on February 06, 2020, 04:05:45 PM
should be fixed now.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on February 06, 2020, 04:57:27 PM
Just half of it
Quote(just paste the contents of the rwms_unknown_xxxxxxx.json here or a new gitlab issue on
I think you said, you don't want it here anymore ! :-)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Netrve on February 27, 2020, 03:57:19 AM
Greetings,
given 1.1 has been released and with it came a change in how the mods are identified within the ModsConfig.xml that broke RWMS.

I took a bit of my time and worked it out...for the most part. It generally works fine now, except for the issue described below.

The biggest issue right now is that the Core mod isn't properly identified and thus is moved somewhere in between all the other mods. Given this is just a temporary fix for RWMS until shakeyourbunny updates it officially I haven't bothered with addressing this. If it becomes too much of an issue for people, I might look into it. But for now:
You manually have to move the core mod to the first or second spot in your load order.

Here is the download, have fun: https://drive.google.com/uc?id=1v3O21YR_Du0Bab22ASs-ISaVBq5WC1q4 (https://drive.google.com/uc?id=1v3O21YR_Du0Bab22ASs-ISaVBq5WC1q4)

- Netrve
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Netrve on February 28, 2020, 04:27:52 AM
Hello again!

So after my original post, I thought I would be done with RWMS for the time being. But as Modding happens, I got annoyed by having to click once and drag the Core mod back to where it belongs...so here is a "fully"* updated RWMS for 1.1

Download: https://drive.google.com/uc?id=1UD0cje0CIWj9up082njBC9N-tr1p3XbM (https://drive.google.com/uc?id=1UD0cje0CIWj9up082njBC9N-tr1p3XbM)

I have also adjusted the output of the unknown mods, so it will now show either their full name with the id or just the id in case no name is found.

Also, I uploaded my changes to the repository I forked, which can be found here: https://bitbucket.org/Dakraid/rwms/ (https://bitbucket.org/Dakraid/rwms/)
Just to get any license stuff out of the way: all my changes are done under the same license, GPL2, and in case shakeyourbunny approves of my fixes I grant him the full rights to them. Better avoid any confusion from the start  ;D

*as far as my perception goes that is...

- Netrve
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on February 28, 2020, 04:07:57 PM
In addition, after looking through my own code, the way now mods are identified, the integration of most functionality of RWMS in the base game (the "Autosort" button) and my - sadly lack of time - I think this is the end of the road for me.

If somebody wants to continue development, feel free to fork the code, but also do this with the RWMSDB repo, although the database has to be rewritten / accommodated to the new packageID system.

PS: The binaries are built with pyInstaller :-)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Netrve on February 28, 2020, 07:29:22 PM
I would be interested to know how the Auto-Sort and RWMS compare?
I thought the Auto-Sort was more like the one as found in the RimPy mod manager, so mainly checking the fields in the About.xml, while RWMS is more of a manual database-based one. Am I right with that assumption?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on February 29, 2020, 03:07:59 AM
Yes, RWMS does a traditional sort by hand-tuned scoring weight and does not consider the dependency tags, which were not standardized like in the current iteration.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: ruPal on February 29, 2020, 06:05:43 AM
Hi, shakeyourbunny. Do not rush, the changes may be reverted back on Ludeon side. Afaik they are discussing that. Give it some time.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Netrve on February 29, 2020, 10:29:25 PM
Hmm, I don't know how much time or motivation I will have, but I'm currently looking into overhauling the database and the code a bit to properly conform to the 1.1 Update. I also plan on supporting the dependency tags within the About.xml, but I will have to see how that goes.

Shakeyourbunny, would you mind if I open a new thread for RWMS 1.1? The next release I have coming up moves the URLs to my fork and already has some unknown mods added, but I do plan on changing the format of the database. So I'm not sure if it is best to keep this in the same thread or not.

For those interested, the new version can be found on the BitBucket repo already: https://bitbucket.org/Dakraid/rwms/downloads/rwms_sort-0.96.2.1-unofficial-win.zip (https://bitbucket.org/Dakraid/rwms/downloads/rwms_sort-0.96.2.0-unofficial-win.zip)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Sinza on March 03, 2020, 04:13:09 AM
Quote from: Netrve on February 29, 2020, 10:29:25 PM
Hmm, I don't know how much time or motivation I will have, but I'm currently looking into overhauling the database and the code a bit to properly conform to the 1.1 Update. I also plan on supporting the dependency tags within the About.xml, but I will have to see how that goes.

Shakeyourbunny, would you mind if I open a new thread for RWMS 1.1? The next release I have coming up moves the URLs to my fork and already has some unknown mods added, but I do plan on changing the format of the database. So I'm not sure if it is best to keep this in the same thread or not.

For those interested, the new version can be found on the BitBucket repo already: https://bitbucket.org/Dakraid/rwms/downloads/rwms_sort-0.96.2.1-unofficial-win.zip (https://bitbucket.org/Dakraid/rwms/downloads/rwms_sort-0.96.2.0-unofficial-win.zip)

Just tried your updated Fork and it works as expected. It also threw out quite a few unknowm mods. Here's the list just because i'm not sure if it should be posted to the original issue tracker.
Thank you!
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: END on March 03, 2020, 09:39:22 PM
I'm using RimPy which works well for 1.1+

https://ludeon.com/forums/index.php?topic=49371.0
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rawrfisher on March 21, 2020, 01:09:13 AM
Is it normal for it to hang for a couple seconds then run a bunch of text and close without confirmation of any kind?
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: D.F.N. on March 23, 2020, 03:36:05 PM
Unknown mod list. Win10. Steam. Thank you for all your efforts!
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Netrve on April 13, 2020, 07:21:44 PM
Quote from: rawrfisher on March 21, 2020, 01:09:13 AM
Is it normal for it to hang for a couple seconds then run a bunch of text and close without confirmation of any kind?

That usually means something went wrong (so basically it error'd). I sadly can't remember right now if RWMS writes a log or not, but if you start a CMD or PowerShell and then run RWMS through it, it will show the error.

Overall I have been working on a re-implementation of RWMS in Go, which comes with an UI and an extended sorting algorithm based on RWMS' current method. Work has been slow though, the situation worldwide and personally have been quite tiring which have drained a lot of time and motivation on my end. I will still try to get it done, but at what point I can't say (if at all).

Until then RimPy does provide a good sorting as well, and should its source be released by Paladin, I will be working in incorporating RWMS' functionality into it as an alternative sorting method.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: rogertheshrubb3r on April 29, 2020, 02:14:44 PM
Quote from: Netrve on February 29, 2020, 10:29:25 PM
Hmm, I don't know how much time or motivation I will have, but I'm currently looking into overhauling the database and the code a bit to properly conform to the 1.1 Update. I also plan on supporting the dependency tags within the About.xml, but I will have to see how that goes.

First of all, thanks for keeping this tool alive. Second, if you intend on on updating it, can you add an option to work with a local database (maybe configurable in the config file)? I suppose it shouldn't be too hard and could come in handy.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: sirskips on June 24, 2020, 02:46:12 AM
===============================================================================================================================
06-24-2020 02:31:05
Rimworld Conflict Checker Started!

Code: https://github.com/biship/RimworldConflictChecker
Details: https://ludeon.com/forums/index.php?topic=25305
Please report any bugs either on GitHub, or the Ludeon forum thread.

Build: RELEASE Wed 09/18/2019  8:11:21.09

Results of the checks are written to file RCC.txt in this folder.

Currently implemented checks:
   The same nameDef defined in 2 or more mods
   The same DLL in 2 or more mods
   Core nameDefs over writen by a mod
   DLL's not in the Assemblies folder
   Checks versions of mod against RimWorld version
   Identifies possibly corrupt mods (partially implemented)
Checks to be possibly added in the future:
   Check XML inheritance: http://ludeon.com/forums/index.php?topic=19499.0
   Check if CCL is compatible with RimWorld.
   Check if root, tag, defname are valid (by parsing core)
   Check if a mod is valid - needs about.xml, at least one XML or dll.
   Check if mod exists twice. a) based on folder name & b) based on About.xml name.
   Check if a mod's defname conflicts with another defname of the same mod
   Change output to tabbed tables in a Windows Form
   and more...
===============================================================================================================================
06-24-2020 02:31:05
Checking GitHub for updates. This will timeout after 10s...

Successfully got version data from GitHub
You are running version : 0.0.1.2
Latest version on GitHub: 0.0.1.2
===============================================================================================================================
06-24-2020 02:31:06
Parameters and folders:

Command Line Parameters:

Show detailed log: True
Consider every installed mods as active: False

Folders:

Folder 1 : Found RimWorldWin in : C:\Program Files (x86)\Steam\steamapps\common\RimWorld
Folder 2 : Found ModsConfig.xml in : C:\Users\Admin\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config
Folder 3 : Not able to find subfolder Core in : C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods
Quitting.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Ranze61 on September 27, 2020, 07:12:44 AM
Create a folder called "Core" in RimWorld\Mods and it will work
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: CactussCraze on October 27, 2020, 05:03:50 PM
How do I actually go about installing this? I wanna get back into rimworld but dont have the motivation to sort my mod load order anymore. The link provided doesnt really contain instructions. Unless im missing something.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on October 27, 2020, 05:41:42 PM
The main tool itself don't get update anymore.
Not sure how the fork of this tools work with 1.2 since the last posting is from february.

RimPy got some mod sorting too (and the bonus you can download easyly workshop mods with it).
But basicly you don't need any special load order anymore.
Rimworld support now load before/after and require mod by default.
So unless some modder create an super incompactible mod, you just could use the sort button at rimworld.
And you still should avoid mods that modify/add the same thing like EPoE and RBSE.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on November 06, 2020, 08:31:16 AM
The script ist not maintained anymore, you are free to reuse it as a base for your own, with the following caveats:
- don't use the same name RWMS (but you can name it "RWMS continued" or something).
- include the contributor credits to the database, if you are using it.

Currently it is unfit for 1.1+ and development was discontinued as the basic same functionality is now integrated in RimWorld itself and it needs a major rewrite to support the introduced dependencies from About.xml. Main difference is that all mods known to RWMS have been categorized and theoretically this - alongside with the builtin dependencies - would give a better sort order than stock.

Sorry that I left development for this, but I cannot spare time for updating it.



Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on November 06, 2020, 08:36:06 AM
Quote from: Netrve on April 13, 2020, 07:21:44 PM
Quote from: rawrfisher on March 21, 2020, 01:09:13 AM
Is it normal for it to hang for a couple seconds then run a bunch of text and close without confirmation of any kind?

That usually means something went wrong (so basically it error'd). I sadly can't remember right now if RWMS writes a log or not, but if you start a CMD or PowerShell and then run RWMS through it, it will show the error.

Overall I have been working on a re-implementation of RWMS in Go, which comes with an UI and an extended sorting algorithm based on RWMS' current method. Work has been slow though, the situation worldwide and personally have been quite tiring which have drained a lot of time and motivation on my end. I will still try to get it done, but at what point I can't say (if at all).

Until then RimPy does provide a good sorting as well, and should its source be released by Paladin, I will be working in incorporating RWMS' functionality into it as an alternative sorting method.

Sorry for quoting this fully, but I hope you will advance enough.

I originally intended some time to merge both codebases of RimPY and RWMS to a newer hybrid version one, mainly for learning programming  crossplatform UIs in Python, but alas it didn't arrive.

Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on November 08, 2020, 12:41:32 PM
Quote from: shakeyourbunny on November 06, 2020, 08:36:06 AM
I originally intended some time to merge both codebases of RimPY and RWMS to a newer hybrid version one, mainly for learning programming  crossplatform UIs in Python, but alas it didn't arrive.

Sorry, if that gets a bit offtopic, but I have to retract from the notion of "merging from RimPy". From the core sorting algorithm, it is painfully obvious that it is not really that better than the now built-in sorting of RimWorld itself, paired with an abysmal user interface. Also, the download option of it is not really that obvious and how to configure it.

In addition, if you are an non-Steam Rimworld user, you will have trouble using it, as it is mostly intended for use on the Windows platform and with Steam.

I'm really tempted to update RWMS myself now.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on November 08, 2020, 03:56:35 PM
Yep, with the new syntax at the About.xml a special mod sorting/Load order database is a bit reduntant.
Except when the mod author forget to add the dependies/Load before/after.

But at the past your database did a good job.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on November 21, 2020, 02:26:20 AM
There is potential to do it better than stock RimWorld and RimPy. The latter one's algorithm is quite dumb, though.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Prologue on November 21, 2020, 10:28:19 AM
Download from https://bitbucket.org/shakeyourbunny/rwms/downloads/ seems to not work for me, as in it won't download.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Vulture051 on December 08, 2020, 07:08:33 AM
Since I'm having issues and you say RimPy sucks I figured I would try yours.

Out of my 100+ mods it recognizes one.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on December 08, 2020, 10:12:03 AM
Yes, because it just does handle 1.0 mods and at that point in time, everyone moved on.

Currently, I still don't have time to do a rewrite with the "secret sauce" (not really secret if you read the code) which RimPy lacks and will lack until the author will get his things together. In addition, this also means that a lot of work - which I am gratefull to the many contributors - has continually be done to keep up.

If I say it flatly, the built-in RimWorld sort is better than RimPy ;-)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: ruPal on December 19, 2020, 06:49:38 AM
Quote from: shakeyourbunny on November 08, 2020, 12:41:32 PM
Sorry, if that gets a bit offtopic, but I have to retract from the notion of "merging from RimPy".
That is good. Forking will not make RimPy better, the same for merging with "categorial sorting" approach. Categorial sorting will fail as soon as you stop updating DB and will add mess into DB itself. So if you are going to update RWMS, better solution is to create your own project from scratch.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on December 19, 2020, 01:05:13 PM
Quote from: ruPal on December 19, 2020, 06:49:38 AM
Quote from: shakeyourbunny on November 08, 2020, 12:41:32 PM
Sorry, if that gets a bit offtopic, but I have to retract from the notion of "merging from RimPy".
That is good. Forking will not make RimPy better, the same for merging with "categorial sorting" approach. Categorial sorting will fail as soon as you stop updating DB and will add mess into DB itself. So if you are going to update RWMS, better solution is to create your own project from scratch.
The only thing I would have taken from RimPy is the knowledge how to make a user interface in Python and use this as a base for making it multi-platform, like the game itself.

I am aware that you won't implement this because of its time consumption and you will not commit to this, at least not long-term.

Sorry, but RimPy is still inferior even compared to the built-in sorting :)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: ruPal on December 20, 2020, 04:16:38 AM
That is something that requires examples and a description of the testing methodology that lead you to this conlcusion. Currently that is just your opinion and I cannot take such remarks seriously without explanations. Since that there is no need to ask for apology.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: shakeyourbunny on December 20, 2020, 06:01:15 AM
I would suggest to take any further discussion of your utility in your thread, not here.

Thank you.


Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: JimmyMcThrowaway on February 07, 2021, 05:28:14 AM
(https://i.pinimg.com/originals/32/f4/26/32f426f04c2cb9223922e3aa0575c592.gif)
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: KoKauH on March 01, 2021, 02:34:53 PM
Quote from: shakeyourbunny on November 08, 2020, 12:41:32 PM

The only thing I would have taken from RimPy is the knowledge how to make a user interface in Python and use this as a base for making it multi-platform, like the game itself.

I am aware that you won't implement this because of its time consumption and you will not commit to this, at least not long-term.

Sorry, but RimPy is still inferior even compared to the built-in sorting :)

I'm not much of a programmer, but wouldn't the best bet be to make an algorithm that uses Rimworld's own sort first, and then use a database of known 'bad' mods and their conflicts just to change the position of these few mods that are incorrectly sorted without touching the Rimworld's initial sort?

This would make the database much easier to maintain as you would only need to keep track of conflicting mods and mods that aren't appropriately configured for the autosort.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: Canute on March 01, 2021, 02:50:52 PM
Or just report "bad" mod to the author so he can add "load before xyz" at his own or "load after zyx" for the other mod author whoever responde first.
Title: Re: [1.0] RWMS -- RimWorld ModSorter .. RimWorld mod sorter (Windows, Linux, OSX)
Post by: KoKauH on March 01, 2021, 03:03:38 PM
Quote from: Canute on March 01, 2021, 02:50:52 PM
Or just report "bad" mod to the author so he can add "load before xyz" at his own or "load after zyx" for the other mod author whoever responde first.

Not many old modders respond for updates when they don't play the game, and newer modders might be annoyed with updating their mods for every other old/new mod that comes up, especially if they themselves don't use it. No judgement, of course, such is life and it's not their responsibility to support such mods.

There are many mods from 1.0, 1.1 and previous versions that still work perfectly well on 1.2 but are essentially abandoned, auto-sort fails big time on these, and if you have 10-20 older mods, they wouldn't play well with each other on auto-sort.

Usually, it's the wild-west with smaller mods and even bigger ones in other games, I don't see Rimworld being much different with so many mods available. Sole modders keeping their mod dependencies/conflicts/incompatibilities is hard. Community databases are good for that, you never know who's going to download 400 mods, half of which have never heard of the other 200.