Help - Search - Members - Calendar
Full Version: Scummvm: F200 Touchscreen Support
GP32X.com - GP32 GP2X Pandora The Wiz - open source entertainment > GP2X > General talk [GP2X]
Pages: 1, 2
DJWillis
Folks,

I have knocked up a quick test build of ScummVM to play with support for the touch screen.

Untested by me as I don't have an F200 (or working GP2X for that matter).

There is more info and a test download here.

Please read the info before you try this out on your GP2X.

Also, please note that it does not seem to work if the GP2X is in the cradle/BoB, not sure why just yet.
The code should just detect if a USB mouse is added and disable the touchscreen but it seems to hang up if the cradle is connected. One to look at later.
morrissey2k7
QUOTE(DJWillis @ Nov 6 2007, 10:36 PM) *

Folks,

I have knocked up a quick test build of ScummVM to play with support for the touch screen.

Untested by me as I don't have an F200 (or working GP2X for that matter).

There is more info and a test download here.

Please read the info before you try this out on your GP2X.

Also, please note that it does not seem to work if the GP2X is in the cradle/BoB, not sure why just yet.
The code should just detect if a USB mouse is added and disable the touchscreen but it seems to hang up if the cradle is connected. One to look at later.


Hot damn! I've never used ScummVM before, but I'm gonna try it out now to see if the TS works OK. I have to go get some games for it, so it will be a little bit, but I'll let you know you what my findings are. I hope the TS works OK... I wanna get my Loom on in style! smile.gif
paeryn
Hiya,
I've just tested it on mine, it works fine both with and without a mouse connected via the BoB for me.
It seg faults when quitting though - I'll see if gdb tells me more.

Only tried it with Sky (floppy version).
morrissey2k7
QUOTE(morrissey2k7 @ Nov 6 2007, 11:10 PM) *

QUOTE(DJWillis @ Nov 6 2007, 10:36 PM) *

Folks,

I have knocked up a quick test build of ScummVM to play with support for the touch screen.

Untested by me as I don't have an F200 (or working GP2X for that matter).

There is more info and a test download here.

Please read the info before you try this out on your GP2X.

Also, please note that it does not seem to work if the GP2X is in the cradle/BoB, not sure why just yet.
The code should just detect if a USB mouse is added and disable the touchscreen but it seems to hang up if the cradle is connected. One to look at later.


Hot damn! I've never used ScummVM before, but I'm gonna try it out now to see if the TS works OK. I have to go get some games for it, so it will be a little bit, but I'll let you know you what my findings are. I hope the TS works OK... I wanna get my Loom on in style! smile.gif


UPDATE: I'm trying Goblins 3 right now. The ScummVM menu uses the touch screen awesomely (both to move the mouse and to choose options by tapping the screen)... OK, I'm actually in the game now. The mouse moves around the screen when you move the stylus around the screen, but I'm not sure if tapping the screen can select anything (of course, I have no clue how to play this game!). I'll be back in a few with some more observations.

UPDATE 2: Yes, tapping the screen acts just like clicking a mouse button in Goblins 3. This rocks! Can't wait to try out all the Scumm games with touch screen!
b_o_b
Didn't expect a touch screen release so soon.
Works fine, touch screen reacts mighty fast. Didn't find any failures yet, but just played a couple of minutes.

Superb job and many thanks from one of the early adaptors smile.gif
rokdcasbah
awesome. about to try this with "beneath a steel sky"

a game which i recommend to all who haven't played btw. cool story, whole thing is very engaging, plenty of humor. you go around, find objects, talk to people etc, standard scumm stuff (but not like kyrandia where you find colored gems for no reason other then "you need them all to win!")
Iorgy77
Nice one DJW, I just put an order for an f200 in the other day so looking forward to playing SCUMMVM with the touchscreen.

We really should get together and pitch in to buy you an f200 or mkII, which ever you prefer... Or just a regular donation so you could spend it on beer or whatever it is you genius type guys consume after work.
morrissey2k7
QUOTE(Iorgy77 @ Nov 7 2007, 12:36 AM) *

Nice one DJW, I just put an order for an f200 in the other day so looking forward to playing SCUMMVM with the touchscreen.

We really should get together and pitch in to buy you an f200 or mkII, which ever you prefer... Or just a regular donation so you could spend it on beer or whatever it is you genius type guys consume after work.


Per my "contest" that I posted a few days ago (where I promised a $5 Play Asia coupon to the first person who produced a touch screen game, app, or emulator for the F-200), you're the winner, DJWillis! biggrin.gif

