Duke4.net Forums: EDuke32+HRP on Mac OSX - A Journey - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

EDuke32+HRP on Mac OSX - A Journey  "My struggle to get the latest greatest Duke action on Mac OSX"

#1

Hi!

So the good news, right off the bat here, is that I got it all working. EDuke32, the HRP, Duke it out in DC, Duke Caribbean, Duke Nuclear Winter... it's all running on my Mac Mini. It looks great, it plays great. I'm having a ton of fun with it.

The bad news? It was one wild ride getting there. It took several hours to figure it all out. One of my obstacles is that I'm sort of new to Macs (I grew up on DOS and Windows). But even then, the current HRP sites don't give a lot of support to folks who are trying to get things running on Mac OSX.

So I was curious: are there any plans to put together a better package for Mac users?

It's alright if the answer is "no". After all, I think I've got it all figured out now. But, I would love to help write some better instructions, especially if I could get it put up on the EDuke32 wiki or as a sticky on these forums.

As some background information, here are some of the obstacles I ran into
  • The FAQ hosted here doesn't even mention that Macs can indeed run EDuke32 (http://hrp.duke4.net/faq.php)
  • The EDuke32 site makes a passing mention to it, but they only provide a Windows version for download (http://www.eduke32.com/)
  • This "Spam-Filter" guy from Germany has compiled a Mac version from the latest source snapshot (http://www.spam-filt...eduke32_on_os_x). As utterly grateful as I am for that, his instructions for getting it up and running only get you so far. His video tutorial doesn't leave you with a very clean install (lots of unnecessary files still around) and it doesn't help you out much with the expansion packs.
  • Unpackssi.exe is only available on PCs. Which means you need a PC around in order to get the .con and .grp files from the expansions.
  • The link to Iggy's site referenced by the FAQ doesn't seem to take you to the place it suggests it will take you. There's no obvious information about taking the extracted information from the .ssi and reconstituting it into the .con and .grp files.
  • Making things more complicated for getting the expansion packs to work, the Mac-compiled version from "Spam-Filter" doesn't respect the "/?" or "-?" parameter for EDuke32. Furthermore, the EDuke32 wiki doesn't list all the parameters. So unless you have a Windows machine handy (and luckily I do), there's no way for Mac users to discover the allowable parameters.
  • Finally, if you're a UNIX-shell n00b that's more used to DOS (and that describes me) it can be pretty frustrating just getting a .exe to run in Mac's "Terminal" app.

As I said, I'd love to put together a more complete, step-by-step guide if it seems like that would be handy. I'm also curious whether or not we could start getting "official" Mac builds. I'm extremely grateful to "Spam-Filter" for his Mac compile, but it's unknown how long his interest in EDuke32 will continue. :^)
0

User is offline   NY00123 

#2

Hi,

Here are a few answers I think I can provide. If it matters, I've never really used a Mac. However...

1. In general, it looks like the HRP FAQ is outdated. For instance, the HRP is *not* released under the GPL, but rather under a customized license.
2. As long as TX doesn't have a Mac (and even if he had, it does *not* mean he *has* to build Mac executables), he can't compile them by himself.
4. I've found the unpackssi source code here: http://www.jonof.id.au/misc
5. Again, the HRP FAQ seems to be outdated.
7. The concept of "Application Bundles" may confuse you, as you're new to the Mac platform.
0

User is offline   TerminX 

  • el fundador

  #3

I think the guy who does the OSX builds will have some interest for a while... he's been in our IRC channel (nick is rhoenie) for a couple of months now and seems active every day. We like him and hope he sticks around!

As for the expansions, as far as I'm concerned I think somebody should just package them up in an EDuke32-friendly format and be done with it since they aren't sold commercially anywhere anymore other than on the second hand market. If people want a boxed copy for their collection by all means they should go snag one off of Amazon, but as it is these things are semi rare and not even very accessible to you once you've actually got your hands on it, as you've noticed.

I'm not even going to start on the price; some douche is selling Duke Caribbean on Amazon for $80 right now -- need I say more?
0

User is offline   Tea Monster 

  • Polymancer

#4

As far as I know, none of the developers for EDuke32 has a Mac. If you've succeeded in getting it all to work under Mac OS X, then package it up in a form that can be unpacked and run on a Mac and see if one of the devs will host it somewhere.

Failing that, get a tut together.

Maybe we might have more Mac users that way!

I don't know if Duke Carribean was ever released for the Mac.
0

#5

I'm glad to hear that Spam-Filter/rhoenie is active in the IRC and that he's likely to stay active on it for a while. I was thinking about getting hooked up to the SVN and getting the builds working on my machine as a back-up, just in case. That said, I'm more than willing to let someone else take the helm on Mac builds. :P

I'm a bit of a new Mac user. I've had my Mac Mini for about a year and while I use Windows every day at work (I'm typing on my work laptop right now), I find that the Mac is nice for the simple things I use it for at home. And it plays retro-games really, really well. EDuke32 runs great on it, as do DOSBox, ScummVM, and the like.

Maybe I'll write up a tutorial to get folks to the state I've got mine working in. It's a little rough though. It would be better if it ran in an application bundle (and yes, I do know a little bit about how those work), but right now I basically just start up the main game or one of the expansions through a shell script. It gives me a "click on this to run the game" experience, but it's not as neat as it could be.

After I've got that written up, maybe I can do some work to make a clean setup for the Mac version. I was actually involved with the setup programming for a couple of games out there in retail. :P
0

User is offline   NY00123 

#6

Maybe a front-end with the ability to launch MODs can be useful?
While it's not perfect and requires you to select mods by ZIP/CON/GRP/DEF mod files (unless you add some -game_dir argument), you can use this: http://ny.duke4.net/ ==> YANG
rhoenie hosts a Mac build. I don't know if it'd work, but at least you can always get the source (in that case, see compiling.txt).

This post has been edited by NY00123: 24 May 2009 - 09:19 AM

0

#7

I'm going to take a stab at putting together a more complete compilation guide for the Mac OSX. Rhoenie has some great info on his site, but I'd like to expand on it. I've also got some other ambitious ideas, but in case I don't follow through on them I don't want to promise anything.

I just got hooked up to the SVN via Xcode (it's very cool that SVN support is built right in - I didn't know that until tonight). I've built out a skeleton for a document on how to compile the project via Xcode. I know what I want to do, now it's just a matter of seeing if I can make it all pull together. Some initial investigations seem promising.
0

#8

Hello Im Mac...
and I CAN'T FREAKING MAKE IT RUN!!.... LOL

Im using the Spam-Filter's version, I follow all the "instructions" but the HRP makes the game to crash after the start up Logo... the 32 bits mode makes the textures to "melt down" after a while of gameplay, so i can only use the classic mode... (well at least i can play some...)
and i just got no idea of how to load the DC and the other Mods...

Ta-dah!!

Do you mind to share a bit of your wisdom?

Never used DOS, I'm using mac since 1996 i only know how to double click or drag and drop, i can deal with pakages and anything icon related but anything related to the terminal freaks me out LOL
0

User is offline   Jottle 

#9

View PostDeathStalker, on 08 October 2009 - 12:33 PM, said:

Hello Im Mac...
and I CAN'T FREAKING MAKE IT RUN!!.... LOL

Im using the Spam-Filter's version, I follow all the "instructions" but the HRP makes the game to crash after the start up Logo... the 32 bits mode makes the textures to "melt down" after a while of gameplay, so i can only use the classic mode... (well at least i can play some...)
and i just got no idea of how to load the DC and the other Mods...

Ta-dah!!

Do you mind to share a bit of your wisdom?

Never used DOS, I'm using mac since 1996 i only know how to double click or drag and drop, i can deal with pakages and anything icon related but anything related to the terminal freaks me out LOL


I know this is an old thread, but any chance you can help us mac users get the addons running with the hrp pack on the mac? There's little guidance out there. Did you ever make a tutorial?
0

User is offline   Tetsuo 

#10

eduke32 with the HRP runs great for the most part for me I even got the Blood TC to load up via an applescript... however.. shadows are rendering as garbage for me right now like a bunch of squares or something. Perhaps the nvidia drivers on my GTX680MX aren't up to snuff. I heard they need to be updated to the ones in OS X 10.9 for Bioshock Infinite to enable higher settings for example.
0

User is offline   Jottle 

#11

View PostTetsuo, on 29 August 2013 - 03:55 PM, said:

eduke32 with the HRP runs great for the most part for me I even got the Blood TC to load up via an applescript... however.. shadows are rendering as garbage for me right now like a bunch of squares or something. Perhaps the nvidia drivers on my GTX680MX aren't up to snuff. I heard they need to be updated to the ones in OS X 10.9 for Bioshock Infinite to enable higher settings for example.


can you explain how to get the duke it out in dc hrp to work along with eduke32 on mac?
0

User is offline   Jottle 

#12

View PostJottle, on 31 August 2013 - 07:26 PM, said:

can you explain how to get the duke it out in dc hrp to work along with eduke32 on mac?


Bump. Anyone?
0

User is offline   rhoenie 

#13

View PostJottle, on 03 February 2014 - 09:20 PM, said:

Bump. Anyone?


Thats why I uploaded those EDuke Launchers to www.eduke32.com's Mac section: http://dukeworld.duk...et/eduke32/mac/

The basic steps are:
  • Set up a working EDuke32 installation with HRP enabled
  • Get Duke It Out in DC and put all data files into ~/Documents/EDuke32/DukeItOutInDC/
  • Install the launcher Icons and you are ready to go :-)

Attached thumbnail(s)

  • Attached Image: DukeOutDC_HRP.PNG

1

User is offline   Jottle 

#14

View Postrhoenie, on 03 February 2014 - 11:40 PM, said:

Thats why I uploaded those EDuke Launchers to www.eduke32.com's Mac section: http://dukeworld.duk...et/eduke32/mac/

The basic steps are:
  • Set up a working EDuke32 installation with HRP enabled
  • Get Duke It Out in DC and put all data files into ~/Documents/EDuke32/DukeItOutInDC/
  • Install the launcher Icons and you are ready to go :-)



