PocketMatrix forums

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

Updates and Random Progress

Well, I've done a little bit more hacking, in between the stuff that I actually have to do (university stuff), and there is now the following.

1) You now press hardware buttons to do left or right click. This is a bit strange, but it makes sense eventually.

2)There is working sound (hallelujah), but the music runs too fast, which is odd, because with the same settings it appears to run just fine using scummvm for Linux. I'm researching this in the background, but it mostly doesn't glitch on my Cassiopeia.

3) It has landscape view (obviously) and you can Toggle sound on and off. It's by default off.

There are also a couple of major bugs which I'm going to work on in the short term before anything is released.

1) There is no way to redefine the keys - they're set by reading GXGetKeyList(). Even when they are permitted to be edited, I don't know if I will write the code in order to save them, unless there's an easy way to put it in the registry.

2) There are still stacks of various bugs and occasional sound glitches which I need to track down.

3) There needs to be an options dialog so that people can actually select a) different keys and b) change settings in various ways

4) There is no support for "limited colour" devices - such as black and white and low-colour devices such as the Jornada 525.

5) If you toggle sound off then it will break games with speech which expect the speech to be played at the right point when it isn't. This is on my list to fix - I will probably continue to generate the sounds but not to actually output them (at the moment, I don't even bother generating them, and I think this is what causes problems).

Anyway, I plan to fix some of these bugs (the most critical ones being ones that effect current users) over some of the weekend, and then put something up, but it might take a bit longer. I still need to tweak some of the sound code.

There are some tiny CVS updates which might potentially improve the stability of scummvm, but they're relatively minor. I will attempt to do this merge, but it might happen after current releases.

I'll be relatively not here over the weekend as I'm going home, but I will try and reply to some stuff.
How about making a screen tap&hold an equivalent of right mouse click, and leaving the left mouse click as it is now - just a simple tap?
matt_sheppard · 25 Jan 2002, 15:22 UTC
andys says:
There is no support for "limited colour" devices - such as black and white and low-colour devices such as the Jornada 525.


What about the Jornada 545? Tis a SH3 processor, but with a 4096 colour palette.

Or do binaries already exist? If so where can we get them from????

Cheers,

Matt.
mark (killzat) · 25 Jan 2002, 15:24 UTC
If you need anything testing Andy then I'll make sure to be online ;P

PS"The newer builds of SCUMMVM now support Full Throttle, does this also work in your version?"
matt_sheppard wrote:
andys says:
There is no support for "limited colour" devices - such as black and white and low-colour devices such as the Jornada 525.


What about the Jornada 545? Tis a SH3 processor, but with a 4096 colour palette.

Or do binaries already exist? If so where can we get them from????

Cheers,

Matt.


I've got a binary sitting on my ZIP disk, I'll try and put it up before the end of the day. I totally do not guarantee that it'll work. In fact it probably won't. But hey, you wanna be a guinea pig ;>
mark (killzat) · 25 Jan 2002, 18:14 UTC
Doesn't the 54x series need a hi-res patch to make use of the full colour range? Otherwise it's 256 Colours default.

Note that on older iPAQ models (12Bit as well) the colours look nothing like they should do, it's the same for other 12 and 8Bit PPCs, whether they work or not.
you can run 16bit colour games on the 545 - its just a hardware problem that makes it 12bit. or something. so it shouldnt be a problem to make it?
mark (killzat) · 25 Jan 2002, 18:16 UTC
Note that the above is especially apparent in DOTT, which is one of the more recent titles and makes good use of shades.
the 54x series is 16bit default, its just the screen cant display all the colours properly, thats what i meant.
matt_sheppard · 25 Jan 2002, 18:59 UTC
andys Posted: Fri Jan 25, 2002 3:44 pm
I've got a binary sitting on my ZIP disk, I'll try and put it up before the end of the day. I totally do not guarantee that it'll work. In fact it probably won't. But hey, you wanna be a guinea pig ;>


Sure :) If you need a guinea pig i'm more than happy too.

Matt.
NYIllustrator · 25 Jan 2002, 19:17 UTC
when will you release the new version that has the sound and right mouse support? Also now that it supports sound can we put all our games in their own seperate sub folders under the pocketscumm exe or what?
Hrm....

Well, in terms of GAPI - if it's kfDirect565 or kfDirect555 you're okay.

There's some very preliminary support for kfPalette, but it's untested.

I've got a binary sitting on my ZIP disk, I'll try and put it up before the end of the day. I totally do not guarantee that it'll work. In fact it probably won't. But hey, you wanna be a guinea pig ;>


I'm guinea pig material...
Bjorn Keizers · 27 Jan 2002, 18:07 UTC
Oh boy oh boy! I can hardly wait to try out the new functions. Snap to it andy. You have a very captive audience. :)
I need to build a property page to change these things, and I'm not actually sure how. microsoft don't exactly make it obvious (what a suprise).

I want something like, say, PocketSNES has - you hit "settings" and it pops up a little Settings thing for you.

