PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Monkey Island 2...

NYIllustrator · 18 Jan 2002, 08:04 UTC
Just read on Pocketgamer.org, that someone ported a scummv to casio only, and it currently runs mokey island 2. The source is available so someone could prt this easily to other devices and it even has the potential to run Day of the Tentacle and Sam and max!
Yeah. that would be me. One of the people at uni has an Ipaq, but they're in a meeting at the mo. If it works then it should be okay. I think the original port (which I've simply battered into submission) was done on an Ipaq, so I imagine the code should move.


In terms of running other stuff - I'm going to give it a go tonight. MONKEY2.001 (the big uber file) compresses down to about 6.5M from 9M odd using gzip -9, so this might be a win for other adventures. There's still no landscape mode and there are stacks of other bugs.


The multiple code selection is mostly not present due to the fact that eVT doesn't like me at all. I'm going to see if I can beat it into submission tonight again. Then I'll give it a try with Indy. There was a suggestion by one of my collegues that Full Throttle might work so I'm contemplating giving that a go as long as the SDL version isn't too far ahead of the GAPI version.


I wouldn't mind people testing ARM versions but I can't test htem myself! And it didn't work on a Jornada 525 (we tried, we failed, and I don't know why). I might have a look at this as well tonight, but don't count on it.
NYIllustrator · 18 Jan 2002, 18:18 UTC
I'd be glad to test the arm version for you, Ill be away this weekend, without internet accsess but Ill be back on monday and if you have it coded by then Ill gladly test it. Send me an email over the weekend and let me know if you wish.
so you can gzip the files ?
billcow · 18 Jan 2002, 20:41 UTC — jornada
I have a Jornada 548, I'm in the process of downloading bzip2 so I can try it out. I'll let you know how it works.

The Jornada 525 probably failed to work because it uses an 256-color display. This obviously isn't a problem as far as porting goes (after all, all these SCUMM games originally used 256-color if not 16-color), but you would need to figure out all the palette code, and AFAIK there isn't much documentation about that.
Nope, doesn't work. This might be because I'm using monkey island 1 instead of mi2 (i renamed the files though, someone on pocketgamer said that worked). I couldn't find the mi2 disks, when I can, I'll try again.
great stuff andys! would be cool if you could add me either on MSN or AIM Messenger!
-Shape
Well, I'm kinda trashed at the moment (been drinking), and I'm currently in Linux, so workwise, don't expect too much. But I'm going to tackle game selection in a bit, as that's my number 1 bugbear.

Sound looks hard to do, landscape I dunno about.

I'll try and build an ARM version this time, with even bigger disclaimers to mention the fact that I haven't tested it!

The person to mostly thank is the guy who did the original port, who has a name I can't remember (mostly because it is too complicated for my tiny mind)

I think I should be able to do zlib stuff, although it might be gross.

The majority of the work is courtesy of Ludvig Strigeous and the people at http://scummvm.sourceforge.net - it's a very interesting project, and it works like a charm on Linux at least, and there are Windows builds on http://scummvm.sourceforge.net/daily - although I haven't had a chance to try them out. It's very very cool, and it seems to do Monkey 1 -> Sam and Max.

I catted the monster.sou file from DOTT into my soundcard (I run Linux, it's easy) and it looks like it might be a .wav. So it might be possible to get Day of the Tentacle quite small. In terms of saving I plan to add this too, but it looks fiddly.

If I feel more sober in a bit I'll do something useful ;>
Okay, in terms of something more useful I've added some odds and sods and built an ARM version, but I haven't tested it, and since nobody here seems to hang around on IRC (or at least, not on what I thought would be obvious channels), you're all welcome to be guinea pig number 1.

www.doc.ic.ac.uk/~aces98/PocketSCUMM

It looks pretty in landscape btw
It works fine on my iPaq, in landscape too. Good work!

Dan East
NYIllustrator · 19 Jan 2002, 08:03 UTC
I don't get this, what games does it run exactly? Youve mentioned DOTT and Sam and Max and MOnkey 1 and 2. Is it just an exe that runs all these games? Also on the SCUMMVB site there was already something to download for the ipaq, what was that?
tMB · 19 Jan 2002, 11:56 UTC — PocketSCUMM
This is the most greatest Stuff that one has ever done for PocketPC
hey i tried it on my toshiba e570 and it works fine, guess like it also works for pocket pc 2002, anyway, just one problem, i installed sam n max on it, and you remember playing sam n max you right click and you can change from use, look, pick up and etc. same thing as full throttle hey will that work on pocketscum? thing is, using the stylus there is no pointer to change options, so it is difficult, you have to press tab and guess what option you are using, so how do you reckon you guys can fix that? seeing that the rest of lucas arts game have options where you choose. anyway i'll let you figure it out, but anyway great job with the porting i will be checking out other lucas art games that will work on this program.
why does everything have to be a huge ordeal to you, and be explained in detail before you try it out? do you read the instructions to everything before trying it out? i guess thats the reason why they have instructions on soap packages now. :)

geez.

its an exe file that runs as long as you have the original exe files and the .000 and .001 etc files for each game, e.g. monkey.exe, monkey.000, monkey.001
and they have to be in the same directory

so far, i have it running monkey1 CD ver., monkey2, dott demo and full version and samnmax demo.

i believe this was mostly explained on the pocketscumm site, why dont you check there?
holy scumm, batman! whens it out on sh3? this fucking rocks! woohoo!
okay, i have full version of DOTT and SamnMax running perfect on it now :)

just make sure that the files in samnmax are renamed from samnmax.sm0 and .sm1 to samnmax.000 and samnmax.001 if you have that version
and for both games get rid of the mounster.sou file, or else it will freeze any time the game tries to access the file (whenever the text pops up)

as for full throttle.......... i imagine it would work, it used the same engine as samnmax..... so all you would have to do is rename the files fullthrottle.exe etc.(or whatever) to samnmax.exe etc. and it should work by running the pocketscumm thing using the samnmax thingie...

damn, now i gotta go find that one too :)
oh yeah, i forgot fate of atlantis works too (indy 4).
this is good because the version of dott i have messes up in the same place each time and it sometimes has memory problems trying to play the whole of an audio file (the speech gets cut off a lot)
Jne · 19 Jan 2002, 13:57 UTC — Pb on my iPAQ
Hi,

I have a problem on my PPC2002 iPAQ 3630
When I try to launch PocketSCUMM-ARM it tells me about "missing components" :cry:
Just like the old "gx.dll" missing message...

Any ideas ?

(I've put MI2 files in same dir)
ausindo wrote:
hey i tried it on my toshiba e570 and it works fine, guess like it also works for pocket pc 2002, anyway, just one problem, i installed sam n max on it, and you remember playing sam n max you right click and you can change from use, look, pick up and etc. same thing as full throttle hey will that work on pocketscum? thing is, using the stylus there is no pointer to change options, so it is difficult, you have to press tab and guess what option you are using, so how do you reckon you guys can fix that? seeing that the rest of lucas arts game have options where you choose. anyway i'll let you figure it out, but anyway great job with the porting i will be checking out other lucas art games that will work on this program.


hrm. Good question ;> I haven't really looked at it - it's going into territory that the original port author didn't go into. How *should* right mouse button be done? For non Sam&Max games we were thinking double tapping, however, I put in some code to do this, and set a breakpoint, but despite hammering my screen like a woodpecker with the style, it never seemed to get a WM_LDBLCLICK request. (Oh, and eVT is really evil to debug under - single stepping takes for ever!)

One of the things I wouldn't mind doing is adding some sort of strip down the bottom instead of the "tap in the darkness" approach - and those buttons could have useful options. But I dunno. UI suggestions welcome. How big are the Sam and Max files? I don't think I can find my CD at the moment (I'm a student, my room looks like a bomb hit it)
Jaybot wrote:
okay, i have full version of DOTT and SamnMax running perfect on it now :)

just make sure that the files in samnmax are renamed from samnmax.sm0 and .sm1 to samnmax.000 and samnmax.001 if you have that version
and for both games get rid of the mounster.sou file, or else it will freeze any time the game tries to access the file (whenever the text pops up)

as for full throttle.......... i imagine it would work, it used the same engine as samnmax..... so all you would have to do is rename the files fullthrottle.exe etc.(or whatever) to samnmax.exe etc. and it should work by running the pocketscumm thing using the samnmax thingie...

damn, now i gotta go find that one too :)


