Author Topic: Favoured Version Of Scummvm On Cacko Feed  (Read 8327 times)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« on: February 13, 2005, 10:48:56 am »
Hi, finally got round to moving to 1.22a (Lite) and got everything up and running as I wanted, however, I have been playing with ScummVM 0.7 on my desktop machine and the scummvm-tools package and realise that almost all .WAV based games including simon1 and simon2 can now be packed to mp3, flac or ogg depending upon your preference.

Packing the audio (mp3) on simon1 drops about 100Mb from the directory size, simon1 ends up about 65Mb with voice and music whereas simon2 ends up around 75Mb.

I'm not sure if the .mp3 audio is available for all of these games in earlier version, I know you could pack the monster.sou files into .mp3 on Sam & Max and DOTT which reduced their size quite a bit so I was wondering what the 'preferred' port was that made it to the Cacko feed.

I will use that as a starting point and see if we can diff it out and adapt it to make a patch against 0.7. I was going to do this against the PDAXROM version but I'm finding that I need more PDA type features so I have now gone Cacko/PocketWorkstation... sorry PDAXROM guys, may help out more if I buy a 3000 (or the next version) for my Qtopia stuff... until then I think I need to stay with this config.

So does anyone know whose ScummVM is on the Cacko feed ?

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Favoured Version Of Scummvm On Cacko Feed
« Reply #1 on: February 13, 2005, 12:47:36 pm »
zports scummvm is on the feed.  I have an 0.7 binary from tovarish that I was planning on putting on the feed some point, but I have not packaged/tested it yet.  The 0.6 version supports compressed audio as well.
« Last Edit: February 13, 2005, 12:48:41 pm by stupkid »

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« Reply #2 on: February 13, 2005, 12:56:26 pm »
Quote
zports scummvm is on the feed.  I have an 0.7 binary from tovarish that I was planning on putting on the feed some point, but I have not packaged/tested it yet.  The 0.6 version supports compressed audio as well.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66867\"][{POST_SNAPBACK}][/a][/div]

I think the compressed audio is only supported for some games on 0.6 although I may be wrong. Certainly when I run simon1 or simon2 on my desktop machine that has scummvm 0.7 with mp3, flac, ogg and vorbis linked in it produces speech. Try the same thing on my Z and I don't get speech, I just get the music.

OK, if the 0.7 binary has all the key mapping support (menu etc.) then it's probably worth waiting to see if it supports everything that I want. Do you know what extras are linked in ? it would be nice if mp3, flac, ogg, vorbis and mpeg2 particularly are linked in (would like the videos on sword2).

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« Reply #3 on: February 14, 2005, 06:23:37 am »
the 0.7 version that i compiled and stupkid mentioned works fine with simon1 and simon2. I has flac, ogg, mp3 linked with it.
tovarish

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« Reply #4 on: February 14, 2005, 07:56:06 am »
Quote
the 0.7 version that i compiled and stupkid mentioned works fine with simon1 and simon2. I has flac, ogg, mp3 linked with it.
tovarish
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66948\"][{POST_SNAPBACK}][/a][/div]

Awesome, how about mpeg2, you need that for the re-encoded videos for Broken Sword 1 and 2 ?
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« Reply #5 on: February 14, 2005, 07:56:06 pm »
a slight mistake, mpeg2 support is present but not flac. I had some problems with compiling flac support

tovarish

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« Reply #6 on: February 15, 2005, 09:46:39 am »
This sounds excellent news. Since the flac support is largely down to user preference (encode WAV to mp3, ogg or flac) then I don't see that as a major showstopper. Most people will want the best compression and mp3 seems to be providing that at the moment via libmad.

So... any chance of a copy or are there still a few gremlins?
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Favoured Version Of Scummvm On Cacko Feed
« Reply #7 on: February 15, 2005, 10:06:58 am »
I can package it up tonight and I'll PM you with a download location.  If it is OK it'll get pushed to the feed.

Quote
This sounds excellent news. Since the flac support is largely down to user preference (encode WAV to mp3, ogg or flac) then I don't see that as a major showstopper. Most people will want the best compression and mp3 seems to be providing that at the moment via libmad.

So... any chance of a copy or are there still a few gremlins?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=67128\"][{POST_SNAPBACK}][/a][/div]

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« Reply #8 on: February 15, 2005, 11:37:59 am »
Quote
I can package it up tonight and I'll PM you with a download location.  If it is OK it'll get pushed to the feed.

 Cool. I'll do some testing as soon as I get hold of it.
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

