Tool for turning Twine projects into Sega Master System ROMs

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Tool for turning Twine projects into Sega Master System ROMs
by on (#124876)
This is my current project, twee2sam: a tool that can convert Twee source files (that can be exported from Twine) into S.A.M. source files, which can then be compiled into Sega Master System ROMs.

So, you can basically write your story using Twine, export it to Twee using 'File -> Export Source Code' and then convert it to S.A.M. using twee2sam; the generated S.A.M. project can then be compiled into a Sega Master System ROM. The process may look a bit convoluted now, but that's because it's still under development; later on, I intend to directly integrate the tool with Twine.

What we have so far: Text works okay; links are turned into menu options; images work okay as long as they have the correct resolution and color depth; <<set>> and <<if>>...<<endif>> work okay.

twee2sam preview version 2014-02-01a
Source code
Thread on SMSPower
Re: Tool for turning Twine projects into Sega Master System
by on (#124939)
This is really cool. Do you have a screenshot you could share?
Re: Tool for turning Twine projects into Sega Master System
by on (#124956)
Okay, here goes; this is from the test project:
Image
Image


And this is from "Have Pity On Me", by Ian M. Burton and Nancy Ashworth (under development):


Image
Image
Image