Initial re-implementation in kotlin #1

Merged
highsaltlevels merged 1 commit from kotlin into main 2026-10-20 23:05:14 +00:00

Summary

This PR contains the basic functionality, but writtin in kotlin using javax.swing as the desktop UI renderer. This results in a final jar size of 528 KB including the icon and binary fire emblem 7 save data.

The only dependency the host requires is a jvm to run it.

Data Serialization

I wrote a data serialization class that only loads java enums, strings, and specific classes in the "config" package.

This data:

  • Represents the current UI State
  • Gets read from file on startup
  • Reverts to defaults if any startup issues or data serialization issues occur
  • Gets written back to disk when the user clicks "Randomize" or "Exit"
## Summary This PR contains the basic functionality, but writtin in kotlin using `javax.swing` as the desktop UI renderer. This results in a final jar size of 528 KB including the icon and binary fire emblem 7 save data. The only dependency the host requires is a jvm to run it. ## Data Serialization I wrote a data serialization class that only loads java enums, strings, and specific classes in the "config" package. This data: - Represents the current UI State - Gets read from file on startup - Reverts to defaults if any startup issues or data serialization issues occur - Gets written back to disk when the user clicks "Randomize" or "Exit"
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public-repos/randomizer!1
No description provided.