With something like this, I could allow people to change the way that the buttons work. If I can build this then the rest is, of course, quite straightforward. So, any hints? (eVT - I've tried creating a large proppage, but how do I tie this in to everything else?)
Andy, i you can't implement settings screen, here's my suggestion for what I believe would be the best input mechanism.

- leave the left mouse button working as it is now, in the last public release. It would be unnecesairly awkward using an aditional button when you've already tapped the screen. It's really not a big deal that character walks towards the place on the screen where you've clicked.

- map the right mouse button to one of the hardware buttons, so you can press it once you've clicked on the screen. On Casio - map RMB to gamepad directions (all of them). That's where you hold your thumb finger, when you're in the landscape mode, anyways.

- map 'escape' key to one harware button. This would make switching to a portrait mode less necessary

- for the same reason, map 'F5' key to one of the hardware butons.

I think with these suggestions, usability of the interface would be much better.
I think the record button would be good for escape and either action or (imo better) the three action buttons for save and stuff
Well, my brain isn't working well enough, but we have a concept for implementation - you won't all like it, but ahhh, such is life ;>

Tommorow at some stage I'll figure out how to actually make the current system configurable enough for all of you to use it, and then, until I can get eVT to do my bidding, you can all configure it using a text file ;> (and I'll try and go for some sane defaults).

Anyway, the idea is that you will be able to pick the system that annoys you least, with the exception of right clicking by just leaving the stylus on the screen, although I'll probably put it in at some point. There's no cursor yet, mostly because it's actually fiddly to do (it's not implemented in the Windows version, but it is in the SDL one, so I'll have to borrow this and adjust it). I'm also planning on some minor optimisations and completing Indiana Jones FOA. I want to get this done soon so that people can beta-test.

SH3 support I guess will happen soonish, I'll probably harass beta-testers for this.
thirty3baboons · 27 Jan 2002, 23:11 UTC — Left mouse 'tap'
The problem with tapping for left mouse is that you can't do what everyone used to do on scumm adventures and that's mouse-roam the room looking for interactive objects.

With the stylus causing left mouse actions, you actually have to click on every object to check its not just scenery......which makes for a slooow andventure.


Great project by the way. My ipaq has been dusted off because of it.
we talked about that. the current idea is:
holding pen down and moving: look
simple tap (onrelease): left click
after 2 seconds of looking the onrelease operation will not be performed. i think that's a pretty clever solution.
-Shape
don't worry, I'm playing Indy, and I need to look around as well sometimes ;> It'll be supported.

Now, the question is, can I complete Indy before I release something new (or at least come close ;)
thirty3baboons · 27 Jan 2002, 23:21 UTC — tapetty tap
Sounds like an ideal solution.

What about a double tap for right mouse actions as 99% of the time the right mouse is the 'suggested verb' or would a double click be too inaccurate with a stylus?
Dex-plor uses double tap, so the accuracy would be no problem. I think it would be difficult to figure out how to do it though (andys doesnt have much windows programming experience...)
-Shape
The problem with double-clicking is that some of the items are just too small on a PPC screen. Even with the current operation, when you know an object is there (and have walked to it!), picking it up by clicking on 'pickup' and then tapping the object can be difficult.

Example [SPOILER] : The dime in the pay-phone in DOTT is only a few pixels big. Getting it with the current method is difficult (it took me a couple of tries) but clicking twice, quite fast to within a few very small pixels accuracy will be nigh on impossible.

My suggested method is, I believe, a slight variation on that already discussed:

Single tap - default 'walk to'.

Tap and hold becomes a virtual cursor - you can then sweep the screen to your heart's content. A button then acts as a left click, another as a right click. Taking the stylus off the screen does not act as a left-click. I have found it annoying that after sweeping for an item and pinpointing it, I have taken the stylus off the screen and the character has walked to the item - sometimes obscuring it - before I can click on the pick-up/use/whatever command

Superb job by the way. Don't suppose you can finish polishing it by this time next week so that I can play DOTT in all its glory on a plane trip to France? ;-)

Steve
Shapeshifter wrote:
Dex-plor uses double tap, so the accuracy would be no problem. I think it would be difficult to figure out how to do it though (andys doesnt have much windows programming experience...)
-Shape


Well, they're all teh same when you get down to it ;> (I'ld just use GetTickCount()) - the actual WM_DBLCLICK (or whatever, I'm sitting in front of a unix machine atm) didn't trigger for me, so I'ld have to do it myself.

Anyway, I have to write some code today, but my brain isn't really working well enough to figure out how to do it though, which is really irritating me. <GAAAAAHHHH>

Oh well, I'll guess I'll have to write my event related gunk tonight.
Ooppss, i hope Andy is not caught by the mad cow desease 8O :roll: :)
Keep going...

MiBi
it's mostly not enough sleep and just not being on the right wavelength.

The biggest problem is trying to get something smart enough to handle every possibility, and I think I can see how to do it.

I probably also need to test some stuff (like, handling click events better, otherwise this will suck very hard.....)

Anyway, I'll play when I get the chance, and then hopefully I will have something I can package up and give to people to try out.
thirty3baboons · 28 Jan 2002, 20:29 UTC
I don't have any trouble picking out items with the current system on my ipaq, and if you can sweep for objects first, you should know exactly where they are.

As far as programming it goes, if you can time a tap-hold for a 2 second function change, you can time a post-tap looking for the same trigger again.

In landscape, what are your plans for the nice black strip across the base?

