Problem with 1.7.0

Subforum for discussion and help with ScummVM's PlayStation 2 port

Moderator: ScummVM Team

richi902
Posts: 12
Joined: Mon May 18, 2009 6:46 pm

Problem with 1.7.0

Post by richi902 »

it seems that the latest (1.7.0) build for the ps2 dose not work at all. All i get is a Black-Screen after launching from USB or Internal-HDD on booth of my PS2 Systems(SCPH-10000 and SCPH-35001). Any plan on fixing this? i can remember 1.4 working somewhat fine, apart from the savegame bug.
Den1982
Posts: 12
Joined: Wed Nov 18, 2015 6:07 pm

Post by Den1982 »

For me last working version is 1.3.1. Late versions with files: SCUMMVM.ELF and SCUMMVM-S.ELF give black screen on loading ScummVM. 1.3.1 - the latest version with files SCUMMVM.ELF and SCUMMVM-N.ELF.
Is the problem only with richi902 and me?
digitall
ScummVM Developer
Posts: 1180
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

The PS2 porter is very busy IRL, hence why the gap between v1.4.1 and v1.7.0 in official releases.

Firstly, check with the daily builds from here to see if this issue will occur with a development build, compared to the official release builds:
http://buildbot.scummvm.org/builds.html

Secondly, if you can setup the build toolchain, you can do some work to locate the point of regression so we can work out why this is occuring:
http://wiki.scummvm.org/index.php/Compi ... yStation_2
Den1982
Posts: 12
Joined: Wed Nov 18, 2015 6:07 pm

Post by Den1982 »

digitall wrote: Firstly, check with the daily builds from here to see if this issue will occur with a development build, compared to the official release builds:
http://buildbot.scummvm.org/builds.html
Development and stable builds have the same problem - "Black screen".
digitall wrote: Secondly, if you can setup the build toolchain, you can do some work to locate the point of regression so we can work out why this is occuring:
http://wiki.scummvm.org/index.php/Compi ... yStation_2
This is very hard for me. Maybe I'll do what is written in the wiki. How do I compile project with specific commit?
digitall
ScummVM Developer
Posts: 1180
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

Yes, it is not easy. To track down this bug requires someone with a PS2 which is exhibiting this issue and the time and capability to debug this. This is why this has not been addressed. For the record, I don't own a PS2, so can only provide basic technical support and help with this.

You should start by reading http://wiki.scummvm.org/index.php/Developer_Central, specifically http://wiki.scummvm.org/index.php/Devel ... ng_started

As this indicates our source code is held in a Git repository, you can test specific revisions by using the "checkout" and "bisect" git commands:
http://wiki.scummvm.org/index.php/Git#R ... g_the_code

I suggest you search the web about this, but https://git-scm.com/book/en/v2 , https://git-scm.com/docs/git-checkout and https://git-scm.com/docs/git-bisect should get you started.
Den1982
Posts: 12
Joined: Wed Nov 18, 2015 6:07 pm

Post by Den1982 »

Hi again! Well, I honestly tried to compile Scummvm using it: http://wiki.scummvm.org/index.php/Compi ... yStation_2

I'm stuck on this "Note: the script will download the needed sources from the net. As of right now, the PS2 port won't compile with the most recent versions of the toolchain so you will have to modify the scripts "005-ps2sdk.sh" and "006-ps2client.sh" to svn check out revision 1628 or earlier."
How i do exactly modify this scripts?

It may possible that if someone builds the scummvm, and I would have checked it on PS2? It's just that it will be necessary to do a few times, right?
digitall
ScummVM Developer
Posts: 1180
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

Not that build instructions can often be slightly out-dated unless the Porter for the Platform actively updates the relevant Wiki page :/

I think that note is probably outdated as those scripts now download the ps2sdk and ps2client from Git, rather than SVN and the PS2 port _SHOULD_ compile with the latest toolchain:
https://github.com/ps2dev/ps2toolchain/ ... -ps2sdk.sh
https://github.com/ps2dev/ps2toolchain/ ... 2client.sh

However, if the PS2 port does fail to build with the latest Git versions, you will need to work out why and probably adjust the line in both scripts from:
git reset --hard origin/master
to:
git reset --hard <specific git revision id equivalent to SVN r1628 or at least a bit earlier>
Den1982
Posts: 12
Joined: Wed Nov 18, 2015 6:07 pm

Post by Den1982 »

Where else can take a tremor lib? version on
http://wiki.scummvm.org/index.php/Compi ... yStation_2
dont work.
digitall
ScummVM Developer
Posts: 1180
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

Tremor is the integer optimised version of libvorbis to support Ogg Vorbis audio formats. You may not need it unless you are compressing game data audio to this format or the engine requires this as it is uses this audio format (IIRC BS2.5 requires it).

The PS2 is MIPS CPU and I don't think there are any specific optimizations for this. See this message for previous discussion on this: http://sourceforge.net/p/scummvm/mailma ... /34140535/

What is the exact compilation error that you are getting? We may be able to recommend a patch / fix...
Den1982
Posts: 12
Joined: Wed Nov 18, 2015 6:07 pm

Post by Den1982 »

User avatar
UniqueUserName
Posts: 32
Joined: Mon Jan 30, 2012 2:27 am
Location: New England, USA

Re: Problem with 1.7.0

Post by UniqueUserName »

richi902 wrote:it seems that the latest (1.7.0) build for the ps2 dose not work at all. All i get is a Black-Screen after launching from USB or Internal-HDD on booth of my PS2 Systems(SCPH-10000 and SCPH-35001). Any plan on fixing this? i can remember 1.4 working somewhat fine, apart from the savegame bug.
Hey richi ..

It does not create it's own ".ini" file.
.ini = config file

It looks like you have to manually create it to work on your setup. If you're still getting a black screen I assume you are trying to use an old configuration on a new version of ScummVM, or a completely new configuration without the correct ini file present, or the ini file is set to display on a tv other then the one you are using.

Also, if I remember correctly the "ScummVM-S" is the elf file to use.

My best advice if you really want the newest version, is to delete your old ScummVM setup from your memory card, make a new ini file, and start over fresh.

You could also transfer the memory card data over to an internal hdd (+ScummVM) and it should work with the new ini also.

In my personal experience, it blackscreened on the first attempt, and after a quick search of the ScummVM folder (noticing the incorrect ini file configuration) it booted properly on my second attempt. I can confirm the current version out does work on the internal hdd.

Just FYI, if you're upgrading versions in the hopes that they fixed the save state data loss (without reloading) that I explained in a previous post, I'm sorry to report it has not been fixed yet.

Hope some of this helps.
Last edited by UniqueUserName on Sun Jan 10, 2016 2:16 am, edited 1 time in total.
Den1982
Posts: 12
Joined: Wed Nov 18, 2015 6:07 pm

Re: Problem with 1.7.0

Post by Den1982 »

Unique User Name wrote: My best advice if you really want the newest version, is to delete your old ScummVM setup from your memory card, make a new ini file, and start over fresh.
Hi! I try make new/clear ini file, but this dont help to run ScummVM. Maybe you give listing of your working ScummVM.ini ?
MrPunchy
Posts: 127
Joined: Mon Nov 06, 2006 2:04 pm

Post by MrPunchy »

I have the same problem, black screen.
User avatar
UniqueUserName
Posts: 32
Joined: Mon Jan 30, 2012 2:27 am
Location: New England, USA

Post by UniqueUserName »

Hi Den and Punchy...

First, try changing gfx_mode=3 to gfx_mode=1 in the .ini that came with your 1.7.0 setup. If that doesn't cure your blackscreen please continue to the steps below. Good luck!



Create a partition on your hard drive (using uLe) big enough to store all your games/data and name it "+ScummVM".

Download a fresh copy of the new 1.7.0 setup from this site and copy the upzipped contents into the partition you created. Then add your game/save folders. Now DELETE the ScummVM.ini file. Press select when done to ensure all data was fully written.

Remove all memory cards and run ScummVM-S.elf.

That should get rid of all your black screen issues. However you will have to create a preloaded ini file for Scumm to load your settings from because no matter what you change on the frontend it won't save your configuration.

I'd also recommend the "MODERN.ini", a "SAVES" folder, and a games folder (mine is "Scumm Virtual Machine Games").

...IF you use my ini for your own you will need the files and folders I recommended above placed in the root of your +ScummVM partition. The modern file is easily downloadable (and yes there is a zip onboard already, but it's nice to have options) and the other two are folders that you can make yourself by just renaming a new folder (they might be case sensitive in some setups).



My ScummVM.ini looks like this...

[scummvm]
mute=false
speech_volume=200
native_mt32=false
midi_gain=100
gui_theme=scummmodern
savepath=pfs0:SAVES/
mt32_device=null
extrapath=pfs0:data/
subtitles=true
multi_midi=false
browser_lastpath=
fullscreen=false
gui_renderer=antialias
pluginspath=pfs0:plugins/
gm_device=null
themepath=pfs0:themes/
sfx_volume=200
talkspeed=200
music_volume=200
speech_mute=false
lastselectedgame=
music_driver=auto
disable_dithering=false
opl_driver=auto
aspect_ratio=false
versioninfo=1.7.0
autosave_period=300
enable_gs=false

[PlayStation2]
hdd_part=ScummVM
gfx_mode=2
tv_mode=ntsc

[plugin_files]

[zak-fm]
description=Zak McKracken and the Alien Mindbenders
mute=false
speech_volume=200
talkspeed=200
path=pfs0:Scumm Virtual Machine Games/Zak McKracken + The Alien Mindbenders/
subtitles=true
gameid=zak
language=en
sfx_volume=200
music_volume=200
platform=fmtowns
music_driver=auto
opl_driver=auto
speech_mute=true
guioptions=sndNoSpeech sndNoMIDI midiTowns noAspect lang_English


...It also might be possible to use an old version.ini from a memory card if you copy it directly to your +ScummVM partition and run the elf with no memory cards. However I don't know what errors it would cause. I hope this helps.
Last edited by UniqueUserName on Fri Apr 22, 2016 9:41 am, edited 1 time in total.
Den1982
Posts: 12
Joined: Wed Nov 18, 2015 6:07 pm

Post by Den1982 »

Unique User Name, very thanks for this solution! At least i run ScummVM 1.7.0 on PS2! But only from HDD. From USB mass it failed to run.
It is sad but Neverhood working very slow. I try to load it with SCUMMVM.ELF but after selecting and starting game = blackscreen again.
Post Reply