Jump to content
Sign In to follow this  
simmaster07

Network Addon Mod Installer for MACINTOSH

20 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

[download link -- installer only, no NAM archive!]

Well, as you may or may not know, the Network Addon Mod comes with a Macintosh download. The problem?

  • There is no installer.
  • It's simply a loose zip with all the files in it
  • The readme doesn't contain actual installation instructions
Now what can we do to remedy the situation? Simple: we create a Mac installer. Now, nobody on the NAM team has a Mac, and neither do I, but luckily, both Linux and Macs support bash scripting, making it easier to make and test the script. While I cannot guarantee this will work, it has been tested. Macs use the UNIX filesystem format (/home, /dev, etc.) but use symlinks (Symbolic Links, or shortcuts) to use menus such as "Applications." With that system, it is assumed that SimCity 4 is installed at /home/{username}/Documents/SimCity 4/Plugins.

FAQ

How do I run this script?

Open up a terminal

Type "cd ~/Downloads" (if you put it in the Downloads folder)

Type "./NAM-Install"

The script doesn't load.

Open up a terminal

Type "cd ~/Downloads" (if you put it in the Downloads folder)

Type "chmod 777 NAM-Install"

It says it can't find the NAM zip file

Make sure that the NAM archive for Macs is in the same folder as the installer

Is this script supported by the NAM team?

No. This is a script that was not made by the NAM team or a NAM member. Support is offered in this thread.

Are there other Mac installers for other plugins?

No, but hey, I wouldn't say no to making one. 3.gif
Is the NAM included? No, it must be downloaded separately.
Can I change the zip's name? No, unless you edit the script properly.
Do I need FileJuicer? No
Do I need WINE? No
What about... NO
Can I redistribute this?
(The first yes in here) Yes, you may redistribute this script as long as credit is given and it remains a free script.
The installer tells me the zip file couldn't be found and I didn't change the name. The name may be different. Rename it to NetworkAddonMod_Mac.zip
How do I report an issue? Just post here with details and the install.log file(s)

Screenshots

[ These screenshots were taken on a Fedora 11 machine, not a Mac, but still a Linux/UNIX based machine like OS X]

Simulator Z variation selection

Traffic controller selection

NAM Essentials selection

Known Issues

  • Does not install under root (if you can even log in as root on a mac)

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

wow !! this great !!! i wish it come out earlier as i already installed the latest NAM. anyway, its a good job. thanks simmaster07 !!

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Fantastic idea! (Lurker here 3.gif)

But, that is if SC4 installs to "/home/USERNAME" on Macs. Does it?

It could be "/usr" or "/etc" or... (assuming Mac has these as UNIX/Linux does...)

Still great idea! (And bash scripting!)

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Here is some interesting information you will likely need to make sure everything works out fine...

The actual application is located at '/Applications/SimCity 4' or '/Applications/SimCity 4 Deluxe'

The home folder is located at '/Users/USERNAME', or simply '~/'. There is actually no folder named 'home', the name of the home folder is the Username of the user. As a result, the user's plugins folder is at '/Users/USERNAME/Documents/SimCity 4/Plugins'

I can test this is needed. As I have 4 Macs (3 of which I run SC4 on).

TEG

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Hey,

tried to install...got this in the terminal:

./nam-install: line 74: syntax error near unexpected token `>'

./nam-install: line 74: `mkdir NAM_Temp &>> install.log'

Im not really familiar with this type of scripting...any ideas how to fix this?

Thanks!

Share this post


Link to post
Share on other sites
Posted:
Last Online: A long, long time ago... 
 

TEG,

I'v put my script in downloads (plus my Zip file).... it runs flawlessly trought the instalation but no folder is put in the plugins.

so i want to start the script from my plugins folder. so i put my files there and type in terminal

cd ~/Users/myunsername/Documents/SimCity 4/Plugins

then it says: no such file or directory

...can you help me

 

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

I exchanged all /home/un -i (or something like that) with /Users/myusername in Textedit. After that it installed as it should.

Share this post


Link to post
Share on other sites
Posted:
Last Online: A long, long time ago... 
 

Hi @all