If you can sort out the left/right click then a save/load (filling in a default name in the save automatically) button and a couple of the menu options as icons could replace the keyboard all together.
thirty3baboons · 28 Jan 2002, 20:35 UTC
andys - get yourself a title screen in it mate. credit where credit's due. This is a marvelous project.
thirty3baboons wrote:
I don't have any trouble picking out items with the current system on my ipaq, and if you can sweep for objects first, you should know exactly where they are.

As far as programming it goes, if you can time a tap-hold for a 2 second function change, you can time a post-tap looking for the same trigger again.

In landscape, what are your plans for the nice black strip across the base?

If you can sort out the left/right click then a save/load (filling in a default name in the save automatically) button and a couple of the menu options as icons could replace the keyboard all together.


At the moment, I can't draw - so the black strip is pretty empty, aside from the obvious. The build I have, aside from obviously having sound, also has both left and right clicks on buttons.

I'm looking forward to icon bars - otherwise I'll skim through the gnome stock icons in Linux, since this is GPL. Timing I think is an arse, personally, although it'll probably go in sooner or later. I'm going to see if I can get everything to trigger on a release, rather than just a button down event, but I haven't quite decided yet on everything. It will hopefully please as many people as possible.

I need to write some code that can handle everybody's requirements, and that's where it becomes harder. I'm trying to think of a way of doing this quickly and in a versatile way, so that the code does not look hideous. That might be the hardest part.
RazzBaronz · 29 Jan 2002, 22:08 UTC — Newest Binary
:?: Can anyone please post the newest binary to this forum every time the sourcecode is changed? If this is impossible, someone should put it on an http site (it's small, right?).

I can't seem to compile the sourcecode with Visual C++ 6.

Also, is there any fix for the fact that MI2 freezes in Stan's Coffin Shop (perhaps in the newest sourcecode?).

Thanks. :D
I'm still working on it.

Whenever I put anything new up pocketgamer leaps all over it, so it's quite difficult as then people complain about it.

I've got some ideas to clean it up, then I'm going to pump it to some beta-testing people at some point.

Visual C++ will not compile it (or at least, it won't compile the PocketSCUMM project)

You'd be wanting Embedded Visual Tools, or the Win32 binary from http://scummvm.sourceforge.net/daily/
killzat (mark) · 30 Jan 2002, 11:06 UTC
Andy,

Just to tell you that the FOA talkie version as a speech file (usual .sou format) of roughly 120mb in size.

I should get the CD on Saturday or Monday and will test it before sending something over to you.
Mark: sweet ;>

hopefully it'll work within scummvm - I need a larger CF card though (maybe I should bribe my parents)
BTW Andy, if you're gonna buy a CF card, i think the cheapest place is Ebuyer.com: 128meg (£40.42),192meg (£70.50), 256meg (£81.41). Cheapest i've found anyway! (all inc VAT)
mark (killzat) · 30 Jan 2002, 19:33 UTC
Expansys.co.uk have a 1Gb Microdrive for £200, although I'm not sure if that offer is still running, however I only just got mine so...

Just remember, unless your PPC has an ejector for CF cards (must support CFII as well) then once the MD is in, it ain't coming out =).
Apparently there are some removable tabs on each side of the MD, which make removing it easier. There's a web page detailing it but i can't remember where (stopped using one cos of poor battery life & slow access)
Mike Wagstaff · 30 Jan 2002, 23:13 UTC
Whenever I put anything new up pocketgamer leaps all over it, so it's quite difficult as then people complain about it.
Sorry! :)
Mike Wagstaff wrote:
Whenever I put anything new up pocketgamer leaps all over it, so it's quite difficult as then people complain about it.
Sorry! :)


nah, it's okay - you just always catch me by surprise ;> This version is still littered with problems, so I might end up putting up a release for other people to play with, but not perfect.

Public or so releases tend to require QA which is kinda weird for me (and for scummvm - it's generally all in CVS ;)
NYIllustrator · 31 Jan 2002, 06:42 UTC
will the new release have sound?
might be slightly too high/too fast. But I've tried everything I can do to reduce the impact of sound (it's very very nasty on the CPU) and everything appears to have some sort of minor problems. So I'll probably let other people have a play with it once I've tidied up other things.

The sound at the moment works on my MIPS to some degree (occasional glitches if it gets graphically heavy) and there are some problems with speech (need to be dealt with really), but other than that it should have it. It just might not be quite as perfect as you would hope ;>

I need to make some minor UI improvements and I guess there'll be something this w/e. Then you're at the mercy of other developers and the scummvm team ;>
Speaking of other developers, I've been working on some kind of port too - I'll try to release a version tonight (meaning in 5-6 hours from now !) with sound (probably having the same problems than you have :D), and, the most interesting and probably reusable part, an ugly toolbar in Landscape mode (ugly, but working, to save/load, skip a cut-scene, cut the sound and exit the game).

Let's compare & merge some code to deliver the best PocketScumm experience :P
Arisme wrote:
Speaking of other developers, I've been working on some kind of port too - I'll try to release a version tonight (meaning in 5-6 hours from now !) with sound (probably having the same problems than you have :D), and, the most interesting and probably reusable part, an ugly toolbar in Landscape mode (ugly, but working, to save/load, skip a cut-scene, cut the sound and exit the game).

Let's compare & merge some code to deliver the best PocketScumm experience :P


Sounds cool. How much sound have you got working? The music blows heavily, I'm told without "tweaks" it runs fine on an overclocked Ipaq - but without it it runs like a dog.

