Jump to content


Photo

TDM on OS X (test build)


  • Please log in to reply
41 replies to this topic

#26 teh_saccade

teh_saccade

    Member

  • Member
  • PipPip
  • 482 posts

Posted 22 March 2017 - 10:58 AM

Dude... apart from all the games already available for Mac -

 

- http://store.steampowered.com/macos

https://www.kali.org/

 

occasionally use it to run virtual machines for win/osx test purpose. confuses people.


Edited by teh_saccade, 22 March 2017 - 11:15 AM.


#27 freyk

freyk

    Member

  • Member
  • PipPip
  • 463 posts

Posted 24 March 2017 - 07:45 AM

Successfully tested the updater on a mac os x sierra vm.

#28 greebo

greebo

    Heroic Coder

  • Root
  • 15975 posts

Posted 24 March 2017 - 07:48 AM

Nice to hear, thanks.



#29 freyk

freyk

    Member

  • Member
  • PipPip
  • 463 posts

Posted 24 March 2017 - 08:12 AM

And updated wikiarticle: Installation on Mac OS

Edited by freyk, 24 March 2017 - 08:12 AM.


#30 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18642 posts

Posted 24 March 2017 - 08:24 AM

I have yet to test the game, as my MP has a BT reception problem (known issue), so am building a DIY external antenna. So will complete my testing of TDM either this weekend or next week once the MP is backup.



#31 freyk

freyk

    Member

  • Member
  • PipPip
  • 463 posts

Posted 25 March 2017 - 04:54 AM

I'm working on a new version of the tdminstaller mac.
This installer places the tdmfolder in the systems library folder (/Library), add some launchers (for the updater and binary) to application folder (/Applications) and set the permissions.

Iceberg doesnt let me install TDM in the users library and application list.
Because the updater doesnt have a gui, i decided to create a launcher that opens the terminal and starts the updater.

Could someone please test this package?
(source)
extract the zip and run the package. Then run the updater launcher from the appliations folder.
Its possible that you get a "unindentied developer" error. you can ignore this, but please tell me when you get this.
To delete this testversion, remove darkmod folder from the library and the tdm applications from your applications folder.

And if you dont have a mac, you can also run on a vm.

Successfully tested the updater on a mac os x sierra vm.

But i cant run tdm, because tdm says that it cant find a opengl videocard.

todo:
placing the tdm folder in /library/application support
Give the launcher apps a icon.
Make a theme for the gui.

Attached Files


Edited by freyk, 25 March 2017 - 11:46 AM.

  • nbohr1more likes this

#32 freyk

freyk

    Member

  • Member
  • PipPip
  • 463 posts

Posted 25 March 2017 - 11:50 AM

@nbohr1more
It is not smart to upload the a 205 mac binary to moddb,
when it doesnt have an installation manual (and other documentation like readmes and licences), things zipped and not tested properly. :angry:
New users dont know now howto install and run tdm.
Please repackage it or make it undone. Thanks.

Edited by freyk, 25 March 2017 - 01:36 PM.


#33 greebo

greebo

    Heroic Coder

  • Root
  • 15975 posts

Posted 25 March 2017 - 01:49 PM

Please note that the builds above are test builds, compiled against the osx branch (based on the 2.06 sources) in SVN, so that's why 2.06 is also the version tag the game console should print out. I didn't plan this to be an "official" build for immediate release or packaging. If it works for users, that's fine, as well as giving them instructions on how to run them of course, but it's definitely not 2.05 and it's not official.

 