I'm trying to get these launchers to work right. The way they're written, you have to have the eduke32 app in your applications folder (not just anywhere), and you of course, as you said, have to have the dukedc.grp in your documents folder. Do you have to have any other dukedc files in the ~/Documents/EDuke32/DukeItOutInDC folder? I get the following script error when I try to run your DC launcher:

"/Applications/EDuke32.app/Contents/MacOS/Eduke32: line 60: /Users/jottle/Documents/EDuke32/DukeItOutInDC//Applications/Eduke32.app/Contents/ MacOS/Eduke32.bin: No such file or directory" and right below it "/Applications/EDuke32.app/Contents/MacOS/EDuke32: line 60: exec: /Users/jottle/Documents/EDuke32/DuekItOutInDC//Applications/EDuke32.app/Contesnts/ MacOS/EDuke32.bin: cannot execute: No such file or directory"


Do the launchers need to reside in a particular folder? Or is it possible my mac build of eduke32 doesn't support this (I'm using a march 21st, 2103 build). I have the dukedc.grp in the correct folder (verified by running the script w/out placing eduke32 in the applications folder), but it still has thse errors popping up when I have Eduke32 in the applications folder.
0

User is offline   Jottle 

#15

View PostJottle, on 10 February 2014 - 03:41 PM, said:

