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

babel -story writes out game file with .blorb extension #12

Open
erkyrath opened this issue Feb 7, 2021 · 0 comments
Open

babel -story writes out game file with .blorb extension #12

erkyrath opened this issue Feb 7, 2021 · 0 comments

Comments

@erkyrath
Copy link
Member

erkyrath commented Feb 7, 2021

If you type, for example:

./babel -story test/bronze/Bronze.zblorb

...you get the .z8 file out of the blorb, but it winds up with the filename 1810847C-0DC7-44D5-94EF-313A3E7AF257.blorb. It should be 1810847C-0DC7-44D5-94EF-313A3E7AF257.z8.

The relevant function is babel_story_story(), which calls babel_treaty(GET_STORY_FILE_EXTENSION_SEL, ...). This gets the extension for the currently loaded file, which is ".blorb", which is not what we want.

Not sure if we should update GET_STORY_FILE_EXTENSION_SEL to extract the inner game file's extension, or call something else.

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

No branches or pull requests

1 participant