I don't think it'll work because there are lots of things that the gapi code doesn't have (it's got a bit rusty since Vasyl wrote it), and also, in order to run FULL_THROTTLE you have to set a global define (take a peek at the sourcecode on sourceforge. And I don't have full throttle, although some of the people at uni have offered to lend it to me ;>

This should stop offering me the username of the person before me, I keep forgetting and just hitting submit
Andys,
Tap-holds might work well as a replacement for the right button as well. See the SHRecognizeGesture API. Call that function in your WM_LBUTTONDOWN handler to see if the user is tap-holding.
Also, you ought to register for this Bulletin Board. It will keep track of what messages you have and haven't read so you can see which forums have unread posts in them, etc. BTW, check your email.

Dan East
Bogleguy · 19 Jan 2002, 15:19 UTC — Prob
If you try to hit something on the left side of the screen in Landscape Mode with the stylus, you always hit a button on the Vkeyboard behind the Gamescreen instead of a Game Object. It would be nice if this could be fixed in some way.

Beneath that everything works great on my Ipaq.

Really good piece of work Andy !!!!
Jne · 19 Jan 2002, 15:29 UTC — gx.dll
Well for some unknown reason the gx.dll in ROM is not there anymore :o
That was the problem...

Now back to MI2 french version :) :) :)

Thank you so much !!! I've always wanted to play the Scumm games on my Pocket PC !
Thank the original author - I only hammered the (out of date) source code into working order. I think there's more that can be done though - I'm beginning to like the idea of a button strip ;>

I'll take a look at the tap-hold stuff at some point, but at the moment mine seems to always pop the keyboard up (buggers up landscape mode) - can this be programatically switched off? When I've updated my web-browser (my current rather old version doesn't render the PocketMatrix forums so I have to use opera), I'll reboot and have a play.

The Jornada525 doesn't support kfDirect565 or 555 mode, which is what the old code requires. Does anybody know what this Jornada (and probably similar ones) have instead? Do they have a palette that I can mangle, or are they fixed 256 colours? One of my flatmates wants it ;> Other than this, I'll knock up something that gets gapi screen-resolutions, but it seems easier to ask other people ;>
Nikolai · 19 Jan 2002, 19:16 UTC — Indiana Jones works-Monkey Island 1 does not
This is great. Indie works well on my IPAQ. I had a floppy version of it. I wonder if the CD version would work. Probably not.

It's going to be diffucult for people to use this Scumm engine only because floppy versions of these games are almost impossible to find now. Even the collections you buy from LucasArts now come on CD.

Monkey Island 1, installed from the LucasArts adventure game collection on floppy disks did not work.

I have yet to try any more. Too bad this Scumm engine for ppc doesn't let you play Zak McKraken,
Indiana Jones and the Last Crusade, Loom, or other Scumm games. It seems limited to the menu it provides for the first 2 Monkey Island games, Indie and the Fat of Atlantis, Sam & Max, and Day of the Tentacle.
Chris Edwards · 19 Jan 2002, 20:02 UTC
Andy, which browser are the forums not displaying correctly in? And what arent' they displaying correctly in the forums?
NYIllustrator · 19 Jan 2002, 20:23 UTC
Jaybot, first off I am simply asking cause Im not at my house and can't sync to this computer so I am just curious to hear about it. So deal with it. Also I don't see why CD games wouldn't work they have the same files on them the floppies did, just in different directories. Loom and Indiana Jones and the Last Crusade should work if monkey is working, they were the same "engine" but good luck finding those games. Zak McKraken and Maniac Mansion I would imagine don't work as they don't have the same resource files. Also does this support sound yet or no?
Chris Edwards wrote:
Andy, which browser are the forums not displaying correctly in? And what arent' they displaying correctly in the forums?


It was an old version of mozilla under Linux - I upgraded it today and it seems to work fine.

All I got was a blank page for some reason <shrug>.
Monkey 1 was specially done for CD, Indy and Temple of Doom doesn't work on scummvm proper.

Prior stuff is on the list to be done by the scummvm team. This doesn't support sound yet, it's quite scary looking code :)

