1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-28 04:44:06 +00:00
Commit graph

367 commits

Author SHA1 Message Date
jugeeya
3f5e8398d7 Fix Quick Menu selection (failed to r/w hitbox vis + quick menu previously) 2022-10-04 01:23:55 -07:00
github-actions[bot]
afb8427c0d
Format Rust code using rustfmt 2022-10-03 16:06:19 +00:00
jugeeya
ef5fb1c1e4
Don't spawn web menu thread on emulator 2022-10-03 08:52:12 -07:00
jugeeya
88abeadfdd Fix issue with not being able to reopen menu after fighter reset/reentry into training 2022-10-02 09:38:40 -07:00
github-actions[bot]
17f2b05940
Format Rust code using rustfmt 2022-09-08 02:39:14 +00:00
asimon-1
36c6e8859a
Refactor to use Web Sessions (#384)
* Initial commit

* don't rewrite file each time

* Format Rust code using rustfmt

* Receive menu settings from web via message

* Adjust logic

* Stub changes for json messages

* Rust: receive menu as json

* Small JS changes for desktop

* Attempt to fix exit issues

* Fix filename issue

* JS: Export menu as json

* Use JSON for Rust -> JS message

* Update .conf file schema to json

* Tear down session when leaving training mode

* Remove URL behavior, rename WebAppletResponse -> MenuJsonStruct

* Update TUI to use JSON

Co-authored-by: jugeeya <jugeeya@live.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-07 19:34:39 -07:00
gnaomo
55ee4733e2
Fix Touchscreen Back Button (#381)
Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
2022-08-05 09:10:04 -07:00
Matthew Edell
16f975a9d0
Update web UI for better maintenance (#380)
* Updated menu buttons and icons

* Cleaned up .devcotainer

* removed dockerfile from .devcontainer in favour
of using image

* Added JS settings, updated menu template, css, js

* Updated tab width to 4

* Refactored openTab and closeAllItems,
default tab content to be hidden,
added polyfill for NodeList.forEach

* Refactored openItem, made targeting modals easier

* Refactored toggleOption

* Fixed clicking tab not closing active modals

* Updated aerial delay and falling aerial icons

* Updated colours of defensive settings menu icons

* Updated misc tab menu icon colours

* Fixed oos_offset, shield_state, and shield_tilt

* Fixed all tabs defaulting to active,
Updated modals to be outside menu_items,
Refactored JS to work with new HTML hierarchy

* Updated settings to be JSON

* Fixed single options not populating correctly from url

* Updated menu to edit settings object when toggled

* Removed updating settings from menu before exit

* Refactored comments to fewer lines

* Refactored to use const,
Refactored to use camelCase,
Refactored resetCurrentSubmenu & resetAllSubmenus

* Fixed size and alignment of menu item text,
Fixed size of option button's text,
Fixed colour of crouch icon

* Updated stroke width for crouch icon feet & arms

* Updated check to use fontawesome as a base,
Changed colour to have better contrast,
Added outline for better contrast

* Updated one-winged angel option to 1-winged angel

* Updated openTab and resetCurrentMenu to play sfx
2022-08-04 19:34:25 -07:00
asimon-1
e42e046b87
Make ganon's aerial sideb untechable (#375) 2022-06-22 03:49:57 -10:00
asimon-1
9d2f87290b
Add Crouch Setting (#373)
* Hold stick down when requesting crouch

* Add icon
2022-06-16 07:38:33 -10:00
GradualSyrup
5d94e57d70
Bonus Fruit thrown when charged (#372) 2022-06-07 22:26:04 -07:00
GradualSyrup
e4248c2857
State load mash fix (#370)
* Reset queue again to clear mash

* Remove unnecessary reset
2022-06-07 18:36:44 -07:00
jugeeya
283279b10c
Fixes for Quick Menu Multi-selections (#362) 2022-05-31 20:43:00 -07:00
jugeeya
9cc4c6b73b
Update to cargo-skyline 3.0.0 (with updated Rust STD!) (#359)
* Try cargo-skyline 3.0.0

* Update Cargo.toml

* Update lib.rs

* Update combo.rs
2022-05-25 15:07:56 -07:00
jugeeya
2d37bc22e4
Link's bomb should be 1st variant 2022-05-22 17:07:27 -07:00
jugeeya
8c5f4ec67a
Menu icon for Character Item 2022-05-22 10:57:21 -07:00
jugeeya
ac78fb4a4d
Save States with items (#350)
* initial

* Complete refactor, add save state autoload

* forgot to commit consts folder

* Format Rust code using rustfmt

* Refactor, attempt CPU as well

* Update items.rs

* Format Rust code using rustfmt

* Fix web menu

* Format Rust code using rustfmt

* Fix crashes due to cpu kind not set

* Format Rust code using rustfmt

* Prevent Nana from Spawning with Items (#353)

Simple check before giving items

* somehow this code caused blackscreens on ryujinx?

* remerge

* Link and Diddy fixes, Players spawning with CPU item fixes (#355)

* Format Rust code using rustfmt

* Delete mash buffer queue entirely when spawning items to fix diddy as cpu; nits

* fix merge

* nit

* Format Rust code using rustfmt

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: GradualSyrup <68757075+GradualSyrup@users.noreply.github.com>
2022-05-21 17:57:41 -07:00
jugeeya
41ecb8aa38
Save state autoload (#352)
* Add save state autoload option

* Add autoload option

* Format Rust code using rustfmt

* Update save_states.rs

* Add files via upload

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-16 21:58:32 -07:00
asimon-1
aa416d8065
Menu fixes (#347)
* Menu style nits

* Avoid creating junk folders
2022-05-10 18:45:24 -07:00
jugeeya
71c30990e4
Quick Menu: B Button hold fix, update from web menu (#345)
* Fix prev_frame_is_pressed

* Update menu when not active

* Update lib.rs

* Actual fix using frame_counter

* Format Rust code using rustfmt

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-09 21:40:09 -07:00
asimon-1
f948ceec53
Version check for v3.3 (#344)
* Version check for v3.3

* Use enum instead of Option<bool>
2022-05-08 15:48:13 -07:00
github-actions[bot]
cef391b519
Format Rust code using rustfmt 2022-05-08 20:43:20 +00:00
GradualSyrup
365d8107dc
Reset percent after potential healing from deep breathing (#343) 2022-05-08 13:39:12 -07:00
asimon-1
adef866456
Fix shieldgrabs (#341) 2022-05-07 10:59:28 -07:00
asimon-1
2cd382e0bc
Feature: Clatter Strength (#337)
* Initial clatter work

* Add clatter to menus

* Change joint to hip

* Update SDI and Clatter to use the same enum

* Avoid early clatter/sdi input
2022-05-03 23:23:01 -07:00
asimon-1
866035ce7f
Fix SDI crest bug (#336)
* Fix SDI crest bug

* Fix clippy warnings
2022-04-22 12:45:14 -07:00
asimon-1
a6d12eb3e9
Remove fonts (#334) 2022-04-11 13:58:52 -07:00
github-actions[bot]
3255a0349d
Format Rust code using rustfmt 2022-04-09 22:14:25 +00:00
asimon-1
a6bed95de3
Tabbed Web Menu (#333)
* Web menu refactor

* Fix some menu items

* Fixes for quick_menu, general clippy fixes

* Revert small testing change

* Add quick menu SVG

* Fix defaults saving/loading

* Log the last URL from the web menu

Co-authored-by: jugeeya <jugeeya@live.com>
2022-04-09 15:10:44 -07:00
jugeeya
6da6aa41b7
Clippy Linter Fixes (#323)
* initial

* small fix

* Update rust.yml

* Update lib.rs

* Format Rust code using rustfmt

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-24 23:48:50 -07:00
jugeeya
3f049605c3 Merge branch 'master' of https://github.com/jugeeya/UltimateTrainingModpack 2022-03-24 17:12:10 -07:00
jugeeya
24c3e8a020 Embed shaders & font into menu NRO 2022-03-24 17:11:50 -07:00
jugeeya
63d31499f5
Use colors in Quick Menu (#325) 2022-03-24 09:27:14 -07:00
jugeeya
42ab764757 Some Quick Menu fixes 2022-03-21 10:03:08 -07:00
jugeeya
491b8f975f Fix quick menu disabling 2022-03-21 00:57:30 -07:00
jugeeya
2c3e0d752c Fixes to menu; use left side of screen 2022-03-21 00:51:58 -07:00
jugeeya
3a9dae3576 Move external Quick Menu dependencies to static/ 2022-03-20 11:50:56 -07:00
jugeeya
6976c53172 Small fixes to Quick Menu 2022-03-20 11:23:45 -07:00
jugeeya
e4e2de0a79
Quick Menu + Ryujinx Compatibility (#313)
* Initial commit

* Format Rust code using rustfmt

* Add back fs calls

* working with drawing

* wow we're almost there

* multi-lists working, selection within tui working

* working with tabs

* working with smash

* amend warnings, fix menu actually saving inputs

* small refactors

* Fully working!

* Fix warnings

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-20 11:09:25 -07:00
GradualSyrup
c6c4105fc3
cleanup and psyche up fix (#321) 2022-03-18 10:53:06 -07:00
GradualSyrup
b879762f0d
remove white flash on state load, handler will add it back if it's required (#320) 2022-03-17 20:04:40 -07:00
GradualSyrup
5422cf5e1f
Ledge Trump Fix (#317)
* initial fix with frame 19 override, need to remove debug and fix delay

* trump avoidance working, debug still present

* Cleanup
2022-03-17 09:26:58 -04:00
GradualSyrup
01a0d51548
Steve save states (#316)
* Mario, Samus, Sheik, GnW, Wii Fit, Hero. Wario incomplete.

* Wario, Mewtwo, Plant

* Rob, Lucario, Squirtle

* Steve, Sora, Incin attempted, all easy ones done

* Steve!

* Donkey Kong

* Most flashes, Samus/Gunner effects

* All except Sheik and DK

* Sheik and DK

* Hero Fix

* First Cleanup

* Cleanup 2

* Full Implementation

* subtract instead of handle

* option tweaking

* made default tools the actual defaults

* remove tar from setup

* prepare for skyline update
2022-03-14 19:45:57 -04:00
asimon-1
e2a5620ee3
Change from remote to local resource files (#315)
* Extract css into standalone file

* Move images to static folder

* Add fonts, fix focus animation

* Remove Nintendo JS dependencies

* Remove unused sliders templating

* Fix shadows

* Fix back button

* Work on Sound Effects

* Change htdocs folder

* Move fonts to a folder

* Refactor JS to remove jquery as a dependency

* Fix broken JS

* Update rust.yml
2022-03-05 13:55:13 -08:00
GradualSyrup
720f904985
Special charge (#303)
* Mario, Samus, Sheik, GnW, Wii Fit, Hero. Wario incomplete.

* Wario, Mewtwo, Plant

* Rob, Lucario, Squirtle

* Steve, Sora, Incin attempted, all easy ones done

* Steve!

* Donkey Kong

* Most flashes, Samus/Gunner effects

* All except Sheik and DK

* Sheik and DK

* Hero Fix

* First Cleanup

* Cleanup 2

* Remove Steve

* Cleanup with labelling and Pac-Man improvement

* Add charge from problematic merge

* ChargeState struct added, all getters converted

* All charges implemented, matching with Sheik, slight cleanup

* charge getter cleanup

* setter syntax sugar

* more getter cleanup
2022-02-28 20:47:12 -08:00
github-actions[bot]
3992b2cd58
Format Rust code using rustfmt 2022-02-25 00:17:20 +00:00
GradualSyrup
057502e02a
Use NpadGcState instead of handheld state to save trigger info (#312) 2022-02-24 16:13:34 -08:00
jugeeya
884c00b069
Metrics Pipeline (#278)
* initial commit

* plotting working

* allow plotting

* Change spacing in workflow YML

* Fix get_random_option calls

* Format Rust code using rustfmt

* Amend removed feature

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-20 19:14:22 -08:00
github-actions[bot]
54f4e002fa
Format Rust code using rustfmt 2022-02-20 21:56:22 +00:00
GradualSyrup
e18b02e985
Save State Loading Enhancements (#305)
* First attempt. Issue with beginning of misfoot voice lines being played, trying to debug and fix.

* SFX fix, additional GFX fix
2022-02-20 13:52:36 -08:00
github-actions[bot]
42ca84b820
Format Rust code using rustfmt 2022-02-10 05:07:23 +00:00
GradualSyrup
ed528c95d7
Stale Move hooks and buff cleanup (#304) 2022-02-09 21:03:30 -08:00
github-actions[bot]
d2c7ebe9ea
Format Rust code using rustfmt 2022-01-27 22:03:11 +00:00
GradualSyrup
b598aaeee2
Buffing (#297)
* continued testing

* Scuffed Acceleratle Implementation

* Cleanup and Groundwork, Only Accel

* Wii Fit complete, Joker, Hero and Cloud WIP.

* Preparing for multiple spells

* Implemented Multi Buffing

* Cloud Hook, Hero Improvements

* Nearly complete, still messing around with KO Punch

* Works for both fighters now

* Add buff icon

* Wii Fit sound cut, Sepiroth darken fixed

* Cleanup

* Fix Hero Screen Shake

* Clean up buff a bit more

* slight clean up

* Update README.md

Add Buff Options info/file
2022-01-27 13:59:41 -08:00
github-actions[bot]
35a80f83c5
Format Rust code using rustfmt 2022-01-06 07:51:23 +00:00
GradualSyrup
050792a01c
Bugfix: Save State Jostle (#299)
* Fix in !is_dead

* Move fix to get_param_int to fix all deaths

* Update save_states.rs

Reword comment to reflect the situation the code is called in
2022-01-05 23:47:36 -08:00
github-actions[bot]
a67b7af6ff
Format Rust code using rustfmt 2022-01-03 07:44:52 +00:00
GradualSyrup
ff6569b93b
Smooth save state (#298)
* Initial Test

* clean up
2022-01-02 23:41:23 -08:00
github-actions[bot]
e0645a071c
Format Rust code using rustfmt 2021-12-27 21:14:24 +00:00
GradualSyrup
b4d5afd791
Bugfix: Ice Climbers savestates (#294)
* Fix working in frame by frame. Debug commands still present.

* Save States and Menu Delay fixed

* Full basic save state functionality, Debug removed

* NanaPosMove cleanup
2021-12-26 15:28:22 -08:00
github-actions[bot]
ac81ef810f
Format Rust code using rustfmt 2021-12-26 18:11:18 +00:00
GradualSyrup
6f6ce58a88
Throw options (#293)
* Initial Creation

* Initial attempt, no pummeling or actual throw directions implemented

* All throw directions + Throw Delay working

* Medium Delay

* Cleanup and warning fixing

* Menu grammar fix

* Menu Images

* Image Fix and Language Fix

* Renormalize line endings

* Fixed into_string() vs. as_str()

* Update README

* Update Version

* Update to 3.2.0

* Update Cargo.toml

Corrected version number
2021-12-26 10:07:17 -08:00
asimon-1
f9522d2699
Bugfix: PT savestates (#292)
* Prevent PT from respawning twice during save_state loads

* Save fighter_kind in state

* Fix bug where save states might not be loaded immediately if ptrainer status was wait

* Avoid endless loop with PT if loading a save state which was set without PT

* Move is_dead to common::mod.rs
2021-12-23 20:46:17 -08:00
asimon-1
b52112bb12
Configurable default menu (#288)
* Allow saving current menu as new defaults

* Save menu defaults in the HTML file. Write html when saving

* Add effect when saving defaults

* Adjust effect size

* Use URL param to save defaults instead of ingame chord

* Update the menu to include checkbox for saving defaults

* Fix menu styling

* Update README

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-12-19 17:43:57 -08:00
jam1garner
9d1d2ca76b
Common module cleanup (#290)
* Cleanup src/common/consts.rs

* Cleanup src/common/events.rs

* Cleanup src/common/menu.rs

* Cleanup src/common/mod.rs

* Cleanup src/common/raygun_printer.rs

* Finish cleanup for common module
2021-12-19 13:03:44 -08:00
github-actions[bot]
81d0e34e5b
Format Rust code using rustfmt 2021-12-13 05:23:46 +00:00
asimon-1
f19bf47e2a
Slip options (#286)
* Try adding KIND_DOWN_SPOT for snake dthrow

* Fix snake dthrow status_kind

* Add slip conditions for diddy banana
2021-12-12 21:20:01 -08:00
asimon-1
195e52dad7
Remove tumble from statuses on is_in_hitstun (#284) 2021-11-10 14:55:04 -08:00
jugeeya
b52a956f61
Enable save states toggle (#276)
* enable save state toggle

* update version to beta version

* fix

* fix 2

* Add icon
2021-09-29 08:37:11 -07:00
jugeeya
bc3d2d8df5
Add rustfmt action (#265)
* Add rustfmt action

* Update rust.yml

* Format Rust code using rustfmt

* Update consts.rs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-14 14:05:48 -07:00
jugeeya
198bf23031
Add Firebase logging via HTTPS (#248)
* trying

* trying

* try with json to compile

* Update Cargo.toml

* Update Cargo.toml

* Update Cargo.toml

* Update Cargo.toml

* Update lib.rs

* Update Cargo.toml

* further testing

* continually testing

* simplify

* remove unnecessary diffs

* working!

* Use cargo-skyline image with devkitpro

* Update rust.yml

* Update rust.yml

* Remove clippy PR for now
2021-09-13 08:24:43 -07:00
asimon-1
40eec371b2
Add green glow to check.svg (#254)
* Add green glow to check.svg

* Remove inkscape metadata

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-09-03 08:02:16 -07:00
jugeeya
b454ffecfe
Fix Frame Advantage stuck at zero (#251)
* change init function

* Use menu::init
2021-09-01 10:40:08 -07:00
asimon-1
3fef1a78df
Restrict menu opening multiple times in rapid succession (#245)
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-27 16:38:23 -07:00
jugeeya
cd01730af3
Allow frame advantage on hit for moves that send into tumble 2021-08-26 12:36:50 -07:00
jugeeya
c82cd073f4 Revert "Blujay's visualizer"
This reverts commit f8dba57044.
2021-08-24 19:27:29 -07:00
asimon-1
ee56f99652 Change menu file name to training_menu.html (#239)
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-24 19:27:04 -07:00
jugeeya
f8dba57044 Blujay's visualizer
Use blujay's visualizer plugin for hitbox/hurtbox visualization (#236)

* working

* Update rust.yml

Fix GH Action for getting visualizer.nro

Fix to visualization, allow hitbox/hurtbox toggle
2021-08-24 19:27:04 -07:00
jugeeya
555bc6927e
add nn hid hook function 2021-08-20 12:05:01 -07:00
jugeeya
345fd619a1 use nn_hid hook for compatibility with results screen skip 2021-08-20 18:48:40 +00:00
asimon-1
516c85ec30
Menu help text (#234)
* Add footer with help text

* Set help text strings

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-17 16:43:01 -07:00
asimon-1
b4627d29ce
Fix question icon opacity (#233)
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-17 09:23:00 -07:00
jugeeya
841ea5e8fe
Single Option Menu (#231)
* add flag

* Update clickToggle() to handle single-option submenus (#232)

Co-authored-by: asimon-1 <asimon1@protonmail.com>

Co-authored-by: asimon-1 <40246417+asimon-1@users.noreply.github.com>
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-16 17:09:51 -07:00
jugeeya
a4533a4810
Inclusive range for alphabet 2021-08-16 17:05:52 -07:00
jugeeya
40a5a08754 add simple macros for onoff/single option menus 2021-08-16 13:48:58 -07:00
asimon-1
49c30bb30d
Menu export bugfix (#229)
* Use jQuery to handle class addition/removal

* Use .is-appear class instead of innerHTML for goBackHook

* Revert unrelated comment

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-16 11:48:00 -07:00
asimon-1
dcdb670a42
Use jQuery to handle class addition/removal (#227)
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-16 10:55:32 -07:00
jugeeya
6ffec53204
Remove threading from file write (#226) 2021-08-16 09:35:11 -07:00
asimon-1
2271d533c0
Add Menu Icons (#225)
* Center icons

* Add icons

* Adjust CI to upload all artifacts

* Also include icons in .zip

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-15 18:55:51 -07:00
jugeeya
f41bfff9f8
Load menu from file, write on menu exit (#222)
* Load menu from file, write on menu exit

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update menu.rs

* Try response as well

* Don't hold response variable

* use static mut option

* everything in a thread

* remove brace

* Try GH actions change

* try

* try

* use container tag

* test

* try abs path

* try checkout

* try showing

* try installing

* test proj

* try stable toolchain spec

* try image

* explicit version

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Try clippy

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* fixes

* only if the conf makes sense

* small clippy fixes
2021-08-15 18:41:40 -07:00
jugeeya
46484bafff
Make changes to satisfy clippy; add cargo clippy PR commenter (#223)
* raygun print frame advantage

* Don't release, but allow action for raygun-print branch

* Add as menu option, only print in that case

* revert change to workflow file

* fixes

* add workflow clippy spec
2021-08-14 19:06:25 -07:00
asimon-1
18cca3023c
Add ability to reset menus to the default (#221)
* Make a separate default menu

* Add "default" to menu structs in menu.rs

* Add resetSubmenu and resetAllSubmenus functionality

* Add Frame Advantage default

* Add reset buttons to menu header

* Right-justify the reset button descriptions

* Update comments

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-11 07:45:57 -07:00
jugeeya
3d563b9450
Add back frame advantage using raygun shot printer (#219)
* raygun print frame advantage

* Don't release, but allow action for raygun-print branch

* Add as menu option, only print in that case

* revert change to workflow file
2021-08-09 21:33:03 -07:00
asimon-1
427d6ee953
Instructions for Version Update from v2.6 (#218)
* Do version check and remove overlay if it exists

* Use format! instead of mutable string

* Handle missing overlay

* Use cargo package version instead of hardcoded str

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-03 15:03:47 -07:00
asimon-1
b57cf538f5
Mirrored save states (#216)
* Add mirrored save states to menu and save_states.rs

* Update LongDelay.into_string()

* Add missing submenus

* Add mirrored save states to menu and save_states.rs

* Fix outdated reference to MENU_STRUCT

* Change MIRROR_STATE type from bool to f32

* Move should_mirror call

* Add to_url_param() for SaveStateMirroring

* Fix Facing Direction mirroring bug

Co-authored-by: asimon-1 <asimon1@protonmail.com>
Co-authored-by: jugeeya <jugeeya@live.com>
2021-08-01 12:53:00 -07:00
asimon-1
91348ed6cd
More menu improvements (#215)
* Update LongDelay.into_string()

* Add missing submenus

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-01 12:47:05 -07:00
asimon-1
8757bb9a0e
Web Menu Improvements (#214)
* Add workflow_dispatch

* Fix menu items that are too wide

* Add logic to goBackHook() to only exit if all submenus are closed, and otherwise to close the submenus

* Display question icons

* Complete into_string() for Action, Delay, and BoolFlag structs

* Update into_string() for Direction, Shield, OnOff, Action, Delay, BoolFlag, and SdiStrength to address compiler warnings

* Fix menu items that are too wide

* Add logic to goBackHook() to only exit if all submenus are closed, and otherwise to close the submenus

* Display question icons

* Complete into_string() for Action, Delay, and BoolFlag structs

* Update into_string() for Direction, Shield, OnOff, Action, Delay, BoolFlag, and SdiStrength to address compiler warnings

* Complete into_string() for LongDelay

* Reformat menu.html and fix tag pairs

* Add onoff submenu type in HTML

* Add onoff submenu type

* Add push line to add_sub_menu_onoff

* Refactor settings export to use jQuery.param()

* Set initial menu settings per URL GET parameters

* Add macro to build URL parameter string

* Fix bitflag export error

* Write menu file when modpack is loaded

* Fix OnOff displays

* Remove dev files

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-07-28 20:51:41 -07:00
asimon-1
6b87295216
Only apply ledge::is_enable_transition_term to CPU (#212)
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-07-21 14:45:47 -07:00
asimon-1
3973ff6d65
Implement Longer Ledge Delays (#211)
* Add workflow_dispatch

* Add LongDelay bitflag type for ledge delays, and change into_index() calls to into_delay/into_longdelay

* Override default ledge climb

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-07-20 10:17:56 -04:00
asimon-1
bbbf2ac898
Launch indicator fix for #205 (#210)
* Add workflow_dispatch

* Use persistent variable to track DI case instead of trying to roll only on the first frame of hitstun

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-07-16 08:24:12 -04:00
asimon-1
cd8755012c
Fix GH Actions Workflow (#208)
* Add workflow_dispatch

* Add specific lock_api version

* Update to latest cargo-skyline version

* Update workflow with skyline-rs toolchain

* Separate cargo-skyline install and toolchain update

* Use Rust docker container

* Try rustocker/rustup container

* Revert "Try rustocker/rustup container"

This reverts commit 26fff6a44f.

* Try fork of cargo-skyline

* Revert "Try fork of cargo-skyline"

This reverts commit 0465c39e94.

* Try installing own Rust

* Fix syntax error

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-06-22 13:47:29 -07:00
asimon-1
5fa0ff135d
DI Indicator Fix and Left/Right Directions (#207)
* Only change DI direction on the first frame of the animation

* Add left/right DI directions

* Add L/R airdodge direction

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-06-15 19:54:19 -07:00
sidschingis
6f218ead89
210416 grid layout (#202)
* Apply Grid Layout

Arrange collapsed Lists in a grid.

Once expanded the list will take the full width

* Formatting
2021-04-16 14:34:09 -07:00
jugeeya
2281e36556 small changes 2021-04-15 19:44:42 -07:00
jugeeya
1a273f7cbf
Initial Web Menu Implementation (#170)
* initial commit with some nice css

* add beginnings of templating. revert to qa model

* add most options visually

* add parser and full input checks

* separate menu code, use ControlModule

* add tests for menu rendering locally

* wip sliders

* add AttackAngle

* remove tesla overlay

* begin with into_string

* add slider.js

* don't use in html yet

Co-authored-by: jugeeya <jugeeya@llive.com>
2021-04-14 10:21:51 -07:00
jugeeya
2ddc7cd92f fix typing for hazards_manager 2021-04-11 20:20:46 -07:00
jugeeya
7b0daca018 add outside_training_mode to uploaded artifacts 2021-01-22 19:21:17 +00:00
sidschingis
d24a94835e
Wall Tech Options (#188)
* Extract Method

* Untangle conditions

* Extract Method

* Fix Swapped Constants

* Apply No Tech Option

* Fix Bugs

* Return early on match

* Also cleanup ground tech

* Fix unused warning

* Support Wall Tech Jumps
2021-01-22 11:04:58 -08:00
sidschingis
8189c07e30
Add SDI Strength Toggle (#182) 2020-12-21 07:09:37 -08:00
asimon-1
509f2383ac
Ledge hang (#180)
* Initial work on ledge hang

* Change ledge hang logic from a delay to a persistent selected option

* Disallow ledge-climb if WAIT is picked

* Move is_enable_transition_term hook from lib.rs into existing mod.rs hook

Co-authored-by: Andrew Simon <asimon@domeng.com>
2020-12-10 10:03:42 -08:00
sidschingis
ebc046db1d
Add Save State Damage Toggle (#176)
Added toggle to not overwrite the damage when loading a save state
2020-11-20 09:48:14 -08:00
sidschingis
950407553f
Add Attack Angle (#174)
* Add Attack Angle

Added toggle for chosing angled attacks

* Add Help Text

* Actually Apply Help Text
2020-11-09 17:57:35 -08:00
jugeeya
2e5097bcd0 nit refactor: use OnOff when possible 2020-11-08 19:35:42 -08:00
sidschingis
30e38b1256
Add Constant Shield Toggle (#173)
* Extract Method

* Add Constant Shield

Shield that takes damage but doesn't decay

* Constant Shield Fix

* Update Shield Hold Interaction

Only set decay flag if shield hold is selected
2020-11-06 13:30:48 -08:00
jugeeya
9df85a7d05
Fix lack of import for L2CValue 2020-10-22 22:28:13 -07:00
jugeeya
1c827df52a
Quickfix for infinite shield 2020-10-22 21:03:20 -07:00
jugeeya
9746349a69 refactor, disable input delay outside training, disable recording 2020-10-01 02:46:25 +00:00
jugeeya
c6d9c9c322
Small buffer mash fix 2020-09-29 08:48:24 -07:00
jugeeya
c81d996312
Fix buffer action when empty 2020-09-28 14:00:45 -07:00
jugeeya
e62d602895 refactor ANGLE_NONE 2020-09-27 23:56:18 +00:00
jugeeya
67dec0402d merge with master 2020-09-27 23:24:52 +00:00
jugeeya
67a03dd38a satisfy clippy rules 2020-09-27 22:24:50 +00:00
jugeeya
0aa387552f
input record typo 2020-09-25 21:04:34 -07:00
jugeeya
c6c600aae1 enable janky input_recording 2020-09-26 01:07:13 +00:00
jugeeya
8301d73790 use nnsdk hid imports 2020-09-26 00:57:25 +00:00
jugeeya
c83371d2c4 add all controller support for input_delay 2020-09-26 00:49:06 +00:00
sidschingis
0107e31b85
Fix Shield: Hold (#164)
Fixed the first hit not applying damage when  normal shield hold is selected
2020-09-16 13:07:06 -07:00
sidschingis
2471b4acf9
Enable Dash Attack Again (#163) 2020-09-14 14:00:42 -07:00
jugeeya
7b362c8330
Params hook refactor, basis for input delay (#162)
* use Params hook

* Add input delay
2020-09-14 13:43:06 -07:00
jugeeya
1885258c4e Refactor to use param object 2020-09-08 23:04:49 -07:00
jugeeya
e74ee787f3 Fix infinite shield with projectiles 2020-09-08 21:10:27 -07:00
jugeeya
33419b30c4 Fix tech bugs; hazards control refactor 2020-09-07 22:05:17 -07:00
Connor Davis
475bc4ea8f
Added stage hazard control (#158) 2020-09-04 08:59:21 -07:00
jugeeya
ba939b3be1
Remove enable transition check for ground tech 2020-08-30 01:16:14 -07:00
jugeeya
02f4095c37 Add Miss Tech Options; Save States Control bug 2020-08-29 11:03:33 -07:00
sidschingis
4753258874
Shield Tilt & Refactor Training Checks (#150)
* Rename Module

left_stick => air_dodge_direction

* Extract Method

Added shared hook that is called once per frame per fighter

* Refactor Training Mode Checks

Moved checks to skyline hook

* Add Reset Module

Unlink SDI from mash toggle

* Add Shield Tilt Toggle

* Version +

* Fix Rumble

* Remove Debugging Code
2020-08-27 16:35:38 -07:00
sidschingis
7d153da81c
Add Ledge/Aerial Delay Options (#147)
* Fix Multi Followups

* Add Aerial Delay Toggle

* Add Ledge Delay Toggle

* Add More Delay Options

* Add More Delay Options

* Add Dash Toggle

* Version +
2020-08-24 13:57:22 -07:00
sidschingis
22e2852df7
Reduce SDI Pulses (#146)
Reduced SDI to every 8 frames to match the stock "CPU Shuffling: A lot"  option
2020-08-22 15:33:07 -07:00
jugeeya
aa757da61d Merge branch 'master' of https://github.com/jugeeya/UltimateTrainingModpack 2020-08-21 15:17:48 -07:00
jugeeya
1db42feab8 check_hit_stop_delay_command is not in the common NRO 2020-08-21 15:17:37 -07:00
sidschingis
1e4fa4e006
Deref Constants (style) (#144) 2020-08-21 08:42:47 -07:00
sidschingis
22c68f1b92
Reset Counter when choosing direction (#143) 2020-08-20 17:34:03 -07:00
jugeeya
15767e8cf7 remove dash attack for now 2020-08-19 20:40:49 -07:00
jugeeya
bec36ec897 fix empty mash option breaking 2020-08-19 20:31:15 -07:00
jugeeya
f01be3430e persist menu configs across boots 2020-08-19 15:53:44 -07:00
sidschingis
5fee828169
Fix Aerials (#142)
* Revert "Unnecessary global for aerial action buffer (#141)"

This reverts commit 4cc66547c0.

* Remove Check

Non Aerials will just return None in
into_attack_air_kind()
2020-08-19 15:28:33 -07:00
sidschingis
4cc66547c0
Unnecessary global for aerial action buffer (#141)
Can just use the current buffer value
2020-08-18 10:34:57 -07:00
sidschingis
53c361686f
Mash Fixes (#140)
* Fix Shield Toggle

Fixed air dodging when shield is buffered

* Update Mash Reset

Fixed followups not being cleared on reset (training mode/ save state/ tech)

Fixed resetting when landing after a mash toggle

* Version +

* Use Existing Constant

* Adjust Versioning
2020-08-17 15:05:40 -07:00
sidschingis
1835be9cfb
Add SDI Toggle (#139) 2020-08-17 12:37:02 -07:00
jugeeya
9b0ede64b9 turn off sound effects for save states 2020-08-16 18:05:45 -07:00