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

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

Previous topic - Next topic

shakeyourbunny

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.



Xaviien

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


shakeyourbunny


shakeyourbunny

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.

Kladdey

Huh, that's strange - It seems to create the issue automatically, but it doesn't show up on issue tracker.

shakeyourbunny

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

shakeyourbunny

0.94.2:
- changed unknown data file format slightly for easier processing


shakeyourbunny

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

sayheyjay

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?

shakeyourbunny

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!

shakeyourbunny

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"

sayheyjay

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.


VoidRose

I'm new to this coding and gotten my self lost when trying to use this.
How do i use this on Mac?

Canute

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.