Does anybody know how I can kill the soft keyboard in code? It screws up playing in landscape, and I can't find a way of eliminating it. I tried this

Code:

SIPINFO sipdata;
SipGetInfo(&sipdata);
memset(&sipdata,0,sizeof(sipdata));
//sipdata.cbSize = sizeof(sipdata);
sipdata.fdwFlags = SIPF_LOCKED | SIPF_OFF;
bool i = SipSetInfo(&sipdata);


but this doesn't do the job. in fact, sipsetinfo returns false :( I'm not quite sure how this API call is meant to work and I've tried stacks of permutations (with and without the memset). This is my number 1 bugbear at the moment.

Has anybody got any examples of how to use SipSetInfo?
NYIllustrator · 19 Jan 2002, 20:35 UTC
I have DOTT on CD, but its not a collection CD its just simply DOTT. Will this work or no? Also I assume that if Monkey 1 off the CD works then Monkey 2 off the same CD does as well?
Well this blows, I get error 120 - which appears to mean "not implemented".

Anybody have any alternatives for switching the keyboard off? Am I just boned because Casio haven't implemented it?
I haven't tried DOTT, but DOTT on CD works under scummvm for Linux. So, <cross fingers> I should imagine it'll work for this too.

I wonder if we can use SDL instead of gapi... that might make a port easier ;>
Well, I solved my keyboard problems, and it was blindingly obvious and now I feel dumb. Typical really. I need more sleep :)

It needs more work before I put it up I think, I might try and put something up before I go to bed tonight
is there any chance of someone compiling a win32 version for me so i can finally play dott properly?

i assume that would fix the problems i've been having...
paul this is afaik a port of the original windows version, which should be located at something like http://scummvm.sourceforge.com
yeah, but i tried compiling it myself (you have to i think) but it wouldnt work - my vc++ installations all messed up...
You'd be meaning http://scummvm.sourceforge.net ;> (hey, sourceforge is very useful for Linux stuff, unfortunately not so useful for PocketPC stuff - not enough stuff is open-source :(

There are daily Windows snapshot versions, but I haven't played with the Windows one for a while - it didn't like my soundcard to play midi on.

http://scummvm.sourceforge.net/daily has pre-built Windows binaries though if you want to give it a go. There are some forums for scummvm on the site itself - http://www.sourceforge.net/projects/scummvm/
as well as a bug tracker and all of that stuff. When I've tidied up my massive rapage of the original source, I'll probably post it as a patch :)
i tried it out, great job andy, i'm having a few problmes though, no audio right? cause i'm not getting any, and i'm playing DOTT, in the beginning, the nerd guy said lets spread out commando style, then i dont know which button i should press, cause he doesnt move and all he does is move his mouth. I dont want to use the skipping option, cause then i would miss out on the story, how do i fix this?
I think that needs an esc key
not tried DOTT. I guess this might be related to the monster.sou file? I don't think you should have it on the device. If it isn't that I'll give it a shot a bit later.

There is no sound, and there are virtual keyboard bugs all over the shop ;>
You said you've got the SIP issues resolved, but if not, you can show / hide the virtual keyboard with SHSipPreference.

Dan East
I fixed it, all i did is deleted teh monster.sou file like the other guy said.
hy andys, did you say something about the linux version using timidity for the midi sound? if so, that would be badass, because timidity has already been ported to pocketpc/winCE and the source code is available (of course); in case you want to try and implement that... i'd pee my pants :)

Dan has the link.... I forgot it ;)
Dan East wrote:
You said you've got the SIP issues resolved, but if not, you can show / hide the virtual keyboard with SHSipPreference.

Dan East


Yes, I figured this one out, hacked it in and it didn't work because the original code called it every paint message. And I completely missed it (and damn, I feel like an idiot now ;)

It looks nice without the keyboard in landscape mode - actually playable, which amused one of my flatmates (who was having great fun with the opening to Indiana Jones ;)

I'm hacking a bit more on the original code which had some sound-code, and shapeshifter did a nice virtual keyboard which I'ld like to stick in, but I have to work on my project tommorow, so there won't be anything new for a while :( Still, I want to show it off sometime this week to people ;>
There are two ways to get the Linux one working - one is timidity, which sounds okay, but you need a manly patchset, and the other is using the Adlib define, which seems to write normal sound. This produces better sound and this is what I'ld prefer to get working.

