Metadata-Version: 2.4
Name: kh2fmbr
Version: 0.0.1
Home-page: https://github.com/roromaniac/khbr
Author: roromaniac
Author-email: rando4ukraine@gmail.com
Maintainer-email: rando4ukraine@gmail.com
License: MIT
Platform: any
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PyYAML
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: maintainer-email
Dynamic: platform
Dynamic: requires-dist

To install

pip install kh2fmbr

Setup an environment variable called "USE_KH2_GITPATH" which points to one level above your extracted KH2 directory (which should be called KH2)

Run extract_data.py to extract the MSN/ARD/OBJ BAR files, which are required to properly generate the mod

Run generate_randomizations.py to pre generate the randomizations for when boss mode == "one_to_one" (currently these are dummy randomizations that won't be stable)
    Note the folder generated by this script should either be in the khbr library directory, or at the same directory as your KH2 folder
    

Instructions to build boss rush alpha exe
* There is some hacky code here, make sure to uncomment for the build (Asset Generator -> TODO FIXME THIS HACKY but for now ju..)
* cd to khbr
* pyinstaller bossrush.py --collect-data KH2
* in the dist folder create a khbr folder, then copy the KH2/data folder there
* copy extracted_data from dist folder into the dist/bossrush folder
* zip up the folder, and upload to gdrive

Instructions for building
* change the version in setup.py and the log message in kingdomhearts2.py to match
* open linux terminal
* cd /mnt/c/Users/12sam/Desktop/git/khbr
* rm -rf build dist *.egg_info
* python setup.py clean --all
* python setup.py bdist_wheel
to test
* cd dist
* pip uninstall khbr
* pip install <>
* cd ~/.local/lib/python3.8/site-packages/kh2fmbr/
* python integration_tests.py