Where did the link for the update disapear to?? Which is the latest version? Could somebody please post the latest version?? I hope this might be a help for my NAM issues.. :-(

Thanks a million..

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Originally posted by: Anicka

    I exchanged all /home/un -i (or something like that) with /Users/myusername in Textedit. After that it installed as it should.quote>

    Thanks for notifying me about that one bug. TEG also brought it up and would have been corrected had I not been timed out for being underage. Now that I'm back on the site, I'll update the script.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online: A long, long time ago... 
     

    These download linksre">  are broken, the entire site seems to be gone. Would be awesome to find the new NAM - awesome it's been maintained all this time but we need the DL site 4.gif

    Update - found a google code repository  - going to give that a try
    https://code.google.com/p/sc4nim/downloads/list

    The official download including August update seems to be https://www.sc4devotion.com/csxlex/lex_filedesc.php?lotGET=852

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    I also have the same problem as Pangloss84

    ./nam-install: line 74: syntax error near unexpected token `>'

    ./nam-install: line 74: `mkdir NAM_Temp &>> install.log'

    Anyone now how to fix this? Pls and thnx

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    I also have the same problem as Pangloss84

    ./nam-install: line 74: syntax error near unexpected token `>'

    ./nam-install: line 74: `mkdir NAM_Temp &>> install.log'

    Anyone now how to fix this? Pls and thnx

    help I have the same problem with latest NAM for MAC

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    I cannot even get past the first part-Terminal says "No such file or directory" at Step 1.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Hi There,

    If you have BBEdit or TextWrangler (google it and it's free to download) or any text editor, OPEN the NAM-Install file in the editor and search "&>>" and replace it with "&>". There seems to be an extra ">" sign that Terminal doesn't understand.

    I had this same issue but I got passed it. But now another problem is happening. I got this message: The NetworkAddonMod1.dat file isn't in the NAM folder. Do you have the proper permissions to install the NAM there? Is this a bug? Exiting... , the thing is, that file is actually present.

    Any ideas will be greatly appreciated.

    Kodok.

    I also have the same problem as Pangloss84

    ./nam-install: line 74: syntax error near unexpected token `>'

    ./nam-install: line 74: `mkdir NAM_Temp &>> install.log'

    Anyone now how to fix this? Pls and thnx

    help I have the same problem with latest NAM for MAC

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Never Mind,

    I got it to work.

    @baraktorvan and Blubi55 :

    I suggest you download a text editor like TextWrangler for free.

    1. UNZIP the NAM-Installer-For-Mac-0.9.1.zip and place your NetworkAddonMod_Version30_MacOS.zip file in the folder of the UNZIPPED NAM-Installer-For-Mac-0.9.1.

    2. OPEN the NAM-Install file in Textwrangler (turn on view Line Numbers) and make sure in Line 9 of that file the file name is the same as your NetWork addon file ("search" and "replace all" just to make sure)

    3. Replace the &>> with &> (see below).

    4. Follow the directions and you should be good to go.

    Good luck.

    Kodok

    Hi There,

    If you have BBEdit or TextWrangler (google it and it's free to download) or any text editor, OPEN the NAM-Install file in the editor and search "&>>" and replace it with "&>". There seems to be an extra ">" sign that Terminal doesn't understand.

    I had this same issue but I got passed it. But now another problem is happening. I got this message: The NetworkAddonMod1.dat file isn't in the NAM folder. Do you have the proper permissions to install the NAM there? Is this a bug? Exiting... , the thing is, that file is actually present.

    Any ideas will be greatly appreciated.

    Kodok.

    I also have the same problem as Pangloss84

    ./nam-install: line 74: syntax error near unexpected token `>'

    ./nam-install: line 74: `mkdir NAM_Temp &>> install.log'

    Anyone now how to fix this? Pls and thnx

    help I have the same problem with latest NAM for MAC

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Hi guys,

    I've been trying install the NAM for the best part of an hour and after having searched the internet for any info I can find I'm at a loss!

    I originally had the problem with the "&>>" needing changed to "&>" but now have the issue of

    The NetworkAddonMod1.dat file isn't in the NAM folder. Do you have the proper permissions to install the NAM there? Is this a bug?

    I've tried following through the suggestion above but don't fully get it? What can I do to remedy this?

    Hope you guys can help! Cheers :)

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account

    Sign In to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections