PocketMatrix forums

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

0.6.0 has been released

Hi PDA Scumm fans :wink:

Following <a href="http://www.pocketmatrix.com/forums/viewtopic.php?t=15251">your testing</a>, ScummVM release 0.6.0 has been released ! You can download it from http://www.scummvm.org

Main news

* Support for Broken Sword 1
* Support for Broken Sword 2 (experimental in CE build)
* Support for Broken Sword 1 and 2 video cutscenes (I'll include a tutorial to encode a PDA friendly version of these cutscenes shortly)
* Support for Flight of the Amazon Queen (given as freeware in 0.6.0)
* Whole new CE backend code - should be faster and more reliable than before, or at least easier to maintain :wink:
* VGA (E800 and such) devices support - if you wish to play a 320x240 game in 640x480 mode, edit the game properties and change the display driver to 2x, AdvMame2x or DotMatrix - other scalers are not properly supported yet (thanks to Copy for the tests).

As always, check http://arisme.free.fr/PocketScumm for the latest fixes :wink:

edit 03/17/04 : add filters tests for VGA devices
YOU da man.
Geared2003 · 17 Mar 2004, 07:15 UTC — Savegame bug ?
Thanks for your great job ! Unfortunately, I have a nasty bug with the latest version (release) with broken sword2 : I cannot load savegames. When I load a savegame and tap on the restore button, scummvm freezes completely... It didn't happen with the previous beta. I am using a Sigmarion3 ( HPC with Ce.net 4.1 ; by the way, on this machine, you can use both the hpc and pocketpc arm builds with some additional dlls and wincesoft gapi). Maybe a workaround would be to use the command line to load savegames, but I don't get it ... :(
yup, I noticed that. A fixed version will be available shortly for all devices. But since you can use the PocketPC ARM build, you can check this :wink:

http://arisme.free.fr/PocketScumm/binar ... PC_ARM.zip
Geared2003 · 17 Mar 2004, 18:53 UTC — more broken sword 2 bugs ?
Thanks a lot for your quick reply ! Savegames are now fully functional. I still have a problem though: Broken Sword 2 works very good with Win32 PC Scummvm, but often freezes with Pocketscumm. Actually the beginning of the game works quite good (with minor bugs) with Pocketscumm, but troubles begin when I reach the Quaramonte episode. I thought it was due to the beta version but problems still happen with the last version... Maybe Broken Sword2 is a bit "resource hungry" even for my 400 Mhz Xscale processor ? has anyone a better experience ? Is Broken Sword 1 fully playable with PocketScumm ?
Anyway, thanks a lot, Arisme, for your efforts and bringing such a nice freeware to the CE community...!
yes, it's a problem with memory allocation - I'm building a user configurable patch, it should reduce the problems :wink:
New experimental ARM build for Broken Sword 2 available here

http://arisme.free.fr/PocketScumm/binar ... PC_ARM.zip

if things get weird, you can play with the memory_cleanup_threshold value in the [sword2] section of scummvm.ini (usually making it higher will solve problems)

Broken Sword 1 should behave better btw :wink:
meste · 18 Mar 2004, 07:16 UTC — 0.6.0 for Jornada 525 (8bits)
Arisme,

I downloaded the latest version and the colors are weird on my Jornada 525 which is a 8bit color machine

Is that so? or you intend to make a version for 8bit as well

thanks,
meste
I'm very interested by reports from 8 bits testers, since all the rendering code changed ! can you make some screenshots, and tell me what the second About box (in the launcher) displays ?
the about box says:

scummVM 060 (built on March 15 2004 00:40.43)
supports: vorbis MP3 MPEG2 etc

then it says: using SDL driver windib display 240x320

but during the game it is very slow, slower than 0.5.7 or 0.5.1.

I don't know how to send you a screen capture, but I can tell you that the colors are fuzzy and weird, like it was not created for 8bit like the previous versions. Tell me if you know how can I capture the screen but it won't help you much. If this helps you, the introduction, the logo of the game etc seems to works well from the colours point of view!

meste
you're right, I'm using SDL automatic dithering now, but of course it's less good (since now it works with a 16 bits surface)

I think you can make captures with this program http://www.pocketpccity.com/software/po ... ketpc.html - just to have an idea of how bad it looks

and was GAPI working with the previous versions ?

anyway stay around, I need paletted devices testers if I want to make some changes :wink:
Geared2003 · 18 Mar 2004, 12:15 UTC — Broken Sword 2
Thanks for the last version ( damn, you are quick !); this version seems to solve many troubles indeed; I still have one problem with video transitions (with or without the converted sequences fromm Scummvm.org in the game directory): the game crashes and a debugger window appears with the following message: buildlookup failed- memory management failure". I have increased the memory_threshold to 16384000 in scummvm.ini. Before starting pocketscumm I have approx 35000 Kb of free memory.
I tried with that screen capture but not working: when I run scummVM all shortcuts are override so cannot open the application to save screen

Anyway, the colours are upside-down, the first screen in BASS has a lot of red - you can see the character but very few when it comes to detail

My worry is that it is very slow, compared to previous versions, whic bye the way, worked well with the GAPI (I mean normal colors etc) - I know that my machine is a slow one, but compared to 0.5.7, this new version is 2-3 times slower!

I am looking forward to any improvement,

meste
Geared> if you get the build lookup error, try to start a new game then load, or try to reload before starting a new game. It should work one way or the other :wink:
Geared2003 · 18 Mar 2004, 18:49 UTC — To Arisme and Meste
-Arisme, thanks for your explanation but I didn' t catch what you exactly mean...When I get the error message, I have to kill the Scummvm process, because it won't let me restart any game at all.

-Meste, I am not an expert but I think your problem with the last build of PocketScumm might be due to the small amount of memory of your jornada 525: 16 Mb RAM is really not much nowadays and I think the memory requirement of the 0.6 build is much higher: I can't start scummvm 0.6 at all on my Casio BE300, which also has a small memory. Therefore,I am using the special Christmas build on the Be300, and it runs like a charm, for example with "amazon queen". So my suggestion would be to leave this special Christmas edition available to all users who have "low memory" machines and still want to try some newer games... Of course, if Arisme has a better solution... but if we want new features and games for PocketScumm it might be better to forget older "low end" machines - it must also be a nightmare for the developper ! ( many commercial apps are only available for newer ARM only pocketpcs, so it is nearly a miracle that we still get so many different versions of Pocketscumm: MIPs, SH3, HPCs...)
I agree. But then when it restarts, you can choose to begin a new game, and load your saved game later (i.e. not restore it with the first menu). It may change things ...

otherwise I agree, it's a nightmare :D but I'm trying to keep the compatibility with low end devices ... it may get better in a future build, when I'll use plugins (the executable will be much smaller)
thanks Geared for info

Arisme, or someone else, could pintpoint me to the Christmas build Geared is talking about?

thanks,
Serban
Just a note for anyone looking for GAPI for the Jornada 820... I changed ISPs about 9 months ago, so that's why that old website is down.

You should be able to get GAPI_J820.zip from:

http://files.futaris.org/jornada820/gapi_j820.zip

There aren't any changes really since the last version...
Just another quick note about the Jornada 820. Most of them only have 16MB of memory, so don't even bother trying to run COMI. That being said, the console does start up at 640x480. :)

There is also support for the 2x / MAME2x filters in the HPC build, so you can run Monkey Island, etc full screen. :) Albeit very slowly, since Arisme is rendering to a 16-bit SDL interface and dithering down (ATM).

Note, if you "forget" to put GAPI in \WINDOWS, you'll probably be using GDI. And that's horribly slow (especially during screen fades, etc). That being said, using the 2x filter, and GAPI it's still SLOW.

Arisme, did you make any changes to the sound subsystem in 0.6.0? It's still very jerky on the Jornada 820, to say the least. How is it on other HPCs???
Nothing should have changed in the way sound is handled on my side ... I've not checked if there was a big change to the AdLib emulation code, but probably not as everything is still smooth on my 3630 ... but since the Jornada 820 is using paletted mode and GAPI is skipped for paletted mode, it may explain this global slowdown :wink:

regarding the Christmas build, I removed almost all old builds from my repository to save space - tell me if you need one specifically and I'll upload it again.
Arisme,

I need it for SH3 pocket pc, but if this is 0.5.1 or 0.5.7 I already have them.

SO please upload it only if different

and I guess your answer means I should try to forget using the 0.6.0 in the future for this type of machine?

thanks,
meste
no, it's the same. Regarding the 0.6 branch, you should just wait for a proper paletted devices support :wink:
This is one great release Arisme! I'm running it on my h1945, with a brand new 512MB SD card (finally!) I can play COMI, and it runs perfectly fine! The graphics in COMI are so beautifully downsampled to 320x240 that I was fooled for a moment, thinking the game somehow runs at native 640x480! It's only telling that downsampling is going on when there's text on the screen, when they are talking, but who needs that anyways, when there are voices available ;)

I have noticed that newly supported FOTAQ, has some small but re-occuring audio glitch, at least the floppy version that I've tried. It plays an audible static noise instead of an actual musical instrument sound that it's supposed to play. In the hotel lobby, that becomes really very obvious. Soon, I'll try the bigger talkie version, but COMI occupies a lot of space so I'll have to shuffle some files around.

Bigger bug is that FOTAQ froze on me at the point where I entered the dancer girl's dressing room (beggining of the game in the hotel) it displayed some bizzare message that had a file path in it, that started with something like Z:\tempgame\...
or something like that. I know Z:\ was there, which I thought was weird. I'll try playing it again and see if it occurs again at that same place. I'll try both floppy and CD version.
I'm still fiddling with COMI, and I'm slowly becoming annoyed with the sound hickups that occur just a bit too often :\ I've tried changing that sound_thread_priority parameter, but it never seemed to do anthing. Is there maybe a way I can increase the sound buffer size, or how exactly should I try changing that sound priority parameter?
sound_thread_priority has been renamed CE_sound_thread_priority in this release, and must be specified in the game section ... don't know if that helps, but there is no way to fiddle with the sound buffer size as a configuration parameter for the moment - I'll do some tests to see what's the problem with Digital Imuse, because I have noticed some hickups with The Dig on my A620 while my Ipaq 3630 plays it perfectly, which is a bit puzzling :D

otherwise the error message with a path in it doesn't sound too good, it looks like a failed assertion in the engine code - you should give me the exact message, and check that your game files are not corrupted in case this isn't an engine bug.

regarding FOTAQ, do you have the same glitch with the desktop version ? if not, can you try to set CE_FM_high_quality to true in FOTAQ section of the configuration file to see if it makes things better ?
elfbs · 22 Mar 2004, 13:31 UTC — fotaq_cd
hi arisme.
first, thanks for your effort, you've done a great job!!!
then, i found the same error of Marconelly: when i try to speak with lola, pocketscumm quits whit this message
Assertation failed index >= 0 && index < GAME_STATE_COUNT (Z:\oldgames\scummvm.release.0.6.0.final\queen\logic.cpp, 414)
so i deleted the error_log (wich said something about music4 not found) e re-start the game.
It didn't crash, but the fisrt subtitles of lola were replaced by "0" (1 per sentence).

I'm using pocketscumm0.6.0 on my ipaq 5450 w/ ppc2002

Oh, almost forgot, i've tried the same version of fotaq on my pc and it's all ok, no crash, no errors.
If you need something, just drop here a line.

byez

Fbs
send me a saved game at arisme at free dot fr, I'll check if something is corrupted, and recheck it with my version in the meantime
here you are.
btw, i experienced another known problem: static noise instead sound.
i've tried CE_FM_high_quality to true like you said, and it works well, but the game get sllllloooooowwwww. it's not a real problem, anyway, just would like to know if this behaviour is normal.

thanks again

byez

Fbs
Attachments:
queen.rar (12 KB)
oooopss
sorry, posted here the file instead.
well now i've also sent the mail.

sorry again to everyone

byez

Fbs
if the sound is correct when you set CE_FM_high_quality to true, then you'll have to choose between a slow game, or a nice sound :D
sound_thread_priority has been renamed CE_sound_thread_priority in this release, and must be specified in the game section ... don't know if that helps, but there is no way to fiddle with the sound buffer size as a configuration parameter for the moment - I'll do some tests to see what's the problem with Digital Imuse, because I have noticed some hickups with The Dig on my A620 while my Ipaq 3630 plays it perfectly, which is a bit puzzling

CE_sound_thread_priority is what I have used, and I've put it in both the game section and scumm section, but whatever number I specified, I couldn't hear any difference. What are the numers I should try? Positives? Negatives? Zero? Bigger than 10? Bigger than 100? At first I thought the CPU is being overwhelmed with decoding too many sound streams, or that SD card is too slow to stream all that, so I removed the big music file, leaving only the voices. But it changed nothing! Small skips were still here and there, just as before. So I switched the music file back, as the game is much nicer with it :) It's not a big deal, hickups are not annoying, especially since the music in the background seems to play smoothly. My best guess is that it might be solved just by increasing the sound buffer slighty, because it just sounds like one of those things that you can do in emulators to get rid of such problem.

