Jump to content


Photo

Mac problems launching TDM


  • Please log in to reply
26 replies to this topic

#1 Vagabond

Vagabond

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 07 October 2018 - 01:30 AM

Hi!

 

I'm a Thief-fan since almost 20 years now (times flies!) and have finally decided to treat myself this seemingly excellent game that is the Dark Mod. I've installed TDM on my mac using PlayOnMac, following the procedure outlined in the thorough step-by-step-guide found here:

 

http://wiki.thedarkmod.com/index.php?title=Installer_and_Manual_Installation#Installing_TDM_on_Linux.2FMac_OS.2C_using_PlayonMac.2FPlayonLinux

 

Still, when I try to launch TDM I get an error message saying TheDarkMod crashed. Any ideas on how to move forward from here? (I have btw not forgotten to install "mvsc100").

 

Thanks in advance, I am really looking forward to exploring the game!

 



#2 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 20223 posts

Posted 07 October 2018 - 04:52 AM

Whats version of Playonmac are you using and how did you install TDM..?



#3 stgatilov

stgatilov

    Lead Programmer

  • Active Developer
  • PipPipPip
  • 1049 posts

Posted 07 October 2018 - 05:39 AM

Still, when I try to launch TDM I get an error message saying TheDarkMod crashed.

Post the exact error message, please.

 

 

(I have btw not forgotten to install "mvsc100").

 

msvc100 is not suitable for TDM 2.06.
For TDM 2.06, you need msvc120 (Visual C++ 2013), I think.


#4 Vagabond

Vagabond

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 07 October 2018 - 10:10 AM

Thanks for replying! 

 

PlayOnMac_4.2.12.dmg is the version I use. I followed the step by step-guide listed in my first post and did an online installation of TDM.

 

The error message when I try to launch TDM is: 

 

Error in main

TheDarkMod crashed.

Select its shortcut and click on "Debug" in the side panel to get more details.

 

More details are here:

[10/07/18 17:08:41] - Running wine-1.7.16 TheDarkMod.exe (Working directory : /Users/gustav/Library/PlayOnMac/wineprefix/TheDarkMod/drive_c/games/thedarkmod)

err:module:import_dll Library MSVCR120.dll (which is needed by L"C:\\games\\thedarkmod\\ExtLibs.dll") not found

err:module:import_dll Library ExtLibs.dll (which is needed by L"C:\\games\\thedarkmod\\TheDarkMod.exe") not found

err:module:import_dll Library mfc120.dll (which is needed by L"C:\\games\\thedarkmod\\TheDarkMod.exe") not found

err:module:import_dll Library MSVCR120.dll (which is needed by L"C:\\games\\thedarkmod\\TheDarkMod.exe") not found

err:module:import_dll Library MSVCP120.dll (which is needed by L"C:\\games\\thedarkmod\\TheDarkMod.exe") not found

err:module:LdrInitializeThunk Main exe initialization for L"C:\\games\\thedarkmod\\TheDarkMod.exe" failed, status c0000135

wine(4505,0x401fb000) malloc: *** error for object 0x406625e4: pointer being freed was not allocated

*** set a breakpoint in malloc_error_break to debug



#5 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 20223 posts

Posted 07 October 2018 - 10:51 AM

Select its shortcut and click on "Debug" in the side panel to get more details.

 

More details are here:

[10/07/18 17:08:41] - Running wine-1.7.16 TheDarkMod.exe (Working directory : /Users/gustav/Library/PlayOnMac/wineprefix/TheDarkMod/drive_c/games/thedarkmod)

err:module:import_dll Library MSVCR120.dll (which is needed by L"C:\\games\\thedarkmod\\ExtLibs.dll") not found

err:module:import_dll Library ExtLibs.dll (which is needed by L"C:\\games\\thedarkmod\\TheDarkMod.exe") not found

err:module:import_dll Library mfc120.dll (which is needed by L"C:\\games\\thedarkmod\\TheDarkMod.exe") not found

