Skip to content
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

JSON Configuration #298

Open
4 tasks
BinToss opened this issue Mar 25, 2022 · 0 comments
Open
4 tasks

JSON Configuration #298

BinToss opened this issue Mar 25, 2022 · 0 comments
Labels
p:LOW Low Priority

Comments

@BinToss
Copy link
Member

BinToss commented Mar 25, 2022

Migration

  • Serialize Configuration object to JSON e.g. kernel.json
  • When kernel.json is not found when loading, but kernel-0x05.bin exists, migrate binary to JSON
  • If no JSON or version 0x05 binary configs exist, Serialize default Configuration object to JSON

Should we also migrate older (pre 0x05) binary configs?

Refactors

  • refactor HXE.Kernel.Configuration.ConfigurationVideo.Uncap to enum. Handle edge cases with additional logic.
enum Vsync {
    [Description("No V-Sync and no framerate throttle. Useful for low latency input or bechmarking, but leads to screen tearing. Screen tearing is a harmless, annoying visual effect when framerate is higher than the display's refresh rate.")]
    Uncapped,
    [Description("Lock the renderer's framerate to the same  rate as the physics engine and raw animations.")]
    Locked30Fps,
    [Description("Lock the framerate to the display's refresh rate. This causes higher perceived input latency, but prevents screen tearing. If not overridden by GPU settings or a mod/plugin, this uses Halo's built-in V-Sync which results in choppy, inconsistent framerates.")]
    Vsync
}
@BinToss BinToss added the p:LOW Low Priority label Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p:LOW Low Priority
Projects
None yet
Development

No branches or pull requests

1 participant