otherwise the error message with a path in it doesn't sound too good, it looks like a failed assertion in the engine code - you should give me the exact message, and check that your game files are not corrupted in case this isn't an engine bug.

Elfbs has gave you everything I could at this point. He has experienced exact same problems I did, and saw the exact same error message. It's good to know sound static is fixable, I'll see how much it slows down on my h1945 when I enable high quality FM. It's great that Elfbs even found the workaround for the crashing bug in FOTAQ, but that seems like something that would be pretty easy to fix. You now know the exact cpp file where it occurs, and the string to search for :P The only thing I can still test, is to try the talkie version of FOTAQ, as well as non-talkie version, to make sure if it crashes with both.
you should set it to a SetThreadPriority priority :wink: OK it doesn't help much ... here are the valid values


#define THREAD_PRIORITY_TIME_CRITICAL 0
#define THREAD_PRIORITY_HIGHEST 1
#define THREAD_PRIORITY_ABOVE_NORMAL 2
#define THREAD_PRIORITY_NORMAL 3
#define THREAD_PRIORITY_BELOW_NORMAL 4
#define THREAD_PRIORITY_LOWEST 5
#define THREAD_PRIORITY_ABOVE_IDLE 6
#define THREAD_PRIORITY_IDLE 7


however as I said, this sound problem is subtle, because it doesn't happen on some devices - that's why it may be a bit tricky to fix properly.