Of course, if I do get this working I want to add other stuff as well to make it more playable, so you'll probably have to wait a day or so :)
slippygod · 20 Jan 2002, 02:28 UTC — DOTT
I have DOTT and PScumm on my iPaq 3835, and the game starts out just fine. But what do I do next? I can't seem to find any controls at all. Whatever text entry method I selected comes up under the program so I can't see it but I can interact with it, but anything I do renders the same effect as tapping the screen. I have no way to control the program, so it just goes on without user interruption! Any suggestions?
Have you tried "Skip Section" in the menu?

That skips introductions etc.

I haven't tried DOTT, I've only tried Monkey2 and Atlantis (at the moment I'm trying to debug sound code)
Dapper UK · 20 Jan 2002, 06:36 UTC — Mmm...scummy, scummy...
I have to say thanx Andy for porting SCUMM to PocketPC.. Monkey Island (1&2) are my favourite games ever and it's great to be able to play it on my ipaq. Cheers!

P.s About the mouse problem: Would it be possible to create a small transparent sprite to simulate the mouse pointer? Users could drag it about like a mouse pointer and you could split the top half of the sprite into two parts, for use as left & right mouse buttons. Taps on other parts of the screen could still work as a left click. - Anyway, just an idea! I know it's probably too long-winded!

Thanx anyway 4 the port (& the original's author!)
of course, I have a manly patchset :) but i doubt it would be legal to distribute the kind of patches i have... i also doubt people would really want 40MB of patches just for sound ;)

and the adlib music is oldskool, and the original way we all heard it, so it'd proly be best if you can do it that way. so please do :)

and dammit, it already looks like we're going to need a faq (that no one will read), as i've seen the same dang questions popping up after only 4 pages already.... laziness, pfft. ;)
Slippygod i was having this problem earlier during the day, all you do is delete the monster.sou file, and it'll work.
by the way can anyone tell me the names of the set of files in monkey island 1? it seems like i have a set of files that's not named properly for pocketscumm.
Yeah, adlib sounds better. I've got the manly patchset that Debian distribute as timidity-patches and that was... okay, and I leeched something else from the net, and that was better, but I don't (unfortunately) think it's distributable.

The adlib code is based on some soundcode from MAME that the author of scummvm modified for scummvm, but it seems a little slow, I might see if MAMECE has a faster one.
right click could be implemented using a hardware button for "shift"-effect
Batfink · 20 Jan 2002, 13:20 UTC — Implementing keyboard / game specific stuff
In landscape, which should be the default view once we're up to speed, there is a 40 pixel gap across the bottom (all the games originally ran in 320x200). This would be an ideal place for a small panel containing common controls. eg. skip section, save, exit, right click (and maybe a little icon to show the picture of the cursor - especially useful for samnmax). Just a thought. btw, if you need someone to draw one, I'll be more than pleased :)

Great port btw! I'm playing dott to death over here, loving every minute :)
yeah i agree with you batfink :D
Batfink, that's where the keyboard will go :)
Have you tried "Skip Section" in the menu?


Whoa, theres a menu? Don't mean to sound stupid, but how do I get to it?
Also, I deleted that monster file, and I'm still having the same "problem". I'm still trying to rip Indiana Jones off my busted floppy disk, so I'll try that as soon as it gets done. But I still need to know how to do stuff...
There's a menu in portrait mode. Down the bottom, where it says "PocketSCUMM" ;>

It has skip Section in it.

