Jump to content
The Dark Mod Forums

Graphical Darkmodinstaller for Mac os x or Linux?


freyk

Recommended Posts

Some few months now I love(d), as a mac os x user, your mod (until 1.08..), but i noticed that it is for beginners difficult to install the mod on Mac os x and Linux.

 

To make it easier for these people, i'm working, just to learn and for fun, on a cross-platform graphical installer with Izpack, for the mac os x and linux. (see the screenshots)

 

It automatically installs the executable, the updater and the documentation, set the right permissions, creates shortcuts and a uninstaller. And can automaticly start the updater (if needed).

 

Benefits:

  • Graphical Installation.
  • More advanced than the standard software installer for mac os x
  • It is possible to change the installation folder.
  • Install selections.
  • Automatically set the accurate file permissions
  • Easy to program (like nsis for windows) (no xcode needed)
  • Skinnable
  • Free and open source
  • And Cross platform

Disadvantage:

  • Java isn't standard installed on new Mac os X systems (lion and higher).

 

I would like to hear from you what you think of it.

Maybe as an easy alternative for the manual extraction, file permissions and execution of the files on mac and linux?

 

Screenshots of an early version of the installer:

post-13309-0-42788100-1353870909_thumb.jpg

post-13309-0-42788100-1353870909_thumb.jpg

post-13309-0-92778800-1353870911_thumb.jpg

post-13309-0-69757800-1353870913_thumb.jpg

post-13309-0-83251500-1353870915_thumb.jpg

post-13309-0-29064400-1353870919_thumb.jpg

post-13309-0-54592700-1353870921_thumb.jpg

post-13309-0-78651800-1353870924_thumb.jpg

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Java isn't in the default install for Linux (usually, I think), so this might complicate things on Linux.

 

A graphical installed makes things better for users, that's right, but then, TDM isn' something that needs much installed. (it is basically just "download the updater and run it").

 

However, what would be neat would be menu interation (not so much desktop shortcuts but setting up a menu shortcut and icon etc) and you are right, the uninstaller. So, cool project. If you need someone testing, PM me please.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

A graphical installed makes things better for users, that's right, but then, TDM isn' something that needs much installed. (it is basically just "download the updater and run run it"

If you read the installationguide for the mac on the site, you and the writer missed something: extract the files in the right folder and give it the execute permission and then run it.

Beginners dont know that, so this installer will do it for them.

It can give the user also the choice to download the full package (2gb), give it a nice icon, etc.

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

If you read the installationguide for the mac on the site, you and the writer missed something: extract the files in the right folder and give it the execute permission and then run it.

Beginners dont know that, so this installer will do it for them.

It can give the user also the choice to download the full package (2gb), give it a nice icon, etc.

 

Yeah that is cool, esp. for beginners. Sorry didn't read the site (heh, you expected me to do so :D

 

So, want me to test it a bit on linux and give feedback?

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Java isn't in the default install for Linux (usually, I think), so this might complicate things on Linux.

True, its modular and, for me now as a graphical packager, annoying.

But people can create a deb/rpm/etc.

 

I test my installer on virtual machines (ubuntu & opensuse),

but tests on other linux os'ses and feedback are always welcome. :)

(I will post the link to the binary and source soon)

 

My intention is to make an installationpackage that mac-users are accustomed to (and learn trough experience):

  • A more advanced installer (to create and prepare a darkmod folder for an online installation)
  • Darkmod icons
  • And the objects above in a nice DMG package (like the graphical DMG's from firefox or adium)

And offcourse, publish the source to the Darkmod team and forum.

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

For the ones who want to run a testversion of the graphical installer (on your own risk), get it from here.

Remeber its an just an prealpha version, it doesnt create shortcuts, a nice skin, etc.

Tested in Java runtime 1.6 (mac) and openjdk.

If you want to run it, install java runtime or openjdk, download the jar and click on it.

(or run: java -jar darkmodinstaller.jar)

 

And i dont have the time to work a long time on the installer. I will update the jar and topic periodicly.

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

A short test showed that the GUI basically works, but it didn't detect that I'm running Linux, so it installed (or tried to) into a mac-os path, and it installed the mac-os installer, which I can't use on Linux.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

This installs TDM 1.08 on Mac OSX? I thought that build wasn't working yet (though I think it was mostly an issue with the deployer

so this might be the fix)?

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

 

http://www.indiedb.com/mods/the-dark-mod

 

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

Link to comment
Share on other sites

Cool to see someone working on making it easier for new users to get it running.

 

In my attempts at Linux I found many things hard to instal because of lack of frontends like this. So I can only imagine it is a good thing. Never had much luck getting a dual boot to work nicely though so I can't test.

Dark is the sway that mows like a harvest

Link to comment
Share on other sites

I posted the prealpha to let you see how this graphical installer will work in the future, but testing is at this moment not necessary.

 

A short test showed that the GUI basically works, but it didn't detect that I'm running Linux, ..

I know that other os'ses can run my installer, but at this time the graphical installer is targeted only to mac os-users.

 

This installs TDM 1.08 on Mac OSX? I thought that build wasn't working yet (though I think it was mostly an issue with the deployer so this might be the fix)?

This installer has the updater from 1.07.

And i I know that build 1.08 doesn't work for me (or us).

I tried several sollutions to run 1.08 and that doesnt work.

(my status now: mac os x snowleopard, start darkmod 1.08 in terminal, get the darkmod loadscreen and crash with some errors)

My solution for this, is to have two versions of the darkmod inside the doom3 folder:

an folder with 1.07 to play the mod and a folder with 1.08 folder where i update periodicly and check if it runs. And if it finnaly runs, switch over.

 

And if i want to install 1.07, i download first the full version of 1.06, run the updater and stop it dirrectly between the 1.07 and 1.08 update.

One of my wishes is to put an feature in my installer, that give the user the choice with version the user want to download.

(@devs: please add also this feature to your updater)

 

Never had much luck getting a dual boot to work nicely though so I can't test.

you can also use a virtual machine (like virtualbox, vmware, etc).

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

The MacOS is unfortunate, but w/o some mac developer it is unlikely to get fixed. We don't have anyone with a Mac to work on that AFAIK.

 

As for installing older versions: Well, these cannot be supported (the team is even overloaded supporting the current version on all 3 OS, plus developing the next one). And supporting older versions is even harder.

 

The first problem arises that you need a way to download older releases, which is not really possible unless someone hosts them still. I'm not aware it would even be possible to go back before v1.06. I know I have the differential updates on my mirror, but not the full versions (one would need at least v1.1 plus the diff updates). It also adds more workload to the team.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

  • 2 weeks later...

I can test this if you like, just pm me the details. I'm on 10.8.

 

thanks! I will prepare builds together with some instructions on assumed layout and post everything in the initial thread http://forums.thedarkmod.com/topic/14106-building-under-mac-os-x, ok?

 

ps: i'll build using 10.6 frameworks hoping that OSX 10.8 is backward compatible with 10.6...

 

besides, do you think that you might consider running debug build of TDM under GNU debugger (gdb) in order to provide its backtrace output as feedback for any occurred faults? (this will simply amount to running a shell script instead of opening an application)

Link to comment
Share on other sites

besides, do you think that you might consider running debug build of TDM under GNU debugger (gdb) in order to provide its backtrace output as feedback for any occurred faults? (this will simply amount to running a shell script instead of opening an application)

 

I shouldn't have any problem giving this a go, but I warn you that I'm not really a dev (my experience is mainly with PHP, which should tell you something of my skills, or lack thereof :)).

Link to comment
Share on other sites

I added a new feature to my graphical installer, to create a shortcut (symlinks) to applications folder in the homefolder of the user (~/Applications).

Also i uploaded for the ones who would like to compile/ patches test it.

(If you want to send me a patch for this installer, please pm me.)

 

@all people: Please keep your posts to this subject. Or post this in another topic.

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

@freyk You know you may as well symlink the other way around?

 

I did as such:

#!/bin/sh
TDMPATH=$(echo `dirname "$0"`); #| sed -E 's/([ ])/\\&/g');
APPDATA="$HOME/Library/Application Support/Doom 3"
FM=$(cat "$TDMPATH/darkmod/currentfm.txt")
mkdir "$APPDATA";
cp "$TDMPATH/darkmod/Darkmod.cfg" "$APPDATA/$FM/DoomConfig.cfg"
cd "$APPDATA";
rm "$APPDATA/Doom 3.app"
rm "$APPDATA/base"
rm "$APPDATA/darkmod"
ln -s "$TDMPATH/Doom 3.app" "$APPDATA/Doom 3.app"
ln -s "$TDMPATH/base" "$APPDATA/base"
ln -s "$TDMPATH/darkmod" "$APPDATA/darkmod"
exec "$TDMPATH/darkmod/TDM.app/Contents/MacOS/Doom 3" +set fs_game_base darkmod +set fs_game $FM

Link to comment
Share on other sites

  • 4 weeks later...

Hello,

 

i'm sorry i have posted any sooner, because the lack of my interest for my project.

For me is very difficult to make the darkmodinstaller for mac, and stucked a to make an dmg out of the all.

 

But for the developers who pickup my project, get the source from my site.

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 2 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
×
×
  • Create New...