Regarding FOTAQ problem, I'm still investigating. The bug seems to be only present in release builds, which would show an illegal memory access hidden somewhere in the code :(
FOTAQ bug is fixed, it was (guess what ?) yet another compiler bug :roll:

Next build coming probably tomorrow ...
Hey, just to make it clear, that post above yours was made by me, but I forgot to log-in at the time.

Can you tell me what is the default thread priority? Is it 3? I guess I should try 1 or 0, and see what happens.

Thanks for the quick fix on FOTAQ!
Arisme, here's some more observations on the COMI workings in 0.60 version, as well as in 0.51 version.

Just right off the bat, I've noticed that 0.51 runs COMI videos *MUCH* smoother. I can't stress that enough. It does de-synchronize graphics and sound every now and then, but generally it plays nicely - videos are super-smooth in 0.51, while they run very choppy (with visible frameskip) in 0.60. Also, while in-game, the sound hickups in the character voices are pretty much gone in 0.51! However, not all is great with 0.51. Sound output is definitely lower quality compared to 0.60 (in a sense that it's sampled at a lower rate), and the graphics interpolation/downsampling from 640x480 to 320x240 is not as good as in 0.60. New version really is doing an amazing job with an interpolation. I wonder what algorithm is used?

I've tried setting CE_high_sample_rate to false, hoping that 0.60 would get some speed gain and run videos as smooth, and voices with no hickups as 0.51 does, while preserving the great screen interpolation. However, setting that parameter to 'false' did absolutely nothing. Sound remained high quality in 0.60, just as it was, and when I set it to 'true', 0.51 still played lower quality audio. Also, before you ask, I've put the parameter in COMI, SCUMM and WINCE sections in the settings file.

From what I've figured out here, the perfect version of Pocket SCUMM would use the 0.51 engine for video playback in COMI, while using the in-game engine from 0.60 (with high quality graphics and sound, but with voice hickups eliminated)

During video playback, lower quality graphics interpolation in 0.51 looks just fine, as the video is anti-aliased to begin with - it's in-game graphics where 0.60 really shines.

Maybe I'm off base here - maybe it's the apparently forced high / low sound quality in 0.60 / 0.51 that is causing the hickups and speed difference? 0.60 really does seem to have forced HQ sound, and it's forced to LQ in 0.51.

It would be great if you could look into those new parameters. I have noticed that CE_high_sample_rate and CE_sound_thread_priority basically don't work - they don't seem to do anything. Also, if CE_landscape is supposed to run SCUMM interface screen in landscape, it doesn't.

I've also noticed that when I assign 'skip' action to a button, it doesn't work in 0.60. I always have to press the on-screen icon to skip the talk/video. The same assigned button does skip when I run 0.51 version.

Also, in 0.60, whenever I run COMI, it always asks me to assign 'zoom up' and 'zoom down' buttons, although I have assigned them already. Also, said functions don't do anything, when I press the assigned zoom up/down buttons :\

Another small thing I've noticed in 0.60 - sometimes parts of the screen start shaking a bit, when the user selectable conversational text appears on the bottom of the screen. Even after you select the line of text, those parts of the screen still shake. This problem, again, is not present in 0.50

As you can see, that's a small heap of bugs... I hope you can sort it out sometimes in the future :)

Can you tell me what is the default thread priority? Is it 3? I guess I should try 1 or 0, and see what happens.


you should only try 1 :wink: I think 0 will lock up everything (1 will probably slow down everything else anyway ...)


I wonder what algorithm is used?


The fixed (mean, with (yet another) compiler bug fixed) lame bilinear interpolation look-alike filter I used in 0.5.1 :wink: You can check here http://minilien.com/?BuLNg633Ne (PocketPCHalf)


I've tried setting CE_high_sample_rate to false, hoping that 0.60 would get some speed gain and run videos as smooth, and voices with no hickups as 0.51 does, while preserving the great screen interpolation.


mmh in fact you're right, Digital Imuse is forcing CE_high_sample_rate, forgot about that, but it was already doing that in 0.5.1. I guess this means that the "problem" really was introduced in the new Digital Imuse code. I'll look at what has changed and see if I can revert it for our beloved devices :wink:


It would be great if you could look into those new parameters. I have noticed that CE_high_sample_rate and CE_sound_thread_priority basically don't work - they don't seem to do anything. Also, if CE_landscape is supposed to run SCUMM interface screen in landscape, it doesn't.


CE_sound_thread_priority should be active COMI, all other parameters won't do anything as you suspected


I've also noticed that when I assign 'skip' action to a button, it doesn't work in 0.60. I always have to press the on-screen icon to skip the talk/video. The same assigned button does skip when I run 0.51 version.

Also, in 0.60, whenever I run COMI, it always asks me to assign 'zoom up' and 'zoom down' buttons, although I have assigned them already. Also, said functions don't do anything, when I press the assigned zoom up/down buttons :\


Problem with the dialog box has been fixed. However, Zoom up, Zoom down and Skip should be working - do you have any working hardware button ? (such as Hide)


Another small thing I've noticed in 0.60 - sometimes parts of the screen start shaking a bit, when the user selectable conversational text appears on the bottom of the screen. Even after you select the line of text, those parts of the screen still shake. This problem, again, is not present in 0.50


uh, never noticed that. It may be related to a generic dirty_rects algorithm bug, but I'll recheck it.
elfbs · 23 Mar 2004, 11:41 UTC — about the error_log
does pocketscumm re-create the error log if i delete it? or there must be a file that PS update?
I'm asking that cause i deleted the log, then i get an error message (the one of fotaq that you already fixed) but there's no new log file.

byez
fbs
no, the new build doesn't keep an error log anymore - I think your log file was from a previous build. Nothing to worry about :wink:
you should only try 1 I think 0 will lock up everything (1 will probably slow down everything else anyway ...)

With version 0.60, I tried both 1 and 0, and they did absolutely nothing! No change in sound and/or performance whatsoever.


The fixed (mean, with (yet another) compiler bug fixed) lame bilinear interpolation look-alike filter I used in 0.5.1 You can check here http://minilien.com/?BuLNg633Ne (PocketPCHalf)

So you are saying, both 0.51 and 0.60 use the same scaling algo, it's just that it was broken in 0.51 so that's why it didn't look as good? That's good news, I think, as that would mean the better looking scaling is not what is contributing to video slowdown and sound hickups in 0.60.

mmh in fact you're right, Digital Imuse is forcing CE_high_sample_rate, forgot about that, but it was already doing that in 0.5.1. I guess this means that the "problem" really was introduced in the new Digital Imuse code. I'll look at what has changed and see if I can revert it for our beloved devices

I'm suspecting, it's that high quality audio that is making video cutscenes crawl and voice hickups in COMI. Don't get me wrong, the actual sound quality is *awesome*, audibly better than in 0.51, but I think I'd rather have the option to revert back to lower quality audio and have no hickups... Or in the best case scenario, have the ability to set sound quality separately for video cutscenes and separately for in-game, if it's indeed the sound sampling quality that is making such performace hit on videos.

CE_sound_thread_priority should be active COMI, all other parameters won't do anything as you suspected

If it's active, I must be doing something wrong. I tried setting it to every parameter you suggested, 0 included, and it never seemed to do anything :(

Problem with the dialog box has been fixed. However, Zoom up, Zoom down and Skip should be working - do you have any working hardware button ? (such as Hide)

Hide button works in 0.60 when I assign it. Skip, however, doesn't, and the same goes for Zoom up, Zoom down. I didn't try other button functions yet, but skip is something I use very often when testing, and I'm 100% sure it doesn't work in 0.60 while it does in 0.51.

Which build has the dialog box problem fixed?

uh, never noticed that. It may be related to a generic dirty_rects algorithm bug, but I'll recheck it.

You can see it at the very beginning of the game, on Wally's cannon. Just talk to Wally, and as soon as the conversational text appears on the bottom of the screen, you'll see cannon starts shaking.
With version 0.60, I tried both 1 and 0, and they did absolutely nothing! No change in sound and/or performance whatsoever.


mmh weird ... I just saw that the code is correct while debugging - perhaps your device is too powerful to notice :D

So you are saying, both 0.51 and 0.60 use the same scaling algo


yes, right

I'm suspecting, it's that high quality audio that is making video cutscenes crawl and voice hickups in COMI


it's a possibility - problem is that Digital Imuse handling was almost rewritten from scratch for 0.6.0 :D that's why I'll need more time to study the code and see where are the CPU heavy parts that I can adapt to our devices (same I did with non-digital Imuse).

But I think Smush (the video subsystem) was changed too, this can cause some problems too ! guess I need to spend some time to play with the profiler in EVC 4



Hide button works in 0.60 when I assign it. Skip, however, doesn't, and the same goes for Zoom up, Zoom down.


I'll recheck that tomorrow - I didn't have too much time today, and already lost precious time to identify and fix the FOTAQ bug properly. btw I improved low audio quality while I was at it :wink:

Which build has the dialog box problem fixed?


this one, which is perhaps not listen on my page, sorry
http://arisme.free.fr/PocketScumm/binar ... PC_ARM.zip

You can see it at the very beginning of the game, on Wally's cannon. Just talk to Wally, and as soon as the conversational text appears on the bottom of the screen, you'll see cannon starts shaking.


OK I'll recheck, but it looks like a dirty rect bug ... thanks for mentioning it, because this can lead to interesting side effects (random memory corruption ...)
mmh weird ... I just saw that the code is correct while debugging - perhaps your device is too powerful to notice

Maybe, but I doubt it :P
h1945 is not all that powerful. However, maybe the problem is just in the sound sampling, so changing the sound priority just won't help.

it's a possibility - problem is that Digital Imuse handling was almost rewritten from scratch for 0.6.0 that's why I'll need more time to study the code and see where are the CPU heavy parts that I can adapt to our devices (same I did with non-digital Imuse).

But I think Smush (the video subsystem) was changed too, this can cause some problems too ! guess I need to spend some time to play with the profiler in EVC 4

Ouch... maybe it was all re-written for the sake of better compatibility, but at the expense of speed, which is not an issue on desktop PCs but sure can be on Pocket PCs. From what I've seen, video decoding was just fine in 0.51, except for some desynchronizing. It's way, way worse in 0.60, as far as performance goes :\ As for the in-game graphics, they run at about the same speed in both 0.51 and 0.60, except that 0.60 has better looking scaling and also better sound qualty, but quite a bit more hickups when playing voices.

this one, which is perhaps not listen on my page, sorry
http://arisme.free.fr/PocketScumm/binar ... PC_ARM.zip

True! The dialog box problem is gone! Assigned Zoom up / Zoom down buttons still do nothing, though.

Maybe, but I doubt it :P
h1945 is not all that powerful. However, maybe the problem is just in the sound sampling, so changing the sound priority just won't help.


let's not forget another possibility, threading support can be different (meaning, even more broken) in Windows Mobile 2003 ... I'm worried about this, because I have a lot of glitches in The Dig music (small hickups as soon as something new is feeded into the mixer) on my A620 that do not appear on my 3630 with PocketPC 2000 :D


Ouch... maybe it was all re-written for the sake of better compatibility, but at the expense of speed, which is not an issue on desktop PCs but sure can be on Pocket PCs


that's what I'm investigating. For the moment I've the feeling that the new iMuse "ticks" more often that the 0.5.1 code, which can be a problem in a system where timers are not very reliable if the CPU load is too high.

but I'm having a look at the synchronization mechanism between Smush video and sound playback, because I've noticed that it makes things worse if something starts lagging (I've seen the same video sequence in The Dig playing smoothly or crawling without recovery if I have a different CPU load at the beginning of the video)


Assigned Zoom up / Zoom down buttons still do nothing, though


think I'll add some debugging code to know if the buttons are recognized properly in the next build.
Arisme wrote:

I'm worried about this, because I have a lot of glitches in The Dig music (small hickups as soon as something new is feeded into the mixer) on my A620 that do not appear on my 3630 with PocketPC 2000 :D


Just wanted you to know that I am expierencing the EXACT same thing, but with speech, as I don't have any music (low space on card ;)). The speech glitches the first 0.5 second when someone starts to talk, but after that, it is fine.

This is on my Pocket LOOX, sadly, also on WM2003.
Damn, forgot the username again!! :x

Im registering as soon as I get home! Sorry for the double post.
The speech glitches the first 0.5 second when someone starts to talk, but after that, it is fine.


exactly :wink: and I have not noticed this problem on my 3630 ... guess it'll be fun to fix this ... well, new OS, new glitches, this is just sad because the music and voices are now perfect on PocketPC 2000 :P
small note about hardware buttons not working, I've noticed that in Smush too, it's pretty annoying and probably caused by a weird loop causing a very high CPU load (the events are not even catched ... all problems are related somehow :wink:) - be sure to check your hardware button mapping in game ! (OK, that's not very useful for the Skip mapping, but still ...)
8O I just caught that in MSDN !


Note The priority levels zero through 7 that were available in earlier versions of Windows CE are now mapped to priority levels 248 through 255.


this could explain a lot of bad things on Windows Mobile 2003 ! could someone try The Dig or COMI with the CE_sound_thread_priority set to 250 ?
Arisme wrote:8O I just caught that in MSDN !
could someone try The Dig or COMI with the CE_sound_thread_priority set to 250 ?


I feel ashamed to ask, but CE_sound_thread_priority doesn't exist in my ini-file.

Is it something I should add, or should it be the from the start?

I can try the game in an hour or so, I can't just whip out my ppc and start playing The Dig with my boss in the office next to mine. :lol:
yes, you should add it in the [dig] section of the .ini file

if it still doesn't change anything, then it means my SetThreadPriority call does not work on Windows Mobile 2003 (which is possible since I use it to change the thread priority from the thread itself, it may be forbidden now).
The problem is still there...

The Dig runs slower on 0.6 than om the previous build, both graphics and sound are more choppy.

I have not played the game with the 0.6 build long enough to tell for sure, but I got the impression that sound shopps a little even after the 0.5 seconds, we talked about. In 0.51, I never experienced this.

Altso, the scrolling of the background is slower than before.
could someone try The Dig or COMI with the CE_sound_thread_priority set to 250 ?

I have just tried it. It did nothing. I tried 249, 248 and 255 as well. No change to sound hickups or overal performace/speed whatsoever...

You know, the more I think about all this, 0.51 release would be almost perfect for playing COMI - IF it had the fixed version screen scaler implemented. Than again, the fixed screen scaler could be what is slowing things down in 0.60 as well. Arisme, would it be possible for you to make such test build? 0.51 with the only change made so that the screen scaler is fixed?
No, I don't want to maintain 0.5.1, sorry - the code base is completly different, I have enough work maintaining all the 0.6.0 builds :wink:

anyway, I figured most of the problems - everything seems to be related to timer issues. It seems that modifying the thread priority does not change anything on PocketPC 2003, for an unknown reason (every return code is correct).

Now the problem is that the new Digital Imuse needs to be waken up every 40 ms, which is not reliable on PocketPC 2003, but works fine on PocketPC 2000 :roll:. I have modified this to be waken up every 80 ms, it fixes most sound glitches, but this may introduce some pending underflow problems.

Smush issue is a bit more subtle - the frame decoding routine takes just a bit longer than in 0.5.1, but it's enough to re-trigger the decoding of the next frame. Meaning that all that Smush does is decoding frames, without drawing them. I'm looking into it right now.
OK, the 80 ms trick does not work well, we'll see if I can think about something else ...
Best of luck in fixing that, Arisme. I'm holding off playing COMI until I see what you come up with regarding those fixes. I'd love to play it using the 0.60 version because of it's superior graphics and sound quality, but the sound hickups and video decoding are a bit annoying :\ Too bad 0.51 isn't perfect either - they kinda complement each other :lol:
I'm sure that you will figure this out. :wink:
Hiya,

I'm not sure if this has been resolved, but I've been using 0.60 and DOTT and Sam and Max work fine, MI2 works fine as well...But when I try MI1, it crashes me back out to my file explorer.

I am using Windows Mobile 2003 on an A716, is anyone else experiencing this problem?

I've also currently got 0.51 on my PPC which is working fine with MI1 right now.

Jassen
MI1 problem is not yet solved, since my version works nicely.

Here's a little something for the week-end

removed, was really too bad :)

includes

* Digital Imuse games mixer improvement on PocketPC 2003 (still things to be worked on - if you enable the music, you may get an occasional very loud sound ... don't play with headphones if you got a weak heart :D)

* FOTAQ patch for crash when talking to Lola

* Smush cutscenes reactivity slightly improved (at least you can skip them now)
Arisme, I'm just testing COMI with it, and here are some quick finds:

First the good news:
- Sound quality in game is definitely improved. It sounds nicer than 0.51 now, as there's *very* few skips, and the actual sound samping quality is as good as in 0.60 (or at least so close that I can't tell a difference - definitely better sound quality than 0.51)

Now the bad news:
- The whole game runs slower, feels much less responsive :( Nowhere is that more obvious than on the scene where you have to shoot from the cannon, which is so unresponsive and so damn slow, that it's very difficult if not impossible to finish it now :(

- It's impossible to hide the control panel anymore. No matter what button I assign to hide function, the SCUMMVM quits (or crashes, I don't know) half a second after I press it, and after panel disappears.

- It always asks to assign the Zoom Up/Zoom Down buttons again, althought it was fixed in the previous fix build

- Cutscene playback is actually worse than ever. Video does run smoother than in old 0.60 build, but the sound skips like crazy! It's quite unberable... it's the type of sound skipping that gives you a headache :(

- Skip button still doesn't work - for videos or in-game. You have to press the skip icon in the control panel

- Objects still shake when the conversational text appears, like Wally's cannon I mentioned earlier



Just a question/thought - is it possible to obtain your 0.51 source somewhere? I'd gladly re-compile it myself with whatever compiler fixes it needs to fix the screen scaling.
I'll recheck with COMI ... I have changed another parameter that shouldn't have changed, I doubt it could be a problem, but you never know ...

you'll have to use CVS to retrieve the 0.5.1 source tag from ScummVM site.
note that, from the beginning of the game, I have not the feeling that it's running slower. Is it noticeable from the beginning ?
btw here is 0.5.1 with the new scaler, since it wasn't too hard to adapt :wink: it's a bit depressing to see how good it runs on a 2003 PocketPC compared to 0.6.0 :cry:

http://arisme.free.fr/PocketScumm/binar ... Scaler.zip
mmh whoops, I removed the optimizations to locate FOTAQ bug, and it seems my project wasn't saved when I enabled them again ... anyway, here's the new attempt with full optimizations and additional Smush tweaks !

http://arisme.free.fr/PocketScumm/binar ... PC_ARM.zip
pauli · 27 Mar 2004, 20:37 UTC — fotaq crash
Im getting pocketscumm caused an illegal operation in fotaq at the point near the start when you succesfully get past the heavies to go to the truck outside the hotel. This is with the release from yesterday and the updated one from this morning. Is anyone else getting this? I'm using the free talkie version on an ipaq 3970 win ppc2002
Arisme, scaler in 0.51 seems to be partially fixed. 0.60 still scales better. It's quite obvious on the conversational text and character sprites that 0.60 does a better job at filtering the image. It's as if 0.51 now scales properly horizontally, but still looks a bit 'raw' when scaling vertically. I can't quite pinpoint it, but it's still a bit off compared to 0.60.


Now, for the new 0.60 release, it's a giant step forward from all the old builds. It runs quite fast (still a bit slower than 0.51, though) videos run very good - even better than 0.51 I'd say, as there are less skips and no voice loops that are present in COMI intro when run on 0.51. Sound sampling quality is as usual, better than 0.51, but there are still a bit more hickups. Some more bad things: skip button still doesn't work, and it still asks me to assign zoom up/down every time I start it, although they are already assigned.
pauli> could you send me (arisme at free dot fr) a saved game at this point ? FOTAQ is quite new, and it's still possible to have some incompatibilities with the engine as I saw previously :?

Marconelly> I'll have a look on 0.5.1, but focus on 0.6.0 of course :wink: it's quite normal than the other bugs are not fixed, since I didn't look into them for the moment. I don't think the playback can be improved much, but at least it is better (with less sound loops) than 0.5.1 on my A620 and Ipaq 3630 now ... we'll see if I have new ideas ...
To tell you the truth, those trivial button issues aside, the only problem with 0.60 worth talking about are those sound hickups. They are better than they were with initial 0.60 release, but voices still hickup a bit too much. Weird thing is, it happens in some scenes more than on others. On some scenes it doesn't happen at all.
Timers issues over again ... when the engine performs more computation, the audio callback timers lose accuracy, causing the hickups - and if you're really unlucky, the code called on this timer will need some additional CPU power, slowing down the next timer call, and so on ... typically what happened in video playback :D, because my blitting + scaling code is too slow.

To sum it up : it's not a good idea to have a piece of code taking >100 ms to run in a function called every 40 ms :P

btw I'd be interested to know where these hickups are more noticeable (with a saved game if possible) to perform my next optimization tests.
Hickups are quite noticeable in the very first screen with Wally and his cannon. No need for gamesave for that, as that's the very beginning of the game. Just try conversing with Wally for a while.
Pauli · 28 Mar 2004, 12:18 UTC — fotaq crash
Here is the saved game - if load it and then walk to the truck I get the error (the screen darkens as though some dialog is about to take place and then the crash).

I was able to load the game into an earlier build I had a copy of called 060pre which worked okay until the discussion with Anderson by the plane when it suddenly dropped out of the game with no warning or error message. Oddly, though I cant see how it can possibly be related, my clock then disappeared from the today screen title bar and I havent been able to get it back even with a reset.
Attachments:
queen.zip (13 KB)
I'm working on it. No idea about the clock problem though (the title bar will be disabled if PocketScumm crashes, but it should reappear when performing a soft reset or just when opening and closing PocketScumm again)
fixed (simple alignment issue) - new build coming tonight ...
Arisme, I just downgraded to PPC2002 on my LOOX, due to some problems with WM2003 that I am waiting for Fujitsu-Siemes to fix.

I am not sure, but I believe you said that it was hard finding people with ppc2002 to try things, so if you still need something tested, just tell me.

I tryed the 0.51-build you just updated, and the 0.60 build, and one thing I noticed, that no one seems to have mentioned, is an issue with the menu.

I just got COMI, and gave it a run;
In 0.51, the menu (the one with save, load, keys, etc) looks fine, but in 0.6, it is shrinked to the upper left side of the screen, and is extremly small. This is not a real problem, since it is still big enough to see and use (perhaps becouse I am used to how it looks, maybe someone new to pocketscumm would have problems), but none the less, I thought you should know.

I will not start to play the game untill you release the new build (the one you preliminary said tonight). I will be glad to report how the game runs with that build.

//Daniel
yes, I know that, but it seems to be a GUI issue :wink:
Yeah, I noticed the shrunken GUI myself, but I thought it was intended to be that way. Not a big deal, IMO. It IS hard to read, but not impossible.
pauli · 28 Mar 2004, 23:45 UTC — fotaq crash
Many thanks for working on it. The obvious fix for the clock would be a hard reset, before I do that though, does anyone know what might cause the clock to disappear - a registry entry or corrupted file or a setting somewhere? I can probably live without a clock until I've time to back everything up.

Many thanks to Arisme for all the hard work on all the coding and fixes :D
update will be available tomorrow, because my provider decided to break the FTP server again :roll:
Can you at least tell us what are the new fixes? :P
Marconelly wrote:Yeah, I noticed the shrunken GUI myself, but I thought it was intended to be that way. Not a big deal, IMO. It IS hard to read, but not impossible.


Why would it be intended that way? :lol:

I still believe, though, that we can read the menu becouse we know how it looks. Have you tried to use the key-mapping menu? Not so easy at all to use.

Or, perhaps, your PDA has a much better screen than my does, and if that is the case, it should still be pretty highly prioritized.

But as I can read it myself, I can't complain, I guess. :D
Why would it be intended that way?


I think it's a bug, but since it isn't blocking it has not been handled by the core team yet (and I've worst bugs to fix myself :wink:)
Arisme wrote:
Why would it be intended that way?


I think it's a bug, but since it isn't blocking it has not been handled by the core team yet (and I've worst bugs to fix myself :wink:)


Ok. I thought that it had something to do with the scaling to 320*240. But like I said, we can live with this. :wink:
new test build is available, check http://arisme.free.fr/PocketScumm

see Changelog
Yep, screen shaking in COMI is fixed, as well as that prompt asking to assign zoom up / zoom down (however, once assigned, zoom up/down still don't work) Other than that, the build seems the same as the last test build you made, as far as performance and sound hickups go.

It's very good, but I think I'd still prefer playing COMI on 0.51 had it have completely fixed screen scaling :P There's just something so damn annoying about the way those hickups in 0.60 sound :\
As known, the cutsceens are extremly slow, I am getting like 2 fps on them, but i wonder, can this realy be improved?
How do we know what slowness depends on pocketscumm, and what simply depends on the limitations of pur pda:s?

Should a XScale @ 400 MHz be able to play you those *.san cutscenes and scale them to appropriate resolution, at 24 fps or more?

It would be realy stupid of us to complain about the speed, if our hardware is the bottle neck.

I will try the new test build later today.
Btw, I guess that you guys are aware that 0.6 doesn't have any sound problems at all, when run under ppc2002?

Just wanted to make sure. :)
are the cutscreen still slow with this latest build 8O ? for which game ?

As known, the cutsceens are extremly slow, I am getting like 2 fps on them, but i wonder, can this realy be improved?


yes it can be improved, mainly because the current slowness is caused by a bug. I'm playing COMI cutscenes almost nicely on my 3630.

otherwise I know that everything is fine on PocketPC 2002, I think Microsoft changed something about thread priority management in PocketPC 2003 ...

and the hickups are not that noticeable on my A620, but I'll see if this can be improved ...
Arisme wrote:are the cutscreen still slow with this latest build 8O ? for which game ?


I havent tryed the latest build yet, but the cutscenes in COMI are _very_ slow in the 0.6 text build prior to the newest, 03/29/2004-1.

I will try the lastest build as soon as I get home. I have saved the game just before the first cutscene, so I can easily try it with tha latest version.
sure, the latest build should fix this, as said in the Changelog :D
Arisme wrote:sure, the latest build should fix this, as said in the Changelog :D


Wait, so my Loox is concidered to be a "slow device"? I'm offended! :P
my A620 is slow too :P
pauli · 30 Mar 2004, 11:39 UTC — fotaq crash
many thanks for the fix, fotaq is working great now
I am sorry, Arisme, but there is no speed improvement what-so-ever in the latest build. The cutscenes play at about 2-3 fps. The sound is perfect though, but the picture can't keep up.
Also, the sceen where you use the canon, right from the beginning, is almost to slow to be playabe. :(

But like Marconelly said, screen shaking is gone, and it doesn't longer prompt for key assignment more than once. (Although zoom-functions do not work).

I was thinking of upgrading to wm2003 again tonight, and I will se if there is any difference there.

Hope I can help somehow.
//Daniel
I'll recheck with my 3630 in case something went wrong with the build, but I'm pretty sure it's fine.

Are COMI videos still slow with this build for other people ?
btw you're right, the video is not smooth at all on my 3630. But it's in synch :D is yours in synch too ?
Yep, pretty much. I would say that the picture is about half second behind the sound, but the difference is constant.

But when you say "not smooth", I get the freeling that you are talking about 15 fps, while my literaly updates like 1-2 per second.

Btw, how does the canon shooting scene run for you?
the canon shooting scene is smooth on my A620, slow on my 3630 ...

but it's very difficult to play because it's auto clicking, I'll see what I can do to fix this, I never tried it on my PocketPC before :D
Are COMI videos still slow with this build for other people?

No, the game runs fine - both videos and gameplay. A bit slower than 0.51, but fine.

I forgot to mention - skip buttons still doesn't seem to work - but I guess it wasn't supposed to be fixed yet, as it wasn't in the changelog?

I have started playing COMI 'for real' now in 0.51. I hope Arisme will have some spare time to look into the screen scaling on it, as I'd like to keep both 0.51 and 0.60 on my PPC. They both have their advantages.
What do you mean exactly about the skip button ? The skip icon, or a skip button mapping ? When is it not working as it's supposed to ?
No, the game runs fine - both videos and gameplay.
That is what I was worried about. :(

Do you have ppc2002 och wm2003? I will try to upgrade to wm2003 now, and see if the slowness is ppc2002-related.

About the skip-button, I have the same problem. The button skips nothing for me, not cutscenes nor dialog.


Edit: Odd, after I associated skip to a button, both the icon and the button work fine. Before that, the icon wouldn't work.
Ok, I now tryed the newest build with wm2003, and the speed improved like 10 times.

The canon scene is now much smoother, though still a little slow. Cutsceens are also faster, but still too slow to look nice. But now, they are fully synced with the sound. :)
nice :D
Also, I dont have sound hicups whatsoever. Clear, smooth voices, is what I am hearing. Yay! :D

Now, if only the cutscenes were faster, it would have been perfection! ;)
What do you mean exactly about the skip button ? The skip icon, or a skip button mapping ? When is it not working as it's supposed to ?

I think I have figured out what exactly is wrong! 0.60 build doesn't allow for mapping buttons on the keypad up/down/left/right! When I map skip function to one of the buttons like calendar/contacts/email/action button, it works perfecty. However, whenever I assign it to a keypad - it simply doesn't work.

Same thing with Zoom Up/Down functions - as soon as I mapped them to anything but keypad - they worked!
uh OK - I'll recheck
Btw, what is "Free look"? It seems not to work for me.

What is it supposed to do? I guess is has something with zooming to do, but I don't such effect.
no no, Free Look means that you can tap the screen, and it'll just move the cursor (without simulating a mouse click), which is quite useful to browse a room or aim the cannon in COMI :wink:

unfortunately due to a nice bug (I forgot to map it :oops:) Free Look does not work with this build
Arisme wrote:no no, Free Look means that you can tap the screen, and it'll just move the cursor (without simulating a mouse click), which is quite useful to browse a room or aim the cannon in COMI :wink:


Great! I was missing that. In older games, you could just tap and hold, and move around on the sceen, and the character woudn't go there untill released, but not in COMI, so this feature would be great!

Hope to see the new build soon. :)
Freelook would be useful for fotaq too as navigating the pinnacle screen is quite hard and quite often seems to register a click away from where the screen is actually tapped.
don't expect it too soon, I won't have much time to spend on ScummVM before the beginning of May :wink:
I think you deserve a break!

In case anyone is interested, I solved the pinnacle problem - if you use the stylus to get to the pinnacle from another map location, but hold the stylus ont the screen during the screen change, you can then view the pinnacle screen correctly until you take the stylus off the screen again
nice :wink: and Freelook won't be broken in 0.6.1 (maintenance release due in a few weeks I think)
jk · 14 Apr 2004, 13:57 UTC — A couple of bugs...
Hi!
I dunno where to report bugs, so put it here.
First of all, thanks for Pocket ScummVM (it's no a bug, it's just a great thing :)).

I've submitted two bug reports at SourceForge, both about PocketPC ports of ScummVM (not reproduced on Win32 port, but reproduced 100% on several PPCs: iPAQ1940, iPAQ2210, Cassiopea E125).

1. maniac (one from DOTT) constantly falls into Scumm debug console after I tap "Start" button in the launcher.
2. Simon 1 crashes (silently on Windows Mobile 2003 and with Window's message box: "Illegal operation..." on Windows CE) after entering into rightmost room of dwarfs mine (room with beer barrels). Just enter the room and wait a couple of seconds.

And several questions/wishes:
3. Is it possible to change dialogs speed in the Simon the Sorcerer? I'm not a native English speaker and often can read them to end. :(
4. Is it possible to add mapping of "F10" feature (Simon) to some button?
5. Is it possible to make savegames for Win32 and PocketPC ports compatible? Win32 port understands both formats, while Pocket ScummVM can't load Simon1 saves made by Win32 port.

Thanks.
jk · 14 Apr 2004, 14:26 UTC — whoops...
Pardon, just noticed the topic about gzipped savegames... :oops:
Thanks, I'm monitoring these bugs on Sourceforge (no time to check them before this week-end though)

About the wishes

3) Don't know yet :)

4) Yes (what does it do :D ?)
just to be sure, could you retest with the latest unstable build ?
Arisme wrote:just to be sure, could you retest with the latest unstable build ?

The latest unstable build (http://arisme.free.fr/PocketScumm/downl ... 02-ARM.php) is 03.30.2004. I used to test it, same issues. Is there more rescent build to test? (sorry I still don't have any PocketPC programmer's environment to compile it myself :?)
[/url]
Arisme wrote:Thanks, I'm monitoring these bugs on Sourceforge (no time to check them before this week-end though)

No problems, thanks for respond. :)

Arisme wrote:About the wishes

3) Don't know yet :)
4) Yes (what does it do :D ?)


