1
0
mirror of synced 2024-12-24 19:54:50 +01:00
Commit Graph

620 Commits

Author SHA1 Message Date
Jennifer Taylor
01f87bd482 Fix import with newer versions of Python3. 2022-03-18 04:32:22 +00:00
Jennifer Taylor
8098825387 Fix lint and typing messages with latest libraries. 2022-03-18 04:32:04 +00:00
RinChanNOWWW
90f3d9e138 sdvx: new skill analyzer results should not overwrite better old ones. 2022-02-15 21:58:32 -05:00
RinChanNOWWW
5d8ec0527c Fix lint problems of comments. 2022-02-15 21:58:32 -05:00
Trenton Zimmer
d418ffe24e
Pendual: Finish the majority of the events (#44)
* Pendual: Finish the majority of the events

In this commit I have pushed my current changes to IIDX 22 Pendual. I've completed every event other than Qpronicle Chord as I have ran out of steam on this mix for now. I will return and try to 100% this game sooner than later though. For now i'll leave it at this.

I have made the events all Frontend modifiable so that's good enough for now. I've thrown in a ton of #TODO statements to show my current progress.

* Pendual: Remove clutter and add back omni-event control

In this commit I have re-added the option to disable events in omnimix and have remove code that was not needed/not fully finished that I added in the past commit. I've also reverted changes that were not relevant nor useful.
2021-12-04 13:00:03 -05:00
Jennifer Taylor
495466f4e4 Fix weird filename edgecase with some ifs file. 2021-10-24 17:12:06 +00:00
Jennifer Taylor
c4a5abaf4d Fix background elements disappearing when root clip is rewound. 2021-10-24 16:16:48 +00:00
Jennifer Taylor
2664237026 Merge overlay blend mode fix from ARCHVILE. 2021-10-24 15:51:08 +00:00
Jennifer Taylor
a97df7d24a Fix some small typing issues with newest mypy. 2021-10-02 23:12:46 +00:00
Jennifer Taylor
db6171582e dd better error message when failing to find background images. 2021-09-29 02:09:07 +00:00
Jennifer Taylor
6569925b18 Implement (incorrect) version of blend mode 13. 2021-09-20 18:22:56 +00:00
Jennifer Taylor
38f8c94ed0 Fix frame control function to be invisible for X number of frames, instead of until frame X. 2021-09-20 05:05:14 +00:00
Jennifer Taylor
30fa4e6e1a Make child clips loop indefinitely, as it seems that newer games expect this. 2021-09-20 05:04:52 +00:00
Jennifer Taylor
b151afef69 Improve a few aeplib calls now that I understand them better. 2021-09-20 05:04:33 +00:00
Jennifer Taylor
b56481ca06 Fix AFP decompile option. 2021-09-20 01:16:58 +00:00
Jennifer Taylor
a6e3ec524a Add debugging components options to AFP parser and renderer. 2021-09-20 01:16:40 +00:00
tyam
22e5885004
Dark Mode improvements 2021-09-10 21:07:38 -04:00
Jennifer Taylor
eed148f956 Clean up possible orphan profiles for DDR Ace. 2021-09-11 01:06:13 +00:00
Jennifer Taylor
831548715c Implement DDR Ace profile inheritance from older version of DDR. 2021-09-10 19:15:38 +00:00
Jennifer Taylor
e4d308e3c9 Fix get_games_played to not accidentally see half-created profiles. 2021-09-10 19:15:20 +00:00
Jennifer Taylor
fc48c80e3c Fix Limelight profile succession, same problem Fantasia had. 2021-09-10 19:15:03 +00:00
Jennifer Taylor
b57310c9b5 Fix initialized memory lookup, implement "movzx" instruction. 2021-09-10 19:14:48 +00:00
Jennifer Taylor
80c5ea6b17 Put MGS in alphabetical order on frontend. 2021-09-10 15:20:13 +00:00
Jennifer Taylor
1430103270 Clean up max deco parts constants for modern common pop'n games. 2021-09-10 13:30:02 +00:00
Jennifer Taylor
43339c7e44 Disable Net Taisen for all Pop'n versions. 2021-09-10 04:46:43 +00:00
tyam
2983ee2926
Frontend admin support for Peace 2021-09-10 00:15:05 -04:00
Jennifer Taylor
25adc43696 Fix lint error. 2021-09-10 04:02:43 +00:00
Jennifer Taylor
a226c39eb9 Add default game settings for PCBIDs not in any arcade. 2021-09-10 02:23:20 +00:00
Jennifer Taylor
1e581f0867 Move default theme into themes directory, make themes directory a thing. 2021-09-10 00:39:22 +00:00
Jennifer Taylor
6e09563d35 Only send one item per song for force unlocks in Pop'n series. 2021-09-10 00:13:00 +00:00
Jennifer Taylor
82d69b41f9 More documentation of Peace events. 2021-09-09 23:44:37 +00:00
Jennifer Taylor
f2e6c35f93 Document Peace a bit more, fix friend character for Lapistoria+. 2021-09-09 06:08:32 +00:00
Jennifer Taylor
3194524fca Stop enforcing area presence for common node in Peace. 2021-09-09 01:14:12 +00:00
Jennifer Taylor
a1c786a525 Additional flag documentation as well as frontend config for UsaNeko. Also fixed NAVI-kun event to work. Also fixed Eclale area bounds that was mistakenly adjusted. 2021-09-09 01:06:14 +00:00
Jennifer Taylor
2582f0e523 Don't send empty item nodes for songs that are unlocked the right way if force song unlock is enabled in Eclale. 2021-09-09 01:05:19 +00:00
Jennifer Taylor
1bef9ebd95 Add default song phase unlock settings for Lapistoria and Sunny Park, document flags a bit better. 2021-09-09 01:04:46 +00:00
Jennifer Taylor
218cb7f74a Enable reading values constructed off of the stack when doing psmap/struct. 2021-09-09 01:04:17 +00:00
Jennifer Taylor
ab7e62d455 Add event and song unlock options to Eclale, document event unlocks, enable stamp rally. 2021-09-09 01:03:23 +00:00
Jennifer Taylor
4439ec7d57 Get rid of fetch for no-longer-existing regions JS file. 2021-09-07 17:57:48 +00:00
Jennifer Taylor
b3b6ae7eaf Add explicit types to frontend classes. 2021-09-07 17:57:31 +00:00
Jennifer Taylor
3863b9f048 Apply Final to a few more miscelaneous classes outside of frontend. 2021-09-07 17:57:18 +00:00
Jennifer Taylor
469df34bea Speed up a few profile operations by writing better SQL with fewer DB hits. 2021-09-07 17:57:00 +00:00
Jennifer Taylor
7560e30498 Make a couple of responses faster by fetching less achievement data. 2021-09-07 17:56:46 +00:00
Jennifer Taylor
ef4a43be0e Fix minor type issue in API. 2021-09-07 17:56:31 +00:00
Jennifer Taylor
2f6e116405 Types, including Final, for all backend classes. Also fixed old-style routing for eacoin. 2021-09-07 17:56:15 +00:00
Jennifer Taylor
63e4a80eba Clean up core of backend a bit, replace functions with attributes where appropriate. 2021-09-07 17:55:53 +00:00
Jennifer Taylor
c7affef159 Use arcade/network region for default prefecture/region wherever possible, including in facility.get. Allows changing game region. 2021-09-07 02:48:57 +00:00
Jennifer Taylor
d05c3f907d Add config, database and user interface to change network region as well as per-arcade region. Also unified IIDX prefecture setting. 2021-09-07 02:48:42 +00:00
Jennifer Taylor
beb818f42b Only enable ealink for IIDX/Pop'n if there is something to broadcast scores to. 2021-09-06 19:42:38 +00:00
Jennifer Taylor
351a55a934 Split out UsaNeko/Peace into common abstract base class and two implementations. 2021-09-06 19:28:18 +00:00
Jennifer Taylor
c27bac1cf5 Skip scheduled work for games when music DB for that game was not imported. 2021-09-06 19:06:34 +00:00
Jennifer Taylor
6d258f1027 Fix a few nits from recent PR. 2021-09-06 18:56:49 +00:00
cracrayol
6273c16a3a Fix some typing error 2021-09-06 19:35:05 +02:00
cracrayol
ede06b3e68 Merge remote-tracking branch 'upstream/trunk' into trunk 2021-09-06 19:09:47 +02:00
Jennifer Taylor
6d7bf082e6 Force url prefixes for games to match their game constant values. 2021-09-06 02:01:57 +00:00
Jennifer Taylor
73f340947b Use abstract base classes in backend base class and factory. 2021-09-06 02:01:28 +00:00
Jennifer Taylor
50216b1d45 Implement force unlock songs flag for Lapistoria. 2021-09-06 01:30:56 +00:00
Jennifer Taylor
31e2ef2220 Enable and support course mode for Lapistoria, enable story mode adjustments, document event flags better. 2021-09-06 01:30:43 +00:00
Jennifer Taylor
aa10913a20 Allow optionally specifying achievement type and id for fetching activements for all users. 2021-09-06 01:30:23 +00:00
cracrayol
d7dbb312da Fix user name regexp for MGA 2021-09-06 02:17:04 +02:00
cracrayol
d3d1fe6ca0 Fix user name check for MGA in frontend
Use "for key, value in" when reading usaneko phases
Lint fixes
2021-09-06 02:16:06 +02:00
cracrayol
f541acb206 Add trafficgen support for MGA
Fix codestyle in frontend.py
2021-09-05 13:29:43 +02:00
cracrayol
1f5b0368ca Better Pop'n Music Peace support 2021-09-04 18:21:27 +02:00
cracrayol
c64efa5860 Add discord webhook support for Popn 2021-09-04 18:06:00 +02:00
cracrayol
8dccd48faf Add basic Metal Gear Arcade support 2021-09-04 17:17:22 +02:00
Jennifer Taylor
ff63b35de3 Teach struct utility the same emulation trick that psmap has. 2021-09-04 02:49:13 +00:00
Jennifer Taylor
4bc82bed61 Teach x86 emulator how to emulate a whole function, initialize memory to DLL/EXE contents, and teach psmap how to emulate multiple sections. 2021-09-04 02:48:49 +00:00
Jennifer Taylor
b14c9cb90d Support a few more basic opcodes in x86 simulator. 2021-09-03 22:42:47 +00:00
Jennifer Taylor
539c98f8a6 Properly initialize the stack when in 64bit mode. 2021-09-03 22:42:31 +00:00
Jennifer Taylor
ab4c82b886 Typing fixes for Pop'n 22-24, event ID limits checked and commented, converted Lapistoria to modern routing. 2021-09-03 22:42:09 +00:00
Jennifer Taylor
9d4eccf66e Add in a few additional 64-bit operations I was missing. 2021-09-03 05:07:15 +00:00
Jennifer Taylor
737ef14ca7 Make cardmgr change local to Pop'n Music. 2021-09-03 04:54:35 +00:00
Jennifer Taylor
b8fb4adcb4 Fix spacing for Fantasia event name on frontend. 2021-09-03 04:54:18 +00:00
Jennifer Taylor
8f3a5d726b Minor TODO editing based around what we're actually going to get done. 2021-09-03 04:36:31 +00:00
Jennifer Taylor
e1fd216178 Fix Sunny Park character card display on logout, add support for choosing events as well as the Pop'n Walker event. 2021-09-03 04:36:14 +00:00
Jennifer Taylor
fa69380ebe Support lea, jz, js, jns instructions in emulator to decode more of Sunny Park. 2021-09-03 04:35:53 +00:00
Jennifer Taylor
06d116007e Convert Sunny Park to modern routing method. 2021-09-03 04:35:35 +00:00
Jennifer Taylor
cbbda0ef7f Improve a few bits of Fantasia, including working profile conversions and displaying cards at the end of the round. 2021-09-03 04:35:13 +00:00
Jennifer Taylor
4f64cc7e08 Fix core state machine for cards so Fantasia will present a profile migration. 2021-09-03 04:34:51 +00:00
Jennifer Taylor
b58f356479 Move format_conversion for each game into its own class, instead of the previous version. 2021-09-03 04:34:19 +00:00
Jennifer Taylor
f4ee350a29 Convert all x86 registers to 64 bit, correctly modify the stack based on push/pop, support all general purpose register accesses. 2021-09-03 04:33:55 +00:00
Jennifer Taylor
c1b362885d Add a basic x86 emulator to psmap for reconstruction of dynamic structures. 2021-09-03 04:33:25 +00:00
Jennifer Taylor
929e6be305 Fix psmap display for nodes with default values. 2021-09-03 04:32:53 +00:00
Jennifer Taylor
cd1ae9b2fd Clean up some typing on Tune Street, convert Fantasia to modern routing. 2021-09-03 04:32:35 +00:00
Jennifer Taylor
8fdacf017a Fix a few miscellaneous things with eclale/usaneko. 2021-09-02 01:09:17 +00:00
Jennifer Taylor
1820069bf9 Fix customizations not sticking around in UsaNeko. 2021-08-31 23:43:18 +00:00
Jennifer Taylor
93cc4c376c Hook up menu customization options to profile in Tune Street. 2021-08-31 23:05:10 +00:00
Jennifer Taylor
fc3d37ec15 Add force unlock song and customization options to Tune Street. 2021-08-31 23:04:55 +00:00
Jennifer Taylor
d21431c3b1 Initial stab at getting Town mode working in Tune Street. 2021-08-31 21:42:49 +00:00
Jennifer Taylor
9b731a6818 Fix incorrect diplay of chart on Pop'n Music old charts. 2021-08-31 21:42:34 +00:00
Jennifer Taylor
0ad7d41d73 Convert Tune Street to modern routing method. 2021-08-31 21:42:12 +00:00
Jennifer Taylor
9a49bfbcd9 Hook up town mode enable and phase unlocks to front end for Tune Street, start implementing more profile stuff. 2021-08-31 21:41:51 +00:00
Jennifer Taylor
e1c62b44df Get rid of two todos we are not going to do ever. 2021-08-31 21:41:12 +00:00
Jennifer Taylor
3dd3f36208 Make JSX compilation errors show up on the frontend in debug mode. 2021-08-31 21:40:54 +00:00
Jennifer Taylor
83cf8fc9cb Add config option for theme directory for easier overrides of CSS/favicon. 2021-08-31 21:40:30 +00:00
Jennifer Taylor
6ebc8de311 Add support for self generated PCBIDs on arcade management page as well as a setting to control it. 2021-08-29 01:47:45 +00:00
Jennifer Taylor
94fec0dec1 Change QPro settings to use standard UI toolkit which fixes padding around items before save button. 2021-08-28 20:32:40 +00:00
Jennifer Taylor
e1850c31db Fix hover drop-downs unusuable if navigation panel takes up more than one row. 2021-08-28 19:37:01 +00:00
Jennifer Taylor
b0378e9308 Fix colored underlines disappearing after enumeration refactor. 2021-08-28 19:36:46 +00:00
Jennifer Taylor
8050aeea6f Fix visual wrapping anomoly that happens only when certain nav elements are selected. 2021-08-28 19:36:20 +00:00
Jennifer Taylor
f0b646e7f8 Fix recent javascript change causing mobile navigation to disappear. 2021-08-28 19:36:03 +00:00
Jennifer Taylor
71def6254d If a user is a member of only one arcade, display it directly instead of a drop-down in the nav menu. 2021-08-28 19:35:44 +00:00
Jennifer Taylor
19aa273bf8 Fix 500 error on requesting an invalid arcade on the frontend, remove possible enumeration via error checking. 2021-08-28 19:02:04 +00:00
Jennifer Taylor
d26d5f56c8 Remove some unnecessary null checks in protocol. 2021-08-28 19:01:50 +00:00
Jennifer Taylor
866ef4db52 Add a default encoding parameter to struct for decoding strings. 2021-08-28 17:08:07 +00:00
Jennifer Taylor
c6bd3b4c72 Make UsaNeko daily missions actually random per-day instead of repeating. 2021-08-28 17:07:40 +00:00
Jennifer Taylor
de974a7c5d Fix so that orphaned profiles still allow the hold note tutorial on the first play in UsaNeko. 2021-08-25 03:32:52 +00:00
Jennifer Taylor
cff3b79a94 Better documentation for UsaNeko tutorial flags. 2021-08-25 03:32:39 +00:00
Jennifer Taylor
bb7916d3c4 Move logic for calculating play statistics into common module and backend base module. 2021-08-24 23:18:53 +00:00
Jennifer Taylor
bcfd4fcf24 Add some verbose debugging to psmap to aid in tracking values inside DLLs. 2021-08-24 23:18:23 +00:00
Jennifer Taylor
5941a98b66 Document and add debug arguments for read-only behavior. 2021-08-20 19:37:26 +00:00
Jennifer Taylor
e5440329ec Change JS load order while attempting to make frontend cold start time better. 2021-08-20 18:10:35 +00:00
Jennifer Taylor
b572689107 Apply more rigorous type checking, fix a few bugs caught with that more rigorous type checking. 2021-08-20 18:10:07 +00:00
Jennifer Taylor
97bea03abe Fix data API unable to look up profiles after update to profile object. 2021-08-20 04:44:34 +00:00
Jennifer Taylor
35a09ad277 Fix extid showing as all 0's on rivals pages and bishi profiles. 2021-08-20 04:44:17 +00:00
Jennifer Taylor
40dbf1d6b9 Make Config a real class instead of a Dict, for safer access and defaults. 2021-08-20 04:43:59 +00:00
Jennifer Taylor
628828ed12 Unify config loading for remaining utilities that read the same server.yaml. 2021-08-20 04:43:36 +00:00
Jennifer Taylor
b940e3143f Switch profile operations to using a Profile class instead of a raw ValidatedDict. 2021-08-20 04:43:13 +00:00
Jennifer Taylor
5fe48fb1c3 Fix a few places using enums directly instead of their value, formalize 'support' entry in config. 2021-08-19 19:25:10 +00:00
Jennifer Taylor
b92cd4f579 Switch to using an enum for API ID constants. 2021-08-19 19:21:41 +00:00
Jennifer Taylor
96dd9a865e Switch to using an enum for GameConstants. 2021-08-19 19:21:22 +00:00
Jennifer Taylor
4f61cfe30a Switch to sets for membership queries. 2021-08-19 19:21:04 +00:00
Jennifer Taylor
3dd3f9ab07 Rename "game" to "gamecode" in Model class, to be more accurate. 2021-08-19 19:20:31 +00:00
Jennifer Taylor
fa0b2bd6cd Bring tests under typing checks, fix existing type errors. 2021-08-19 19:20:13 +00:00
Jennifer Taylor
6efd07d02f Get rid of magic strings in triggers code. 2021-08-18 19:14:02 -04:00
seth
d60fb8de17 iidx: Fix logic for saving miss count 2021-08-18 22:47:13 +00:00
Jennifer Taylor
a6da39e469 Move PE operations into common library, fix 64-bit struct pointer dereferencing. 2021-08-15 00:41:37 +00:00
Jennifer Taylor
40614c106f Work around OSX bug with too many open handles for afp background animations. 2021-08-15 00:02:42 +00:00
Jennifer Taylor
a0307f9ab2 Add a few more escape sequences to BishiBashi information message conversion. 2021-08-12 19:06:31 +00:00
Jennifer Taylor
98b836b96e Fix pin checking logic for frontend. 2021-08-12 18:59:43 +00:00
Jennifer Taylor
5708a2a785 Add note about .gif rendering for afputils. 2021-08-12 18:59:25 +00:00
seth
d33a4cb815 jubeat: Performance optimizations in get_mdata 2021-08-12 14:37:36 -04:00
Jennifer Taylor
c457216294 Give various utilities a bit of a refresh help-wise. 2021-08-12 15:57:54 +00:00
Jennifer Taylor
57ad41202c Elaborate on afputils help with better descriptions and examples where needed. 2021-08-12 15:57:37 +00:00
Jennifer Taylor
9c2c7fe3a9 Add support for offsetting the background animation loop. 2021-08-12 15:57:12 +00:00
Jennifer Taylor
aa04762b41 Allow specifying a loop start and end point for background animations. 2021-08-11 21:40:38 +00:00
Jennifer Taylor
c2fa122a25 Add support for animated backgrounds, including previously rendered output. 2021-08-11 21:40:01 +00:00
Jennifer Taylor
ed5b5beda5 Small change necessary to attempt to render DDR PS3 animations. 2021-08-11 18:31:37 +00:00
Jennifer Taylor
362456f929 Add a readme for AFP. 2021-08-11 17:56:23 +00:00
Jennifer Taylor
360b80b102 Favor more accurate A/B/C/D transform values when parsing a SWF. 2021-08-10 23:37:30 +00:00
Jennifer Taylor
d1a6c1abf6 Change to a slightly different (but probably equivalent) method of doing masking to avoid messing with the mask transform. 2021-08-10 23:37:08 +00:00
Jennifer Taylor
d04c366497 Fix edge case where bytecode tried to rewind an animation entirely and failed due to being outside of the frame boundary instead of starting from the first frame. 2021-08-10 23:36:39 +00:00
Jennifer Taylor
ac707e767b Switch to double precision for C++ renderer to squeeze out a bit more accuracy in transforms. 2021-08-10 23:36:18 +00:00
Jennifer Taylor
d80c6a5ccd No longer take "blank pixels" outside of the screen into consideration for rendering SSAA. 2021-08-09 20:20:26 +00:00
Jennifer Taylor
41a1114469 Fix multiply blending mode. 2021-08-09 20:20:09 +00:00
Jennifer Taylor
73a36e17c2 Fix anti-aliasing of rectangles so that they are always crisp. 2021-08-09 19:09:00 +00:00
Jennifer Taylor
ec3453ae54 Fix specific-frame output to log and name files correctly. 2021-08-09 19:08:41 +00:00
Jennifer Taylor
f6bd2aef54 Fix perspective mask calculation. 2021-08-09 17:33:21 +00:00
Jennifer Taylor
9086e91081 Make frame output 1-based instead of 0-based to match command line inputs and log messages. 2021-08-09 17:32:56 +00:00
Jennifer Taylor
b939ecd030 Fix incorrect copying of affine transform over 3D transform on some updates. 2021-08-09 17:32:40 +00:00