Forums

Help getting a game working: The Darkmod

Auteur Réponses
b1k3rdude Mardi 14 Octobre 2014 à 14:47
b1k3rdude

Hello

I am one of the Devs for a game called The Darkmod and I am trying to get our game working with PlayOnMac (POM).

When I try to luanch the game I get an OpenGL error, which on a PC would mean the gfx card driver is installed. Under the application in POM I have installed Directx9 and enabled OpenGl as the 'Direct Draw Render'

Im going to download and install the nvidia driver for OSX 10.9.5 which i am currently running on a MacPro 4,1 with a nvidia GT-120 to see if that helps.

Any pointers as to what I might be doing wrong would be appreciated. Fyi, the only way I can get the game to run is to select the 'run a windows exe' from the misc tab in the config wizard page.

b.

nb. I have attached a copy of the debug log -

[10/14/14 13:31:51] - Running wine- --version (Working directory : /Applications/PlayOnMac.app/Contents/Resources/playonlinux/python)
wine-1.7.26

PlayOnMac logfile
-------------------
Date: 10/14/14 13:31:51

> PlayOnMac Version
  4.2.5
> uname -a
  Darwin MacPro.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
> lsb_release -a
 
> wine --version
  wine-1.7.26
> POL_WINEVERSION
 
> WINEPREFIX
  /Users/b1k3rdude/Library/PlayOnMac//wineprefix/The_Darkmod_
> Distribution
   10.9.4 (13.4.0)
> glxinfo \| grep rendering
 
> glxinfo \| grep renderer
 
> OpenGL libs (Direct rendering testing)
 