I mapped save/load/play/quit menu (f5), and view/right click/pause to buttons, but there's no way of configuring it.

Pop onto MSN or ICQ or something at some point and we can compare notes ;>
Mmh it may sounds surprising but the music is working like a charm on my Ipaq :P

To get into the technical details, I've compiled a "small" version of the SDL (just the threading, timing and sound), and use this with PocketSCUMM - I just changed two things to the library, the thread priority went from HIGHEST to NORMAL (I don't even want to understand how WinCE manages the highest thread priority :lol:), and I doubled the number of temporary buffers to make it run smoother when things get graphics heavy.

I'm adding you to my MSN contacts !
Arisme wrote:
Mmh it may sounds surprising but the music is working like a charm on my Ipaq :P

To get into the technical details, I've compiled a "small" version of the SDL (just the threading, timing and sound), and use this with PocketSCUMM - I just changed two things to the library, the thread priority went from HIGHEST to NORMAL (I don't even want to understand how WinCE manages the highest thread priority :lol:), and I doubled the number of temporary buffers to make it run smoother when things get graphics heavy.

I'm adding you to my MSN contacts !


Ooooh, sdl. I like SDL ;> Runs nicely on my Linux box that ;> WinCE threading is a nightmare in general - how do you handle the latency with the huge buffers?
thirty3baboons · 31 Jan 2002, 21:02 UTC
Suddenly and without warning the developers began speaking in tongues.


Only joking. ;)
Well, if you're in a testing mood :P

http://arisme.free.fr/PocketScumm
Arisme wrote:
Well, if you're in a testing mood :P

http://arisme.free.fr/PocketScumm


This has very good sound support - SDL rocks ;> It should work somewhat better on Ipaqs - my non-overclocked Cassiopeia didn't like it that much, but when there was no screen activity, the music was significantly more constant than it ever was for me. (ie, basically, sdl rocks)

I have some nice button stuff - I'll try and clean it up and dump it in this w/e.
(a bit off topic) This talk about SDL caught my eye. I want to try to port Exult (an open-source Ultima 7 game engine which uses SDL) to PPC. I believe it uses SDL for everything because it's supposded to be fairly straightforward to port to any platform suppoted by SDL.

Would it be hard to get the rest of SDL working on pocket pc?

The thing is, I'm don't have a clue about programming in C++, olny some VB experience, and some free time :)
Good work with Pocket SCUMM, arisme: It sounds pukkah! Makes Monkey Island 2 even more fun to play!

Although i have noticed that, apart from the slower playback, some of the music starts at the wrong time (eg. The title screen music is meant to start when the Lucasarts title comes up, not halfway through the monkeys dancing in MI2)

Another thing: On your website, you've noted that MI2 is 'completeable'. Has this been tested? I have noticed a few posts saying that it has previously crashed in Stan's shop. Anyway once again, Great work!!
NYIllustrator · 01 Feb 2002, 02:31 UTC
wow great work, sounds great on my ipaq! FINALLY SOUND! Although it does start late on some games, but who cares. Now if only we could get sound in wolfenstein.
I would also be very interested to know how easy it would be to port the remaining portions of SDL to the PPC. Although, the Ultima 7 port may use OpenGL for graphics which has been ported to the PPC (although I'm not sure how well), but costs about $1000 for a license I believe. Also, I prefer the beta ARM version of PocketSCUMM that Andy sent me over Arisme's. The music in Andy's is about an octave too low, but runs a LOT faster than Arisme's on my iPAQ. If you could fix that problem, I would prefer your ver. Andy. Although, I like Arisme's toolbar.
Nikolai · 01 Feb 2002, 03:24 UTC — NEW SOUND VERSION does not work on my IPAQ
Well I don't know what's going on. The old pocket summ worked just dandy w/o sound. The new ones. I tried both ARM versions for my color 64 meg (w/2 gig storage card) IPAQ, and neither of them work.

I get an error message-"Cannot find pocketsumm or one of its components"

So I'm out of luck.

Any ideas?
NYIllustrator · 01 Feb 2002, 03:25 UTC
thats weird mine worked ok, did you copy the sound file and exe into the same dir, with the game's files your trying to play.
esw wrote:
(a bit off topic) This talk about SDL caught my eye. I want to try to port Exult (an open-source Ultima 7 game engine which uses SDL) to PPC. I believe it uses SDL for everything because it's supposded to be fairly straightforward to port to any platform suppoted by SDL.

Would it be hard to get the rest of SDL working on pocket pc?

The thing is, I'm don't have a clue about programming in C++, olny some VB experience, and some free time :)


Myself, and nearly every other PPC owner on earth would want Exult ported. When I first bought my PPC, I wasn't sure it was the greatest idea. Now I'm convinced.

PocketScumm AND maybe PocketExult someday?

...

WOOOO HOOO!

Dingo
Mike B. · 01 Feb 2002, 06:10 UTC — sound
:?: Great work! the sound is great on my ipaq (except for a few problems with timing). But I have one question. How big are your .sou files? Mine are 250 mb+! Did you modify yours or something? Btw I also owan a jornada 540 and I was wondering if you or andy are working on an sh3 port (I use my jornada more than my ipaq, since its much easier to carry in my pocket :P).
esw: the problem with SDL on PocketPC is that it doesn't support accelerated drawing to the screen (which can be corrected by adding a GAPI/GX submodule to the SDL core) and hardware region locking (which could be corrected if directX was available :lol:) ... anyway it's worth giving it a try, perhaps exult does not use this feature or can run fine without it ... I planned to do a "full SDL" port of ScummVM to see if stills run well or not ...

T1 & Mike B. & davinci : which games did you try (showing the timing issues - apart from the introduction scene of Monkey 2 which starts late in the regular ScummVM too, but thanks to iMuse or whatever music synchronization they use is corrected on the next scene :D (*))? does your music timing issue occur on each room ? is the music really slower than in the ScummVM win/linux version (because it's slower than the original anyway !) ?then perhaps increasing the number of work buffers in the SDL wasn't a good idea :lol:
for the .sou I have only tested with Indiana Jones 4 which is 146 Mb
I was just quoting ScummVM when I said Monkey 2 was completable, didn't try it to the end :) but you're right since it seems to crash at Stan's I'll just remove this sentence from the FAQ :D

(*) if you remember the music in the speaker version began just in the middle of the monkey dance ... it looks like ScummVM starts the new music at the old starting point ... will have a look into it :)
About MI2 introduction music (and perhaps general music & other games) : changing the value of TEMPO_BASE from 0x1924E0 to 0x1F0000 in imuse.cpp seems to help ... just if someone else wants to do some tests because I won't have time to do them now :)

of course this doesn't fix the late-starting problem :)
Cool, gonna try that - Downloading source now. Any news as to when we're getting hardware buttons for left+right mouse buttons? Sorry to ask, but i'm getting impatient! Would it also be an idea to make a toolbar button or hardware button for pressing the "." key to skip dialogue?

Once again, cheers for the good work on SCUMM!
T1 wrote:
Cool, gonna try that - Downloading source now. Any news as to when we're getting hardware buttons for left+right mouse buttons? Sorry to ask, but i'm getting impatient! Would it also be an idea to make a toolbar button or hardware button for pressing the "." key to skip dialogue?

Once again, cheers for the good work on SCUMM!


I have some code that does hardware buttons - I'll merge it with Arisme at some point. The current release uses a tap on the screen to signify left click - but has hardware modifiers for right button and looking around (ie, not pressing the left mouse button). This seems the most comfortable compromise, but the code is pretty adaptable to whatever your weirdities.

I'm going to play with Arisme's source at some point - his sound code is a lot faster than the approach used by my one, but it's a bit too hefty for my poor cassiopeia ;>
Nikolai · 01 Feb 2002, 14:11 UTC — UTLIMA 7 is currently playable on pocket pc
ULTIMA 7 now works on ppc.

It's a tad slow (but decently playable) and there's no sound,
BUT
if you download pocketsnes and the Ultima 7 ROM,
you can run Ultima 7 on your ppc. I'm doing it now.

Of course I would prefer sound and I don't know how long U7 is for SNES. It looks a heck of a lot like the pc version though, virtually identical but with less dialogue. I assume you don't get both the black gate and serpent Isle, or whatever all those chapters were for pc. But it ain't bad.

I've forgotten where I found the rom. Man, it takes hours to find good roms. Every rom site just dumps all sorts of crap advertising on you, takes you through dozens of links. It's a maze of bs. But eventually I found it.
Nikolai · 01 Feb 2002, 14:16 UTC — SOUND NOT WORKING ON IPAQ
I don't know what I did wrong. Obviously, if it works on 1 color iPAQ it should work on all, so long as you have enough memory.

I'm going to delete the entire game and scumm file and start over.

I had the entire CD contents of Indiana Jones copied onto my 2 gig pc card, AND pocket scumm in that same folder. I ran the game fine with the old scumm version w/o sound (having renamed the MONSTER file).

THEN I downloaded the new scumm file, unzipped it, and copied it over the old scumm file, AND I renamed monster back to its original name. No go. It did not work. Scumm wouldn't even run, I got a "could not find scumm" message. I'm going to go through the process over again tomorrow and if it STILL doesn't work then I'll coming whining back to this bbs hoping for some assistance.

But if anyone has any hunches now I'll listen.
ok andys I'll focus on the sound issues (try to improve the speed & perhaps revert to speaker sound on very slow devices :lol:) and let you improve the ui ... I'll just release another version with a nicer toolbar !
Arisme wrote:
ok andys I'll focus on the sound issues (try to improve the speed & perhaps revert to speaker sound on very slow devices :lol:) and let you improve the ui ... I'll just release another version with a nicer toolbar !


;>

Well, fiddling with the tempo in imuse allowed me to make my music sound a little more normal - it's downmixed and although it skitters a little - it seems a bit better than yours. Albeit at lower quality. I'ld love to put this in with the sdl audio code and see what sort of difference it makes. I couldn't even get my audio code to play with no graphical load - whereas yours does.

fmopl is very very complex - I don't think it'll be easy to speed it up - it uses lookup tables and seems to bias mostly on shifts :|

UI wise, well, suffice to say I can't draw ;> but hardware buttons are much fun....

I'll have a play with your code at some point, I finally got diff for win32 which should make life easier ;>
nah, i like the one that was using fmopl more. its much faster, especially on the slower casio devices. the sdl sounds exactly the same to me, but it processes slower and many things arent in sync anymore. sure, with fmopl, many things ran too fast, but i'd rather have things running a bit too fast at times, and still be in sync, than things to be too slow, and out of sync. especially with DOTT.

