Fora

Help me, please (Shadow of destiny)

Autor Odpowiedzi
xyzxyz Wednesday 16 October 2013 at 21:15
xyzxyzAnonymous

Hi all,

¿Has anyone been able to run this game?

When I run it, a black screen appears, and after a few seconds, goes to the desktop
I use the latest version of playonlinux, wine 1.7.4 and open source driver radeon, although
the proprietary driver (fglrx) it is the same.


Executing it with the debug option, the following appears:


[10/16/13 20:59:39] - Running wine- shadow.exe (Working directory : /home/xyzxyz/.PlayOnLinux/wineprefix/shadowofdestiny/drive_c/Program Files/Konami/Shadow Of Destiny)
fixme:win:EnumDisplayDevicesW ((null),0,0x32f8b8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f638,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d8:ValidateVertexShader (0x14314e0 (nil) (nil) 1 0x32f958): stub
wine: Unhandled page fault on read access to 0x00000000 at address 0x7a89e4 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x007a89e4).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:007a89e4 ESP:0032fd54 EBP:7e2afb60 EFLAGS:00210206( R- -- I - -P- )
EAX:00000000 EBX:00141d20 ECX:01431020 EDX:0143100c
ESI:00f479ac EDI:00aade00
Stack dump:
0x0032fd54: 00000000 00000000 00000000 0032fe60
0x0032fd64: 7b8b4ff4 00000005 00000000 007b3aff
0x0032fd74: 01431020 ffffffef 007b27f4 007db92b
0x0032fd84: 00000000 001c69a8 20000000 20000000
0x0032fd94: 00000000 10005000 00000000 00000000
0x0032fda4: 00000000 00000000 007b1970 00000000
Backtrace:
=>0 0x007a89e4 in shadow (+0x3a89e4) (0x7e2afb60)
1 0x7e292a00 in d3d8 (+0x129ff) (0x7e2996b0)
2 0xfff0e483 (0x04244c8d)
0x007a89e4: movl     0x0(%eax),%edx
Modules:
Module     Address               Debug info     Name (88 modules)
PE      400000- 120b000     Export shadow
PE     10000000-10067000     Deferred fmod
ELF     7a08a000-7b800000     Deferred libllvm-3.3.so.1
ELF     7b800000-7ba5b000     Deferred kernel32<elf>
\-PE     7b810000-7ba5b000     \ kernel32
ELF     7bc00000-7bce4000     Deferred ntdll<elf>
\-PE     7bc10000-7bce4000     \ ntdll
ELF     7bf00000-7bf04000     Deferred <wine-loader>
ELF     7cb5f000-7cb95000     Deferred uxtheme<elf>
\-PE     7cb70000-7cb95000     \ uxtheme
ELF     7cb95000-7cc9d000     Deferred comctl32<elf>
\-PE     7cba0000-7cc9d000     \ comctl32
ELF     7cc9d000-7cce7000     Deferred dinput<elf>
\-PE     7cca0000-7cce7000     \ dinput
ELF     7d165000-7d8c8000     Deferred r600_dri.so
ELF     7dbbc000-7dbe1000     Deferred imm32<elf>
\-PE     7dbc0000-7dbe1000     \ imm32
ELF     7dc9b000-7dccf000     Deferred libtxc_dxtn.so
ELF     7dccf000-7dcd6000     Deferred libffi.so.6
ELF     7dcd6000-7dcf3000     Deferred libgcc_s.so.1
ELF     7dddc000-7ddea000     Deferred libdrm_radeon.so.1
ELF     7ddea000-7de05000     Deferred libelf.so.1
ELF     7de05000-7de12000     Deferred libdrm.so.2
ELF     7de12000-7de17000     Deferred libxcb-dri2.so.0
ELF     7de17000-7de2f000     Deferred libxcb-glx.so.0
ELF     7de2f000-7de32000     Deferred libx11-xcb.so.1
ELF     7de32000-7de36000     Deferred libxdamage.so.1
ELF     7de36000-7de4d000     Deferred libglapi.so.0
ELF     7de4d000-7dea7000     Deferred libgl.so.1
ELF     7dea7000-7deae000     Deferred libxfixes.so.3
ELF     7deae000-7deb9000     Deferred libxcursor.so.1
ELF     7deb9000-7dec9000     Deferred libxi.so.6
ELF     7dec9000-7decd000     Deferred libxcomposite.so.1
ELF     7decd000-7ded8000     Deferred libxrandr.so.2
ELF     7ded8000-7dee2000     Deferred libxrender.so.1
ELF     7dee2000-7dee8000     Deferred libxxf86vm.so.1
ELF     7dee8000-7deec000     Deferred libxinerama.so.1
ELF     7deec000-7def3000     Deferred libxdmcp.so.6
ELF     7def3000-7def7000     Deferred libxau.so.6
ELF     7def7000-7df19000     Deferred libxcb.so.1
ELF     7df19000-7e050000     Deferred libx11.so.6
ELF     7e050000-7e062000     Deferred libxext.so.6
ELF     7e080000-7e112000     Deferred winex11<elf>
\-PE     7e090000-7e112000     \ winex11
ELF     7e14b000-7e173000     Deferred libexpat.so.1
ELF     7e173000-7e1ac000     Deferred libfontconfig.so.1
ELF     7e1ac000-7e1c5000     Deferred libz.so.1
ELF     7e1c5000-7e260000     Deferred libfreetype.so.6
ELF     7e27e000-7e2b2000     Dwarf d3d8<elf>
\-PE     7e280000-7e2b2000     \ d3d8
ELF     7e2b2000-7e2ce000     Deferred dinput8<elf>
\-PE     7e2c0000-7e2ce000     \ dinput8
ELF     7e2ce000-7e378000     Deferred msvcrt<elf>
\-PE     7e2e0000-7e378000     \ msvcrt
ELF     7e378000-7e3fb000     Deferred rpcrt4<elf>
\-PE     7e380000-7e3fb000     \ rpcrt4
ELF     7e3fb000-7e537000     Deferred ole32<elf>
\-PE     7e410000-7e537000     \ ole32
ELF     7e537000-7e5ef000     Deferred winmm<elf>
\-PE     7e540000-7e5ef000     \ winmm
ELF     7e5ef000-7e61a000     Deferred msacm32<elf>
\-PE     7e5f0000-7e61a000     \ msacm32
ELF     7e645000-7e7a0000     Deferred user32<elf>
\-PE     7e660000-7e7a0000     \ user32
ELF     7e7a0000-7e80f000     Deferred advapi32<elf>
\-PE     7e7b0000-7e80f000     \ advapi32
ELF     7e80f000-7e92d000     Deferred gdi32<elf>
\-PE     7e820000-7e92d000     \ gdi32
ELF     7e92d000-7ea3b000     Deferred opengl32<elf>
\-PE     7e950000-7ea3b000     \ opengl32
ELF     7ea3b000-7eb7d000     Deferred wined3d<elf>
\-PE     7ea50000-7eb7d000     \ wined3d
ELF     7eb7d000-7ebf3000     Deferred ddraw<elf>
\-PE     7eb80000-7ebf3000     \ ddraw
ELF     7ef64000-7ef71000     Deferred libnss_files.so.2
ELF     7ef71000-7ef7d000     Deferred libnss_nis.so.2
ELF     7ef7d000-7ef96000     Deferred libnsl.so.1
ELF     7ef96000-7ef9f000     Deferred libnss_compat.so.2
ELF     7ef9f000-7efe2000     Deferred libm.so.6
ELF     7efe6000-7f000000     Deferred version<elf>
\-PE     7eff0000-7f000000     \ version
ELF     f73b3000-f7566000     Deferred libc.so.6
ELF     f7566000-f756b000     Deferred libdl.so.2
ELF     f756c000-f7587000     Deferred libpthread.so.0
ELF     f7587000-f7590000     Deferred librt.so.1
ELF     f75a5000-f775b000     Dwarf libwine.so.1
ELF     f775d000-f777f000     Deferred ld-linux.so.2
ELF     f777f000-f7780000     Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\Konami\Shadow Of Destiny\shadow.exe
     00000023 0
     00000009 0 <==
