Skip to main content

A script to fix Raiden Shogun Boss Phase 1 for all types of mods

Project description

FIX RAIDEN BOSS

PyPI PyPI PyPI

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

More examples here

How to Run

Let's Start !

STEP 1:

  • Copy THIS script into GIMI's Mod folder or your Raiden Mod folder.

Use the --all option to read all .ini files encountered or make sure the .ini files contain the section named [TextureOverrideRaidenShogunBlend]

STEP 2:

  • Double click on the script

STEP 3:

  • Open the game and enjoy it

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 mod folder or GIMI's Mod folder and type:
python -m FixRaidenBoss2

then enter

Use the --all option to read all .ini files encountered or make sure the .ini files contain the section named [TextureOverrideRaidenShogunBlend]

STEP 3:

  • Open the game and enjoy it

Run on CMD With a Script

STEP 1:

  • Copy THIS script into GIMI's Mod folder or your Raiden Mod folder

STEP 2:

python FixRaidenBoss2.py

then enter

Use the --all option to read all .ini files encountered or make sure the .ini files contain the section named [TextureOverrideRaidenShogunBlend]

STEP 3:

  • Open the game and enjoy it

Command Options

  -h, --help          show this help message and exit
  -s str, --src str   The path to the Raiden mod folder. If this option is not specified, then will
                      use the current directory as the mod folder.
  -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, --log           Logs the printed out log into a seperate .txt file
  -a, --all           Parses all *.ini files that the program encounters instead of only parsing
                      *.ini files that have the section [TextureOverrideRaidenShogunBlend]

API Usage

Tool developpers can now include the fix within their code.


Make sure you first install the module by typing into cmd:

python -m pip install -U FixRaidenBoss2

Example of Only Fixing the Blend.buf file

import FixRaidenBoss2 as FRB

FRB.Mod.blendCorrection("RaidenShogunBlend.buf", "RaidenShogunRemapBlend.buf")

Example of Successful Run

import FixRaidenBoss2 as FRB

raidenBossFixService = FRB.RaidenBossFixService(path = r"my raiden folder path", log = True, verbose = False)
raidenBossFixService.fix()

print("The Raiden Mod is fixed!")

Example Result
Creating log file, RSFixLog.txt
The Raiden Mod is fixed!

Example of Handling Errors

import FixRaidenBoss2 as FRB

raidenBossFixService = FRB.RaidenBossFixService(path = r"my raiden folder path that contains a duplicate .ini file", log = True, verbose = False)

print("Starting to fix mod...")
try:
    raidenBossFixService.fix()
except FRB.DuplicateFileException as e:
    print("The fix failed because there is a duplicate .ini file... :(")
else:
    print("The Raiden Mod is fixed!")

Example Result
Starting to fix mod...
Creating log file, RSFixLog.txt
The fix failed because there is a duplicate .ini file... :(

More info here (docs coming out soon...)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FixRaidenBoss2-3.5.3.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

FixRaidenBoss2-3.5.3-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file FixRaidenBoss2-3.5.3.tar.gz.

File metadata

  • Download URL: FixRaidenBoss2-3.5.3.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for FixRaidenBoss2-3.5.3.tar.gz
Algorithm Hash digest
SHA256 413d878d7faff12982073d6a73c18cd7d256d91ea04cdfdb6c41423d4063d3ff
MD5 808098e321aa1ddc994d7664b254a134
BLAKE2b-256 84b19bd3c77752628b4bbaf38b37ad31b639a02b7767b24b7401f8a5de8445a4

See more details on using hashes here.

File details

Details for the file FixRaidenBoss2-3.5.3-py3-none-any.whl.

File metadata

File hashes

Hashes for FixRaidenBoss2-3.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9e72380569420395ce5706a684c19073f65c73d1962f9e43e6f34f8720404ac8
MD5 2dee73e842c93eb3da6a39bb25313b9f
BLAKE2b-256 06e9489b5444832b743bd83e5b76f48a879cff029fd8574df2553daf1df19f49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page