pretty damn sweet to hear bernard on my ppc, good thing i have a microdrive :)
Anonymous wrote:
nah, i like the one that was using fmopl more. its much faster, especially on the slower casio devices. the sdl sounds exactly the same to me, but it processes slower and many things arent in sync anymore. sure, with fmopl, many things ran too fast, but i'd rather have things running a bit too fast at times, and still be in sync, than things to be too slow, and out of sync. especially with DOTT.

pretty damn sweet to hear bernard on my ppc, good thing i have a microdrive :)


They both use fmopl - which is an adlib emulator. My one (since I aimed to get it to run pleasantly on my Casio), generates only half the sample rate, and then this is artificially doubled up. It's kinda disgusting ;> But it seems to have less lag on my Cassiopeia.

I was told the ipaq one (which wasn't downmixed) was okay when overclocked, and arisme's is far far better than mine was before I pushed the performance down.
Arisme, it would also be great if you could include an option for hiding the toolbar, if all the options are to be mapped on hardware keys. It's very functional as it is, but a bit visually obtrusive.
Marconelly wrote:
Arisme, it would also be great if you could include an option for hiding the toolbar, if all the options are to be mapped on hardware keys. It's very functional as it is, but a bit visually obtrusive.


Some things can't easily - there's a limitation of numbers of buttons. I mapped pause,right click, no click, and f5 to buttons - but that still leaves switching sound on/off, skipping rooms etc. Any more than this and you'll a) have too many buttons to get your head around, and b) you'll annoy users who don't have that many buttons.

But yes, hiding it is probably a good idea - probably to do it in a similar way to how I mapped pause to a button - in fact you'd probably use the same button. Maybe I'll come up with something :)
I agree too, being able to hide the toolbar would be nice :D

btw there's a new version on http://arisme.free.fr/PocketScumm

and the list of the new features/fixes brought to you by the keys CTRL, C and V :P

Sound is now faster to match the speed in the original games (problem with ScummVM) - you can go use the old slower sound by selecting "slow sound" in the initial dialog

You can completely disable the sound in the initial dialog (but you don't really want to do that :))

More music in Monkey Island 2 (problem with ScummVM - the soundcard type wasn't initialized) - ok now the start of the introduction is even more out of synch, but trust me this is really better :) <= check this in your build andys !

Nicer toolbar, sent by Helios ! thanks a lot, I can't cope it alone with my evil drawing skills :)
Either Arisme or Andys:

Would it be possible for either of you to email me a testing copy of PocketSCUMM, one with a modified launcher? I was hoping maybe you could remove like the DOTT demo menu item and replace it with full throttle so I could see how well it would run, if it would run at all. I have a Compaq iPAQ H3635 (ARM running old PPC OS), and a Jornada 548 (SH3). By the way, my email addy is jay@jaymattis.com. <--Tough one to remember, eh?
Mike B. · 02 Feb 2002, 05:30 UTC — nice job!
:D The sound is even better in this version! But I have a question. Did you fix the part in sam'n'max that crashes in the carnival? I think someone posted a solution to work around that bug(something with the chracter rendering or somthing). I think thats what may be wrong with stans coffin shop in mi2.
Instead of pause (you can always pause by switching the device off) you could map that button to show/hide toolbar?

Also, on Casio, more important functions (i.e right click) should be mapped on gamepad directions.
Nope I didn't fix the Sam'n'Max problem ... I'll try to look into it sometimes this week end !

btw the MIPS version I put online yesterday was bad ! sorry :oops: try to redownload it if you did before :lol:

Jay Mattis : OK I'll try to do this, but only for IPAQ :)
Would it be possible to clear the area below the main screen after a game has been selected?

Since the keyboard still disappears and is not really neccessary, it would be great to get rid of the bright and disturbing keyboard/startup-screen combination in the lower half of the screen in portrait mode.

Landscape mode is fine, but I prefer to play in portrait, so I've to switch to landscape and back to "clear" the screen... Just my two cents.

BTW: Great work, I even bought a new CF card for Pocket SCUMM! :D

Something about DOTT:
The German disk version runs quite well; I finished the game without sound and even with activated sound I didn't have any crashes yet.
Thanks Arisme! I'm anxiously awaiting your email. :-D
Also, Arisme, I tried your new binaries for the iPAQ, and the sound keeps popping in and out and louder and softer. Your mixer hack maybe? When playing DOTT at least it's very irritating.
try it on

http://arisme.free.fr/PocketScumm/binar ... UMM-FT.zip

(not tested at all, ARM version and will only run with FT !)
hi arisme,

monkey2 seems to work quite well... dott has a lot of glitches but it's "ok" so far.. don't know what to do with samnmax because of the sound... i think you don't need the monster.sou file for music, right? well, the music in dott works fine only with the two tentacle.* files... but sound in samnax doesn't seem to work at all...
for all that, much respect to all the guys who are working on pocketscumm right now! great project...
mark (killzat) · 02 Feb 2002, 16:47 UTC
Thanks for the help Arisme, I'll give it a go, but a Win32 binary would be a help just to see whether it'd work that way first - Full Throttle is a large game to copy and PPC's don't have firewire =).
mark (killzat) · 02 Feb 2002, 16:50 UTC
Unrelated to the above and as a followup from "rev's" post above.

Most of the time I can't even get Sam&Max; or DOTT to start with Arisme's version, just hangs. Sometimes DOTT will, but then it'll hang later.
mark (killzat) · 02 Feb 2002, 17:20 UTC
FULL THROTTLE WORKS! =)

