A script to fix Raiden Shogun Boss Phase 1 for all types of mods
Project description
FIX RAIDEN BOSS
- Author Ideal NK#1321
- Thank SilentNightSound#7430 for the logic rewrite
- Thank HazrateGolabi#1364 for combine and make final script
- Thank Albert Gold#2696 for update the code for merged mods
Requirements
VIDEO TUTORIAL AND EXAMPLES:
Quickstart
Individual Mod: https://www.youtube.com/watch?v=29FM0GywcWA
Merged Mods: https://www.youtube.com/watch?v=nEyMYIHdrQM
Mega Merged Mods: https://www.youtube.com/watch?v=08co5ct7zeg
More Features
How to Run
-
Choose your pick of which way to run the script:
- Choice A: Quickstart! 🟢 (for beginners)
- Choice B: CMD WITHOUT a Script 🟡 (recommended if you run by CMD)
- Choice C: CMD with a Script 🟡 (the convention that other GIMI scripts follow)
- Choice D: API 🟠 (for expert coders)
Choice A: Let's Start ! 🟢
STEP 1:
- Copy THIS script in your Raiden Mod folder or GIMI's
Mod
folder.
Make sure the .ini
files contain the section named [TextureOverrideRaidenShogunBlend]
or use the --all
option to read all .ini files the program encounters
STEP 2:
- Double click on the script
STEP 3:
- Open the game and enjoy it
Choice B: Run on CMD Without a Script 🟡
STEP 1:
- Install the module onto your computer by opening cmd and typing :
python -m pip install -U FixRaidenBoss2
then enter
( you can now run the program anywhere without copying a script! )
STEP 2:
- open cmd in your Raiden Mod folder or GIMI's
Mod
folder and type:
python -m FixRaidenBoss2
then enter
Make sure the .ini
files contain the section named [TextureOverrideRaidenShogunBlend]
or use the --all
option to read all .ini files the program encounters
STEP 3:
- Open the game and enjoy it
Choice C: Run on CMD With a Script 🟡
STEP 1:
- Copy THIS script in your Raiden Mod folder or GIMI's
Mod
folder
STEP 2:
- open cmd and type
python FixRaidenBoss2.py
then enter
Make sure the .ini
files contain the section named [TextureOverrideRaidenShogunBlend]
or use the --all
option to read all .ini files the program encounters
STEP 3:
- Open the game and enjoy it
Command Options
Options | Description |
---|---|
-h, --help | show this help message and exit |
-s str, --src str | The starting path to run this fix. If this option is not specified, then will run the fix from the current directory. |
-d, --deleteBackup | deletes backup copies of the original .ini files |
-f, --fixOnly | only fixes the mod without cleaning any previous runs of the script |
-r, --revert | reverts back previous runs of the script |
-l str, --log str | The folder location to log the printed out text into a seperate .txt file. If this option is not specified, then will not log the printed out text. |
-a, --all | Parses all *.ini files that the program encounters. This option supersedes the --types |
-n str, --defaultType str | The default mod type to use if the *.ini file belongs to some unknown mod If the --all option is set to True, then this argument will be 'raiden'. Otherwise, if this value is not specified, then any mods with unknown types will be skipped See below for the different names/aliases of the supported types of mods. |
-t str, --types str | Parses *.ini files that the program encounters for only specific types of mods. If the --all option has been specified, this option has no effect. By default, if this option is not specified, will parse the *.ini files for all the supported types of mods. Please specify the types of mods using the the mod type's name or alias, then seperate each name/alias with a comma(,) eg. raiden,arlecchino,ayaya |
Mod Types
Below are the supported types of mods
Name | Aliases | Description |
---|---|---|
Raiden | Ei, RaidenShogun, SmolEi, RaidenShotgun, RaidenEi, Cryden, Shogun, Shotgun, CrydenShogun | check if the .ini file contains a section matching the regex, ^\s\*\[\s\*TextureOverride.\*(Raiden|Shogun)((?!RemapBlend).)\*Blend.\*\s\*\] |
Choice D: API Usage 🟠
Tool developpers can now include the fix within their code!
API Documentation
For more info about how to use the API, visit the documentation at https://fix-raiden-boss.readthedocs.io/en/latest/
API Setup
Make sure you first install the module by typing into cmd:
python -m pip install -U FixRaidenBoss2
API Examples
See the documentation for more detailed examples on how to use the API.
Below is a preview that gives a feel of using the API
eg. Running the following code under this folder
import FixRaidenBoss2 as FRB
fixService = FRB.BossFixService(keepBackups = False)
fixService.fix()
print("The Raiden Mod is fixed!")
Example Result
===== Types of Mods To Fix =====
- Raiden
================================
# Mods/Ayaka/Raiden --> Removing any previous changes from this script in raiden.ini
# Mods/Ayaka/Raiden -->
# Mods/Ayaka/Raiden --> Parsing raiden.ini...
# Mods/Ayaka/Raiden --> Fixing the Blend.buf files for raiden.ini...
# Mods/Ayaka/Raiden --> Making the fixed ini file for raiden.ini
# Mods/Ayaka/Raiden -->
# Mods/Ei/Raiden --> No Previous RemapBlend.buf found at absolute/path/Mods/Ei/Raiden/Body/BodyEntityRemapBlend.buf
# Mods/Ei/Raiden --> No Previous RemapBlend.buf found at absolute/path/Mods/Ei/Raiden/leftWing/LeftWingEntityRemapBlend.buf
# Mods/Ei/Raiden --> No Previous RemapBlend.buf found at absolute/path/Mods/Ei/Raiden/rightWing/RightWingEntityRemapBlend.buf
# Mods/Ei/Raiden -->
# Mods/Ei/Raiden --> Removing any previous changes from this script in tri_merge_core.ini
# Mods/Ei/Raiden -->
# Mods/Ei/Raiden --> Parsing tri_merge_core.ini...
# Mods/Ei/Raiden --> Fixing the Blend.buf files for tri_merge_core.ini...
# Mods/Ei/Raiden --> Blend file correction done at absolute/path/Mods/Ei/Raiden/Body/BodyEntityRemapBlend.buf
# Mods/Ei/Raiden --> Blend file correction done at absolute/path/Mods/Ei/Raiden/leftWing/LeftWingEntityRemapBlend.buf
# Mods/Ei/Raiden --> Blend file correction done at absolute/path/Mods/Ei/Raiden/rightWing/RightWingEntityRemapBlend.buf
# Mods/Ei/Raiden --> Making the fixed ini file for tri_merge_core.ini
# Mods/Ei/Raiden -->
# Mods/Ei/Raiden/leftWing --> No Previous RemapBlend.buf found at absolute/path/Mods/Ei/Raiden/rightWing/listeners/rightWingListenerRemapBlend.buf
# Mods/Ei/Raiden/leftWing --> No Previous RemapBlend.buf found at absolute/path/Mods/Ei/Raiden/Body/listeners/heartListenerRemapBlend.buf
# Mods/Ei/Raiden/leftWing --> No Previous RemapBlend.buf found at absolute/path/Mods/Ei/Raiden/rightWing/controllers/rightWingControllerRemapBlend.buf
# Mods/Ei/Raiden/leftWing --> No Previous RemapBlend.buf found at absolute/path/Mods/Ei/Raiden/Body/controllers/heartPumpControllerRemapBlend.buf
# Mods/Ei/Raiden/leftWing -->
# Mods/Ei/Raiden/leftWing --> Removing any previous changes from this script in left_wing_merge.ini
# Mods/Ei/Raiden/leftWing -->
# Mods/Ei/Raiden/leftWing --> Parsing left_wing_merge.ini...
# Mods/Ei/Raiden/leftWing --> Fixing the Blend.buf files for left_wing_merge.ini...
# Mods/Ei/Raiden/leftWing --> Blend file correction done at absolute/path/Mods/Ei/Raiden/rightWing/listeners/rightWingListenerRemapBlend.buf
# Mods/Ei/Raiden/leftWing --> Blend file correction done at absolute/path/Mods/Ei/Raiden/Body/listeners/heartListenerRemapBlend.buf
# Mods/Ei/Raiden/leftWing --> Blend file has already been corrected at absolute/path/Mods/Ei/Raiden/leftWing/LeftWingEntityRemapBlend.buf
# Mods/Ei/Raiden/leftWing --> Blend file correction done at absolute/path/Mods/Ei/Raiden/rightWing/controllers/rightWingControllerRemapBlend.buf
# Mods/Ei/Raiden/leftWing --> Blend file correction done at absolute/path/Mods/Ei/Raiden/Body/controllers/heartPumpControllerRemapBlend.buf
# Mods/Ei/Raiden/leftWing --> Making the fixed ini file for left_wing_merge.ini
# Mods/Ei/Raiden/leftWing -->
# Mods/Ei/Raiden/rightWing --> No Previous RemapBlend.buf found at absolute/path/Mods/Ei/Raiden/leftWing/listeners/leftWingListenerRemapBlend.buf
# Mods/Ei/Raiden/rightWing --> No Previous RemapBlend.buf found at absolute/path/Mods/Ei/Raiden/leftWing/controllers/leftWingControllerRemapBlend.buf
# Mods/Ei/Raiden/rightWing -->
# Mods/Ei/Raiden/rightWing --> Removing any previous changes from this script in right_wing_merge.ini
# Mods/Ei/Raiden/rightWing -->
# Mods/Ei/Raiden/rightWing --> Parsing right_wing_merge.ini...
# Mods/Ei/Raiden/rightWing --> Fixing the Blend.buf files for right_wing_merge.ini...
# Mods/Ei/Raiden/rightWing --> Blend file correction done at absolute/path/Mods/Ei/Raiden/leftWing/listeners/leftWingListenerRemapBlend.buf
# Mods/Ei/Raiden/rightWing --> Blend file has already been corrected at absolute/path/Mods/Ei/Raiden/Body/listeners/heartListenerRemapBlend.buf
# Mods/Ei/Raiden/rightWing --> Blend file has already been corrected at absolute/path/Mods/Ei/Raiden/rightWing/RightWingEntityRemapBlend.buf
# Mods/Ei/Raiden/rightWing --> Blend file correction done at absolute/path/Mods/Ei/Raiden/leftWing/controllers/leftWingControllerRemapBlend.buf
# Mods/Ei/Raiden/rightWing --> Blend file has already been corrected at absolute/path/Mods/Ei/Raiden/Body/controllers/heartPumpControllerRemapBlend.buf
# Mods/Ei/Raiden/rightWing --> Making the fixed ini file for right_wing_merge.ini
# Mods/Ei/Raiden/rightWing -->
# Mods/Ei/Raiden/Body/Center --> No Previous RemapBlend.buf found at absolute/path/Makoto/MakotoRemapBlend.buf
# Mods/Ei/Raiden/Body/Center --> No Previous RemapBlend.buf found at absolute/path/Mods/Ei/Raiden/Body/whoopsIReferencedTheWrongThingRemapBlend.buf
# Mods/Ei/Raiden/Body/Center -->
# Mods/Ei/Raiden/Body/Center --> Removing any previous changes from this script in heart.ini
# Mods/Ei/Raiden/Body/Center -->
# Mods/Ei/Raiden/Body/Center --> Parsing heart.ini...
# Mods/Ei/Raiden/Body/Center --> Fixing the Blend.buf files for heart.ini...
# Mods/Ei/Raiden/Body/Center --> Blend file correction done at absolute/path/Makoto/MakotoRemapBlend.buf
# Mods/Ei/Raiden/Body/Center --> Blend file has already been corrected at absolute/path/Mods/Ei/Raiden/rightWing/listeners/rightWingListenerRemapBlend.buf
# Mods/Ei/Raiden/Body/Center --> Blend file has already been corrected at absolute/path/Mods/Ei/Raiden/leftWing/listeners/leftWingListenerRemapBlend.buf
# Mods/Ei/Raiden/Body/Center -->
# Mods/Ei/Raiden/Body/Center --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Mods/Ei/Raiden/Body/Center -->
# Mods/Ei/Raiden/Body/Center --> FileNotFoundError: [Errno 2] No such file or directory: 'absolute/path/Mods/Ei/Raiden/Body/whoopsIReferencedTheWrongThing.buf'
# Mods/Ei/Raiden/Body/Center -->
# Mods/Ei/Raiden/Body/Center --> Traceback (most recent call last):
# Mods/Ei/Raiden/Body/Center --> File "absolute/path/../../Fix-Raiden-Boss 2.0 (for all user )/src/FixRaidenBoss2/FixRaidenBoss2.py", line 4241, in correctBlend
# Mods/Ei/Raiden/Body/Center --> correctedBlendPath = self.blendCorrection(origFullPath, modType, fixedBlendFile = fixedFullPath)
# Mods/Ei/Raiden/Body/Center --> File "absolute/path/../../Fix-Raiden-Boss 2.0 (for all user )/src/FixRaidenBoss2/FixRaidenBoss2.py", line 4120, in blendCorrection
# Mods/Ei/Raiden/Body/Center --> with open(blendFile, "rb") as f:
# Mods/Ei/Raiden/Body/Center --> FileNotFoundError: [Errno 2] No such file or directory: 'absolute/path/Mods/Ei/Raiden/Body/whoopsIReferencedTheWrongThing.buf'
# Mods/Ei/Raiden/Body/Center -->
# Mods/Ei/Raiden/Body/Center --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Mods/Ei/Raiden/Body/Center -->
# Mods/Ei/Raiden/Body/Center --> Blend file has already been corrected at absolute/path/Mods/Ei/Raiden/rightWing/controllers/rightWingControllerRemapBlend.buf
# Mods/Ei/Raiden/Body/Center --> Blend file has already been corrected at absolute/path/Mods/Ei/Raiden/leftWing/controllers/leftWingControllerRemapBlend.buf
# Mods/Ei/Raiden/Body/Center --> Making the fixed ini file for heart.ini
# Mods/Ei/Raiden/Body/Center -->
# Mods -->
# Mods --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Mods -->
# Mods --> WARNING: The following Blend.buf files were skipped due to warnings (see log above):
# Mods -->
# Mods --> ===== Mod: Mods/Ei/Raiden/Body/Center =====
# Mods -->
# Mods --> - Ei/Raiden/Body/whoopsIReferencedTheWrongThingRemapBlend.buf:
# Mods --> --- FileNotFoundError ---
# Mods --> [Errno 2] No such file or directory: 'absolute/path/Mods/Ei/Raiden/Body/whoopsIReferencedTheWrongThing.buf'
# Mods -->
# Mods --> ===========================================
# Mods -->
# Mods --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Mods -->
# Mods -->
# Mods -->
# Mods --> ========== Summary ==========
# Mods -->
# Mods --> - Out of 5 found mods, fixed 5 mods and skipped 0 mods
# Mods --> - Out of the 5 *.ini files within the found mods, fixed 5 *.ini files and skipped 0 *.ini file files
# Mods --> - Out of the 11 Blend.buf files within the found mods, fixed 10 Blend.buf files and skipped 1 Blend.buf files
# Mods -->
# Mods --> =============================
# Mods -->
The Raiden Mod is fixed!
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file fixraidenboss2-3.7.0.tar.gz
.
File metadata
- Download URL: fixraidenboss2-3.7.0.tar.gz
- Upload date:
- Size: 42.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e58268c1f3ac9b3c21364839e35a5811c8c5f473e8259b87785974f0d4211d8c |
|
MD5 | 5e8362b5dff5f66f9bda81c3af7f8e8c |
|
BLAKE2b-256 | 3c1726e4fb2d4a366255cac800a910ff560ee8a431bc76457db2712c0a16e5a4 |
File details
Details for the file FixRaidenBoss2-3.7.0-py3-none-any.whl
.
File metadata
- Download URL: FixRaidenBoss2-3.7.0-py3-none-any.whl
- Upload date:
- Size: 40.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee08022641966d8601a8704714e0e6e4e15be6f152c11548c797370bf43b96ee |
|
MD5 | 2cf2c2d5eecd8cbdad305604f75ede47 |
|
BLAKE2b-256 | 48a6481ea8a97ca9ab62feb31db4065e3986ca2e2c4e457ac3c1030726de53b3 |