F10 "highlights" all objects on the screen (yeah, I'm a dirty cheater, but this cheat is documented! :D). In Simon's graphics style it's often not obvious what is the "object" and what is a part of a screen. Especially on a PocketPC screen (object can be of 2-3 pixels sometimes...).
For 3) it's sufficent to map F1-F2-F3 (fast-normal-slow dialog speed in Simon's).
PS: It would be just greate to include into scummvm.ini a section to map any keyboard event to a hardware button... In several topics around here people ask for some sort of this actually...
PPS: thanks again!
Two Guests above both are incarnations of myself. :)

jk
Pauli · 19 Apr 2004, 23:51 UTC — fotaq on latest unstable build
Just to let you all know, flight of the amazon queen (the free talkie version) is completable on the latest unstable build. The only problems I had were the lack of freelook at the pinnacle, the title music losing sync and the sideways scrolling being slow. Otherwise it seemed pretty much perfect :)
Any news, Arisme? :)
I have a pending release since a few weeks, I'm discussing with the Digital Imuse maintainer to try to fix the problems for good, and I'm planning to try Mamaich gcc-CE patch to create real daily builds ...
How is the iMuse thing coming along?

And is there perhaps another forum with more activity around pocketscumm than this one?
How is the iMuse thing coming along?


a tiny bit better since yesterday's updates. Not yet suitable for a release build though.

And is there perhaps another forum with more activity around pocketscumm than this one?


I hope not :D
s.c.s.i. wrote:How is the iMuse thing coming along?

And is there perhaps another forum with more activity around pocketscumm than this one?


Now there's a rather wierd question!
Anonymous wrote:Now there's a rather wierd question!

How so?