-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
patch_manager: add ability to add configurable patches #13415
Conversation
f41b1b9
to
4bd2201
Compare
Added more features. |
243930a
to
90d297c
Compare
Added labels to the dropdown values |
Added possibility to use multiple dynamic values per patch |
62d687b
to
95e8112
Compare
Changed the wording to "Configurable" |
How are the configured inputs persisted? What happens when a patch is updated, particularly when its exposed input variables are expanded on or removed from? |
But I guess you'll have to rename the value itself or the patch if you want to make sure the user doesn't have an unwanted old value after an update. |
Adjusted my AR patch for Nier like so, works! Which I'm actually kind of surprised about - thought the type mismatch (f32 vs f64) would cause issues. I reckon you simply downcast as needed then? Persistence works between sessions correctly too. The only complaint I really have is the combobox for the range values. It keeps throwing away focus after typing in a single digit, and doesn't allow for more than two digits after the floating point. This extra precision is important for some kinds of patches (case in point, like AR patches for example). LGTM otherwise, good stuff! |
@dio-gh I believe I fixed the focus loss. |
Works great, thanks! Checked how it behaves with the integer type too, also works as expected. |
It might not be worth the time to but someone from the Discord mentioned it wouldn't hurt to ask, for the Configurable Values, would it be possible to add something like a short_enum instead of long? For example: Kingdom Hearts has an XP Multiplier with options. 0x1F7CZ is the code given and 5x, 10x etc are options valued at 0005 to make 0x1F7C0005 as of now, i have the values as long_enum would it be possible to store it as "10x": 000A and call it with [ be32, 0x00194844, 0x1F7C"Z" ] ? |
It shouldn't matter what type it is. |
What would be the proper syntax be for implementation of how the Artemis
Code Base does their values? I saw the KH2.5 codes and they have maybe 6 of
these [Z] [/Z] options and putting them in just how they're listed doesn't
work
…On Sun, Jun 18, 2023, 4:48 PM Megamouse ***@***.***> wrote:
It shouldn't matter what type it is.
Long just means the string is assumed to be any integer and double means
ithe string will be converted to any floating point number
—
Reply to this email directly, view it on GitHub
<#13415 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANON5OM4HXZFBQWTNDWLCT3XL5SQHANCNFSM6AAAAAAVARRTWI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This is not the place to discuss Artemis stuff. You should probably comment on the artemis feature request issue for that. |
Examples