Skip to content

[Flavor] Add Alpha flavor #221

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

Merged
merged 16 commits into from
Mar 24, 2025

Conversation

ScribbleTAS
Copy link
Member

@ScribbleTAS ScribbleTAS commented Dec 13, 2024

Adds a new file "flavor" to the serialiser, to support the previous file format. This means old files can be imported and even exported to, although with the cost of loosing functionality...

This was also an exercise to actually use the new API, improve it and fix some bugs I encountered in the process...

Of course still not perfect and will probably improved in the future, but for now I want to finish this and work on bugfixing the virtualinput system that has some issues with guis atm...

New

  • Add Alpha Flavor

Changes

  • Further broke down SerialiserFlavorBase into overridable components
  • Renamed packages with the name "integrated" to "builtin"
  • Add more documentation to SerialiserFlavorBase

Fixes

  • Fixed endline comments not saving
  • Fixed inline comments not being written to file

@ScribbleTAS ScribbleTAS added this to the Beta1.0 milestone Dec 13, 2024
@ScribbleTAS ScribbleTAS added the TASFile Issue relates to the playback file used to store inputs label Dec 13, 2024
@ScribbleTAS ScribbleTAS self-assigned this Dec 13, 2024
@ScribbleTAS
Copy link
Member Author

@ScribbleTAS ScribbleTAS linked an issue Dec 14, 2024 that may be closed by this pull request
@ScribbleTAS ScribbleTAS force-pushed the enhancement/alpha-flavor branch from e2107bc to 96a2ad4 Compare December 18, 2024 20:32
@ScribbleTAS ScribbleTAS force-pushed the enhancement/alpha-flavor branch 3 times, most recently from 2ead617 to b805a9d Compare December 25, 2024 18:41
@ScribbleTAS ScribbleTAS force-pushed the enhancement/alpha-flavor branch from c022077 to 48e6ac2 Compare March 21, 2025 23:08
Was always unsatisfied with the name "integrated"...
But I recently took a look at martinvonz/jj and found that they use the name "builtin"
and I just had to switch to it...
- [Metadata] Added enum options to CreditsMetadataExtension and StartpositionMetadataExtension for easier retrieval of values
- Add test for alpha flavor
- Made some metadata values protected
- [PlaybackSersialiser] Switched from using toString() in keyboard and mouse to the same implementation.
Reason is that toString in VirtualKeyboard might change in the fututure while the SerialiserFlavorBase is
supposed to be backwards compatible
- Extracted serialiseKeyboardSubtick from serialiseKeyboard
- Extracted serialiseMouseSubtick from serialiseMouse
- Extracted serialiseCameraAngleSubtick from serialiseCameraAngle
- Moved serialiseFileCommands methods further down
- A lot of fixes and changes to get old files to load
- Fixed some error messages not displaying the correct values
- More tweaks to SerialiserFlavorBase
@ScribbleTAS ScribbleTAS force-pushed the enhancement/alpha-flavor branch from 48e6ac2 to 0cac623 Compare March 21, 2025 23:20
@ScribbleTAS ScribbleTAS force-pushed the enhancement/alpha-flavor branch from 98b1d1e to 1bcddf8 Compare March 22, 2025 13:40
@ScribbleTAS ScribbleTAS marked this pull request as ready for review March 23, 2025 20:43
@ScribbleTAS ScribbleTAS requested a review from PancakeTAS March 23, 2025 20:44
@ScribbleTAS ScribbleTAS merged commit fc10ac6 into MinecraftTAS:develop Mar 24, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in TASmod Mar 24, 2025
@ScribbleTAS ScribbleTAS deleted the enhancement/alpha-flavor branch March 24, 2025 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TASFile Issue relates to the playback file used to store inputs
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Port old serialiser to new format
2 participants