6 Commits

Author SHA1 Message Date
ea6eb1fd5f update workflow to for this project
Some checks failed
Build and Upload Release (Windows EXE) / Build Windows EXE (release) Failing after 2m35s
2026-01-24 00:50:42 -05:00
24271abcd8 Remove ICO drop shadow 2026-01-24 00:37:59 -05:00
f6addb9710 Merge branch 'main' of https://git.hudsonriggs.systems/HRiggs/ProgressionMods 2026-01-24 00:35:12 -05:00
3a5f071786 Finished 2026-01-24 00:35:11 -05:00
303c7d8d6e Remove .env
No info was exposed, as its just the example however its bad practice.
2026-01-24 04:30:47 +00:00
634543eea6 pre animation 2026-01-23 22:13:07 -05:00
12 changed files with 2219 additions and 270 deletions

7
.env
View File

@@ -1,7 +0,0 @@
# Default Collection URLs
CORE_COLLECTION_URL=https://steamcommunity.com/workshop/filedetails/?id=3521297585
CONTENT_COLLECTION_URL=https://steamcommunity.com/sharedfiles/filedetails/?id=3521319712
COSMETICS_COLLECTION_URL=https://steamcommunity.com/sharedfiles/filedetails/?id=3637541646
# ModsConfig.xml Path Template
MODSCONFIG_PATH_TEMPLATE=%USERPROFILE%\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config\ModsConfig.xml

View File

