![]() |
#1 |
Enthusiast
![]() ![]() Posts: 45
Karma: 106
Join Date: Feb 2025
Device: Kindle PW5
|
![]()
Hello,
Finally I could jailbreak my Kindle PW5 and enjoying the great Koreader! In the meantime I realized that most software wasn't updated for newer kindles (firmware 5.16+) So I decided to take the plunge and put my experience to the use of the community and create/update some extensions. So, without further ado, I present you : Gargoyle Interactive Fiction interpreter! (Latest update: March 14) You need a jailbroken Kindle (firmware 5.16.3+). Instructions KUAL: Unzip the attached file to the extensions folder on the Kindle. Start KUAL and choose gargoyle. Booklet: Now copy the gargoyle_booklet.sh file to the documents/ folder on the Kindle. A Gargoyle book appears on the home page of your Kindle! Playing In case the keyboard disappears after opening a game, make a two finger tap on the top right corner of the screen! It will display the keyboard again! Here are the list of gestures:
Configuration To change the default folders (games, saved games), edit the gargoyle.sh file. To configure further Gargoyle (changing fonts and font size), edit the garglk.ini file in the dist folder. Troubleshooting
Credits This extension is based on pete330's port, with the original patches by baf. Source code here: https://github.com/kbarni/garglk/ For further instructions read the original thread. Your feedback is always welcome! Please tell me also what other extensions would you like to see? Last edited by kbarni; 04-14-2025 at 04:57 AM. Reason: File updated, few explanations added. |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() ![]() Posts: 45
Karma: 106
Join Date: Feb 2025
Device: Kindle PW5
|
BTW, source code is here --> https://github.com/kbarni/garglk/
Last edited by kbarni; 04-08-2025 at 11:02 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2025
Device: Kindle PW5
|
Can't seem to open any inform7 (.gblorb) files.
Tried with Counterfeit Monkey and Superliminal Vagrant Twin Worked great with a z-code file (Anchorhead). |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() ![]() Posts: 45
Karma: 106
Join Date: Feb 2025
Device: Kindle PW5
|
Yes, I confirm. This looks like a problem with the Glulx interpreter. Will look into the issue this weekend.
It also seems it won't open images... |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() Posts: 45
Karma: 106
Join Date: Feb 2025
Device: Kindle PW5
|
aaaanndd....
It's working! ![]() Please download below the latest version. This works with every format I tested. Images and all. @administrator: please update the file in the original post and remove the previous versions. Last edited by kbarni; 02-21-2025 at 05:24 PM. Reason: attachment added |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 3456809
Join Date: Jul 2023
Device: Scribe 2022, OA2, PRS-350
|
Thanks for building this! I've been interested in IF on my Scribe for a while. I'm on a Scribe 2022 running 5.17.3. I tried some .DAT format files with both your first release and this _2 release and they wouldn't work with either of them. I found an archive with .z5 files, and those do work. However it's hit or miss which one will have the keyboard open once it loads the game. Is there a gesture to show/hide the keyboard and one to quit/close Gargoyle? I've been lucky that the game screen only uses the top 2/3 of the screen, so KUAL is still visible behind it. I happen to have enough extensions in it that the bottom of the Quit button can be tapped when no keyboard is available.
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() ![]() Posts: 45
Karma: 106
Join Date: Feb 2025
Device: Kindle PW5
|
Thanks for the feedback !
The issue with the DAT extension is that two formats use the same extension: advsys games and old Infocom games. Gargoyle uses advsys interpreter by default when opening this format and will eventually crash. The easiest solution seems to be to simply change the extension to .z5 Another workaround seems to be to force the interpreter for a specific game in the garglk.ini file (in /extensions/gargoyle/dist folder): Code:
[ zork.dat ] terp frotz Concerning the disappearing keyboard, I also observed the issue (it's even worse on leafpad, another project I'm working on). Correcting this bug is my top priority. Adding a swipe gesture to display hidden keyboard is also a good suggestion. |
![]() |
![]() |
![]() |
#8 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 3456809
Join Date: Jul 2023
Device: Scribe 2022, OA2, PRS-350
|
I'm glad you mentioned that about the file types. It got me to see if the gnu file command could tell me which kind the files are before I renamed them.
Code:
games$ file *.dat Lurking.dat: Infocom (Z-machine 3, Release 221, Serial 870918) Nordandb.dat: Infocom (Z-machine 4, Release 19, Serial 870722) Hitchhik.dat: Infocom (Z-machine 5, Release 31, Serial 871119) |
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() ![]() Posts: 45
Karma: 106
Join Date: Feb 2025
Device: Kindle PW5
|
Yes, it gives headaches. It seems it occurs when opening large games; I re-display the keyboard when the game is opened. But if it's still loading, the keyboard disappears when the loading is finished.
I made a workaround. In the following version, two finger tapping on the top right corner will force the keyboard to reopen. I hope it will make Gargoyle usable until I figure out a better solution. I also made some modifications on the font size to adapt to my Kindle. You can modify the font size to your liking in the extensions/gargoyle/dist/garglk.ini file. |
![]() |
![]() |
![]() |
#10 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 3456809
Join Date: Jul 2023
Device: Scribe 2022, OA2, PRS-350
|
It works! Adding the keyboard gesture is a great help. Thanks! I'll try to give the config a look this weekend. From the repo readme it looks like there is some fancy font handling. Have you noticed any issues with modern proportional typefaces? I'm sure most of the games were designed on monospaced systems, but I'm not sure if any actually require it.
|
![]() |
![]() |
![]() |
#11 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 3456809
Join Date: Jul 2023
Device: Scribe 2022, OA2, PRS-350
|
I looked at the .ini and didn't see much that I felt was worth poking at until I've used the app some. Tonight I was playing the C.I.A. Adventure (cia.z5, ported from TRS-80 to GWBASIC to Inform) when I had a crash due to an OOB read. I don't know if that was in the Z-machine or the interpreter itself, but I ended up having to hold the Scribe powerbutton for 15-ish seconds until it did a full restart and not a simple reset. FWIW, I was in the 1st floor office trying to pick up the items from the desk. I've attached a screenshot.
|
![]() |
![]() |
![]() |
#12 |
Enthusiast
![]() ![]() Posts: 45
Karma: 106
Join Date: Feb 2025
Device: Kindle PW5
|
Maybe you can try running the game in desktop Gargoyle to see if it gives the same error.
|
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2025
Device: Kindle Basic 2022
|
So I'm very new to Kindle modding and was really interested in Gargoyle but I can't seem to get it to work. It shows in the list of KUAL applications, but when I try to launch it, nothing happens. I just get sent back to the home page. KOReader works fine however. I'm in the latest firmware, could that be the issue?
|
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2025
Device: Kindle Basic 2022
|
Edit: So for some reason after I reinstalled everything it worked. Definitely me messing something up the first time. Thank you so much for this! The kindle is the perfect media for interactive fiction.
![]() |
![]() |
![]() |
![]() |
#15 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 3456809
Join Date: Jul 2023
Device: Scribe 2022, OA2, PRS-350
|
|
![]() |
![]() |
![]() |
Tags |
game, interactive fiction, kual-extension |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glulxe Interactive Fiction interpreter compiled for Kindle PW (via KTerm) | pete330 | Kindle Developer's Corner | 16 | 12-13-2013 11:46 AM |
Git Glulx Interactive Fiction interpreter compiled for Kindle PW (via KTerm) | pete330 | Kindle Developer's Corner | 1 | 09-24-2013 01:06 PM |
TADS Interactive Fiction interpreter compiled for Kindle PW (via KTerm) | pete330 | Kindle Developer's Corner | 14 | 08-26-2013 11:22 PM |
Interactive Fiction with Gargoyle for the Iliad | Adam B. | iRex | 68 | 09-01-2011 04:49 AM |
Gargoyle, an interactive fiction player, is ported to Open Inkpot | hrashk | OpenInkpot | 7 | 06-22-2011 10:31 PM |