Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-16-2010, 11:22 AM   #16
adq
Enthusiast
adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.
 
Posts: 26
Karma: 326
Join Date: Sep 2010
Device: kindle
@charliefx: can you try the test version here:

http://lidskialf.net/kif-0.4-PRETEST.zip and see if that works any better?
adq is offline   Reply With Quote
Old 10-16-2010, 12:05 PM   #17
adq
Enthusiast
adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.
 
Posts: 26
Karma: 326
Join Date: Sep 2010
Device: kindle
Quote:
Originally Posted by vdp View Post
Wow, I've just added the textoptionpane + orientation stuff and it just works! You have to reload your game after switching though.
adq is offline   Reply With Quote
Advert
Old 10-16-2010, 12:13 PM   #18
charliefx
Member
charliefx began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2010
Device: Kindle DX Graphite
Same thing, none of the games works.In my first message I forgot to tell that when I try to open minizork.z3 the title bar changes,

from

Quote:
kif:
to

Quote:
kif: West of House 0/0
but nothing else changes, the screen keeps showing the game list.If I push [Menu] again the screen refresh, but only the number of lines used by the [Open Game] menu option, so now I can read:

Quote:
MINI-ZORK I> The Great Underground Empire
Copyright (c) 1988 Infocom, Inc. All rights reserved.
ZORK is a registered trademark of Infocom, Inc.
Release 34/Serial number 871124
the next line (West of the House) shows mixed with the game list.Looks like the screen only refresh in the area used by the [Open game] menu button.After that nothing else works and I must exit the program with [Back] or [Home].This happens in kif 0.3 and in 0.4.