Hehe yes it actually ran just using the basic two data files. If I can make the space then I'll copy the sound FX + Speech (.SOU) file as well (Music won't run due to the Sam&Max; variable :P).

Second note: You'll also need the other data + Video files from associated sub-dirs if you really want to play it. This is because it won't skip the video sequences if the files are missing - thus sometimes you'll find a blank screen for a fair period.

I'll let you know how things go.. lots of copying ahead - LOOKING VERY GOOD! =).
just copied the monster.sou file from samnmax (floppys) to my ipaq and renamed it to samnmax.sou... fx and speech in the intro work fine... but there's no music..
rev wrote:
just copied the monster.sou file from samnmax (floppys) to my ipaq and renamed it to samnmax.sou... fx and speech in the intro work fine... but there's no music..


Yeah, Sam and Max doesn't support adlib. You'd need some sort of MIDI emulation. It sounds okay in timidity under Linux - but I can't get PocketMIDI (which is based on timidity) to work - and unfortunately I don't have the time that some people appear to have :)
I've got another question. How much of The Dig is supported by ScummVM? (Asking because incidentally, I seem to have misplaced my FT cd, but I found my Dig CD!) :-D
By the way, would your FT binary work with the FT demo Arisme?
mark (killzat) · 02 Feb 2002, 19:17 UTC
The Dig has only just started to be coded into ScummVM, I doubt it's in any way playable yet, at least there's not a word anywhere to say it is.

As an update to my earlier post about Full Throttle, I'm not sure whether it's the semi-working SCUMMVM support or this PocketPC build.. but.. it'll only load the monster.sou file and two primary data files.

In short, no video sequences and it doesn't auto-skip them, which often makes for some long periods of BLANK SCREEN LOV'IN. So no need to copy the contense of /DATA and /VIDEO, which is a pity because they contain important game elements.

On top of that the Speech DOES work, however there aren't any SoundFX, at least none I could make out. Typically Full Throttle never had much music and so that's not important to worry about.
Jay Mattis : yes it's the mixer hack :? I think I'll remove it in the next versions if it's more annoying than useful for most users (I know it sounds OK when using the internal speaker but quite horrible with headphones)

Mmh I guess I'll need to test DOTT, I'll have give it a look tomorrow !
Hey, that was pretty cool. I own the disk version of Monkey Island 1 and couldn't find the CD version files anywhere, BUT anyone remember Sega CD? I have a Sega CD version of Monkey Island 1. I thought I'd give it a shot and pop it into my CD drive and yes! There was a game.000 file and a game.001 file. After renaming them I can now play Monkey Island 1 on my iPAQ! The only difference I notice is that on the main screen it says 'Press Start'. :-D
A little off topic, but Ultima 7 for Super Nintendo does NOT do Ultima 7 justice. Not only that, it's only about 20% as long.

The original also isn't censored anywhere in regards to story, blood, or meat on corpses (yum yum!).

Dingo
NYIllustrator · 03 Feb 2002, 07:10 UTC
so wait, did you guys fix the "right mouse clicking" issue for sam n max? Because, if not, than how are you guys even getting to the carnival without the right mouse?
Mike Bannick · 03 Feb 2002, 08:42 UTC
i use double tap :)
mark (killzat) · 03 Feb 2002, 12:40 UTC
You don't need a right click, just select the box, choose your action and tap anything to use the action with. Walking is auto-asigned for all taps.

Don't get why this is a problem =), I'm probably missing something.
Let's resurrect an old thread to share some words about the upcoming build (coming next week) !

Done

    Volume control (master volume, music, SFX) during the game, using ScummVM gui (see the load/save control :D)

    Virtual keyboard in Landscape mode (thanks Shapeshifter !), appearing when saving game then disappearing

    Small fix for Indiana Jones 4 problem at the end of the game (in fact something looks very wrong with a specific script, and I think there are more glitches in the game but ... you can go further :))

    No more quit button :P

    Cutscene skip button can be used to skip a text


Being developed

    Hardware key support (bind a key to a specific function such as save, pause, skip, quit ...)

    Replace the list of games by a browsing control & auto-detection


Added if some time and inspiration

    Cursor support somehow

    Toolbar for mono/SH3 devices


Not planned

    Any portrait mode improvement (complain if you like to play in portrait mode !)
the new build sounds great!

"Toolbar for mono/SH3 devices"

but whats that all about?
it's about finding inspiration to tweak my bitmap code to work on these devices (without having one available to test it :P) because this build doesn't have a toolbar in Landscape mode for the moment ...
i dont understand. i have a toolbar in landscape mode and i'm using the sh3 version. you mean the bar with the menu, skip, audio and quit buttons?
Arisme wrote:
Let's resurrect an old thread to share some words about the upcoming build (coming next week) !

