1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-24 02:44:17 +00:00

Add Support for Custom Stages in Training Mode (#628)

* Add patch for Custom Stages

* fmt

* Changelog
This commit is contained in:
GradualSyrup 2023-09-10 01:24:59 -05:00 committed by GitHub
parent 14b76e3c2b
commit 40f3133e54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -513,6 +513,7 @@ These are the features that can be found [in the latest beta release](https://gi
* **Input Recording**: Trigger a recording and play it back (default binds: `R+DPad Down`, `R+DPad Up` respectively)! These recordings can be customized in terms of length between 60 and 600 frames, looping, and more! They can be configured to run in familiar situations like Mash or Ledge options and more - @GradualSyrup, @jugeeya
* **Input Display**: Show inputs in a per-status, frame counted log-style viewer! Choose between raw controller inputs and "Smash"-style inputs, being what the game actually understands and passes to fighters - @jugeeya, @xhudaman
* **Auto-Updater**: Allow the modpack to automatically update itself when updates are available. Users can choose which update track they'd like from the Stable or Beta track in the menu - @asimon-1
* **Custom Stages**: The Custom Stage Tab is now visible in Training Mode, allowing for labbing on Custom Stages - @GradualSyrup, @RayTwo
* **Mash Overrides**: Specify which mash options to perform in specific scenarios - @GradualSyrup, @asimon-1
* **Hide Tech Animations**: Animations and the CPU cursor are are hidden (character model/effects are invisible) during when the CPU is teching-- use this to practice true reaction tech chasing! The fixed camera is also modified on legal stages to aid this practice. - @GradualSyrup
* **Customizable Button Configs**: Configure button combinations for save states and input recording in the menu itself. Please note that we now use raw inputs rather than Smash inputs, and save state save/load binds have moved to `L+DPad Down`, `L+DPad Up` respectively - @jugeeya

View file

@ -878,6 +878,11 @@ pub fn training_mods() {
add_hook(params_main).unwrap();
}
// Enable Custom Stages for Training Mode
// Specifically, we prevent a field in StageSelectInfo of the Scene that controls if the Custom Stage tab is loaded
// from being set to false when we load the SSS in Training Mode
skyline::patching::Patch::in_text(0x184d1d8).nop().unwrap();
skyline::install_hooks!(
// Mash airdodge/jump
handle_get_command_flag_cat,