I haven't tried DOTT, or Sam and Max - just Monkey 2 and Indiana. I have to clear my room to find the others. At the moment I'm playing with something else, but eventually I guess this will be more obvious ;>
Wait a second, landscape mode?
All I know is I start PScumm, it has a menu with all the game selections on it, I select the game I want, and the game starts to play, portrait mode, on about half the screen, with the text entry method popped up under it. I see no menu, and no option for landscape...
Well I got Indiana Jones working since it doesn't require user input to start the game. DOTT still doesn't work tho...
Oops, left my name blank on that last post...
I should probably register
mike b. · 21 Jan 2002, 00:51 UTC — sam and max, ect...
Well i own a copy of sam and max, monkey1&2, DOTT, and indy, and they all work fine for me :). I am having a problem with landscape mode though. That damn virtual keyboard makes it so i can click some of the buttons, it just clicks through the virtual keyboard. In your next release u should make it optional to turn the keyboard off, because it seems like u made it lock on when PocketSCUMM is running. All in all the is an excellent program and I would like to thank everyone who spent time on this project :)
The version currently running on my Cassiopeia switches the keyboard off in Landscape mode and back on again in Portrait mode, but I don't have any binaries lying around. I've been mostly playing with sound stuff (I'm going to have to get me a profiler)
qgman · 21 Jan 2002, 15:08 UTC — Landscape Workaround
Before going into landscape mode, just turn transcriber on (without the icon bar). Even though its hidden, you can still tap where the transcriber icon should be to turn it off (you'll know it's off when there isn't pen on the screen). For now, this is an easy workaround for the keyboard problem in landscape mode.
good tip :)
now, everyone's complaining about pocket*** and ***ce names. i think we should call it PSI, Pocket Scumm Interpreter. Sounds kinda cool imo :)
What about PSI-Muffins ???

:D

hehe
What about PocketSCUMMVM? :x
That "mad" smily looks more like a "constipated" smily. We need to change that, it's quite distressing.
OK let me get this straight. I can play Monkey island 1 and 2 but I have to own the game and I just copy the files over to my flash card? is there something else that i have to do or is that it?
Ok, can someone tell me how to get to the menu and use landscape mode?
left corner of the screen
Michel · 21 Jan 2002, 20:11 UTC — Few questions for andys....
Andys great work om this program but i have a few questions.

When you reckon we can get the arm binary with no keyboard in landscape?

You said the new source code implements that? How for someone that doesnt know much about compiling to go about that?

Anyways amazing work!
Abe · 06 Mar 2002, 00:16 UTC — A little Late?
:lol: Maybe I'm a little late in the game but could someone give me a set of directions on how to get the PocketScummVm workin on my Ipaq 3670?
I tried to use the step by step on the developers website but, it doesn't seem to be working right for me?
Where are you stuck? Copy binary onto device, copy game into same directory, run binary.

It's quite straightforward, so if you're stuck you need to tell us where
Abe · 06 Mar 2002, 20:10 UTC — sCUMMvM
:D Ok Andy I got it working....lots of bugs appear in the SNDemo I d/led and no sound? Are there patches for these problems currently?
Thanks again for your help.
andys · 06 Mar 2002, 20:21 UTC — sCUMMvM
Abe wrote:
:D Ok Andy I got it working....lots of bugs appear in the SNDemo I d/led and no sound? Are there patches for these problems currently?
Thanks again for your help.


There are lots of bugs in Sam and Max support (well, were, it's got better recently). If you wait until Arisme has a new release of PocketSCUMM which folds in the new Sam and Max changes then you should be okay.

There should be sound, but no music. The music is not available in the necessary format.
Abe · 06 Mar 2002, 22:17 UTC — PocketScummVm Sounds
Andys,
So I only have the demo of Sam and Max should it have sound? And maybe someone could point me toward the downloadable demos for DoTT and FOA?
When does anyone think a new release of the ScummVm engine will be out>?
:lol:
I'll try to work a bit on it next week to merge the newest ScummVM changes (without breaking the saved games if possible :)), and add some missing stuff (such as right click & cursor in Sam & Max now that this game is almost completable)
Abe · 07 Mar 2002, 15:13 UTC — Scumm is GREAT!!!!
This is amazing, thanks to the designers and all who helped.
I just placed Monkey 1 & 2 in My Docs folder and they both worked. Monkey 2 has music SFX and
Monkey 1 only has SFX, can anyone tell me if I did something wrong or that is just the way it is.
And does Scumm support Monkey 3 or other games than the ones listed on the opening page of the Binary?
Wow I am still amazed!!!!
Abe:
Nope, those games only.
The Monkey Island 1 that runs with PocketSCUMM has CD music, therefore no music on your PPC.
Abe · 07 Mar 2002, 16:46 UTC — Ok!!!
Got it...Thanks.