Done

    Volume control (master volume, music, SFX) during the game, using ScummVM gui (see the load/save control :D)

    Virtual keyboard in Landscape mode (thanks Shapeshifter !), appearing when saving game then disappearing

    Small fix for Indiana Jones 4 problem at the end of the game (in fact something looks very wrong with a specific script, and I think there are more glitches in the game but ... you can go further :))

    No more quit button :P

    Cutscene skip button can be used to skip a text


Being developed

    Hardware key support (bind a key to a specific function such as save, pause, skip, quit ...)

    Replace the list of games by a browsing control & auto-detection


Added if some time and inspiration

    Cursor support somehow

    Toolbar for mono/SH3 devices


Not planned

    Any portrait mode improvement (complain if you like to play in portrait mode !)



Unless it's just too foul - I sent you some code to do the hardware buttons. GUIising it is harder - but TBH, you might as well just use the info that GAPI gives back - it gives fine information for Casio devices (vkA, vkB, vkC, and vkStart).

It enables right click, but doesn't display cursors.

Please get the mixer stuff synched into the scummvm tree - it's badly needed (I have an evil sound reducing hack in the mixer that doesn't dim it like yours, but it's costly and I only use it on the desktop.

Anyway, it sounds like a good set of fixes. The cursor support should be easy - but I don't know if it'll be cheap, which is perhaps a pain. The engine isn't really designed with cursors in mind and it'll be an arse to draw.
Mike Bannick · 09 Feb 2002, 22:08 UTC — sam'n'max
What about the sam'n'max problem? Have you found out what caused this? If you have plz try and find a soulution to it! (I love sam'n'max!)
Paul : yes ... not to be confused with the standard menu bar :)

andys : yes I plan to use your code but I haven't tested it yet on my IPAQ :D I'll see how the cursor code goes ... the ability to lock surfaces, mark them dirty and redraw them only will be missed
:lol: and I'll send my mixer hack to the ScummVM team after it has been reviewed by a few testers here ...

Mike : I haven't tested it with Sam & Max ... I have a copy of Sam & Max but as I didn't play it much when I had it (too many bugs related to the EMS to be enjoyable), I'm not very motivated to get it working :) perhaps sending me some savegames can help but I won't promise anything on Sam & Max ...
mark (killzat) · 10 Feb 2002, 10:55 UTC
The S&M; bug is right at the beggining, you don't really need a save game =). Just go outside, use sam on the cat to get the orders, use the car and then talk to the fat guy to get into the carnival. The moment they enter it hangs, it's a problem with scummvm, not just the PPC build.
OK I'll try it and see if there's something obvious that I can fix :)
Arisme, how about adding an option to show/hide the buttons pannel in the landscape mode by pressing a button?
You guys probably already know this, but in landscape mode you need to redraw the toolbar when you get WM_PAINT messages.

Also in landscape mode, the menu still responds to user input, so it pops up when you click on that part of the game screen.

Dan East
why is it that the save games dont work on the deskttop scumm games? is there a way you could make it work or is it just way too hard?
Paul wrote:
why is it that the save games dont work on the deskttop scumm games? is there a way you could make it work or is it just way too hard?


The code just seems to dump data out directly, I doubt it'll even work with machines with different alignment enforced by the processor.

Unfortunately in this case, as well as the alignment potential differences there is a difference in endianness.

It might be fixable (with some appropriate htonl, htons, and vice versa), but I don't think it's really worth the hassle. (IMO)

I haven't really checked though.
mmh I have not checked the serializer used in the save/load code either (see FROM_LE_xx and TO_LE_xx) but I think it has been designed to avoid these issues :)

btw I have no problem to use my PC saved games on IPAQ

Marconelly : it can be done but it won't change the image size (just add a useless black bar instead of a useful toolbar :lol:)
I really like the look of the toolbar but it's kind of distracting while playing the games. I would rather it become visable when I needed to use it then fade out.

Honestly, it isn't a big deal for me and I'm psyched to actually be able to play the games on my PPC.

It's the best thing since sliced bread!

Dingo
Yes, what Dingo said. Toolbar is very usefull, but I'd like if it would be possible to hide it and have a black space instead, when I don't need it :)
it's possible in the latest version if you map the "Hide" action to an hardware button :)
Let's resurrect it one more time for some good news :D

* Merge with ScummVM is completed, and the source is now available through CVS at http://scummvm.sourceforge.net - the compiled versions will still be available on my page (http://arisme.free.fr/PocketScumm)

* I've started to play with ScummVM MP3 support and it behaves amazingly well on WinCE (major props to bbrox & the MAD team) :D
Indy 4 sound file is reduced to 47 Mb, DOTT to 44 Mb
I'll try to make a release in the next days with the new build and a user friendly GUI around bbrox's tool & the lame encoder (which is not lame at all :lol:) to convert your .SOU to MP3 ...
Great news, since I've only got 64MB CF cards... :D

Don't you think this deserves a new thread? :wink:
yes, when the release is ready :lol:
bartdesign · 18 Mar 2002, 21:59 UTC — Keys
Maybe we can map buttons to actions like Q button is look at, Cal. is pick up. and maybe we can map the arrow buttons on the keyboard to the keypad.

But i think you've got to build a other key config dialog.

Just a sugesstion i don't have the skills to do that so great work. :D

BjB
uh. what exactly would be the point of that? that didnt even work with the original games.
a better key config would be nice for sure.