This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.0.2 instead.
Reason given by maintainers: Typos
Ren'Py Save Reindexer
Renumbers Ren'Py save files (page-slot.save, e.g. 2-4.save) after you
change how many save slots fit on a page. Works on a save folder directly
or on a ZIP file containing a saves/ folder.
Build / install
From this folder:
pip install .
This installs the renpy-reindex command onto your PATH.
For local development without reinstalling on every change, use an editable install instead:
pip install -e .
Building a standalone executable (optional)
If you want a single .exe/binary you can hand to someone without Python
installed:
pip install pyinstaller
pyinstaller --onefile --name renpy-reindex -m renpy_reindexer.cli
The binary will show up under dist/.
Usage
renpy-reindex <path> --old-slots <N> --new-slots <N> [options]
| Argument | Description |
|---|---|
input_path |
Save folder, or a ZIP containing a saves/ folder |
-o, --old-slots N |
Slots per page under the old layout (required) |
-n, --new-slots N |
Slots per page under the new layout (required) |
--dry-run |
Preview renames only; nothing is written |
--no-backup |
Skip creating a <dir>_backup copy first |
-y, --yes |
Skip the confirmation prompt |
--version |
Print the version and exit |
Examples
Preview what would change, going from 6 slots/page to 10:
renpy-reindex ./saves --old-slots 6 --new-slots 10 --dry-run
Actually do it, from a ZIP export, skipping the confirmation prompt:
renpy-reindex ./MyGameSaves.zip -o 6 -n 10 -y
Publishing to PyPI
The name renpy-reindexer is currently available on PyPI. Before publishing,
open pyproject.toml and fill in your real name/email under authors, and
your GitHub repo URL under [project.urls] (or delete that section if you
don't have one).
-
Create accounts (skip any you already have):
- https://pypi.org/account/register/
- https://test.pypi.org/account/register/ (a sandbox — recommended for a first dry run so a mistake doesn't burn your real release)
-
Create an API token (don't use your account password directly):
- PyPI: https://pypi.org/manage/account/token/ → scope it to this project once the name is registered, or "entire account" for the very first upload
- TestPyPI has its own separate token page
-
Build the distribution (already done for you in
dist/, but if you change the code, rebuild with):pip install build twine python -m build twine check dist/*
-
Upload to TestPyPI first:
twine upload --repository testpypi dist/*
You'll be prompted for a username and password — use
__token__as the username and paste the full API token (startingpypi-) as the password. Then sanity-check the install from the sandbox:pip install --index-url https://test.pypi.org/simple/ renpy-reindexer
-
Upload to the real PyPI:
twine upload dist/*
Same
__token__/ API-token login, just against the real index. -
Install it anywhere:
pip install renpy-reindexer
To save credentials so you're not prompted every time, create ~/.pypirc:
[pypi]
username = __token__
password = pypi-YOUR-TOKEN-HERE
[testpypi]
username = __token__
password = pypi-YOUR-TEST-TOKEN-HERE
Releasing a new version later: bump version in pyproject.toml (PyPI
rejects re-uploading the same version number), then repeat steps 3 and 5.
Safety
By default, a full backup of the save directory is made (as
<directory>_backup) before anything is renamed. Renames happen in two
passes (old name → temp name → new name) so that slot numbers never
collide mid-run, and any failure partway through rolls back the temp
renames it already made.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file renpy_reindexer-1.0.0.tar.gz.
File metadata
- Download URL: renpy_reindexer-1.0.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb6ac873ad912ddf7c1183702e191a90b3b5398c111f1ccab59b9125af02c85e
|
|
| MD5 |
ec39be6b2cbaeaa9017991e82469c236
|
|
| BLAKE2b-256 |
14ce04855723a85d7c8c7c417abc5b87c850704b4c8312bd9b2e0e4ad1bd56d5
|
File details
Details for the file renpy_reindexer-1.0.0-py3-none-any.whl.
File metadata
- Download URL: renpy_reindexer-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
705e394d5c3baaca86d6d76913ee42ba03fa0e4b7aae0223093425d2f3271bed
|
|
| MD5 |
522591ebb97d07f3ba38bd8cfa931011
|
|
| BLAKE2b-256 |
c5ecfef520b69cf239c1acb2f197ecdfb17548258115fd34562e89bf4bae5ea5
|