Congrats and thanks for all your hard work! AND for proving that it's not impossible to dev for the F-200... in fact you did it and you don't even have one!!!! laugh.gif
Rivroner
Thank you very much DJWillis smile.gif

IPB Image


rolleyes.gif
jpic3yk
QUOTE(Rivroner @ Nov 6 2007, 08:50 PM) *

Thank you very much DJWillis smile.gif

IPB Image


rolleyes.gif


Suddenly spending $200 to play monkey island on a touch screen seems very desirable
morrissey2k7
Submit this as a News item and upload your files to the Archives. Woo hoo! This has totally made my day!
gp2x.info



Thanks DJWillis, this is one of the few very good reasons to get a F200!



DJWillis
QUOTE(Iorgy77 @ Nov 7 2007, 12:36 AM) *

Nice one DJW, I just put an order for an f200 in the other day so looking forward to playing SCUMMVM with the touchscreen.

We really should get together and pitch in to buy you an f200 or mkII, which ever you prefer...


Thanks, don't stress too much. If I can get the right deal I may well pick up an F200 at some point. For now, well blind coding is not all bad wink.gif.

QUOTE(morrissey2k7 @ Nov 7 2007, 12:55 AM) *

Per my "contest" that I posted a few days ago (where I promised a $5 Play Asia coupon to the first person who produced a touch screen game, app, or emulator for the F-200), you're the winner, DJWillis! biggrin.gif

Congrats and thanks for all your hard work! AND for proving that it's not impossible to dev for the F-200... in fact you did it and you don't even have one!!!! laugh.gif


Thanks for the offer, but I did not enter your contest wink.gif. I just did this for the hell of it.

I won't take the voucher if you don't mind as I don’t like being indebted and I reserve the right to still moan a little about the F200 and don't want to offend anybody wink.gif. As I mentioned before, the F200 seems great for gamers but why GPH changed the base hardware and removed functionality power users love I can't begin to think (well I can, it saves them a few pence on each unit).

QUOTE(morrissey2k7 @ Nov 7 2007, 03:13 AM) *

Submit this as a News item and upload your files to the Archives. Woo hoo! This has totally made my day!


Nahh, under normal circumstances I would have just posted this to the Beta Testing forum like I usually do with small ScummVM test releases. I only posted to general as I doubt most of the new GP2X users with F200's would find the beta forum down the bottom of the forum list.

It's not news till its ready wink.gif. I'll do some more work over the next few days and a few more releases then make an official 0.10.0 release with touch screen support. That will justify being news.