DaveAnderson

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« Reply #9 on: February 15, 2005, 12:42:20 pm »
Quote
I can package it up tonight and I'll PM you with a download location.  If it is OK it'll get pushed to the feed.

Quote
This sounds excellent news. Since the flac support is largely down to user preference (encode WAV to mp3, ogg or flac) then I don't see that as a major showstopper. Most people will want the best compression and mp3 seems to be providing that at the moment via libmad.

So... any chance of a copy or are there still a few gremlins?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=67128\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=67130\"][{POST_SNAPBACK}][/a][/div]

I'd like to test too if that is okay.

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Favoured Version Of Scummvm On Cacko Feed
« Reply #10 on: February 15, 2005, 10:31:24 pm »
Anyone that wants to look at test packages can checkout the Cacko testfeed at:

http://bryandeluca.com/cacko/testfeed

No guarantees of anything working of course  , but the scummvm package is up there.

Enjoy!

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« Reply #11 on: February 16, 2005, 04:47:31 am »
OK, the results with simon1 and sword2.

simon1

Falls foul of a focus issue with the event order that ScummVM uses and won't actually let you select an action followed by an item (i.e. USE then POSTCARD [lets you quit]). I think this is related to a patch that I heard about on the PDAXROM feed where you need to action an even on stylus up rather than down (mouseup/mousedown) what seems to happen is that many systems track movement internally and independently of the co-ordinates that the mouse or touch screen passes, therefore you can get the event list (in terms of mouse) MouseDown, MouseMove, MouseUp. An application tracking the events in this way sees the MouseDown over the starting co-ordinate (where the cursor originally rests) and therefore it doesn't track the new location (where you have clicked). Behaviour suggests that is what is happening because if you click a new location then you have to click a second time to get an action highlighted. This worked with the ZPorts scummvm so I suspect that the patch is applied to that source tree.

(note I also had first hand experience of this with ClanLib 0.65 on PDAXROM when I ported Pingus. ClanLib tracks the mouse movement independently of clicks and has the same issue. It wasn't worth fixing 0.65 just to get Pingus running - maybe if there had been more levels beyond Tutorial Island then I would have been more motivated )

MP3 voice does work well and makes the game really desirable.

sword2

Tracking seems to work better on this, maybe the co-ordinate tracking is implemented in the different game engines or actually in the pseudocode of the games. In any case the previous mentioned fix is a known requirement.

The Z unfortunately doesn't seem to be up to mpeg2 and audio at the same time.... or in fact mpeg2 at all. I suspect that we would need a softfloat binary to get this to work effectively.... maybe a 3Mb ScummVM binary isn't out of the question, it's a very functional system after all.

My tests unfortunately had to be taken from a 600Mb squashfs file system on a Microdrive because I didn't have enough uncompressed space on anything where I could accomodate the close to 1Gb of data. This will have an impact although I suspect mpeg2 in the current binary is probably stretching things too far.

I would suggest the mouse movement stuff does need to be sorted out but aside from that it looks good.

- Andy
« Last Edit: February 16, 2005, 04:51:51 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« Reply #12 on: February 16, 2005, 05:33:28 am »
i did want feedback on this. thanks a lot, i will take a look and change tge event to mouse up. it does make more sense.

yes mpeg2 support is slow and a softfloat version would be nice, i wish someone could be convinced to do this as i dont have the resources needed for a softfloat toolchain (lots of hdd space)

tovarish

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« Reply #13 on: February 22, 2005, 05:36:02 pm »
Do you have a status update for us yet Tovarish?

Need any help with the focus stuff (MouseDown vs MouseUp) ?

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Favoured Version Of Scummvm On Cacko Feed
« Reply #14 on: February 22, 2005, 06:25:44 pm »
Quote
Do you have a status update for us yet Tovarish?

Need any help with the focus stuff (MouseDown vs MouseUp) ?

- Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=68222\"][{POST_SNAPBACK}][/a][/div]

i am sorry this is a very busy time for me since i have to graduate on the 13th of April. I simply havent had the time to look into it. I can't promise much but in a week or two I plan to finish my thesis and might have a breather then to look into scummvm.

The code is actually somewhere around this forum so wont take long once I have the time for it. If you could get it and mail it to me it would be helpful.

tovarish