10-15-2012, 09:02 PM | #181 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
OK, I think I get it. It's because I became unregistered maybe? So it trashed it and rebuilt it. It's the only thing I can think of.
I haven't seen any scripts that do that but can't think of another reason right now. at least it is back. : ) |
10-15-2012, 10:38 PM | #182 | ||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
[root@kindle /]# TSLIB_CONSOLEDEVICE=none TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/mnt/us/etc/ts.conf TSLIB_PLUGINDIR=/mnt/us/usr/lib/ts SDL_VIDEODRIVER=x11 prboom -width 592 -height 800 -file /mnt/us/usr/share/games/doom/prboom.wad -iwad /mnt/us/usr/share/games/doom/doom1.wad -nomonsters -nosound -nomusic
for reference. checkout the correct modules to use. right now I have Quote:
Bah. must get a TC solid like the CS one for the 3! Annoyance Quote:
Last edited by twobob; 10-18-2012 at 07:42 AM. |
||
10-16-2012, 07:52 PM | #183 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
so https://fleximdev.com/buildsystem/ts...ns/input-raw.c is a nice online example of the TSLIB module we are looking to use.
Throwing the new BR ctng TC at it now. see if it still complains about versions. (Hint. I doubt it will, I removed the check ) Tests resuming Quote:
Last edited by twobob; 10-16-2012 at 07:56 PM. |
|
10-16-2012, 09:56 PM | #184 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
[root@kindle root]# TSLIB_CALIBFILE=/mnt/us/etc/pointercal SDL_MOUSEDEV=/dev/input/event3 SDL_MOUSEDRV=TSLIB TSLIB_CONSOLEDEVICE=
none TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/mnt/us/etc/ts.conf TSLIB_PLUGINDIR=/mnt/us/usr/lib/ ts SDL_VIDEODRIVER=fbcon AUDIODEV=/dev/snd SDL_AUDIODRIVER=alsa SDL_DEBUG=1 prboom -nosound -nomusic -width 592 -height 800 http://manpages.ubuntu.com/manpages/...ts.conf.5.html was also tangentially helpful http://opentom.org/Tslib http://www.armadeus.com/wiki/index.php?title=Tslib http://linux-dvbh.blogspot.co.uk/200...mpile-for.html not quite getting it, but the TSLIB tests run okay now... : ) Last edited by twobob; 10-16-2012 at 11:28 PM. |
10-17-2012, 06:57 AM | #185 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Correct me if wrong please:
The idea here is that using tslib should allow anything for the K5 to be 'ported' to the Kpw by changing the configuration file? And that 'porting' anything between the ts devices and the non-ts devices should only require the removal of the tslib from the SDL configuration (and maybe other config file level changes)? Sort-of like the Java slogan of "write once, run anywhere" ?? (Which, over the years has been found to be: "write once, run nowhere" in actual practice.) With the visual bug-a-bears trained - Will custom TTS be next? http://festvox.org/index.html http://www.speech.cs.cmu.edu/flite/ Even a small diphone based system to cover the most common phrases, like: Re-charge the battery. Last edited by knc1; 10-17-2012 at 07:20 AM. |
10-17-2012, 08:10 AM | #186 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I was looking at this just the other day. but the other way round. Voice control for the devices. not impossible.
and yup. the idea is that a properly doctored SDL should support ALL of the devices (maybe the DX will run like crap) thus giving us a much better port base. currently we have: oh yeah, an ancient QT kludge - now a full version behind, Direct to FB code, GTK on the devices that support it, overally it's a bit of a full-on DIY mish-mash. I probably missed half a dozen partially supported projects / widgetsets / implementations. to just have "something" to throw ports at would be nice. SDL seems a decent bet as the runtime ENVVAR stuff makes it very flexible for our purposes, nice to just have to chuck a few ENV's around and have the next configuration all setup. Anyways, it's a time sink but meh. I have TSLIB working now, I have SDL building lovely, working on mastering the awesome/awful layers, just a wee bit more graphics code and a spot of Onscreen UI overlay work (maybe) and then we can think about such niceties as the spoken word. Gorf would be a nice port for that "Insert Coin", those words still bring a chill down my spine (Did that machine just speak?) http://en.wikipedia.org/wiki/Gorf |
10-17-2012, 11:38 AM | #187 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Done deal.
Sound, Touchscreen, Control of Xorg, running Doom. I just played my first game on the kindle touch next up... Kindle 3 support Not finished: Graphics. Initialising keyboard (currently feeding via vnc) via other method. Nearly ready to release. TSLIB works really nice. Last edited by twobob; 10-17-2012 at 12:01 PM. |
10-17-2012, 11:50 AM | #188 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
RFG (Request For Graphic):
Please include at least one "lab126" sign on a doorway or corridor. That way players (at least developers here) will know it is the "Kindle version". Some far off, distant day: Maybe we could turn that "rubber ducky" video which GM found, that I claimed was the lab126 crew at work, into an arcade shooting gallery. |
10-17-2012, 12:07 PM | #189 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
heh yeah
Im going to see about porting this tank game for a moment. give me break from X diving. still I learned a lot over the last 24 hours and had several important wins. Happy bunny Last edited by twobob; 10-17-2012 at 12:11 PM. |
10-17-2012, 01:51 PM | #190 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
also looks promising |
|
10-21-2012, 10:12 AM | #191 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
setting a "proper" title
Code that sets the "correct" window name:
~/GIT/brk5/output/build/prboom-2.5.0/src/SDL/i_video.c Quote:
|
|
10-21-2012, 11:41 AM | #192 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I have thought about this and providing a working SDL has far more value than a single app. but I would happily try to port the work to SDL given some pointers
|
10-22-2012, 03:37 PM | #193 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
cripes.. so I finally managed to find a tidy set of commands to pull prboom frontwards and not grab the input exclusively.
start_keyboard-mini.sh wmctrl -r prboom -e 0,5,30,592,710 wmctrl -r prboom -b toggle,above for reference. with an optional Quote:
Last edited by twobob; 10-22-2012 at 08:18 PM. Reason: layout, code was also missing |
|
10-22-2012, 08:46 PM | #194 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
notes on _NET_WM_STATE
|
11-21-2012, 09:23 AM | #195 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hmm. I think I should be able to attempt the -dithered for prboom later.
not got the right bits with me. get an idea of what it might look like at least. on the 3 mind for now [root@kindle share]# LD_PRELOAD=/mnt/us/usr/lib/libz.so.1 Xvfb -noreset -screen 0 600x800x8 -bs -wr +extension RANDR +extension XTEST +extension XINERAMA +extension MIT-SHM -fc cursor -fp /mnt/us/sh/fonts/X11/100dpi -nolisten tcp :0 & (DEBIAN: ) Xephyr :1 -title "dithyr" -screen 600x800 & [root@kindle us]# DISPLAY=:0 x11vnc -shared -nopw -forever -noncache -noxdamage & [root@kindle us]# /mnt/us/kindlevncviewer/kindlevncviewer -config /mnt/us/kindlevncviewer/config.lua -encodings "raw copyrect" -dithered 127.0.0.1:0 (DEBIAN: ) DISPLAY=:0 /usr/games/prboom -width 592 -height 800 -nomonsters -nosound -nomusic -iwad /usr/share/games/doom/freedoom.wad -file /usr/share/games/doom/prboom.wad Seemingly I can target an Xvfb target with debian SDL. huh, neat trick Last edited by twobob; 11-22-2012 at 03:38 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
H.264 clip running on standard E Ink panel | Alexander Turcic | News | 95 | 03-19-2011 01:19 PM |
Death of E-Ink display? | DD1509 | News | 181 | 01-06-2010 04:48 PM |
Anybody knows the cost of E-Ink Display | jeffreylamster | OpenInkpot | 7 | 04-24-2009 01:49 PM |
Motorola has the first example of Android running on a E-Ink display. | Kris777 | News | 1 | 02-17-2009 11:09 PM |
Paperlike display running for 12 years and still going strong | Alexander Turcic | News | 3 | 06-08-2006 10:25 PM |