Also, please do not post test releases to the archives, official ones only thanks (and even then I would rather people where pointed to http://www.ScummVM.org or http://ScummVM.distant-earth.com or people end up downloading ancient releases with all manner of bugs and emailing me about there problems, it’s a pain in the bum I can do without biggrin.gif.

Anyway, glad people are enjoying the release.

Any feedback, bugs, etc. would be appreciated so I can try and squash them in the next release.
sbock
Very well done. Works like a charm for me.
Thanks for the fast release.

Regards,
Stephan
Cervante
Ordering F200 soon!....MONKEY ISLAND!, SAM & MAX, DAY OF THE TENTACLE HERE I COME!
rokdcasbah
works fine here. tried with monkey island (not that that matters).
morrissey2k7
I've been playing the hell out of Loom and it works perfectly. I also tried Broken Sword 1, and the stylus moves the mouse pointer, but not on the same part of the screen you touch so pointing to anything on the right side of the screen is impossible. I don't mean that as a critique, but I'm sure you want to know any bugs that might arise, right? biggrin.gif
DJWillis
QUOTE(morrissey2k7 @ Nov 7 2007, 06:27 PM) *

I also tried Broken Sword 1, and the stylus moves the mouse pointer, but not on the same part of the screen you touch so pointing to anything on the right side of the screen is impossible. I don't mean that as a critique, but I'm sure you want to know any bugs that might arise, right? biggrin.gif


Just what I expected to happen biggrin.gif. Thanks for confirming it for me.
What happens if you go into Zoom mode in BS1?
morrissey2k7
QUOTE(DJWillis @ Nov 7 2007, 07:19 PM) *

QUOTE(morrissey2k7 @ Nov 7 2007, 06:27 PM) *

I also tried Broken Sword 1, and the stylus moves the mouse pointer, but not on the same part of the screen you touch so pointing to anything on the right side of the screen is impossible. I don't mean that as a critique, but I'm sure you want to know any bugs that might arise, right? biggrin.gif


Just what I expected to happen biggrin.gif. Thanks for confirming it for me.
What happens if you go into Zoom mode in BS1?


LOL... I don't even know what that is or how to do it. I just tried the game for a few minutes, noticed that the mouse pointer would move, but not where I was pressing the stylus, so I turned it off and went back to Loom. If you tell me how to do it I'll test it for ya, though!
b_o_b
Had another go at Flight of the Amazon Queen. After finding 5 items the items scrolled rather fast (like the scroll button is hanging). That made selecting an item not so easy.
Toady
Had a quick go on Day of the Tenticle - not too shabby seemed to work ok with the touch screen, seems mostly accurate too !
morrissey2k7
Just so you know, I just beat Loom and the touch screen worked perfectly for me the whole game. Thanks a ton, DJWillis! biggrin.gif
rokdcasbah
zoom mode is...interesting. can't really describe what's happening. but i would assume that it's just using the touch screen the same, so the cursor shows up where it's supposed to be, had no you not zoomed in. if that makes any sense. the panning works though.

i have a weird issue in monkey island where it's like buttons are getting hit and i'm not doing it. but i'm not sure it's related, doesn't seem like it's a touchscreen thing either.

and yeah the calibration is a little to the left of where it needs to be, at least on mine.
DJWillis
QUOTE(rokdcasbah @ Nov 8 2007, 10:29 PM) *

i have a weird issue in monkey island where it's like buttons are getting hit and i'm not doing it. but i'm not sure it's related, doesn't seem like it's a touchscreen thing either.

and yeah the calibration is a little to the left of where it needs to be, at least on mine.


Hi,

Thanks for the info on zoom.

I have just done a new build now that should support reading the calibration from the GP2X. I'll upload it in the morning as I am going to crash out now.

The button repeats may be something else I screwed up in my local code, hard to debug that without a GP2X but I will have a look.

Thanks
DJWillis
Ok,

This is the build I did last night. No idea if it works, if somebody can try it and let me know I would be very pleased.

ScummVM GP2X F200 0.10.0 06/11/08 - Untested

It should support the calibration info in /etc so be a lot more accurate. Other then that I have not finished off most of the other changes yet (left click, right click, hover etc.).

I was going to suggest that if your using an F200 I reuse the dPad to toggle the touch screen state?

What I have in mind is: Left on dPad = Put touch screen in left click on touch, Right on dPad = Put touch screen in right click, Up on dPad = Put touch screen in hover mode (press just treated as a mouse move without click).

What do people think about this? Just to clarify the above build does not have those features.
jpic3yk
QUOTE(DJWillis @ Nov 9 2007, 02:49 AM) *

I was going to suggest that if your using an F200 I reuse the dPad to toggle the touch screen state?

What I have in mind is: Left on dPad = Put touch screen in left click on touch, Right on dPad = Put touch screen in right click, Up on dPad = Put touch screen in hover mode (press just treated as a mouse move without click).

Sounds to me like thats the best way to do it.
Toady
QUOTE(DJWillis @ Nov 9 2007, 07:49 AM) *
Ok,

This is the build I did last night. No idea if it works, if somebody can try it and let me know I would be very pleased.

ScummVM GP2X F200 0.10.0 06/11/08 - Untested

It should support the calibration info in /etc so be a lot more accurate. Other then that I have not finished off most of the other changes yet (left click, right click, hover etc.).

I was going to suggest that if your using an F200 I reuse the dPad to toggle the touch screen state?

What I have in mind is: Left on dPad = Put touch screen in left click on touch, Right on dPad = Put touch screen in right click, Up on dPad = Put touch screen in hover mode (press just treated as a mouse move without click).

What do people think about this? Just to clarify the above build does not have those features.






So long as it doesnt break compatibility with the F100 guys, maybe some option you can use to tell it what system you have or better still some platform detection ?



QUOTE(DJWillis @ Nov 9 2007, 07:49 AM) *
Ok,

This is the build I did last night. No idea if it works, if somebody can try it and let me know I would be very pleased.




Tested with Day Of the Tentacle - the touch screen IS more accurate - but oddly I noticed that more with the main SCUMMVM screen, however after a quick go with DOTT the pointer is a little more precice - very handy for s small screen.

DJWillis
QUOTE(Toady @ Nov 9 2007, 10:37 AM) *

So long as it doesn't break compatibility with the F100 guys, maybe some option you can use to tell it what system you have or better still some platform detection ?


It already detects the platform. The builds here will run just fine on an F100 and always will.

The F200 code is wrapped and only used if an F200 is found so it is not an issue. The only reason I put F200 in the zip name is that there are no new features or fixes for F100 users in these builds.

The new SVN builds I am working on (with fixes, more engines, new port features etc.) will support both the F100 and F200 from this point onward.

I am also tempted to place a "Use F200 touch screen?" in the options menu if an F200 is found (default to on) so that F200 users who do not want to use the touch screen can go back to the classic F100 controls (not sure why people would do that mind you). To be honest, in time I would like to let the user remap all the controls to suit there preference anyway.
jpic3yk
QUOTE(Toady @ Nov 9 2007, 10:37 AM) *

I am also tempted to place a "Use F200 touch screen?" in the options menu if an F200 is found (default to on) so that F200 users who do not want to use the touch screen can go back to the classic F100 controls (not sure why people would do that mind you). To be honest, in time I would like to let the user remap all the controls to suit there preference anyway.

Useful if a F200 user leaves his/her stylus somewhere
Toady
QUOTE(DJWillis @ Nov 9 2007, 10:49 AM) *
QUOTE(Toady @ Nov 9 2007, 10:37 AM) *

So long as it doesn't break compatibility with the F100 guys, maybe some option you can use to tell it what system you have or better still some platform detection ?


It already detects the platform. The builds here will run just fine on an F100 and always will.

The F200 code is wrapped and only used if an F200 is found so it is not an issue. The only reason I put F200 in the zip name is that there are no new features or fixes for F100 users in these builds.

The new SVN builds I am working on (with fixes, more engines, new port features etc.) will support both the F100 and F200 from this point onward.

I am also tempted to place a "Use F200 touch screen?" in the options menu if an F200 is found (default to on) so that F200 users who do not want to use the touch screen can go back to the classic F100 controls (not sure why people would do that mind you). To be honest, in time I would like to let the user remap all the controls to suit there preference anyway.




Excellent !!

onumad
In Loom, when you enter in a cabin. If you throw the green bottle, the sound remains sounding for always

IPB Image

Someone can verify if passes him the same thing?

(Sorry for my bad english rolleyes.gif )


(GP2X-F200)

EDITED and SOLVED: It only sucess when a default sound driver is selected. If you select Adlib, it works fine wink.gif
sbock
QUOTE
I was going to suggest that if your using an F200 I reuse the dPad to toggle the touch screen state?

What I have in mind is: Left on dPad = Put touch screen in left click on touch, Right on dPad = Put touch screen in right click, Up on dPad = Put touch screen in hover mode (press just treated as a mouse move without click).

What do people think about this? Just to clarify the above build does not have those features.


Very good idea.

The new version indeed is a little more precise. Testet The Dig and Full Throttle and both work fine so far.

Regards,
Stephan
Pazuzu
Good so I think I found what I will get for christmas.
morrissey2k7
Thanks for the update, DJWillis! Seriously, I'm sure you've made MANY F-200 owners very happy to be able to use their touch screens so quickly after the unit was released! It's definitely been a unexpected treat!

I'm gonna go retry Broken Sword with the new build and see if the mouse movement is improved.

Thanks a bunch! cool.gif

UPDATE: Tried Broken Sword again and I'm still having the same issue (stylus moves the mouse pointer, but FAR left of where I'm pointing). I wonder why this particular game is having problems?

But in happier news, in Monkey Island (1) the touch screen mouse control is noticeably tighter -- meaning it's doing what it's supposed to laugh.gif (the touch screen was very responsive in the last build, but now even moreso).
Rivroner
I have tested Monkey I , Day of the Tentacle amd The Dig and they all are working prefectly smile.gif At least the ten minutes i have played everyone biggrin.gif

Thanks for the touch screen support , it´s glorious biggrin.gif
Sphinxter
Wow it's almost like GPH knows what they're doing.. adding the touch screen was brilliant for emulating mouse games, so glad I ordered one.
Toady
Having had the chance to put in some serious play time - compleated Day of the Tentacle from scratch, what fun too - pretty much it all worked as expected - the only crash was due to low batteries and not down to scummvm. Occasionally the touch screen seemed to forget that it was clickable - usually after altering the volume - no idea what that was about but had to close and re-open scummvm to sort it.



finally on some random occasions tapping the screen can cause the mouse to shoot off the side of the screen (if say you were trying to pick up somthing in the middle) - didnt happen so often and quite possibly a "feature" of the screen rather than your code.



I might just have a go with the first two Monkey Island episodes next...

DJWillis
Ok,

2 updates today.

One is the usual 0.10.0 build with touch screen support added.
With any luck this build fixes the issues with high res games like Broken Sword (thanks Paeryn).
I can't be sure and obviously can't test wink.gif. It does not have the new F200 button code yet, just the basic touch screen.

Feedback appreciated.

ScummVM GP2X F200 0.10.0 12/11/2007 - Untested

Second is a build of my latest 'in development' code based on the current ScummVM SVN as of a few hours ago. No idea if this is working but if it does all the F200 code should now be in there.

Can somebody run it and let me know. Ideally on an F100 and an F200.

ScummVM GP2X LATEST SVN 12/11/2007 - Untested

If this SVN build is working then I will finish off my F200 control system and include it in SVN builds from now on. I think the basic touch screen code is fairly solid now.
Rivroner
Thank you, testing it just right now smile.gif
sbock
First quick check:

1. Build : Highres games now work flawlessly. I tested Curse of Monkey Island without problems.
No problems found with normal res games: Day of the Tantakle works like a charm.

2. Build:

F-200 check
F-100 check

Both checked with Sam and Max and Curse of Monkey Island. Controls are fine.
But do I understand your post right: The new F200 button code is not impemented yet in this build?

Good work!

Regards,
Stephan
DJWillis
QUOTE(sbock @ Nov 12 2007, 08:51 PM) *

But do I understand your post right: The new F200 button code is not impemented yet in this build?


You do, or rather it is in build 2's code but turned off.

I have no way of knowing if my current SVN (i.e. latest) code even worked so I wanted it tested before I enable the new control code and break it wink.gif. That way at least I know at what point it last worked biggrin.gif.
Mr Flibble
Excellent work Mr DJWillis!
morrissey2k7
So I tried Broken Sword in both of your new builds and the touch screen works great! (I only played for a minute with both, but I'm able to point and "click" perfectly with the stylus so far).

You constantly amaze me with your work, DJWillis!
imhotep
This is a SCUMM revolution! Who is finding these games heaps more fun than on the F100?
morrissey2k7
QUOTE(imhotep @ Nov 12 2007, 11:24 PM) *

This is a SCUMM revolution! Who is finding these games heaps more fun than on the F100?


I DEFINITELY find these games much more fun on the F-200! I'd say that this emulator alone is persuasion enough for anyone to get their hands on an F-200. Now if only we could get some touch screen support on a few other computer-based emulators (particularly Amiga!). biggrin.gif
Rivroner
Every game i have launched on both builds are working very well, no problems smile.gif

Except Broken Sword 1:

In SVN build the intro video works although with problems, it´s slow etc,..

In F200 Built it does not work, the game begins after the bomb explodes, but you can´t see or hear the explosion because intro doesnt´work.

Text is almost imposible to read in both builds, but that is because the game definition i suppose.

Maybe a gpe with overclocking is neccessary for some game intros and music.
Toady
QUOTE(Rivroner @ Nov 13 2007, 02:46 AM) *
Every game i have launched on both builds are working very well, no problems smile.gif

Except Broken Sword 1:

In SVN build the intro video works although with problems, it´s slow etc,..

In F200 Built it does not work, the game begins after the bomb explodes, but you can´t see or hear the explosion because intro doesnt´work.

Text is almost imposible to read in both builds, but that is because the game definition i suppose.

Maybe a gpe with overclocking is neccessary for some game intros and music.




Are thease new problems - or did they also exist in the older builds (before the addition of the touchscreen support)??

Rivroner
QUOTE(Toady @ Nov 13 2007, 11:17 PM) *

QUOTE(Rivroner @ Nov 13 2007, 02:46 AM) *
Every game i have launched on both builds are working very well, no problems smile.gif

Except Broken Sword 1:

In SVN build the intro video works although with problems, it´s slow etc,..

In F200 Built it does not work, the game begins after the bomb explodes, but you can´t see or hear the explosion because intro doesnt´work.

Text is almost imposible to read in both builds, but that is because the game definition i suppose.

Maybe a gpe with overclocking is neccessary for some game intros and music.




Are thease new problems - or did they also exist in the older builds (before the addition of the touchscreen support)??


No idea biggrin.gif

I don´t remember at all.
narmak
Using the svn version right now, works very well. I tested the other versions as well, and they worked too. Thanks so much, this is awesome.
DJWillis
QUOTE(narmak @ Nov 26 2007, 04:15 PM) *

Using the svn version right now, works very well. I tested the other versions as well, and they worked too. Thanks so much, this is awesome.


Hi Narmak,

Thanks for the feedback, I also noticed your questions on IRC, if you want to leave me a message there or pop into the chan when it is more active (Euro time zone) I’ll be happy to answer any questions your may have.

As for now, progress is slow/stopped as I reached about the limit of what I can do without hardware to test new features on.

John
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.