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

Add project import/export #370

Merged
merged 5 commits into from
Jul 30, 2024

Conversation

jonko0493
Copy link
Member

Closes #248.

This adds a project import/export button. They still need icons @WiIIiam278. Dead simple process, but totally works -- we just create a zip archive of the proj file + font charset + portions of the base directory. On import, we unpack a base ROM (which we check for integrity with a filehash), unzip the slzip, copy to the iterative directory, then do a build before loading the project.

Additionally, this removes the MainDirectory entry from the slproj format. We now construct that from config + project name. Should be reliable enough and makes the proj format portable.

@jonko0493 jonko0493 self-assigned this Jul 27, 2024
Copy link
Member

@WiIIiam278 WiIIiam278 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will push icons back to after the UI rewrite as we'll to reexport and evaluate the icon set as SVGs for that :) - but otherwise, tested & looks good

@jonko0493 jonko0493 merged commit 7916ff0 into haroohie-club:main Jul 30, 2024
4 checks passed
@jonko0493 jonko0493 deleted the ProjectImportExport branch July 30, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Import/Export button for projects
2 participants