With 0.4 I get this new log (only happen when I press enter):
Quote:
Failed to load game
java.lang.NoClassDefFoundError: net.lidskialf.kif.HackImageSource
at net.lidskialf.kif.KifKindlet.createImage(KifKindle t.java:447)
at org.zmpp.blorb.BlorbImages.handlePicture(BlorbImag es.java:137)
at org.zmpp.blorb.BlorbImages.putToDatabase(BlorbImag es.java:103)
at org.zmpp.blorb.BlorbMediaCollection.<init>(BlorbMe diaCollection.java:96)
at org.zmpp.blorb.BlorbImages.<init>(BlorbImages.java :64)
at org.zmpp.blorb.BlorbResources.<init>(BlorbResource s.java:69)
at org.zmpp.vm.MachineFactory.readResourcesFromFile(M achineFactory.java:195)
at org.zmpp.vm.MachineFactory.readResources(MachineFa ctory.java:164)
at org.zmpp.vm.MachineFactory.buildMachine(MachineFac tory.java:94)
at org.zmpp.ExecutionControl.<init>(ExecutionControl. java:84)
at net.lidskialf.kif.KifKindlet.startGame(KifKindlet. java:618)
at net.lidskialf.kif.KifKindlet.loadGame(KifKindlet.j ava:587)
at net.lidskialf.kif.KifKindlet.fileSelected(KifKindl et.java:459)
at net.lidskialf.kif.LoadFilePanel$1.actionPerformed( LoadFilePanel.java:23)
at org.kwt.ui.KWTSelectableLabel.processEvent(KWTSele ctableLabel.java:244)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2218)
at java.awt.Component.dispatchEvent(Component.java:21 03)
at java.awt.KeyboardFocusManager.redispatchEvent(Keyb oardFocusManager.java:709)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEv ent(DefaultKeyboardFocusManager.java:559)
at java.awt.DefaultKeyboardFocusManager.preDispatchKe yEvent(Compiled Method)(DefaultKeyboardFocusManager.java:687)
at java.awt.DefaultKeyboardFocusManager.typeAheadAsse rtions(Compiled Method)(DefaultKeyboardFocusManager.java:637)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent (Compiled Method)(DefaultKeyboardFocusManager.java:542)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2112)
at java.awt.Window.dispatchEventImpl(Window.java:327)
at java.awt.Component.dispatchEvent(Compiled Method)(Component.java:2103)
at java.awt.EventQueue.dispatchEvent(Compiled Method)(EventQueue.java:329)
at java.awt.EventQueueProxy.dispatchEvent(Compiled Method)(EventDispatchThread.java:294)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Method)(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEvents(Compiled Method)(EventDispatchThread.java:96)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:91)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:77)
at java.lang.Thread.startup(Thread.java:758)
Failed to load game
java.lang.NullPointerException
at org.zmpp.windowing.BufferedScreenModel.getDefaultB ackground(BufferedScreenModel.java:379)
at org.zmpp.windowing.BufferedScreenModel.getBackgrou nd(BufferedScreenModel.java:361)
at net.lidskialf.kif.KifKindlet.getDefaultBackground( KifKindlet.java:242)
at net.lidskialf.kif.InfocomTopPanel.init(InfocomTopP anel.java:99)
at net.lidskialf.kif.InfocomGamePanel.init(InfocomGam ePanel.java:81)
at net.lidskialf.kif.KifKindlet.startGame(KifKindlet. java:602)
at net.lidskialf.kif.KifKindlet.loadGame(KifKindlet.j ava:587)
at net.lidskialf.kif.KifKindlet.fileSelected(KifKindl et.java:459)
at net.lidskialf.kif.LoadFilePanel$1.actionPerformed( LoadFilePanel.java:23)
at org.kwt.ui.KWTSelectableLabel.processEvent(KWTSele ctableLabel.java:244)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2218)
at java.awt.Component.dispatchEvent(Component.java:21 03)
at java.awt.KeyboardFocusManager.redispatchEvent(Keyb oardFocusManager.java:709)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEv ent(DefaultKeyboardFocusManager.java:559)
at java.awt.DefaultKeyboardFocusManager.preDispatchKe yEvent(Compiled Method)(DefaultKeyboardFocusManager.java:687)
at java.awt.DefaultKeyboardFocusManager.typeAheadAsse rtions(Compiled Method)(DefaultKeyboardFocusManager.java:637)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent (Compiled Method)(DefaultKeyboardFocusManager.java:542)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2112)
at java.awt.Window.dispatchEventImpl(Window.java:327)
at java.awt.Component.dispatchEvent(Compiled Method)(Component.java:2103)
at java.awt.EventQueue.dispatchEvent(Compiled Method)(EventQueue.java:329)
at java.awt.EventQueueProxy.dispatchEvent(Compiled Method)(EventDispatchThread.java:294)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Method)(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEvents(Compiled Method)(EventDispatchThread.java:96)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:91)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:77)
at java.lang.Thread.startup(Thread.java:758)
Failed to load game
java.lang.NullPointerException
at org.zmpp.windowing.BufferedScreenModel.getDefaultB ackground(BufferedScreenModel.java:379)
at org.zmpp.windowing.BufferedScreenModel.getBackgrou nd(BufferedScreenModel.java:361)
at net.lidskialf.kif.KifKindlet.getDefaultBackground( KifKindlet.java:242)
at net.lidskialf.kif.InfocomTopPanel.init(InfocomTopP anel.java:99)
at net.lidskialf.kif.InfocomGamePanel.init(InfocomGam ePanel.java:81)
at net.lidskialf.kif.KifKindlet.startGame(KifKindlet. java:602)
at net.lidskialf.kif.KifKindlet.loadGame(KifKindlet.j ava:589)
at net.lidskialf.kif.KifKindlet.fileSelected(KifKindl et.java:459)
at net.lidskialf.kif.LoadFilePanel$1.actionPerformed( LoadFilePanel.java:23)
at org.kwt.ui.KWTSelectableLabel.processEvent(KWTSele ctableLabel.java:244)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2218)
at java.awt.Component.dispatchEvent(Component.java:21 03)
at java.awt.KeyboardFocusManager.redispatchEvent(Keyb oardFocusManager.java:709)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEv ent(DefaultKeyboardFocusManager.java:559)
at java.awt.DefaultKeyboardFocusManager.preDispatchKe yEvent(Compiled Method)(DefaultKeyboardFocusManager.java:687)
at java.awt.DefaultKeyboardFocusManager.typeAheadAsse rtions(Compiled Method)(DefaultKeyboardFocusManager.java:637)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent (Compiled Method)(DefaultKeyboardFocusManager.java:542)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2112)
at java.awt.Window.dispatchEventImpl(Compiled Method)(Window.java:327)
at java.awt.Component.dispatchEvent(Compiled Method)(Component.java:2103)
at java.awt.EventQueue.dispatchEvent(Compiled Method)(EventQueue.java:329)
at java.awt.EventQueueProxy.dispatchEvent(Compiled Method)(EventDispatchThread.java:294)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Method)(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEvents(Compiled Method)(EventDispatchThread.java:96)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:91)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:77)
at java.lang.Thread.startup(Thread.java:758)
Failed to load game
java.lang.NullPointerException
at org.zmpp.windowing.BufferedScreenModel.getDefaultB ackground(BufferedScreenModel.java:379)
at org.zmpp.windowing.BufferedScreenModel.getBackgrou nd(BufferedScreenModel.java:361)
at net.lidskialf.kif.KifKindlet.getDefaultBackground( KifKindlet.java:242)
at net.lidskialf.kif.InfocomTopPanel.init(InfocomTopP anel.java:99)
at net.lidskialf.kif.InfocomGamePanel.init(InfocomGam ePanel.java:81)
at net.lidskialf.kif.KifKindlet.startGame(KifKindlet. java:602)
at net.lidskialf.kif.KifKindlet.loadGame(KifKindlet.j ava:589)
at net.lidskialf.kif.KifKindlet.fileSelected(KifKindl et.java:459)
at net.lidskialf.kif.LoadFilePanel$1.actionPerformed( LoadFilePanel.java:23)
at org.kwt.ui.KWTSelectableLabel.processEvent(KWTSele ctableLabel.java:244)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2218)
at java.awt.Component.dispatchEvent(Component.java:21 03)
at java.awt.KeyboardFocusManager.redispatchEvent(Keyb oardFocusManager.java:709)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEv ent(DefaultKeyboardFocusManager.java:559)
at java.awt.DefaultKeyboardFocusManager.preDispatchKe yEvent(Compiled Method)(DefaultKeyboardFocusManager.java:687)
at java.awt.DefaultKeyboardFocusManager.typeAheadAsse rtions(Compiled Method)(DefaultKeyboardFocusManager.java:637)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent (Compiled Method)(DefaultKeyboardFocusManager.java:542)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2112)
at java.awt.Window.dispatchEventImpl(Compiled Method)(Window.java:327)
at java.awt.Component.dispatchEvent(Compiled Method)(Component.java:2103)
at java.awt.EventQueue.dispatchEvent(Compiled Method)(EventQueue.java:329)
at java.awt.EventQueueProxy.dispatchEvent(Compiled Method)(EventDispatchThread.java:294)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Method)(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEvents(Compiled Method)(EventDispatchThread.java:96)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:91)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:77)
at java.lang.Thread.startup(Thread.java:758)
Failed to load game
java.lang.NullPointerException
at org.zmpp.windowing.BufferedScreenModel.getDefaultB ackground(BufferedScreenModel.java:379)
at org.zmpp.windowing.BufferedScreenModel.getBackgrou nd(BufferedScreenModel.java:361)
at net.lidskialf.kif.KifKindlet.getDefaultBackground( KifKindlet.java:242)
at net.lidskialf.kif.InfocomTopPanel.init(InfocomTopP anel.java:99)
at net.lidskialf.kif.InfocomGamePanel.init(InfocomGam ePanel.java:81)
at net.lidskialf.kif.KifKindlet.startGame(KifKindlet. java:602)
at net.lidskialf.kif.KifKindlet.loadGame(KifKindlet.j ava:589)
at net.lidskialf.kif.KifKindlet.fileSelected(KifKindl et.java:459)
at net.lidskialf.kif.LoadFilePanel$1.actionPerformed( LoadFilePanel.java:23)
at org.kwt.ui.KWTSelectableLabel.processEvent(KWTSele ctableLabel.java:244)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2218)
at java.awt.Component.dispatchEvent(Component.java:21 03)
at java.awt.KeyboardFocusManager.redispatchEvent(Keyb oardFocusManager.java:709)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEv ent(DefaultKeyboardFocusManager.java:559)
at java.awt.DefaultKeyboardFocusManager.preDispatchKe yEvent(Compiled Method)(DefaultKeyboardFocusManager.java:687)
at java.awt.DefaultKeyboardFocusManager.typeAheadAsse rtions(Compiled Method)(DefaultKeyboardFocusManager.java:637)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent (Compiled Method)(DefaultKeyboardFocusManager.java:542)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2112)
at java.awt.Window.dispatchEventImpl(Compiled Method)(Window.java:327)
at java.awt.Component.dispatchEvent(Compiled Method)(Component.java:2103)
at java.awt.EventQueue.dispatchEvent(Compiled Method)(EventQueue.java:329)
at java.awt.EventQueueProxy.dispatchEvent(Compiled Method)(EventDispatchThread.java:294)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Method)(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEvents(Compiled Method)(EventDispatchThread.java:96)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:91)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:77)
at java.lang.Thread.startup(Thread.java:758)
Hope that info help you to solve the problem.I'll be happy to run some more test, if you need it.
charliefx is offline   Reply With Quote
Old 10-16-2010, 02:30 PM   #19
jozicka
Connoisseur
jozicka doesn't litterjozicka doesn't litter
 
