ScummVM PS2 Port Compilation
Moderator: ScummVM Team
ScummVM PS2 Port Compilation
Im currently looking for instruction on how to compile this port(library needed, platform param, etc.).... the configure script don't include this platform.
did someone know where i can find this info?
Running on Fedora core 4 with toolchain...
thanks in advance
Stonedge
did someone know where i can find this info?
Running on Fedora core 4 with toolchain...
thanks in advance
Stonedge
- eriktorbjorn
- ScummVM Developer
- Posts: 3561
- Joined: Mon Oct 31, 2005 7:39 am
I just prefer to start with a completely working setup.eriktorbjorn wrote: It's quite possible that you don't need that. The only games that use it are Broken Sword 1 and 2, and only if you use the older, low-quality MPEG cutscenes. The newer DXA cutscenes don't need it.
Speaking of DXA, is there some kind of selector DXA/MPEG2, or just disabling MPEG2 will do?
- eriktorbjorn
- ScummVM Developer
- Posts: 3561
- Joined: Mon Oct 31, 2005 7:39 am
The logic in Broken Sword 2 goes like this:vetoed615 wrote: Speaking of DXA, is there some kind of selector DXA/MPEG2, or just disabling MPEG2 will do?
1) If ScummVM is compiled with zlib support, and it can find the DXA file for the cutscene, it will play that.
2) Otherwise, if ScummVM is compiled with MPEG2 support, and it can find the MPEG file for the cutscene, it will play that.
3) Otherwise, it will try to play just the voice-over and, optionally, subtitles of the cutscene.
- eriktorbjorn
- ScummVM Developer
- Posts: 3561
- Joined: Mon Oct 31, 2005 7:39 am
Well, previous posts where about the 0.11.1 source. Now I tried to compile the trunk and I'm getting:
Is it compilable at all? Where these should be set to real classes and how?
Update:
That seems to be a modularization issue.
So, all I have to do is to supply the real functions for these prototypes, or there is something else beside that?
Code: Select all
systemps2.cpp: In function `int main(int, char**)':
systemps2.cpp(110) : cannot allocate an object of type `OSystem_PS2'
systemps2.cpp(110) : because the following virtual functions are abstract:
../../../common/system.h(905) : virtual FilesystemFactory* OSystem::getFilesystemFactory()
systemps2.cpp: In member function `void OSystem_PS2::init()':
systemps2.cpp(312) : cannot allocate an object of type `Audio::Mixer'
systemps2.cpp(312) : because the following virtual functions are abstract:
../../../sound/mixer.h(299) : virtual uint Audio::Mixer::getOutputRate() const
...
Update:
That seems to be a modularization issue.
So, all I have to do is to supply the real functions for these prototypes, or there is something else beside that?
The PS2 port is currently a bit outdated, and some changes that have been made to the latest bleeding edge SVN version haven't been implemented yet.vetoed615 wrote:Well, previous posts where about the 0.11.1 source. Now I tried to compile the trunk and I'm getting:Is it compilable at all? Where these should be set to real classes and how?Code: Select all
systemps2.cpp: In function `int main(int, char**)': systemps2.cpp(110) : cannot allocate an object of type `OSystem_PS2' systemps2.cpp(110) : because the following virtual functions are abstract: ../../../common/system.h(905) : virtual FilesystemFactory* OSystem::getFilesystemFactory() systemps2.cpp: In member function `void OSystem_PS2::init()': systemps2.cpp(312) : cannot allocate an object of type `Audio::Mixer' systemps2.cpp(312) : because the following virtual functions are abstract: ../../../sound/mixer.h(299) : virtual uint Audio::Mixer::getOutputRate() const ...
Update:
That seems to be a modularization issue.
So, all I have to do is to supply the real functions for these prototypes, or there is something else beside that?
You are getting those errors because of patch #1956946 - "Audio::Mixer internal API revision", revision 32828. The PS2 porter hasn't made the necessary changes to the PS2 port yet (instructions to make them were given by fingolfin before he committed his patch).
You can have a look at how the PSP porter (joostp) did the changes in revision 32967, to get a rough idea on what needs to be changed...