Insurgency

Insurgency

Not enough ratings
Keeping both Normal branch and Beta branch installed (Mac OS X)
By RayHawk and 1 collaborators
Guide to install Beta branch without affecting your Normal branch
   
Award
Favorite
Favorited
Unfavorite
First of all
Here's the windows version of the guide created by Arc.

http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=388264242


This guide is almost the same as the guide Arc made above with additional steps because Apple.

Things you need:
- Terminal
- SteamCMD
- Basic UNIX commands/navigation
Installing SteamCMD
SteamCMD is the command line version of Steam client which you need to have to get first.

Open Terminal (either go to upper left corner, look for the magnifying glass, click that an type in terminal or on your keyboard command+space then type terminal).

Once Terminal is open, you see something like this.

Last login: Sat Aug 8 20:34:57 on console <ComputerName>:~ <ComputerUsername>$


Tilde "~" above indicates that you're in your $HOME directory. Create a directory within your $HOME directory and name it "steamcmd"

$ mkdir steamcmd mkdir: steamcmd: File exists $ ls -l total 0 drwx------ 3 staff 102 Jan 10 2015 Applications drwx------+ 5 staff 170 May 21 14:57 Desktop drwx------+ 7 staff 238 Aug 8 20:35 Documents drwx------+ 7 staff 238 Aug 2 06:50 Downloads drwxr-xr-x 4 staff 136 Jan 10 2015 Installers drwx------+ 63 staff 2142 Jan 15 2015 Library drwxrwxrwx 30 staff 1020 Aug 1 22:09 Light Novels drwx------+ 3 staff 102 Dec 15 2014 Movies drwx------+ 23 staff 782 Dec 31 2014 Music drwxr-xr-x 7 staff 238 Dec 15 2014 PS Vita drwxrwxrwx 17 staff 578 Jan 11 2015 Photoshop Signatures drwx------+ 8 staff 272 Jul 12 19:54 Pictures drwxr-xr-x+ 6 staff 204 Dec 25 2014 Public drwxr-xr-x 4 staff 136 Dec 23 2014 Sound Clips drwxr-xr-x 18 staff 612 Aug 6 07:35 steamcmd


On the example I have above, I already have my steamcmd directory that's why I got a File exist after executing mkdir. Once you've created the directory, type in "ls -l" to list all files/directory in $HOME and you should see your steamcmd directory.

Change directory to steamcmd (cd steamcmd) and execute


It will download a tar.gz file to steamcmd directory and once that's completed, execute

tar -xvzf steamcmd_osx.tar.gz

It will unzip the .tar.gz file and if you "ls -l" you should have something like this

$ ls -l total 129696 -rwxr-xr-x 1 staff 307956 Mar 6 03:27 crashhandler.dylib drwxr-xr-x 3 staff 102 Feb 8 2014 frameworks -rwxr-xr-x 1 staff 385764 Mar 6 03:27 libaudio.dylib -rwxr-xr-x 1 staff 417352 Mar 6 03:27 libtier0_s.dylib -rwxr-xr-x 1 staff 603616 Mar 6 03:27 libvstdlib_s.dylib drwxr-xr-x 4 staff 136 Feb 8 2014 osx32 drwxr-xr-x 8 staff 272 Jul 29 06:23 package drwxr-xr-x 28 staff 952 Jul 29 06:23 public -rwxr-xr-x 1 staff 57869428 Mar 6 03:27 steamclient.dylib -rwxr-xr-x 1 staff 4211128 Mar 6 03:27 steamcmd -rwxr-xr-x 1 staff 1052 Dec 19 2014 steamcmd.sh -rw-r--r-- 1 staff 2066481 Jul 29 06:16 steamcmd_osx.tar.gz -rwxr-xr-x 1 staff 513812 Mar 6 03:27 steamconsole.dylib


Launching SteamCMD login and verifying your Steam Account
*Everything below should be executed within your steamcmd directory or the directory where you installed SteamCMD*
* Always Exit Steam before launching SteamCMD *

Looking at the files extracted from .tar.gz, execute the steamcmd.sh file

$ ./steamcmd.sh

Once you've executed the shell script, it will update anything that needs to get updated and after that, login to your account

login <SteamID> <Password>

