Author Topic: Scummvm 0.9.0 And Libsdl  (Read 10522 times)

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Scummvm 0.9.0 And Libsdl
« on: December 09, 2006, 07:39:11 pm »
I have compiled scummVM 0.9.0 but can't make libSDL work correctly... Can someone please give a try with its current libSDL, thks (feed is at http://sharpromfeed.home.linuxtogo.org/feed/).

Here are my problems building libSDL for qpe (tried 1.2.7 and 1.2.9):
- if built without any patching I get the error: "QPaintDevice: Must construct a QApplication before a QPaintDevice" when lauching scummVM. I tried different versions so I conclude this is a libSDL error

- if built with some patches (tried tons of patches from OE and patches from here: http://www.gnurou.org/code/sharpzaurus), I get garbled screen but the sound indicates that scummVM is working...

I have a C760, maybe this would work on another machine?

Any idea?

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Scummvm 0.9.0 And Libsdl
« Reply #1 on: December 09, 2006, 08:28:18 pm »
ok it's 2:25AM libSDL 1.2.9 and scummvm 0.9.0 are working... I tried so many things that I have yet to figure what made everything working!!

Ok I know I had to make some patches to scummvm to compile with gcc-2.95 so that's ok, but I have to figure what I did with libSDL to make everything ok
EDIT: doh! seems I made a mistake... I had libSDL_1.2.6-zports_c7x0-2_arm.ipk installed at the same time. So that may be why it works now  

Anyway I have uploaded the files on sharpromfeed. Use scummvm and not scummvm-qpe
« Last Edit: December 09, 2006, 08:36:22 pm by enodr »

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Scummvm 0.9.0 And Libsdl
« Reply #2 on: December 10, 2006, 02:42:07 am »
With regards to that QPaintDevice error, here's the solution:

https://www.oesf.org/forums/index.php?showtopic=12012&hl=

I haven't done any SDL coding in a long time (nor running a sharprom), so I do not know if this is still required for the later SDL packages.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Scummvm 0.9.0 And Libsdl
« Reply #3 on: December 10, 2006, 07:13:21 am »
Quote
With regards to that QPaintDevice error, here's the solution:

https://www.oesf.org/forums/index.php?showtopic=12012&hl=

I haven't done any SDL coding in a long time (nor running a sharprom), so I do not know if this is still required for the later SDL packages.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148688\"][{POST_SNAPBACK}][/a][/div]

Thanks for the hint.

I have made some cleaning and recompiled everything and the problem I have is with libSDL (currently 1.2.9 but think it's the same with 1.2.7). When I launch scummvm I get a garbled screen. I know it works but all I get is garbage on the left of the screen (remembers me when I was messing with direct fb memory access on the GP32!)...

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Scummvm 0.9.0 And Libsdl
« Reply #4 on: December 10, 2006, 08:37:10 am »
AFAIK you have to make sure the sdl setmode call is hardcoded to 640x480 or 320x240; the libs don't do it for you, and most SDL apps would set it to something invalid for the Z.
« Last Edit: December 10, 2006, 08:37:32 am by pelrun »
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
Scummvm 0.9.0 And Libsdl
« Reply #5 on: December 10, 2006, 09:53:49 am »
Thanks for compiling this.  I gave it a try last night but, it wouldn't install for me.  I kept getting a "There was a problem installing this IPKG".   So I went to the console and ran ipkg install scummvm.  It gave a 404 error on the following library: libxex11-6_X11R7.1-1.0.2 which is right because that library isn't in your feed.  The closest match was libx11-6_11R7.1-1.0.1.  Is that the library it is really looking for?   BTW, I tried installing this on a C3200 running Cacko 1.23.
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Scummvm 0.9.0 And Libsdl
« Reply #6 on: December 10, 2006, 12:11:10 pm »
Quote
It gave a 404 error on the following library: libxex11-6_X11R7.1-1.0.2 which is right because that library isn't in your feed. 

Edit:

- libSDL-1.2.7 and scummvm 0.9.0 are working. Don't forget to enable "Aspect ratio correction" in order to have a correct display. I still need to figure how to right click, but every thing seems to work (is it?).

- just ipkg update && ipkg install scummvm-sharprom, this will install the dependencies as needed.

I'll try to compile a newer libSDL version when libsdl.org is accessible (ie not at the moment).
« Last Edit: December 10, 2006, 01:55:36 pm by enodr »

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
Scummvm 0.9.0 And Libsdl
« Reply #7 on: December 10, 2006, 02:33:04 pm »
Thanks.  I'll give it a try when I get back from the Manitoba Zaurus User's Meeting.
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Scummvm 0.9.0 And Libsdl
« Reply #8 on: December 10, 2006, 02:50:29 pm »
Quote
Thanks.  I'll give it a try when I get back from the Manitoba Zaurus User's Meeting.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148732\"][{POST_SNAPBACK}][/a][/div]

Removed scummvm-sharprom and replaced by scummvm, so just ipkg update && ipkg install scummvm

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Scummvm 0.9.0 And Libsdl
« Reply #9 on: December 11, 2006, 07:31:19 am »
i tried your scummvm. it works fine but the only problem is the scummvm menu is inaccessible. Maybe remapping the F5(menu key) to something else in the zaurus (like menu key?) could be a solution.

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
Scummvm 0.9.0 And Libsdl
« Reply #10 on: December 11, 2006, 07:53:47 am »
The menu is accessible in some games by pressing Ctrl-E.  It sould be all the games like is in OZ but, unfortunately it is not working in all the games I have tried so far.  For example, it works in Zak McKracken and the Alienmindbenders FM Towns, Maniac Mansion and Indiana Jones and the Last Crusade FM Towns but it does not work in Full Throttle, The Dig and Curse of Monkey Island.  Those games can only quit by pressing Ctrl-Q.  I will compile a definitive list of which games have this issue once I have done a quick run through all of them.

Enodr, I might suggest remapping the ScummVM menu to the Menu key on the Zaurus since it is the most likely key a new user will try when they try to access the ScummVM menu.  Another choice would be Fn-5 since the ScummVM standard is that F5 will pull it up on a PC or a Mac.

(Edited for spelling and comprehension)
« Last Edit: December 11, 2006, 11:54:30 am by HoloVector »
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Scummvm 0.9.0 And Libsdl
« Reply #11 on: December 11, 2006, 03:13:27 pm »
tovarish, HoloVector, thanks for the feedbacks. The menu fix should be easy to implement I'll have a look soon (but unfortunately I wont be able to do zaurus stuff before the end of the week).

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
Scummvm 0.9.0 And Libsdl
« Reply #12 on: December 12, 2006, 06:37:13 am »
Quote
The menu is accessible in some games by pressing Ctrl-E.  It sould be all the games like is in OZ but, unfortunately it is not working in all the games I have tried so far.  For example, it works in Zak McKracken and the Alienmindbenders FM Towns, Maniac Mansion and Indiana Jones and the Last Crusade FM Towns but it does not work in Full Throttle, The Dig and Curse of Monkey Island.  Those games can only quit by pressing Ctrl-Q.  I will compile a definitive list of which games have this issue once I have done a quick run through all of them.

Enodr, I might suggest remapping the ScummVM menu to the Menu key on the Zaurus since it is the most likely key a new user will try when they try to access the ScummVM menu.  Another choice would be Fn-5 since the ScummVM standard is that F5 will pull it up on a PC or a Mac.

(Edited for spelling and comprehension)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148817\"][{POST_SNAPBACK}][/a][/div]
Okay here is what I have found so far.

The following games can pull up the ScummVM menu by pressing Ctrl-E:
Maniac Mansion v2 for DOS
Zak McKracken and the Alien Mindbenders for FM Towns
Indiana Jones and the Last Crusade for FM Towns
Loom for FM Towns

The following games can not pull up the ScummVM menu by pressing Ctrl-E:
Loom CD for DOS
The Secret of Monkey Island Multilingual CD for DOS
Indiana Jones and the Fate of Atlantis CD for DOS
Monkey Island 2 LeChuck's Revenge for DOS
Day of the Tentacle CD for DOS
Sam & Max Hit the Road CD for DOS
Full Throttle for DOS
The Dig for DOS
The Curse of Monkey Island for Windows
Beneath a Steel Sky CD for DOS
Flight of the Amazon Queen CD for DOS

The following game pulls up the ScummVM menu by pressing Cancel:
Broken Sword 1: Shadows of the Templars for Windows (The Esc key was the original key to bring up the menu when the game was first released and the ScummVM team added F5 when they ported over the engine source to ScummVM)

Games to be tested for this issue:
Maniac Mansion v1 for DOS
Zak McKracken v1 for DOS
Zak McKracken v2 for DOS
Indiana Jones and the Last Crusade EGA for DOS
Indiana Jones and the Last Crusade VGA for DOS
Loom EGA for DOS
The Secret of Monkey Island EGA for DOS
The Secret of Monkey Island VGA for DOS
The Secret of Monkey Island Monkey Madness CD for DOS
Day of the Tentacle for DOS
Sam & Max for DOS
Beneath a Steel Sky for DOS
Flight of the Amazon Queen for DOS
Broken Sword 2 The Smoking Mirror for Windows
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
Scummvm 0.9.0 And Libsdl
« Reply #13 on: December 12, 2006, 07:01:16 am »
Game Issues seen so far:

Broken Sword 1 Notes:

As mentioned above the ScummVM menu is available by pressing the Cancel key.

Zaurus does not have enough horsepower to play the cutscene OGGs and MP2s at the same time from the cutscene pack from the ScummVM website.  Reencoding the cutscenes to MP3s and lower res MP2s using this ***WARNING - Windows involved*** PocketPC How-To fixes the sound skips but the video is still dropping tons of frames and is not in sync with the sound.  I will try a lower res video of 320x240 to see if that helps some more.


Loom CD Notes:

After the Swan changes the guild into swans and leaves Bobbin alone with the Hetchel egg; the Loom in the background stops it's cascading colors until Bobbin "opens" the egg.  Then the properly colour cascades resume.

Maniac Mansion v2 Notes:

The PC Speaker and PCJr sound options are missing a few notes when playing the intro music.  

Curse of Monkey Island Notes:

Cutscene Audio is faster then the Video so, it looks like a poorly dubbed Japanese film.    Video is a bit more choppier then is was in Tovarish's ScummVM 0.8.2.  I will try overclocking to see if it helps.

More to come.  Thanks for your great port.
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
Scummvm 0.9.0 And Libsdl
« Reply #14 on: December 28, 2006, 11:42:11 pm »
I've added some more of these to the list in red.  Here's hoping you can fix this issue shortly.  Thanks for your hard work.

Quote
Okay here is what I have found so far.

The following games can pull up the ScummVM menu by pressing Ctrl-E:
Maniac Mansion v2 for DOS
Zak McKracken and the Alien Mindbenders for FM Towns
Indiana Jones and the Last Crusade for FM Towns
Loom for FM Towns
Zak McKracken v1 for DOS
Zak McKracken v2 for DOS
Maniac Mansion v1 for DOS

The following games can not pull up the ScummVM menu by pressing Ctrl-E:
Loom CD for DOS
The Secret of Monkey Island Multilingual CD for DOS
Indiana Jones and the Fate of Atlantis CD for DOS
Monkey Island 2 LeChuck's Revenge for DOS
Day of the Tentacle CD for DOS
Sam & Max Hit the Road CD for DOS
Full Throttle for DOS
The Dig for DOS
The Curse of Monkey Island for Windows
Beneath a Steel Sky CD for DOS
Flight of the Amazon Queen CD for DOS
Beneath a Steel Sky for DOS
Broken Sword 2 The Smoking Mirror for Windows
Flight of the Amazon Queen for DOS
Sam & Max for DOS
The Secret of Monkey Island EGA for DOS
The Secret of Monkey Island VGA for DOS
Indiana Jones and the Last Crusade EGA for DOS
Indiana Jones and the Last Crusade VGA for DOS

The following game pulls up the ScummVM menu by pressing Cancel:
Broken Sword 1: Shadows of the Templars for Windows (The Esc key was the original key to bring up the menu when the game was first released and the ScummVM team added F5 when they ported over the engine source to ScummVM)

Games to be tested for this issue:
Loom EGA for DOS
The Secret of Monkey Island Monkey Madness CD for DOS
Day of the Tentacle for DOS
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148911\"][{POST_SNAPBACK}][/a][/div]
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.