OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Scummvm 0.9.0 And Libsdl
enodr
post Dec 9 2006, 04:39 PM
Post #1





Group: Members
Posts: 133
Joined: 5-April 06
Member No.: 9,537



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?
Go to the top of the page
 
+Quote Post
2 Pages V   1 2 >  
Start new topic
Replies (1 - 14)
enodr
post Dec 9 2006, 05:28 PM
Post #2





Group: Members
Posts: 133
Joined: 5-April 06
Member No.: 9,537



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 unsure.gif

Anyway I have uploaded the files on sharpromfeed. Use scummvm and not scummvm-qpe
Go to the top of the page
 
+Quote Post
pelrun
post Dec 9 2006, 11:42 PM
Post #3





Group: Members
Posts: 369
Joined: 6-September 04
From: Brisbane, Australia
Member No.: 4,488



With regards to that QPaintDevice error, here's the solution:

http://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.
Go to the top of the page
 
+Quote Post
enodr
post Dec 10 2006, 04:13 AM
Post #4





Group: Members
Posts: 133
Joined: 5-April 06
Member No.: 9,537



QUOTE(pelrun @ Dec 9 2006, 11:42 PM)
With regards to that QPaintDevice error, here's the solution:

http://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.
*


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!)...
Go to the top of the page
 
+Quote Post
pelrun
post Dec 10 2006, 05:37 AM
Post #5





Group: Members
Posts: 369
Joined: 6-September 04
From: Brisbane, Australia
Member No.: 4,488



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.
Go to the top of the page
 
+Quote Post
HoloVector
post Dec 10 2006, 06:53 AM
Post #6





Group: Members
Posts: 474
Joined: 22-March 06
From: Winnipeg, Canada
Member No.: 9,420



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.
Go to the top of the page
 
+Quote Post
enodr
post Dec 10 2006, 09:11 AM
Post #7





Group: Members
Posts: 133
Joined: 5-April 06
Member No.: 9,537



QUOTE(HoloVector @ Dec 10 2006, 06:53 AM)
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).
Go to the top of the page
 
+Quote Post
HoloVector
post Dec 10 2006, 11:33 AM
Post #8





Group: Members
Posts: 474
Joined: 22-March 06
From: Winnipeg, Canada
Member No.: 9,420



Thanks. I'll give it a try when I get back from the Manitoba Zaurus User's Meeting.
Go to the top of the page
 
+Quote Post
enodr
post Dec 10 2006, 11:50 AM
Post #9





Group: Members
Posts: 133
Joined: 5-April 06
Member No.: 9,537



QUOTE(HoloVector @ Dec 10 2006, 11:33 AM)
Thanks.  I'll give it a try when I get back from the Manitoba Zaurus User's Meeting.
*


Removed scummvm-sharprom and replaced by scummvm, so just ipkg update && ipkg install scummvm
Go to the top of the page
 
+Quote Post
tovarish
post Dec 11 2006, 04:31 AM
Post #10





Group: Members
Posts: 299
Joined: 27-October 04
Member No.: 5,233



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.
Go to the top of the page
 
+Quote Post
HoloVector
post Dec 11 2006, 04:53 AM
Post #11





Group: Members
Posts: 474
Joined: 22-March 06
From: Winnipeg, Canada
Member No.: 9,420



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)
Go to the top of the page
 
+Quote Post
enodr
post Dec 11 2006, 12:13 PM
Post #12





Group: Members
Posts: 133
Joined: 5-April 06
Member No.: 9,537



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).
Go to the top of the page
 
+Quote Post
HoloVector
post Dec 12 2006, 03:37 AM
Post #13





Group: Members
Posts: 474
Joined: 22-March 06
From: Winnipeg, Canada
Member No.: 9,420



QUOTE(HoloVector @ Dec 11 2006, 06:53 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)
*

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
Go to the top of the page
 
+Quote Post
HoloVector
post Dec 12 2006, 04:01 AM
Post #14





Group: Members
Posts: 474
Joined: 22-March 06
From: Winnipeg, Canada
Member No.: 9,420



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. biggrin.gif 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.
Go to the top of the page
 
+Quote Post
HoloVector
post Dec 28 2006, 08:42 PM
Post #15





Group: Members
Posts: 474
Joined: 22-March 06
From: Winnipeg, Canada
Member No.: 9,420



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(HoloVector @ Dec 12 2006, 05:37 AM)
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
*
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th December 2014 - 04:58 PM