Giter Site home page Giter Site logo

therealpsv / openheroselect Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 5.0 21.45 MB

Extendable HeroSelect script for Marvel Ultimate Alliance and X-Men Legends II

Home Page: https://marvelmods.com/forum/index.php/topic,10597.0.html

License: GNU Affero General Public License v3.0

Python 20.35% JavaScript 79.65%

openheroselect's Introduction

OpenHeroSelect

Extendable HeroSelect script for Marvel Ultimate Alliance and X-Men Legends II

Download

Please note that 32-bit versions take longer to generate, so the latest release of the 32-bit version may not be available for a while after the 64-bit version is created.

Usage instructions

Instructions

Developing/Building instructions

  • Requires python/pip (recommended Python version is 3.12.1) and nodejs/npm (recommended Node.JS version is 20.12.1) to be installed
    • If using a node version management tool like fnm, you can simply type fnm use to use the nodejs version defined in .nvmrc.
    • If using a python version management tool like pyenv-win, you can simply type pyenv install $(get-content .python-version) to make sure you're using the python version defined in .python-version.
  • Recommended to use eslint --fix with provided .eslintrc.js to reformat code
  • The build script should automatically add the icon and version info to the generated exes, version info is based on what's set in package.json
  • Don't forget to run npm i to bring in the required dependencies, before doing anything else; also run this command after changing the project version in package.json, before committing the version number change

npm commands

  • npm run pipsetup: Sets up python dependencies (assumes pip is in your path)
  • npm run clean: Clean out build files
  • npm run fullclean: Clean out build and cache files
  • npm run build: Builds the entire project to the build/ directory
  • npm run build32: Builds the entire project to the build/ directory, attempts to create a 32-bit compatible version
  • npm run distpackage: Cleans out the build/cache files, rebuilds the project, and packages it for distribution inside the dist/ folder.
  • npm run distpackage32: Cleans out the build/cache files, rebuilds the project, and packages it for distribution inside the dist/ folder, attempts to create a 32-bit compatible version.
  • npm run buildohs: Build only OpenHeroSelect.exe
  • npm run buildohs32: Build only OpenHeroSelect.exe, attempts to create a 32-bit compatible version
  • npm run buildjson2xmlb: Build only json2xmlb.exe
  • npm run buildjson2xmlb32: Build only json2xmlb.exe, attempts to create a 32-bit compatible version
  • npm run buildcopyfiles: Copy supporting files to build/ directory

MarvelMods thread

https://marvelmods.com/forum/index.php/topic,10597.0.html

Special Thanks

  • @sgprinc/Sagap @ MarvelMods - Various improvements in v2
  • @EthanReed517/BaconWizard17 @ MarvelMods - xml to json conversion Python script, testing and rosters for X-Men Legends II support, additional testing and improvements
  • @nikita488/nikita488 @ MarvelMods - json to xmlb conversion Python script
  • @ak2yny/ak2yny @ MarvelMods - OCP v2.4 character stats and roster, xml to json conversion Python script, additional testing and improvements
  • @JordanLeich - Additional menulocations

openheroselect's People

Contributors

ak2yny avatar dependabot[bot] avatar ethanreed517 avatar jordanleich avatar sgprinc avatar therealpsv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

openheroselect's Issues

Defaultman might cause issues with the 50 roster

A user recently was unable to load a save with a 50 roster built from OHS.
It has been confirmed that many used OHS normally before, without load/save issues. I don't have any idea currently, how to test this.
The issue could have been a length limit issue, as the count is 51 with Defaultman. It could've been a different issue, like a problem in one of the herostats, but it's less likely.
Removing Defaultman poses a different issue, so changing that code should be considered carefully.

} else if (options.rosterHack || characters.length < DEFAULT_HEROLIMIT || menulocations.length < DEFAULT_HEROLIMIT) {
//for mua, add defaultman, unless no roster hack is installed and all 27 character slots are filled
herostat += DEFAULTMAN[FORMAT] + comma[FORMAT] + "\n";

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.