Re: Contributing to ScummVM with an interpreter for Magnetic Scrolls?
Filippos Karapetis <[email protected]> Mon, 29 Apr 2019 12:14:12 +0300
| Newsgroups | gmane.games.devel.scummvm |
|---|---|
| Message-ID | <CAF39qaiaB=ZxMpc2GxYWm=OFJW+M222cN0PnRoP+VyaFF8whaA@mail.gmail.com> |
--===============7721441601956065564== Content-Type: multipart/alternative; boundary="0000000000000e5c950587a7b612" --0000000000000e5c950587a7b612 Content-Type: text/plain; charset="UTF-8" Hello, and glad to hear about your interest in ScummVM, and your work on the Magnetic Scrolls games! It's great that you are working on this. Bear in mind, though, that there has been extensive work on the Magnetic Scrolls games, which has been integrated into the Gargoyle interpreter: http://ccxvii.net/gargoyle/ Gargoyle is being integrated as a subengine into ScummVM, in the glk engine. The glk engine is a port of the Gargoyle engine into ScummVM. There's an extensive wiki for Gargoyle, here: http://ifwiki.org/index.php/Gargoyle So, my advice would be to make your engine part of the glk engine, and base your work on the already working Magnetic Scrolls interpreter from the Gargoyle engine. The interpreter is open source, and can be found here: https://github.com/garglk/garglk/tree/master/terps/magnetic The list of supported Magnetic Scrolls games can be found here: https://github.com/garglk/garglk/blob/master/terps/magnetic/Generic/games.txt And there's an archive about interactive fiction games, where a lot of resources about the Magnetic Scrolls games can be found, here: http://www.ifarchive.org/indexes/if-archive/magnetic-scrolls/ Thanks for your interest in these games! It would be great to see your work on them :) Regards Filippos Karapetis On Mon, Apr 29, 2019 at 10:08 AM dettus <[email protected]> wrote: > Hello. > > > My name is Thomas, I am a big fan of ScummVM. > > Currently, I am in the process of writing an interpreter for classic > text adventures from Magnetic Scrolls, such as "The Pawn" or "The Guild > Of Thieves". > > Even though I am not saying that it SHOULD be integrated into ScummVM, I > would like to think that it COULD. It is WAY to early to really start > integrating it, but I like to be prepared. > > > > So, the reason why I am writing this mail is because I would be > interested as on how I would have to design my code to make it possible. > Currently, my interpreter needs a couple of hooks into any form of GUI: > > - Initialization, where pointers to the original binaries are being > provided > > - Callbacks for textual input (strings) > - Callbacks for textual output (strings) > - Callbacks for textual output (characters) > - Callbacks for drawing a picture (XPM) > > My code is purely C, so callbacks I am using function pointers. Said > functions are, at the moment, doing nothing more than just a simple > printf() and fgets(). The games I can play so far are "The Pawn", "The > Guild of Thieves" and "Jinxter". HOWEVER, later games, such as > "Corruption", "Myth", "Fish!" and "Wonderland" added features such as > animation and music. > > SO MY QUESTION is this: How would I best design the callbacks for > animation and music in way so that it MIGHT be integratable into ScummVM? > > > > Dettus > > > > P.S.: My interpreter is available at http://www.dettus.net/dMagnetic. > > (Hopefully this link, and the fact that this is my first email will not > make this spam. ;) ) > > > > > > _______________________________________________ > Scummvm-devel mailing list > [email protected] > https://lists.scummvm.org/listinfo/scummvm-devel > -- "Experience is the name every one gives to their mistakes" - Oscar Wilde --0000000000000e5c950587a7b612 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hello, and glad to hear about your interest in ScummVM, an= d your work on the Magnetic Scrolls games!<div><br></div><div>It's grea= t that you are working on this. Bear in mind, though, that there has been e= xtensive work on the Magnetic Scrolls games, which has been integrated into= the Gargoyle interpreter:</div><div><a href=3D"http://ccxvii.net/gargoyle/= ">http://ccxvii.net/gargoyle/</a></div><div><br></div><div>Gargoyle is bein= g integrated as a subengine into ScummVM, in the glk engine. The glk engine= is a port of the Gargoyle engine into ScummVM. There's an extensive wi= ki for Gargoyle, here:</div><div><a href=3D"http://ifwiki.org/index.php/Gar= goyle">http://ifwiki.org/index.php/Gargoyle</a>=C2=A0=C2=A0<br></div><div><= br></div><div>So, my advice would be to make your engine part of the glk en= gine, and base your work on the already working Magnetic Scrolls interprete= r from the Gargoyle engine. The interpreter is open source, and can be foun= d here:</div><div><a href=3D"https://github.com/garglk/garglk/tree/master/t= erps/magnetic">https://github.com/garglk/garglk/tree/master/terps/magnetic<= /a>=C2=A0</div><div><br></div><div>The list of supported Magnetic Scrolls g= ames can be found here:</div><div><a href=3D"https://github.com/garglk/garg= lk/blob/master/terps/magnetic/Generic/games.txt">https://github.com/garglk/= garglk/blob/master/terps/magnetic/Generic/games.txt</a></div><div><br></div= ><div>And there's an archive about interactive fiction games, where a l= ot of resources about the Magnetic Scrolls games can be found, here:</div><= div>=C2=A0<a href=3D"http://www.ifarchive.org/indexes/if-archive/magnetic-s= crolls/">http://www.ifarchive.org/indexes/if-archive/magnetic-scrolls/</a><= br></div><div><br></div><div>Thanks for your interest in these games! It wo= uld be great to see your work on them :)</div><div><br></div><div>Regards</= div><div>Filippos Karapetis</div><div><br></div></div><br><div class=3D"gma= il_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Apr 29, 2019 at 10:= 08 AM dettus <<a href=3D"mailto:[email protected]">[email protected]</a>= > wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hell= o.<br> <br> <br> My name is Thomas, I am a big fan of ScummVM.<br> <br> Currently, I am in the process of writing an interpreter for classic <br> text adventures from Magnetic Scrolls, such as "The Pawn" or &quo= t;The Guild <br> Of Thieves".<br> <br> Even though I am not saying that it SHOULD be integrated into ScummVM, I <b= r> would like to think that it COULD. It is WAY to early to really start <br> integrating it, but I like to be prepared.<br> <br> <br> <br> So, the reason why I am writing this mail is because I would be <br> interested as on how I would have to design my code to make it possible. <b= r> Currently, my interpreter needs a couple of hooks into any form of GUI:<br> <br> - Initialization, where pointers to the original binaries are being provide= d<br> <br> - Callbacks for textual input (strings)<br> - Callbacks for textual output (strings)<br> - Callbacks for textual output (characters)<br> - Callbacks for drawing a picture (XPM)<br> <br> My code is purely C, so callbacks I am using function pointers. Said <br> functions are, at the moment, doing nothing more than just a simple <br> printf() and fgets(). The games I can play so far are "The Pawn",= "The <br> Guild of Thieves" and "Jinxter". HOWEVER, later games, such = as <br> "Corruption", "Myth", "Fish!" and "Wonde= rland" added features such as <br> animation and music.<br> <br> SO MY QUESTION is this: How would I best design the callbacks for <br> animation and music in way so that it MIGHT be integratable into ScummVM?<b= r> <br> <br> <br> Dettus<br> <br> <br> <br> P.S.: My interpreter is available at <a href=3D"http://www.dettus.net/dMagn= etic" rel=3D"noreferrer" target=3D"_blank">http://www.dettus.net/dMagnetic<= /a>.<br> <br> (Hopefully this link, and the fact that this is my first email will not <br= > make this spam. ;) )<br> <br> <br> <br> <br> <br> _______________________________________________<br> Scummvm-devel mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Scummv= [email protected]</a><br> <a href=3D"https://lists.scummvm.org/listinfo/scummvm-devel" rel=3D"norefer= rer" target=3D"_blank">https://lists.scummvm.org/listinfo/scummvm-devel</a>= <br> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= class=3D"gmail_signature">"Experience is the name every one gives to = their mistakes" - Oscar Wilde </div> --0000000000000e5c950587a7b612-- --===============7721441601956065564== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KU2N1bW12bS1k ZXZlbCBtYWlsaW5nIGxpc3QKU2N1bW12bS1kZXZlbEBsaXN0cy5zY3VtbXZtLm9yZwpodHRwczov L2xpc3RzLnNjdW1tdm0ub3JnL2xpc3RpbmZvL3NjdW1tdm0tZGV2ZWwK --===============7721441601956065564==--