@@ -16,7 +16,22 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'
- name: Create .env file from secrets
shell: powershell
run: |
$envContent = @"
# Default Collection URLs
CORE_COLLECTION_URL=${{ secrets.CORE_COLLECTION_URL || 'https://steamcommunity.com/workshop/filedetails/?id=3521297585' }}
CONTENT_COLLECTION_URL=${{ secrets.CONTENT_COLLECTION_URL || 'steam://openurl/https://steamcommunity.com/sharedfiles/filedetails/?id=3521319712' }}
COSMETICS_COLLECTION_URL=${{ secrets.COSMETICS_COLLECTION_URL || 'steam://openurl/https://steamcommunity.com/sharedfiles/filedetails/?id=3637541646' }}
# ModsConfig.xml Path Template
MODSCONFIG_PATH_TEMPLATE=${{ secrets.MODSCONFIG_PATH_TEMPLATE || '%USERPROFILE%\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config\ModsConfig.xml' }}
"@
$envContent | Out-File -FilePath .env -Encoding UTF8 -Force
Write-Host "Created .env file with configuration"
- name: Install dependencies
shell: powershell
@@ -29,28 +44,14 @@ jobs:
shell: powershell
run: |
$ErrorActionPreference = 'Stop'
# Stamp version into sealoader_version.py from release tag
if ($env:GITHUB_EVENT_NAME -eq 'release') {
$tag = '${{ github.event.release.tag_name }}'
} else {
$tag = (git describe --tags --always) 2>$null
if (-not $tag) { $tag = "0.0.0-dev" }
}
("__version__ = '" + $tag + "'") | Out-File -FilePath sealoader_version.py -Encoding UTF8 -Force
# Bundle PNG resources referenced at runtime
pyinstaller --noconfirm --onefile --windowed sealoader_gui.py --name SeaLoader `
--add-data "SeaLoader.png;." `
--add-data "hrsys.png;." `
--icon SeaLoader.ico
# Build standalone executable with all assets bundled
pyinstaller --clean --onefile --windowed --icon=art/Progression.ico --add-data "art;art" --add-data ".env;." --name ProgressionLoader steam_workshop_gui.py
- name: Prepare artifact
shell: powershell
run: |
New-Item -ItemType Directory -Force -Path dist_upload | Out-Null
Copy-Item dist\SeaLoader.exe dist_upload\SeaLoader.exe
if (Test-Path README.md) { Copy-Item README.md dist_upload\ }
if (Test-Path LICENSE) { Copy-Item LICENSE dist_upload\ }
Compress-Archive -Path dist_upload\* -DestinationPath SeaLoader_Windows_x64.zip -Force
# Just upload the standalone .exe file
Copy-Item dist\ProgressionLoader.exe ProgressionLoader.exe
- name: Upload asset to Release
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
@@ -62,9 +63,7 @@ jobs:
SERVER_URL: ${{ github.server_url }}
run: |
$ErrorActionPreference = 'Stop'
$uploadUrl = "$env:SERVER_URL/api/v1/repos/$env:REPO/releases/$env:RELEASE_ID/assets?name=SeaLoader_Windows_x64.zip"
Write-Host "Uploading asset to $uploadUrl"
Invoke-RestMethod -Method Post -Uri $uploadUrl -Headers @{ Authorization = "token $env:TOKEN" } -ContentType "application/zip" -InFile "SeaLoader_Windows_x64.zip"
# CI artifact upload removed for GHES compatibility
$uploadUrl = "$env:SERVER_URL/api/v1/repos/$env:REPO/releases/$env:RELEASE_ID/assets?name=ProgressionLoader.exe"
Write-Host "Uploading ProgressionLoader.exe to $uploadUrl"
Invoke-RestMethod -Method Post -Uri $uploadUrl -Headers @{ Authorization = "token $env:TOKEN" } -ContentType "application/octet-stream" -InFile "ProgressionLoader.exe"

203
.gitignore vendored Normal file
View File

@@ -0,0 +1,203 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
.pybuilder/
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock
# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Cython debug symbols
cython_debug/
# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be added to the global gitignore or merged into this project gitignore. For a PyCharm
# project, it is recommended to ignore the entire .idea directory.
.idea/
# VS Code
.vscode/
# macOS
.DS_Store
.AppleDouble
.LSOverride
# Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.tmp
*.temp
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk
# Linux
*~
# Temporary files
*.swp
*.swo
*~
# Logs
*.log
# Application specific
# Keep art assets but ignore any generated thumbnails or cache
art/cache/
art/thumbnails/
# Steam Workshop related (if any cache files are generated)
workshop_cache/
*.cache

View File

@@ -1,80 +1,9 @@
# Steam Workshop Collection Manager
# Progression: Loader
A Python GUI application for extracting Steam Workshop mod IDs from RimWorld mod collections with configurable settings.
This project pulls from the three steam workshop collections of Progression, then it searches through your installed mods, in the workshop folder and matches the steam id to a package id, and Formal name, then it takes those names, package ids and steam ids and creates the modloader modslist, thats a mouth full, and save it to your modslist fodler so all you have to do is launch the game. The merge button will take your currently ENABLED mods and merge them with the latest progression pack to give you a new modslist called progresisonhomebrew which you can sort and load.
## Features
- Dark themed Windows-style GUI
- Configurable collection URLs via .env file
- Automatic workshop path derivation from RimWorld game path
- ModsConfig.xml integration for active mod tracking
- Real-time output display with scrollable text areas
- Local mod folder listing and comparison
## Installation
1. Make sure you have Python 3.6+ installed
2. Install required dependencies:
```
pip install -r requirements.txt
```
## Configuration
The application uses a `.env` file for configuration. You can modify the default settings:
```env
# Default Collection URLs
CORE_COLLECTION_URL=https://steamcommunity.com/workshop/filedetails/?id=3521297585
CONTENT_COLLECTION_URL=steam://openurl/https://steamcommunity.com/sharedfiles/filedetails/?id=3521319712
COSMETICS_COLLECTION_URL=steam://openurl/https://steamcommunity.com/sharedfiles/filedetails/?id=3637541646
# ModsConfig.xml Path Template
MODSCONFIG_PATH_TEMPLATE=%USERPROFILE%\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config\ModsConfig.xml
```
## Usage
1. Run the application:
```
python steam_workshop_gui.py
```
2. **Set RimWorld Path**:
- Right-click RimWorld in Steam → Manage → Browse local files
- Copy and paste that path into the "RimWorld Game Folder" field
- The workshop path will automatically derive to `steamapps\workshop\content\294100`
3. **ModsConfig.xml**:
- The path is automatically detected
- You can manually edit if needed
- Click "Load Active Mods" to see currently enabled mods
4. **Collection Analysis**:
- Modify collection URLs or use defaults from .env
- Click "Extract Workshop IDs" to process collections
- See which mods are [INSTALLED] or [MISSING]
5. **Local Mod Management**:
- Click "List Local Mod Folders" to see downloaded workshop mods
- Compare with collection requirements and active mods
## File Structure
- `steam_workshop_gui.py` - Main application
- `.env` - Configuration file
- `requirements.txt` - Python dependencies
- `README.md` - This file
## URL Formats Supported
- Standard Steam Workshop URLs: `https://steamcommunity.com/workshop/filedetails/?id=XXXXXXXXX`
- Steam protocol URLs: `steam://openurl/https://steamcommunity.com/sharedfiles/filedetails/?id=XXXXXXXXX`
## Notes
- All paths are editable in the GUI
- Configuration URLs are loaded from .env file on startup
- Workshop path auto-derives from RimWorld path (steamapps\common\RimWorld → steamapps\workshop\content\294100)
- Processing may take a few seconds depending on collection size
- Workshop IDs are extracted from HTML content of collection pages
DLC detection is based on NotOwned_x.png if the user doesnt the same package NAME as the not owned png it doesnt proceed.
.envs populate pre loaded data, only change if their is an update to collection url
Doesnt sort so the current guidence to autosort from base game mod manager will still apply.
Art by ferny

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

BIN
art/Progression.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
art/ProgressionICO.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
art/ProgressionICO.psd Normal file

Binary file not shown.

BIN
art/ProgressionLogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@@ -1,3 +1,4 @@
requests>=2.25.1
python-dotenv>=0.19.0
pyglet>=1.5.0
Pillow>=8.0.0

File diff suppressed because it is too large Load Diff