Posts: 63
Karma: 194
Join Date: Feb 2010
Device: notebook
Small question - would be possible to mod KIF, so there will be also a menu option - Open book.

And after that user will be able to browse all mobi files stored in work directory (included subdir) and selected book will be copied to documents for reading?

So we can have external sorted folders and we will be able to select particular book for reading even without a pc connectivity?
jozicka is offline   Reply With Quote
Old 10-16-2010, 06:21 PM   #20
adq
Enthusiast
adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.
 
Posts: 26
Karma: 326
Join Date: Sep 2010
Device: kindle
@charliefx: which game is that new trace from?

The minizork.z5 in the source zip? Very odd as it looks like it thinks its in "blorb" format?!
adq is offline   Reply With Quote
Advert
Old 10-17-2010, 03:48 AM   #21
vdp
Enthusiast
vdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watch
 
Posts: 45
Karma: 10842
Join Date: Aug 2010
Device: Kindle DXG
Quote:
Originally Posted by adq View Post
Wow, I've just added the textoptionpane + orientation stuff and it just works! You have to reload your game after switching though.
Good to hear .

I can confirm what charliefx said. There is a problem with the kindlet under DXG - nothing is shown on the main screen after game load (I was trying minizork.z3).

The last revision that works is 123
Code:
    Lots of small cleanups
    Sort out the locking and monitors
.

I don't have the time to read through the code and understand what it does and I must admit that I am not a big fan of the text-based quests(yet ).

But I want to thank you for publishing your findings about development without the official KDK!
vdp is offline   Reply With Quote
Old 10-17-2010, 05:10 AM   #22
charliefx
Member
charliefx began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2010
Device: Kindle DX Graphite
I remove kif and the games from KDXg and copy everything again (0.4/PRETEST), to get a 'clean' installation.

When I try to open minizork.z3 or curses.z5 from the kif sources the games didn't run and no log.txt was created.Then I tried troll.z5 (downloaded from the Infocom Archive) an same thing, nothing happens.

So I reconnect the usb cable to add another game, but this time I didn't exit kif before pluggin it.When I disconnect the Kindle to test the new game, the 'USB Drive Mode' screen refreshs and I get the Troll interface (first screen, The Troll Room) and I can play the game.

To me, this looks like a screeen refresh issue: when I open the game it's works ok, but I can't see cause the screen didn't fully refresh.Same thing with minizork.z3 and curses.z5

When I try TheEmptyRoom.zblorb, I get the log.txt again:

Quote:
Failed to load game
java.lang.NoClassDefFoundError: net.lidskialf.kif.HackImageSource
at net.lidskialf.kif.KifKindlet.createImage(KifKindle t.java:447)
at org.zmpp.blorb.BlorbImages.handlePicture(BlorbImag es.java:137)
at org.zmpp.blorb.BlorbImages.putToDatabase(BlorbImag es.java:103)
at org.zmpp.blorb.BlorbMediaCollection.<init>(BlorbMe diaCollection.java:96)
at org.zmpp.blorb.BlorbImages.<init>(BlorbImages.java :64)
at org.zmpp.blorb.BlorbResources.<init>(BlorbResource s.java:69)
at org.zmpp.vm.MachineFactory.readResourcesFromFile(M achineFactory.java:195)
at org.zmpp.vm.MachineFactory.readResources(MachineFa ctory.java:164)
at org.zmpp.vm.MachineFactory.buildMachine(MachineFac tory.java:94)
at org.zmpp.ExecutionControl.<init>(ExecutionControl. java:84)
at net.lidskialf.kif.KifKindlet.startGame(KifKindlet. java:618)
at net.lidskialf.kif.KifKindlet.loadGame(KifKindlet.j ava:587)
at net.lidskialf.kif.KifKindlet.fileSelected(KifKindl et.java:459)
at net.lidskialf.kif.LoadFilePanel$1.actionPerformed( LoadFilePanel.java:23)
at org.kwt.ui.KWTSelectableLabel.processEvent(KWTSele ctableLabel.java:244)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2218)
at java.awt.Component.dispatchEvent(Compiled Method)(Component.java:2103)
at java.awt.KeyboardFocusManager.redispatchEvent(Comp iled Method)(KeyboardFocusManager.java:709)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEv ent(Compiled Method)(DefaultKeyboardFocusManager.java:559)
at java.awt.DefaultKeyboardFocusManager.preDispatchKe yEvent(DefaultKeyboardFocusManager.java:687)
at java.awt.DefaultKeyboardFocusManager.typeAheadAsse rtions(Compiled Method)(DefaultKeyboardFocusManager.java:637)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent (Compiled Method)(DefaultKeyboardFocusManager.java:542)
at java.awt.Component.dispatchEventImpl(Compiled Method)(Component.java:2112)
at java.awt.Window.dispatchEventImpl(Window.java:327)
at java.awt.Component.dispatchEvent(Compiled Method)(Component.java:2103)
at java.awt.EventQueue.dispatchEvent(Compiled Method)(EventQueue.java:329)
at java.awt.EventQueueProxy.dispatchEvent(Compiled Method)(EventDispatchThread.java:294)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Method)(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEvents(Compiled Method)(EventDispatchThread.java:96)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:91)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:77)
at java.lang.Thread.startup(Thread.java:758)
Until you can fix it I can play (no zblorb files) in the KDXg doing this:
- run kif.
- open a game.
- plug the usb cable.
- safely remove the device and unplug.
- ejoy the game.