0000000e services.exe
     0000001d 0
     0000001c 0
     00000016 0
     00000014 0
     00000010 0
     0000000f 0
00000012 winedevice.exe
     0000001b 0
     00000018 0
     00000017 0
     00000013 0
00000019 plugplay.exe
     0000001f 0
     0000001e 0
     0000001a 0
00000020 explorer.exe
     00000022 0
     00000021 0

Thanks to all and sorry for my english, it is not my native language.

Regards.
booman Friday 25 October 2013 at 21:55
booman

Since you are doing a manual installation, can you post more info on what libraries you installed?
I see a d3dx8 error, which means its Direct X 8.

What video chip are you using? Intel, Nvidia or AMD? Sorry, just noticed you were using AMD...

There is nothing on WineHQs so this is going to be difficult.
Since Shadow of Destiny is a Win 98 game, maybe you should set the Windows version to windows 98?
Do you think it will run in DOS?

Edytowane przez booman


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Friday 25 October 2013 at 22:23
Ronin DUSETTE

If you are going to post debug, only post PlayOnLinux output. That is the Wine debug output. Please read the stickies at the top of the forums as well, so that you can give us some better information. This is REQUIRED reading, so please do so, and post the needed information.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
xyzxyz Saturday 26 October 2013 at 14:13
xyzxyzAnonymous

Since you are doing a manual installation, can you post more info on what libraries you installed?
I see a d3dx8 error, which means its Direct X 8.

Quote from booman

Yes. With directx9 or d3dx9 runtime installed its the same.

My Linux distro is Ubuntu 13.04

Amd 64 bits 3000+

and Radeon hd4760 with radeon Gallium3d drivers 



There is nothing on WineHQs so this is going to be difficult.
Since Shadow of Destiny is a Win 98 game, maybe you should set the Windows version to windows 98?

Quote from booman

In Windows 98/ME/2000 it is the same.



Do you think it will run in DOS?

Quote from booman

No. Its a windows game.

In case you want to try, the demo is here:

http://www.ausgamers.com/files/download/5598/shadow-of-memories-demo


Thank you for answering.

xyzxyz Saturday 26 October 2013 at 14:16
xyzxyzAnonymous

If you are going to post debug, only post PlayOnLinux output. That is the Wine debug output. Please read the stickies at the top of the forums as well, so that you can give us some better information. This is REQUIRED reading, so please do so, and post the needed information.

Quote from DJYoshaBYD


Im sorry, but that is what appears in Playonlinux debug output window.

Edytowane przez xyzxyz

Ronin DUSETTE Saturday 26 October 2013 at 17:11
Ronin DUSETTE

Thats a very small part of the PlayOnLinux debug output. This is also an inappropriate forum to post in. This is not where it should be. Moving this to the PlayOnLinux forum.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Saturday 26 October 2013 at 17:26
booman

Thanks, I'll download the demo and try it myself.

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
booman Saturday 26 October 2013 at 17:30
booman

The demo is named Shadow of Memories...
Is this the same game?

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
xyzxyz Saturday 26 October 2013 at 17:35
xyzxyzAnonymous

Yes. Shadow of memories is EU and, I think, Japan version and Shadow of Destiny is US version:

http://en.wikipedia.org/wiki/Shadow_of_Memories
booman Friday 15 November 2013 at 21:01
booman

Did you ever get Shadow of Destiny running?

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
xyzxyz Saturday 16 November 2013 at 2:47
xyzxyzAnonymous

Yes, when I had windows 2000 on another computer. In ubuntu, never. Have you got it working?
booman Saturday 16 November 2013 at 17:22
booman

I downloaded it, but didn't actually try it yet.

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
booman Saturday 16 November 2013 at 17:28
booman

Installing right now. I'm noticing a lot of wma files.
This is Windows Media Audio
Chances are the virtual drive will need Windows Media Player 9 installed and codecs.

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
booman Sunday 17 November 2013 at 14:59
booman

I'm having lots of problems running the demo too.
I have tried Wine 1.4.1x 1.6x 1.7.4, 1.2.3 and others

Here are the Libraries I installed:
corefonts
dxfullsetup
IE8
wmp9
wmpcodecs
msvc90
dotnet20
dotnet30

[11/17/13 06:51:24] - Running wine-1.5.0 shadow.exe (Working directory : /home/booman/.PlayOnLinux/wineprefix/shadowofdestiny/drive_c/Program Files/Konami/Shadow Of Memories Demo)
fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x86e674 0x86e664
fixme:ntdll:NtConnectPort (0x5b0c1170,L"\\ThemeApiPort",0x33ef94,(nil),(nil),(nil),0x33efa4,0x33efa0),stub!
fixme:ntdll:NtConnectPort (0x5b0c1170,L"\\ThemeApiPort",0x33e74c,(nil),(nil),(nil),0x33e75c,0x33e758),stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f93c,0x00000000), stub!
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:ntdll:NtConnectPort (0x5b0c1170,L"\\ThemeApiPort",0x32f3fc,(nil),(nil),(nil),0x32f40c,0x32f408),stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f7fc,0x00000000), stub!
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d8:ValidateVertexShader (0x133eda0 (nil) (nil) 1 0x32f968): stub
fixme:d3d8:d3d8_vertex_shader_init Usage 0x10 not implemented.
wine: Unhandled page fault on read access to 0x00000000 at address 0x7a8aa4 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x007a8aa4).

Cytuj


As you can see, there are directX 8 error with Vertex Shader
Obviously there is no directX 8 package to install, but I have messed with older versions of Wine where you can disable vertex shader, but newer versions of Wine automatically do it.
I have messed with PlayOnLinux display options too, but I always get these same errors.

Basically the game crashes at the first screen.
Probably a Windows Media video not running.
I've looked through the game folders and can't find any config files or obvious video files.
I'll try installing the WM codecs again

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
xyzxyz Sunday 17 November 2013 at 15:52
xyzxyzAnonymous

hi,

Thanks for your help booman,
I followed your advice and I installed wmp9 and wmpcodecs but nothing has changed.
I've search the videos folder and I have located the video that appears on the game's intro.
It's open_e.mpg, and is located in the following path:
Program Files/Konami/Shadow Of Memories Demo/works/conv/video


When i run with the file command, it says:

----

open_e.mpg: MPEG sequence, v1, system multiplex

----

I can see it with mplayer, in linux. Command line says:

-----

MPlayer svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team

Playing open_e.mpg.
libavformat version 53.21.1 (external)
Mismatching header version 53.19.0
MPEG-PS file format detected.
VIDEO: MPEG1 512x408 (aspect 1) 25.000 fps 1536.0 kbps (192.0 kbyte/s)
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.35.0 (external)
Mismatching header version 53.32.2
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 16000->384000)
Selected audio codec: [ffmp2float] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.
VO: [vdpau] 512x408 => 512x408 Planar YV12
-----

However, with wmplayer.exe from inside playonlinux preffix I can not see it, a window appears when I try to run it, and says:

Windows media player cannot play the file. The file is either corrupt or the Player
does not support the format you are trying to player

I tried running the .wma audio files and I can hear them without any problem.
maybe a multimedia codecs problem?
How I can update wmplayer codecs?

Sorry, for my bad english and thanks again.

Edytowane przez xyzxyz

booman Sunday 17 November 2013 at 16:31
booman

Ok, so its looking like the old .wma files are having a problem loading when the game launches.
I've seen this before with a game called Divinity 2 and never got it to work.
I have installed VLC in a virtual drive and it will play the videos, but for some reason the game launcher is programmed to use Windows Media Player only.

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
xyzxyz Sunday 17 November 2013 at 22:21
xyzxyzAnonymous

Hi booman,

This afternoon I ran the demo on a pc with windows xp
and I checked that on linux fails to run before intro video.
I know this, because before open_e.mpg file is there other small intro with konami logo

I ran process monitor (other software like filemon.exe) in windows
and I have found that stops running in linux in file shader_shavol.vsh, in the following path:
--
Program Files/Konami/Shadow Of Memories Demo/prefix/engine
---
because shadow.exe never write a configuration file called shadow.cfg , just after check these *.vsh files.
File shader_shavol.vsh, i think is assembly language
In that file, in line 22 can be read:
--
; vertex shader version 1.1
vs.1.1
---
I tried to change the version number to 2.0 and ValidateVertexShader error no longer appears in playonlinux debug, but the game still does not work (black screen).

Is there any way to tell wine to use only shader version 1.1?


Perhaps, this situation may be the same in Divine divinity 2 . Your versión Is Steam Direct Cut?

Edytowane przez xyzxyz

booman Tuesday 19 November 2013 at 0:59
booman

So you think the shader is causing errors?
How did you change version number to 2.0?

I have a feeling older versions of Wine support older shader versions.
We'll have to do some research to find which versions of Wine are limited to which shader versions.
Not to mention even video chipsets are limited to certain shader versions too.
So there is a chance it might not be Wine, but I'm guessing it is.

I've run a lot of old games on my GeForce 550 Ti... I'm currently running Morrowind and it runs great. I'm sure its shader 1.0 or earlier.

Yes I have Steam Directors Cut for Divinity 2. If its a shader issue too, maybe getting Shadow of Memories running will help me troubleshoot Divinity 2

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
xyzxyz Wednesday 4 December 2013 at 1:20
xyzxyzAnonymous

Hi booman, and thanks for your help.

A week ago I was using debug functions of wine, to try to diagnose this problem.
Tried "Warn+all" and other debug functions, and found that game execution get stuck when creating the first
of the four shaders that opens before starting the game.
It said something like "could not open (or write) the shaders file", I do not remember it well.
So, yes, the problem is possibly in shaders.
As it's too big for my knowledge, when I have time for it, I will open a game page in winehq.org and report this error and that wine developers see if something can be done to solve it.
booman Wednesday 4 December 2013 at 13:38
booman

Yeah me too...
All I can think of is trying different versions of Wine.
That takes a lot of time, but it might be the only way to run Shadow of Destiny.
Yes report the error and then we wait for someone else to try it.

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained