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

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

Run on CMD With a Script

STEP 1:

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

STEP 2:

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

  -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.4.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: FixRaidenBoss2-3.5.4.tar.gz
  • Upload date:
  • Size: 20.7 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.4.tar.gz
Algorithm Hash digest
SHA256 ed8eb85c683fd13b2d177613b2be8c1fc24008ed9ef4505a67617e3ebfb286cb
MD5 f8a3e1d7515d0d8f317122e7a07a60a9
BLAKE2b-256 8581f3e477350c1d7d70ed2ec976e5a82a6a22ba148e5715f53b6bc48b828694

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for FixRaidenBoss2-3.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f50d3ef087b57c13e123d70755d41c322eb143d5934778a23cd38a5f2f48c974
MD5 289befac8e63c17cb0594154264f01f6
BLAKE2b-256 7f5b4f6f22134de4d62ff780cbd2a049147073dc84c35d68938c18d5c5e8d335

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