[10/14/14 13:31:52] - This is a 32bits prefix!
[10/14/14 13:31:55] - Running wine- cmd /c echo %ProgramFiles% (Working directory : /Applications/PlayOnMac.app/Contents/Resources/playonlinux/python)
C:\Program Files
[10/14/14 13:32:00] - Running wine- TheDarkMod.exe (Working directory : /Users/b1k3rdude/Library/PlayOnMac/wineprefix/The_Darkmod_/drive_c)
fixme:heap:HeapSetInformation 0x0 1 0x0 0
fixme:wbemprox:client_security_SetBlanket 0x47e77508, 0x1758f8, 10, 0, (null), 3, 3, 0x0, 0x00000000
fixme:wbemprox:client_security_Release 0x47e77508
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000001
fixme:win:EnumDisplayDevicesW ((null),0,0x3fde85c,0x00000000), stub!
fixme:wbemprox:enum_class_object_Next timeout not supported
[10/14/14 13:34:22] - Running wine- TheDarkMod.exe (Working directory : /Users/b1k3rdude/Library/PlayOnMac/wineprefix/The_Darkmod_/drive_c)
[10/14/14 13:34:37] - Running wine- winecfg (Working directory : /Applications/PlayOnMac.app/Contents/Resources/playonlinux/python)
[10/14/14 13:34:59] - Running wine- regedit /Users/b1k3rdude/Library/PlayOnMac//tmp/regkey.reg (Working directory : /Applications/PlayOnMac.app/Contents/Resources/playonlinux/python)
[10/14/14 13:34:59] - Content of /Users/b1k3rdude/Library/PlayOnMac//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"DirectDrawRenderer"="opengl"
-----------
[10/14/14 13:35:03] - Running wine- regedit /Users/b1k3rdude/Library/PlayOnMac//tmp/regkey.reg (Working directory : /Applications/PlayOnMac.app/Contents/Resources/playonlinux/python)
[10/14/14 13:35:03] - Content of /Users/b1k3rdude/Library/PlayOnMac//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"VideoMemorySize"="512"
-----------
[10/14/14 13:35:33] - ----- Starting function POL_Install_directx9 -----
[10/14/14 13:35:34] - Running wine- regedit /Users/b1k3rdude/Library/PlayOnMac//tmp/regkey.reg (Working directory : /Users/b1k3rdude/Library/PlayOnMac/ressources)
[10/14/14 13:35:34] - Content of /Users/b1k3rdude/Library/PlayOnMac//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine]
"Version"="winxp"
-----------
[10/14/14 13:35:35] - Running wine- directx_feb2010_redist.exe /t:C:\windows\temp\directx9 /q (Working directory : /Users/b1k3rdude/Library/PlayOnMac/ressources)
fixme:advapi:DecryptFileA ("C:\\windows\\temp\\directx9\\", 00000000): stub
[10/14/14 13:35:39] - Running wine- regedit /Users/b1k3rdude/Library/PlayOnMac//tmp/override-dll.reg (Working directory : /Users/b1k3rdude/Library/PlayOnMac/ressources)
[10/14/14 13:35:39] - Content of /Users/b1k3rdude/Library/PlayOnMac//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*d3dim"="native"
"*d3drm"="native"
"*d3dx8"="native"
"*d3dx9_24"="native"
"*d3dx9_25"="native"
"*d3dx9_26"="native"
"*d3dx9_27"="native"
"*d3dx9_28"="native"
"*d3dx9_29"="native"
"*d3dx9_30"="native"
"*d3dx9_31"="native"
"*d3dx9_32"="native"
"*d3dx9_33"="native"
"*d3dx9_34"="native"
"*d3dx9_35"="native"
"*d3dx9_36"="native"
"*d3dx9_37"="native"
"*d3dx9_38"="native"
"*d3dx9_39"="native"
"*d3dx9_40"="native"
"*d3dx9_41"="native"
"*d3dx9_42"="native"
"*d3dx9_43"="native"
"*d3dxof"="native"
"*dciman32"="native"
"*ddrawex"="native"
"*devenum"="native"
"*dmband"="native"
"*dmcompos"="native"
"*dmime"="native"
"*dmloader"="native"
"*dmscript"="native"
"*dmstyle"="native"
"*dmsynth"="native"
"*dmusic"="native"
"*dmusic32"="native"
"*dnsapi"="native"
"*dplay"="native"
"*dplayx"="native"
"*dpnaddr"="native"
"*dpnet"="native"
"*dpnhpast"="native"
"*dpnlobby"="native"
"*dswave"="native"
"*dxdiagn"="native"
"*msdmo"="native"
"*qcap"="native"
"*quartz"="native"
"*streamci"="native"
"*dxdiag.exe"="native"
-----------
[10/14/14 13:35:39] - Running wine- regedit /Users/b1k3rdude/Library/PlayOnMac//tmp/override-dll.reg (Working directory : /Users/b1k3rdude/Library/PlayOnMac/ressources)
[10/14/14 13:35:39] - Content of /Users/b1k3rdude/Library/PlayOnMac//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*d3d8"="builtin"
"*d3d9"="builtin"
"*dinput"="builtin"
"*dinput8"="builtin"
"*dsound"="builtin"
-----------
[10/14/14 13:35:39] - Running wine- C:\windows\temp\directx9\DXSETUP.exe /silent (Working directory : /Users/b1k3rdude/Library/PlayOnMac/ressources)
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
[10/14/14 13:35:55] - ----- Ending function POL_Install_directx9 -----
[10/14/14 13:36:08] - Running wine- TheDarkMod.exe (Working directory : /Users/b1k3rdude/Library/PlayOnMac/wineprefix/The_Darkmod_/drive_c)
[10/14/14 13:41:55] - Running wine- TheDarkMod.exe (Working directory : /Users/b1k3rdude/Library/PlayOnMac/wineprefix/The_Darkmod_/drive_c)
fixme:heap:HeapSetInformation 0x0 1 0x0 0
fixme:wbemprox:client_security_SetBlanket 0x4978c508, 0x1758f8, 10, 0, (null), 3, 3, 0x0, 0x00000000
fixme:wbemprox:client_security_Release 0x4978c508
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000001
fixme:win:EnumDisplayDevicesW ((null),0,0x3fde85c,0x00000000), stub!
fixme:wbemprox:enum_class_object_Next timeout not supported

 

Edité par b1k3rdude

b1k3rdude Mardi 14 Octobre 2014 à 15:25
b1k3rdude

Apologies, can an admin please move this to the manual installtion section, thanks.

Edité par b1k3rdude

b1k3rdude Vendredi 17 Octobre 2014 à 23:50
b1k3rdude

BUMP

Quentin PÂRIS Samedi 18 Octobre 2014 à 0:48
Quentin PÂRISAnonymous

Sorry for the delay.

I will have to download your game to give a try

b1k3rdude Samedi 1 Novembre 2014 à 17:58
b1k3rdude

OK, many thanks!

b1k3rdude Vendredi 21 Novembre 2014 à 20:42
b1k3rdude

Just a small update from my side, I finally picked up a cheap DVI KVM to allow me to work on the Mac and the PC. So if and when you need me to do some testing Im all ready to go.

b1k3rdude Vendredi 5 Décembre 2014 à 21:18
b1k3rdude

Sorry for the delay.

I will have to download your game to give a try

Hello Tinoud

Have you had any luck with getting it working..?

thanks

b.

b1k3rdude Dimanche 7 Décembre 2014 à 22:05
b1k3rdude

I managed to get this working and created a video tut -

- http://forums.thedarkmod.com/topic/16761-the-darkmod-on-play-on-mac-howto/

b1k3rdude Jeudi 28 Mai 2015 à 23:54
b1k3rdude

Evening

One of forum members over on the darkmod forums has got a new script code for me to try out and he will have an updated version over the week once I have some feedback for him from the test run tomoz - 


#!/bin/bash
# Date : 2015-05-28
# Last revision : 2015-05-28
# Wine version used : 1.7.16
# Distribution used to test : Mac OS 10.9.5 
# Author : Freek 'Freyk' Borgerink
# Licence : GPL
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="The Dark Mod"
PREFIX="TheDarkMod"
EDITOR="Broken Glass Studios"
GAME_URL="http://www.thedarkmod.com"
AUTHOR="Freek 'Freyk' Borgerink"
WORKING_WINE_VERSION="1.7.16"

 # Starting the script
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate #"$WORKING_WINE_VERSION"


POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
	#create prefix folder
    mkdir -p "$WINEPREFIX/drive_c/games/thedarkmod"
    cd "$WINEPREFIX/drive_c/games/thedarkmod"
    POL_SetupWindow_message "Please download the darkmod updater executable from www.thedarkmod.com" "$TITLE installation"
	POL_SetupWindow_browse "Please select the darkmod updater executable to run." "$TITLE installation"
	POL_Wine start /unix "$APP_ANSWER"
    cp "$APP_ANSWER" "$WINEPREFIX/drive_c/games/thedarkmod/tdm_update.exe"
	#Create the shortcut for the updater
	POL_Shortcut "tdm_update.exe" "The Dark Mod Updater"
	touch "$WINEPREFIX/drive_c/games/thedarkmod/tdm.exe"
	POL_Shortcut "tdm.exe" "The Dark Mod"
fi

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
	#create prefix folder
	#Download tdm updater
	mkdir -p "$WINEPREFIX/drive_c/games/thedarkmod"
    cd "$WINEPREFIX/drive_c/games/thedarkmod"
	#Download tdm updater
	POL_Download "http://www.fidcal.com/darkuser/tdm_update_win.zip" "ff1b6d10c65970422206133e923cf36d"
	#Unpack the zipfile
	POL_System_ExtractSingleFile "$WINEPREFIX/drive_c/games/thedarkmod/tdm_update_win.zip" "tdm_update.exe" "$WINEPREFIX/drive_c/games/thedarkmod/tdm_update.exe"
    rm "$WINEPREFIX/drive_c/games/thedarkmod/tdm_update_win.zip"
    #Create shortcut for updater
	POL_Shortcut "tdm_update.exe" "The Dark Mod Updater"
	touch "$WINEPREFIX/drive_c/games/thedarkmod/tdm.exe"
	POL_Shortcut "tdm.exe" "The Dark Mod" 
fi
 
 	#Run the updater
    INSTALLER="$WINEPREFIX/drive_c/games/thedarkmod/tdm_update.exe"
	POL_SetupWindow_wait "Installation in progress." "The Dark Mod installation"
	POL_Wine start /unix "$INSTALLER"
	POL_Wine_WaitExit "The Dark Mod Updater"
 
 
 POL_SetupWindow_message "Hello World!" "My first message"
 
POL_SetupWindow_Close
exit 0
b1k3rdude Lundi 1 Juin 2015 à 21:23
b1k3rdude

Created a thread in the 'Your creations' section so this thread can be closed.