err:module:import_dll Library MSVCR120.dll (which is needed by L"C:\\games\\thedarkmod\\TheDarkMod.exe") not found

err:module:import_dll Library MSVCP120.dll (which is needed by L"C:\\games\\thedarkmod\\TheDarkMod.exe") not found

err:module:LdrInitializeThunk Main exe initialization for L"C:\\games\\thedarkmod\\TheDarkMod.exe" failed, status c0000135

wine(4505,0x401fb000) malloc: *** error for object 0x406625e4: pointer being freed was not allocated

*** set a breakpoint in malloc_error_break to debug

@stgatilov, why would TDM be asking for these files? or does 2.06 assume its running under windows which would have these in the system32 folder. If so could Vagabond just place the missing files inside the TDM folder?

 

Assuming that works are we then allowed to include these files inside TDM, or will we have to point to a download link and some quick instructions on how to extract and place..?



#6 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 701 posts

Posted 07 October 2018 - 12:31 PM

As what stgatilov said, install one of the vcrun components that containts msvcr120 (whats the errorlog said) in the playonmac components menu,
described at the step 17 of the wiki article, vagabond.
Look at the playonmac-components list and install "vcrun2013" component, as what stgatilov says.

Please test and let us know if which other components are need to run TDM.

@stgatilov,
here is the component which the pom/pol user can select in the components list.
Which component should vagabond also install?

Edited by freyk, 07 October 2018 - 01:25 PM.


#7 Vagabond

Vagabond

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 07 October 2018 - 03:03 PM

Ok, so I did what freyk suggested and installed the "vcrun2013" component. This time, the game will actually launch - the music starts and when I move the mouse around or hit the buttons it is clear that I am "making contact" - but the thing is, the screen is all black. Any further ideas?

 

Btw, thanks a bunch for the help, I really appreciate it! 



#8 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 701 posts

Posted 07 October 2018 - 11:16 PM

Thanks for testing.
This help us too, to help other players in the future on their first-run.

Some on the internet say, to also install the vcrun2015 component.
Please install it and check it reaction.

A black screen with sound is a video problem.
You can solve this by change things in the tdm config file or run tdm with start-arguments.

Run TDM windowed mode and low screen resolution:
make a backup of the file "darkmod.cfg" (by make a copy of it)
Then open the file with a texteditor, change the following values and save the file.
r_customHeight 600
r_customWidth 800
r_fullscreen 0
If this works on your system, then you can change the video settings from the tdm main menu.

If not, we need some logs.
Create in playonmac a shortcut to the tdm executable and fill in some start arguments.
(Configure button > select dark mod container > General tab > "Make a shortcut from this virtual drive" button)", select the dark mod exe inside the darkmod folder)
After you created the shortcut in playonmac, hit the configure button again, select the darkmod container, then the darkmod exe shortcut and select tab "general" and where you can enter arguments in the "Arguments" input.

we need to see how tdm loads. please create a log for us.
using the start arguments:
+gfxinfo +condump mylog.txt +quit
This generates a textfile inside the tdm folder and automaticly close tdm.
We want to see the content of that file. (in spoiler-forum tags, please)

If changeing the values for low resolution and windowed moded in the darkmod doesnt work
Then use start arguments:
+set r_customHeight 600 +set r_customWidth 800 +set r_fullscreen 0
(or change these values in the darkmod.cfg file,)
If this works on your system, then you can change the video settings from the tdm main menu.

Folow the following tdm wiki article:
http://wiki.thedarkm...DM_systemerrors

Edited by freyk, 08 October 2018 - 06:07 AM.


#9 Vagabond

Vagabond

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 08 October 2018 - 06:43 AM

Do you know where to find vcrun2015? It doesn't seem to be among the other components.

 

The video problem (the black screen) remains when I launch the game in windowed mode with low screen resolution. The screen also stays black when I try to start the game using start argument "+set r_customHeight 600 +set r_customWidth 800 +set r_fullscreen 0"

 

I created a log (I think) using your instructions:


[game\DarkModGlobals.cpp ( 374):INI (INIT) FR:    0] LogFile created at 2018.10.08 13:37:14
[game\DarkModGlobals.cpp ( 377):INI (INIT) FR:    0] Executable last cleaned and rebuilt on May 16 2018 15:57:22
[game\DarkModGlobals.cpp ( 380):INI (INIT) FR:    0] The Dark Mod 2.06/32, code revision 7400 (7400M)
[game\DarkModGlobals.cpp ( 426):FRC (FORCE) FR:    0] LogBegin: 0
[game\DarkModGlobals.cpp ( 426):FRC (FORCE) FR:    0] LogEnd: 0
[game\DarkModGlobals.cpp ( 426):FRC (FORCE) FR:    0] LogInfo: 0
[game\DarkModGlobals.cpp ( 426):FRC (FORCE) FR:    0] LogDebug: 0
[game\DarkModGlobals.cpp ( 426):FRC (FORCE) FR:    0] LogWarning: 0
[game\DarkModGlobals.cpp ( 426):FRC (FORCE) FR:    0] LogError: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_FRAME: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_SYSTEM: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_MISC: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_FROBBING: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_AI: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_SOUND: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_FUNCTION: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_ENTITY: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_INVENTORY: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_LIGHT: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_WEAPON: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_MATH: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_MOVEMENT: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_STIM_RESPONSE: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_OBJECTIVES: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_DIFFICULTY: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_CONVERSATION: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_MAINMENU: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_LOCKPICK: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_AAS: 0
[game\DarkModGlobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_STATE: 0
 

Any ideas?



#10 Vagabond

Vagabond

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 08 October 2018 - 06:53 AM

... Or perhaps this is the log, I don't really understand the log system:

 

Process:         strings [2610]

Path:            /Volumes/VOLUME/PlayOnMac.app/Contents/Resources/unix/tools/bin/strings
Identifier:      strings
Version:         ???
Code Type:       X86 (Native)
Parent Process:  bash [2609]
Responsible:     bash [414]
User ID:         501
 
Date/Time:       2018-10-07 17:05:03.432 +0200
OS Version:      Mac OS X 10.9.5 (13F1911)
Report Version:  11
Anonymous UUID:  1098F43C-2BFF-6D8B-32BF-4933829A07DA
 
 
Crashed Thread:  0
 
Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
 
Application Specific Information:
dyld: launch, loading dependent libraries
 
Dyld Error Message:
  Library not loaded: /usr/local/MacGPG2/lib/libiconv.2.dylib
  Referenced from: /Volumes/PlayOnMac/PlayOnMac.app/Contents/Resources/unix/tools/lib/dyld/libintl.8.dylib
  Reason: Incompatible library version: libintl.8.dylib requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
 
Binary Images:
0x8fe26000 - 0x8fe58497  dyld (239.5) <86B9ED65-6A74-340B-A990-2E21CAF0BB21> /usr/lib/dyld
0x93b6c000 - 0x93b7aff7  libz.1.dylib (53) <858B4D9F-D87E-3D81-B07A-DF9632BD185F> /usr/lib/libz.1.dylib
0x991ce000 - 0x991cffff  libSystem.B.dylib (1197.1.1) <6AA4060A-CA4A-3243-B616-6ACE19EE8E6E> /usr/lib/libSystem.B.dylib
0x9aead000 - 0x9af9dffb  libiconv.2.dylib (41) <848FEBA7-2E3E-3ECB-BD59-007F32468787> /usr/lib/libiconv.2.dylib
 
 

Edited by Vagabond, 08 October 2018 - 06:55 AM.


#11 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 701 posts

Posted 08 October 2018 - 08:40 AM

Thanks for the logs.

(please keep this topic clean, by placing the content of the logs between spoiler-tags.)

like this.

Spoiler

 

Cant see any error messages in the logs, thats with the problem to do with it.

So, whats the content of mylog.txt, after you start tdm with the following startargument?

+gfxinfo +condump mylog.txt +quit


Edited by freyk, 08 October 2018 - 08:58 AM.


#12 Vagabond

Vagabond

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 08 October 2018 - 02:08 PM

Oh, right, spoiler tags. Here is the content of mylog.txt after I start TDM with the start argument:

 

Spoiler

Edited by Vagabond, 08 October 2018 - 02:17 PM.


#13 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 9034 posts

Posted 08 October 2018 - 02:32 PM

Looks like your driver doesn't support most of the needed hardware extensions.

 

Try forcing legacy rendering in Darkmod.cfg

 

seta r_softShadowsQuality "0"

seta r_useGLSL "0"

seta com_smp "0"


Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)

#14 Vagabond

Vagabond

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 09 October 2018 - 12:58 AM

Looks like your driver doesn't support most of the needed hardware extensions.

 

Try forcing legacy rendering in Darkmod.cfg

 

seta r_softShadowsQuality "0"

seta r_useGLSL "0"

seta com_smp "0"

 

Didn't work, unfortunately. I guess I might have to give up. Thanks anyway!



#15 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 701 posts

Posted 09 October 2018 - 02:34 AM

Dont give up on this one, give us more time to figure this method out. 
(I have made change in the wiki article from "mvsc100" to "vcrun2013" component)

And there are other ways to run TDM on your mac
But those need also testing with 2.06 version.
for example, does the 2.05 binary work if you update to 2.06? (Is there someone who can compile a binary for 2.06)
Or Does my my wineskin work, when you update that to 2.06?
etc etc.

Edited by freyk, 09 October 2018 - 06:58 AM.


#16 Vagabond

Vagabond

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 09 October 2018 - 07:43 AM

All right, which way of installing would you suggest that I try next, freyk?


Edited by Vagabond, 09 October 2018 - 07:44 AM.


#17 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 701 posts

Posted 09 October 2018 - 09:43 AM

You can install tdm 2.05 and use the 2.05 binary for mac os. We have succesful tested this earlier.

Dont delete playonmac.
And help us to run tdm on this, by following instructions from us.
In the meantime, you want to TDM on your mac.
Thats is only possible using version 2.05 app for mac os.

In short:
Download the 2.05 mac binary, fill this container up with the content of the 2.0 standalone package and update-packages up to version 2.05.
Dont use the updater.

If you want to play tdm 2.06, then I suggest to try out the untested other methods.
You can help us try to fix to run tdm on playonmac.

For the other wine solutions, you need to install the vcrun2013 component. But we need the time to figure this one out for all sollutions.
Starting with the (al)most easy one:
http://wiki.thedarkm..._using_wineskin
(But i dont know yet how to install vcrun2013 in that file and if you get the blackscreen)

Edited by freyk, 11 October 2018 - 01:01 AM.


#18 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 20223 posts

Posted 09 October 2018 - 01:26 PM

I have a mac pro that has 2.05 on, so I am going to install POM and then run the updater and see how I go.


Edited by Bikerdude, 09 October 2018 - 01:47 PM.


#19 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 20223 posts

Posted 09 October 2018 - 03:30 PM

Ok so High Sierra is give me grief with POM, so I will have a look at this later in the week.



#20 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 701 posts

Posted 10 October 2018 - 03:22 AM

===========

installation instruction TDM 2.05 on mac os using 2.05 binary.
 
In short:

On this moment it is not easy to use the updater to get to another version. So people have to do this manually.

Download the necessary files, like 2.05 mac os binary, standalone 2.0 and update packages.
Extract the 2.05 mac binary, fill this container up with TDM-data to version 2.05.

And give the app permission to run, so you can start the application when you want to. 

Step1 - Download files
Download the following files and place them in your Downloads folder
the-dark-mod-205-native-osx-binaries
the-dark-mod-20-standalone-full-installer
The Dark Mod 2.0-2.01 Update Package (Windows)
The Dark Mod 2.01-2.02 Update Package (Windows)
The Dark Mod 2.02-2.03 Update Package (Windows)
The Dark Mod 2.03-2.04 Update Package (Windows)
The Dark Mod 2.04-2.05 Update Package (Windows)

 

Step 2 - Prepare The binary

 

You can prepare the binary follwing one of the methods:

  • unpack files automatically and copy files to binary, using some command lines
  • unpack files manually and copy files to binary, using some command lines
  • unpack files manually to the binary, using the finder

 

Method 1: unpack files automatically and copy files to binary, using some command lines
If the safari browser saves the files in that folder and unpacks it the files automatically
Then select and copy the following command lines lines

mkdir ~/tdminstall
unzip ~/Downloads/OSX_TDM_205/The\ Dark\ Mod.app.zip -d ~/tdminstall/
cp -Rv ~/Downloads/THE\ DARK\ MOD\ Version\ 2.0\ -\ Standalone\ Release/ ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
cp -Rv ~/Downloads/tdm_update_2/ ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
cp -Rv ~/Downloads/tdm_update_2-2/ ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
cp -Rv ~/Downloads/tdm_update_2-3/ ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
cp -Rv ~/Downloads/tdm_update_2-4/ ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
cp -Rv ~/Downloads/tdm_update_2-5/ ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
cp -v ~/Downloads/OSX_TDM_205/tdm_game03.pk4 ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
chmod uga+x ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/The\ Dark\ Mod
echo done

Open terminal and paste the lines. (edit > paste)
Wait some minutes, get a coffee.

Method 2: unpack files manually and copy files to binary, using some command lines

if you use an other browser, you need to unpack the files.
Select and copy the following command lines lines

mkdir ~/tdminstall
unzip ~/Downloads/OSX_TDM_205/The\ Dark\ Mod.app.zip -d ~/tdminstall/
unzip ~/Downloads/THEDARKMODVersion2.0-StandaloneRelease.zip ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
unzip ~/Downloads/tdm_update_2.01_to_2.02.zip ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
unzip ~/Downloads/tdm_update_2.02_to_2.03.zip ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
unzip ~/Downloads/tdm_update_2.03_to_2.04.zip ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
unzip ~/Downloads/tdm_update_2.04_to_2.05.zip ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
cp ~/Downloads/OSX_TDM_205/tdm_game03.pk4 ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
chmod uga+x ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/The\ Dark\ Mod
echo done

Open terminal and paste the lines. (edit > paste)
Wait some minutes, get a coffee.

 

Method 3: unpack files manually to the binary, using the finder

Prepare the binary manually.

  • finder -> go -> home
  • create a folder and give it the name "darkmodinstall"
  • Go to the downloads folder -> OSX_TDM_205 and unpack The\ Dark\ Mod.app.zip
  • move The Dark Mod.app to tdminstall folder.
  • Right click on darkmod.app > show package contents > contents > macos
  • open new finder window, go to the downloads folder, move content of the following folders in your downloads folder to "MacOs" folder in darkmod.app:
    "THE DARK MOD Version 2.0 - Standalone Release", "tdm_update_2","tdm_update_2-2",,"tdm_update_2-3",,"tdm_update_2-4",,"tdm_update_2-5",,"tdm_update_2-6" And "tdm_game03.pk4" from the OSX_TDM_205.
  • open a terminal, enter the following line and hit the enter-key:
    chmod uga+x ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/The\ Dark\ Mod
  • Enter your password and wait a while.

----

Step 3: Running TDM using the binary
If its ready, you can try a first-run of TDM.
This by opening a terminal and enter the following lines.

cd ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/
./The\ Dark\ Mod

If it uses correctly, the darkmod icon pops up in your dock, disapears and you see some starting lines in the terminal.
(but its 2.06???)

If it runs correctly, you can also run tdm by clicking on the app.
If it doesnt run, run the following terminal command.

spctl --add ~/tdminstall/The\ Dark\ Mod.app

Please enter your userpassword when spctl asks for it.
and then wait again.

==========

 

a great test would be, if 2.06 works with this binary.


Edited by freyk, 12 October 2018 - 06:53 AM.


#21 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 701 posts

Posted 14 October 2018 - 03:30 PM

I can confirm the 2.06 black screen (with sound) on playonmac (playonmac 42.2.0, Wine 3.18, default wine video settings, vcrun2013)
And in that container, 2.05 works fine.
Given sollutions in this topic, gives my the same bad results.
 
Do we need install something else beside vcrun2013?

Spoiler

Edited by freyk, 14 October 2018 - 03:57 PM.


#22 ghost-rider

ghost-rider

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 26 October 2018 - 04:05 PM

Hello,

 

I have been TDM fan for years playing on Linux. However recently moved to Mac and have no luck starting the game. I followed freyk's instruction method 1 from #20 but starting failed. Issuing spctl command made no difference.

TDM 2.06 #6773 MacOSX-i386 Mar 12 2017 15:47:50
loopback
IP: 192.168.1.10
NetMask: 255.255.255.240
Found Intel CPU with Hyper-Threading enabled, features: MMX SSE SSE2 SSE3 CMOV
tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.
enabled Flush-To-Zero mode
enabled Denormals-Are-Zero mode
------ Initializing File System ------
Current search path:
  /Users/SALATKA/Library/Application Support/darkmod/
  /Users/SALATKA/tdminstall/
File System Initialized.
--------------------------------------
Unknown command 'vid_restart'
idRenderSystem::Shutdown()
----- Shutting down GL -----
FIXME: Sys_FadeScreen
FIXME: Sys_UnfadeScreens
----- Done shutting down GL -----
I18NLocal: Shutdown.
Sys_Error: Couldn't load default.cfg
About to exit with code 1

Have I done something wrong? 



#23 ghost-rider

ghost-rider

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 26 October 2018 - 05:05 PM

I finally managed to start the game  - I moved files manually from inside the package to tdminstall directory. Before following instruction in this post I tried to install game with traditional setup with automatic update. So possibly there is a mess with directiories from the previous install. The effect is that new working install does not see any mission on start. After downloading mission manually it is stored in ~/Library/Application Support/darkmod directory. Any hints how to change directory settings?



#24 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 701 posts

Posted 27 October 2018 - 07:15 AM

Could you tell us exactly how you installed and getting TDM to run?
You used method 1 and what did you do next exactly?
 
Maybe you can create a symbolic link to the folder?
ln -s ~/Library/Application Support/darkmod/fms ~/tdminstall/fms
(or shoud the darkmod folder moved to the application support folder)

Edited by freyk, 27 October 2018 - 11:31 AM.


#25 ghost-rider

ghost-rider

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 27 October 2018 - 01:50 PM

After investigating text files inside the app package it seems that directories are hardcoded in OSX executables.

Getting back to my working setup:

1) Downloaded files and unpacked following method 1

2) Moved all the unpacked files exept for executable "The Dark Mod" from ~/tdminstall/The\ Dark\ Mod.app/Contents/MacOS/ into ~/tmdinstall/

3) Moved default mission files from ~/tdminstall/fms into ~/Library/Application Support/darkmod/fms

4) In order to have the game accessible from launchpad made a simlink ln -s ~/tdminstall/TheDarkMod.app /Applications/The\ Dark\ Mod.app

 

So I would suggest modifying the instruction from #20 so that the files are unpacked directly into ~/tdminstall folder instead of~/tdminstall/TheDarkMod.app/Contents/MacOS/.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users