I'm trying to get these launchers to work right. The way they're written, you have to have the eduke32 app in your applications folder (not just anywhere), and you of course, as you said, have to have the dukedc.grp in your documents folder. Do you have to have any other dukedc files in the ~/Documents/EDuke32/DukeItOutInDC folder? I get the following script error when I try to run your DC launcher:

"/Applications/EDuke32.app/Contents/MacOS/Eduke32: line 60: /Users/jottle/Documents/EDuke32/DukeItOutInDC//Applications/Eduke32.app/Contents/ MacOS/Eduke32.bin: No such file or directory" and right below it "/Applications/EDuke32.app/Contents/MacOS/EDuke32: line 60: exec: /Users/jottle/Documents/EDuke32/DuekItOutInDC//Applications/EDuke32.app/Contesnts/ MacOS/EDuke32.bin: cannot execute: No such file or directory"


Do the launchers need to reside in a particular folder? Or is it possible my mac build of eduke32 doesn't support this (I'm using a march 21st, 2103 build). I have the dukedc.grp in the correct folder (verified by running the script w/out placing eduke32 in the applications folder), but it still has thse errors popping up when I have Eduke32 in the applications folder.


bump. Any guidance on this?
0

User is offline   Jottle 

#16

View PostJottle, on 19 February 2014 - 04:00 PM, said:

bump. Any guidance on this?



Any help rhoenie?
0

User is offline   rhoenie 

#17

View PostJottle, on 10 February 2014 - 03:41 PM, said:

"/Applications/EDuke32.app/Contents/MacOS/Eduke32: line 60: /Users/jottle/Documents/EDuke32/DukeItOutInDC//Applications/Eduke32.app/Contents/ MacOS/Eduke32.bin: No such file or directory" and right below it "/Applications/EDuke32.app/Contents/MacOS/EDuke32: line 60: exec: /Users/jottle/Documents/EDuke32/DuekItOutInDC//Applications/EDuke32.app/Contesnts/ MacOS/EDuke32.bin: cannot execute: No such file or directory"


Well, seems like you are running the GTK version of EDuke32 on OSX. That one comes with a wrapper script called EDuke32 that fires up the actual EDuke32 binary. The latter doesnt work without the wrapper script (as it sets a few environment variables needed for GTK).

Could you please try one of the "normal" builds without GTK? Those will probably working out of the box. I uploaded this one last weekend: http://dukeworld.duk...ion_svn4368.dmg


Ah.. and BTW.. there are some typos in your path too - maybe those caused all the trouble? :-)
/Users/jottle/Documents/EDuke32/DuekItOutInDC//Applications/EDuke32.app/Conte snts/MacOS/EDuke32.bin


EDIT:
I have just positively checked that the "old" GTK version of EDuke32 for MacOS works fine with the launcher scripts. So it must be your typos inside the modified AppleScript code of the launchers. Fix them and have fun. :blink:

Attached thumbnail(s)

  • Attached Image: launcher.PNG


This post has been edited by rhoenie: 19 March 2014 - 01:23 PM

0

User is offline   Jottle 

#18

View Postrhoenie, on 18 March 2014 - 11:07 PM, said:

Well, seems like you are running the GTK version of EDuke32 on OSX. That one comes with a wrapper script called EDuke32 that fires up the actual EDuke32 binary. The latter doesnt work without the wrapper script (as it sets a few environment variables needed for GTK).

Could you please try one of the "normal" builds without GTK? Those will probably working out of the box. I uploaded this one last weekend: http://dukeworld.duk...ion_svn4368.dmg


Ah.. and BTW.. there are some typos in your path too - maybe those caused all the trouble? :-)
/Users/jottle/Documents/EDuke32/DuekItOutInDC//Applications/EDuke32.app/Conte snts/MacOS/EDuke32.bin


EDIT:
I have just positively checked that the "old" GTK version of EDuke32 for MacOS works fine with the launcher scripts. So it must be your typos inside the modified AppleScript code of the launchers. Fix them and have fun. :)


Well then I must be doing something else wrong. I wish it was just a typo, but the text I pasted wasn't directly from the applescript error window, I just transposed it. So the typo is only in the forum post. I guess I'm doing something else wrong either with the location of eduke or the version I'm using.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options