I just put this out for mac users to test and give feedback (and I'm indeed grateful getting any feedback, this is appreciated) - in the successful case I was going to merge the changes from the osx branch back into trunk, from then on it's the team decision when to put out an "official" Mac build (whether it's a "2.05"-based one or whether to hold it back until the future 2.06 release - that's not my decision).

 

(At any rate, to be fair one has to note that the moddb download link above actually has installation instructions right below the download link in the description field. Just wanted to point that out. There's definitely no reason to become angry about anything, neither.)



#34 freyk

freyk

    Member

  • Member
  • PipPip
  • 463 posts

Posted 25 March 2017 - 01:54 PM

Im sorry,nbohr1more. didnt clicked in the "read more" button to see the instruction. Imho this has also be packed.

And in that instruction on moddb, a step musto be described howto set execute-permission at the updater.

Edited by freyk, 25 March 2017 - 02:01 PM.


#35 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 7785 posts

Posted 26 March 2017 - 01:12 AM

I changed the description to "Beta" and added a link to our installation wiki
to clear up any confusion.
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...)

#36 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18642 posts

Posted 27 March 2017 - 02:12 PM

Found a bug thats a potential show stopper -

 

Tdm runs in a window, I click into the TDM window and the mouse works as expected. But once I click back into the window I have hold down click to move the mouse cursor. Or in addition to the above the OS mouse cursor is still visable and unmoving and the TDM cursor is moving (albient while having to hold down click)

 

@Greebo would you like to record a video of this..?



#37 greebo

greebo

    Heroic Coder

  • Root
  • 15975 posts

Posted 27 March 2017 - 10:26 PM

Not sure about this. Is it a reproducible phenomenon? (Also not sure whether I can do anything about it.)

#38 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 18642 posts

Posted 28 March 2017 - 07:30 AM

Not sure about this. Is it a reproducible phenomenon?

Yup, I only rebuilt the mac with Serra (10.12.3). Will see if I can find a copy of the El-Capitan installer.



#39 damiel

damiel

    Member

  • Member
  • PipPip
  • 13 posts

Posted 17 September 2017 - 12:51 PM

Hello greebo,

 

thanks a lot for your work on this, i recently switched to macOS as my main system and obviously had to test this out. :D

 

I have good and bad news tho. Good news is that the game runs perfectly fine on my mac, a macbook pro 13' 2017 model, bad news is that running it using the app doenst seem to work, i had to start the darkmod by opening up a terminal and go inside the app forder like

cd /Users/martin-kevin/Games/darkmod/The Dark Mod.app/Contents/MacOS

and start the binary using

./The\ Dark\ Mod

Any ideas whats wrong here? The content of my darkmod folder looks like this:

AUTHORS.txt                           tdm_ai_humanoid_townsfolk01.pk4       tdm_sound_ambient03.pk4               tdm_textures_other01.pk4
LICENSE.txt                           tdm_ai_humanoid_undead01.pk4          tdm_sound_ambient_decls01.pk4         tdm_textures_paint_paper01.pk4
TDM_icon.ico                          tdm_ai_monsters_spiders01.pk4         tdm_sound_sfx01.pk4                   tdm_textures_plaster01.pk4
The Dark Mod.app                      tdm_ai_steambots01.pk4                tdm_sound_sfx02.pk4                   tdm_textures_roof01.pk4
TheDarkMod.exe                        tdm_base01.pk4                        tdm_sound_vocals01.pk4                tdm_textures_sfx01.pk4
ca-bundle.crt                         tdm_defs01.pk4                        tdm_sound_vocals02.pk4                tdm_textures_stone_brick01.pk4
config.spec                           tdm_env01.pk4                         tdm_sound_vocals03.pk4                tdm_textures_stone_cobblestones01.pk4
crc_info.txt                          tdm_fonts01.pk4                       tdm_sound_vocals04.pk4                tdm_textures_stone_flat01.pk4
darkmod.ico                           tdm_game01.pk4                        tdm_sound_vocals05.pk4                tdm_textures_stone_natural01.pk4
darkmod.ini                           tdm_game02.pk4                        tdm_sound_vocals06.pk4                tdm_textures_stone_sculpted01.pk4
description.txt                       tdm_game03.pk4                        tdm_sound_vocals07.pk4                tdm_textures_window01.pk4
fms                                   tdm_gui01.pk4                         tdm_sound_vocals_decls01.pk4          tdm_textures_wood01.pk4
tdm_ai_animals01.pk4                  tdm_gui_credits01.pk4                 tdm_standalone.pk4                    tdm_update.exe
tdm_ai_base01.pk4                     tdm_mirrors.txt                       tdm_textures_base01.pk4               tdm_update.linux
tdm_ai_humanoid_builders01.pk4        tdm_models01.pk4                      tdm_textures_carpet01.pk4             tdm_update.log
tdm_ai_humanoid_females01.pk4         tdm_models02.pk4                      tdm_textures_decals01.pk4             tdm_update.macosx
tdm_ai_humanoid_guards01.pk4          tdm_models_decls01.pk4                tdm_textures_door01.pk4               tdm_version_info.txt
tdm_ai_humanoid_heads01.pk4           tdm_player01.pk4                      tdm_textures_fabric01.pk4             thedarkmod.x86
tdm_ai_humanoid_mages01.pk4           tdm_prefabs01.pk4                     tdm_textures_glass01.pk4
tdm_ai_humanoid_nobles01.pk4          tdm_sound_ambient01.pk4               tdm_textures_metal01.pk4
tdm_ai_humanoid_pagans01.pk4          tdm_sound_ambient02.pk4               tdm_textures_nature01.pk4

  • Bikerdude likes this

#40 greebo

greebo

    Heroic Coder

  • Root
  • 15975 posts

Posted 17 September 2017 - 10:22 PM

Hm, no, don't have a clue. I seem to recall that it worked by double-clicking the app on my own Mac (it's running El Capitan, I think). Maybe there's a security setting intefering?

#41 freyk

freyk

    Member

  • Member
  • PipPip
  • 463 posts

Posted Yesterday, 07:51 AM

Did you give the permission to run tdm, in the security panel, damiel? (some screenshots)
(for more info see, tdm wiki article Installing TDM on Mac OS)

Edited by freyk, Yesterday, 08:04 AM.

  • damiel likes this

#42 damiel

damiel

    Member

  • Member
  • PipPip
  • 13 posts

Posted Yesterday, 03:02 PM

Thanks to both of you, i got unto the right track. I checked the security settings and it seems that macOS Sierra and its Gatekeeper settings are more stricter then older versions, the option in the GUI to enable apps from unidentified developers is even hidden per default and you have to completly disable Gatekeeper if you would like to enable them via GUI.

 

As disabling Gatekeeper for the entire system is not exactly safe, i did some research and found a way to add per-app exceptions to Gatekeeper using the commandline. Short version is to run:

spctl --add path/to/The\ Dark\ Mod.app

You can take a look here to get a more detailed explanation: http://osxdaily.com/...-line-mac-os-x/

 

Doing this small step i can now simply doubleclick on the app to start the darkmod as expected. :)


Edited by damiel, Yesterday, 03:03 PM.

  • Bikerdude and nbohr1more like this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users