Edit: I just realize that it's easier to start and stop the screensaver, with the power switch, after load the game.I try to refresh with Alt+G, but this didn't do the trick.

Last edited by charliefx; 10-17-2010 at 06:30 AM.
charliefx is offline   Reply With Quote
Old 10-17-2010, 07:39 AM   #23
adq
Enthusiast
adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.
 
Posts: 26
Karma: 326
Join Date: Sep 2010
Device: kindle
Quote:
Originally Posted by charliefx View Post
I remove kif and the games from KDXg and copy everything again (0.4/PRETEST), to get a 'clean' installation.

When I try to open minizork.z3 or curses.z5 from the kif sources the games didn't run and no log.txt was created.Then I tried troll.z5 (downloaded from the Infocom Archive) an same thing, nothing happens.

So I reconnect the usb cable to add another game, but this time I didn't exit kif before pluggin it.When I disconnect the Kindle to test the new game, the 'USB Drive Mode' screen refreshs and I get the Troll interface (first screen, The Troll Room) and I can play the game.

To me, this looks like a screeen refresh issue: when I open the game it's works ok, but I can't see cause the screen didn't fully refresh.Same thing with minizork.z3 and curses.z5

When I try TheEmptyRoom.zblorb, I get the log.txt again:



Until you can fix it I can play (no zblorb files) in the KDXg doing this:
- run kif.
- open a game.
- plug the usb cable.
- safely remove the device and unplug.
- ejoy the game.


Edit: I just realize that it's easier to start and stop the screensaver, with the power switch, after load the game.I try to refresh with Alt+G, but this didn't do the trick.
Cool, thanks for that testing. I'll have a think about the refresh issue; must be some core implementation difference between the KDX and the K3..

Interesting that it all refreshes fine once you've done the initial manual one. Does typing something on the keyboard show up without the manual refresh? 'cos that should trigger repaints..

I've a new test file, http://lidskialf.net/kif-0.4-PRETEST2.zip. It won't fix the
refresh issue (yet), but it should make .zblorbs work.

It'll also catch errors during loading so failure to load one game will now display an error, and you can load new ones afterwards.

Oh - just realised - the fact that you're able to play games at all means my fix for the InterruptedException thing was correct, so we're making some progress at least!

Last edited by adq; 10-17-2010 at 07:45 AM.
adq is offline   Reply With Quote
Old 10-17-2010, 11:21 AM   #24
charliefx
Member
charliefx began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2010
Device: Kindle DX Graphite
Quote:
Originally Posted by adq View Post
Interesting that it all refreshes fine once you've done the initial manual one. Does typing something on the keyboard show up without the manual refresh? 'cos that should trigger repaints..
typing didn't refresh the screen, only the title bar.If i type a move command in Zork (i.e. S and Enter) the title bar changes from

Code:
kif:West of the House 0/0
to

Code:
kif: South of the House 0/1
but nothing else changes, the game list keeps still in the screen.

Quote:
Originally Posted by adq View Post
I've a new test file, http://lidskialf.net/kif-0.4-PRETEST2.zip. It won't fix the
refresh issue (yet), but it should make .zblorbs work.
Indeed it did it, I can play zblorbs games now.Cool.

Quote:
Originally Posted by adq View Post
Oh - just realised - the fact that you're able to play games at all means my fix for the InterruptedException thing was correct, so we're making some progress at least!
Yeah! sure thing.

Last edited by charliefx; 10-17-2010 at 11:38 AM.
charliefx is offline   Reply With Quote
Old 10-17-2010, 06:57 PM   #25
adq
Enthusiast
adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.
 
Posts: 26
Karma: 326
Join Date: Sep 2010
Device: kindle
Quote:
Originally Posted by charliefx View Post
typing didn't refresh the screen, only the title bar.If i type a move command in Zork (i.e. S and Enter) the title bar changes from

Code:
kif:West of the House 0/0
to

Code:
kif: South of the House 0/1
but nothing else changes, the game list keeps still in the screen.



Indeed it did it, I can play zblorbs games now.Cool.



Yeah! sure thing.
Oh, that's weird about the gamelist staying there; I swap that out and replace it with the game content panel. If you type "SAVE" or "RESTORE" in a game it should show a window allowing you to select files. I use the same technique there too; does that have the same problem?

Oh, http://lidskialf.net/kif-0.4-PRETEST3.zip has my first attempt at fixing the initial-game-refresh-issue.

This is probably going to take a few goes to figure out the fix..
adq is offline   Reply With Quote
Old 10-18-2010, 01:18 AM   #26
charliefx
Member
charliefx began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2010
Device: Kindle DX Graphite
I just made a quick test (0.4-PRETEST2):

- run kif
- open a game
- type RESTORE (I can't see it, the screen didn't refresh)

then the screen refresh and I can see the save/restore file list screen.I pick a saved game and, again, looks like nothing happens in the main area (in the title bar the refresh works ok).I do the manual refresh -with the screensaver trick- and now I can see that the game was restored correctly and I can play.

Later in the day I'll test the new version (PRETEST3) and post the results here.

Quote:
This is probably going to take a few goes to figure out the fix..
No worries, you're doing a terrific work with this.Glad that I can help.
charliefx is offline   Reply With Quote
Old 10-18-2010, 03:35 PM   #27
charliefx
Member
charliefx began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2010
Device: Kindle DX Graphite
Just tested 0.4-PRETEST3 and I'm sorry to say that the refresh issues are the same.If I want to play a game, I need to do the screensaver trick.

(The SAVE/RESTORE didin't refresh the screen neither)
charliefx is offline   Reply With Quote
Old 10-18-2010, 05:54 PM   #28
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Just in case someone was wondering: it still works fine on v3.0.3 . (There's been a few patches to the KDK & FWK jars, though).
NiLuJe is offline   Reply With Quote
Old 10-19-2010, 02:20 AM   #29
guyincognito
Junior Member
guyincognito began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
On my Kindle, the restore function doesn't work. Clicking on a save file doesn't seem to do anything. If I press menu after trying to select a save file and then reopen the game, then it causes the whole system to hang. The only cure for this is a hard reset. On the other hand, pressing the home button instead prevents the lock up. Other than this one problem, it seems to work flawlessly. Great job!

I'm not sure if this is relevant, but I am running firmware 3.0.3 prerelease.

Last edited by guyincognito; 10-19-2010 at 12:49 PM.
guyincognito is offline   Reply With Quote
Old 10-19-2010, 12:52 PM   #30
adq
Enthusiast
adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.adq has a complete set of Star Wars action figures.
 
Posts: 26
Karma: 326
Join Date: Sep 2010
Device: kindle
Quote:
Originally Posted by guyincognito View Post
On my Kindle, the restore function doesn't work. Clicking on a save file doesn't seem to do anything. If I press menu after trying to select a save file and then reopen the game, then it causes the whole system to hang. The only cure for this is a hard reset. On the other hand, pressing the home button instead prevents the lock up. Other than this one problem, it seems to work flawlessly. Great job!

I'm not sure if this is relevant, but I am running firmware 3.0.3 prerelease.
Nice one, just fixed the hang; will release once I get this DX thing sorted!

As for restore not working; odd, it works here, and I guess save works OK.

Sorry to ask this, but are you using ENTER or the middle button of the 5-way-pad thing to choose the savegame? It only supports the middle-pad button right now.

Otherwise, is there anything in developer\kif\log.txt in USB mode?
adq is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
zork goes native on Kindle cybmole Amazon Kindle 2 10-13-2010 10:17 AM
PRS-600 Interactive Interpreter luma Sony Reader Dev Corner 1 07-24-2010 12:19 PM
Possible to disable native PDF on Kindle with 2.3 aa2300 Amazon Kindle 1 12-05-2009 12:59 PM
Firmware Update Kindle 2 update with native PDF available (version 2.3) jkeranen Amazon Kindle 2 11-24-2009 02:25 PM
Infocom Interactive fiction games on Sony. kobargh Sony Reader Dev Corner 13 09-04-2009 04:02 PM


All times are GMT -4. The time now is 12:52 PM.


MobileRead.com is a privately owned, operated and funded community.