From Arc's guide
Originally posted by Arc:
It will verify your account and ask you for Steam Guard code.

Open your Email which you used to create Steam Account and retype Steam Guard Code into Steam Command Line tool, hit "enter key" and wait till it verify your account (couple of seconds), once it's verified, close SteamCMD tool and proceed to next step.
Creating SteamCMD script
Create a plain .txt file (this case, ins_beta.txt) within your steamcmd directory.

Copy/Paste the code below in your .txt file.
@ShutdownOnFailedCommand 1 //set to 0 if updating multiple servers at once @NoPromptForPassword 1 login <SteamID> <Password> force_install_dir <Install Path> app_update 222880 -beta beta validate quit

There are two ways you can create the .txt file either you open up a TextEdit or via UNIX vi command.

If you're going for vi command, type in vi <name of txt file>.txt.
Press "i" and you should have some thing like this.

~ ~ ~ ~ ~ ~ ~ ~ ~ -- INSERT --

Once you see "INSERT" in the bottom of the command line screen, you can now paste the code. To save and exit, first make sure you're out of insert mode (press Escape button). Once you're out of insert mode, shift+; (that's ":") and wq and enter.

@ShutdownOnFailedCommand 1 //set to 0 if updating multiple servers at once @NoPromptForPassword 1 login <SteamID> <Password> force_install_dir <Install Path> app_update 222880 -beta beta validate quit ~ ~ ~ ~ :wq

Once it exits, you should have your txt file.

Here's what I have on my own .txt file
@ShutdownOnFailedCommand 1 //set to 0 if updating multiple servers at once @NoPromptForPassword 1 login HUEHUEHUE HUEHUEHUE force_install_dir .\Insurgency_Beta app_update 222880 -beta beta validate quit

For the install dir path, make sure you're using forward slash. In my actual .txt file, I installed mine within steamcmd dir. ".\" = current directory.

Save your .txt file and proceed to next step.
Downloading/Updating Insurgency Beta branch
*REMEMBER TO CLOSE YOUR STEAM CLIENT BEFORE EXECUTING CODE BELOW*

Within steamcmd directory, executed code below

$ ./steamcmd.sh +runscript <.txt file you created from previous step>

First time execution of that command will install Insurgency Beta branch on the directory you specified in your txt file and succeeding execution will update your Beta branch.

After download and StemCMD quits, you can now launch the game.
Launching the game
Once installation is completed, go to the directory where you installed the game and look for "insurgency_osx"

Once you've found it, rename it to insurgency_osx.app. Launch your Steam client and Add non-Steam Game. Find insurgency_osx.app, mark it, then Add Selected programs.

You cannot launch it yet after you see insurgency_osx in the list of games. Go back to the directory where you installed the game and rename insurgency_osx.app back to just insurgency_osx. On your Steam client, right click on insrugency_osx and click on properties. On the shorcuts tab, you should see that the Target is "insurgency_osx.app". Remove the .app and close. You should be able to launch Insurgency Beta branch.
Troubleshooting
Didn't really have any issues doing it on my end but in any case...

From Arc's guide
Originally posted by Arc:
Troubleshooting
You can get one of these errors:

Error code 5: Wrong password entered, may appear also if you have unsupported character within the password,

Error code 65: Anti-spam timer if you spamming login, wait 30+ minutes and try again

error! app 222880 state is 0x1 after update job:
Unsupported character in <path> (for example: ?, !, etc. and probably some language-specific characters as well)
6 Comments
Honk Honk!!! 19 Feb, 2016 @ 3:00pm 
- rep this guys a shitty moderator and i hate him wish bad things for him
may0 27 Jan, 2016 @ 4:32pm 
tar -xvzf steamcmd_osx.tar.gz
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.


Any ideas?
Jongy 21 Jan, 2016 @ 7:28pm 
Can someone please make a video step by step guide for this? I am having trouble understanding the steps.

Thanks.
Coton 20 Jan, 2016 @ 5:22am 
I must have done something wrong cause now I can't play Insurgency Normal branch and Steam crashes when I click on the "add non steam game" button...
SHOUBI 9 Aug, 2015 @ 11:47pm 
:thumbs:
Arc  [author] 8 Aug, 2015 @ 9:54am 
Awesome work :insfist: