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

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

Previous topic - Next topic

fetusthebard

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.

shakeyourbunny

Try setting

Quote
disablesteam=True
( with a capital T).

to let RWMS ignore all stuff Steam.

fetusthebard

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  :-[

GrumpyProgrammer

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?

joeyjoejoeshabidoo

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.

Xeal

{
"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.

popster99

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
}

shakeyourbunny

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?).



Canute

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 !


Canute

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 ! :-)

Netrve

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

- Netrve

Netrve

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

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/
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

shakeyourbunny

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 :-)

Netrve

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?