Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 56 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Tutorial: Creating an "fs_game" folder ON MAC OS X
ODAWA
General Member
Since: Jan 3, 2011
Posts: 18
Last: May 6, 2012
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Monday, Mar. 7, 2011 04:35 pm
I had to figure this out myself a few months ago, and have been wanting to share this with any Mac gamers/modders who need to set up an "fs_game" folder.  For more info on why you might need to use an "fs_game" folder, see here:
http://www.google.ca/search?hl=en&source=hp&biw=910&bih=333&q=fs_game+folder&aq=f&aqi=&aql=&oq=

For example, to set up an fs_game folder for Call of Duty 2, you need to:

1. In a Finder window locate the application called "Call of Duty 2 Multiplayer" (its inside the "Call of Duty 2" folder).  Then right-click and select "Show Package Contents" on the application called "Call of Duty 2 Multiplayer".  Now a new finder window opens up to show the what is inside: you will see a folder called "Contents".


2. Inside this folder go to "Content/MacOS/Call of Duty 2 Multiplayer".  Right click on "Call of Duty 2 Multiplayer" and select "Get Info".  Now the info window pops up.  Look in the General section, specifically at the Where info (the file location info).  You need to write this down manually since you cannot copy/paste from the Get Info window.  So for example:

On my computer the file called "Call of Duty 2 Multiplayer" is located here:
Code:
/Volumes/CENSORED HD/CENSORED GAMES MORE/COD2/Call of Duty 2/Call of Duty 2/Call of Duty 2 Multiplayer.app/Contents/MacOS


I know, I know its a ridiculously deep folder structure.  So for you it might be more simple like:

Code:
/Volumes/YOUR HD/Applications/Call of Duty 2/Call of Duty 2/Call of Duty 2 Multiplayer.app/Contents/MacOS


So write down your file's location in textedit as you see it. 



3. Now that you have this typed out in textedit, you need to re-type (edit) it so that all the spaces are translated into "\" slashes.

For example if a file called "Cat" was in the folder "Up the tree", it would have looked liked this in the Get Info window:

Code:
/Volumes/YOUR HD/Applications/Up the tree/Cat


But now in TextEdit, you need to replace all the spaces with "\" slashes, like this:

Code:
/Volumes/YOUR\HD/Applications/Up\the\tree/Cat


Or in the context of my COD2:

Code:
/Volumes/CENSORED\HD/CENSORED\GAMES\MORE/COD2/Call\of\Duty\2/Call\of\Duty\2/Call\of\Duty\2\Multiplayer.app/Contents/MacOS




4. Great job!  Let's get ready to make the fs_game folder.  Type at the end of your long file location description the following " +set fs_game PANDA", but don't forget the space before the "+", like this:

Code:
/Volumes/CENSORED\HD/CENSORED\GAMES\MORE/COD2/Call\of\Duty\2/Call\of\Duty\2/Call\of\Duty\2\Multiplayer.app/Contents/MacOS +set fs_game PANDA


Of course, you don't have to write "PANDA", so instead you could write "mymods" or something really not unique like "testfsgamefolder".  But keep in mind that if other clients connect to a server running out of your fs_game folder, they WILL automatically download small client-side files into a folder named identically like your fs_game folder.  So, name creatively and without fear of shame!



5.  Right on!  Ok now open up the application Terminal, its in the Applications/Utilities folder.  Don't be scared.  Simply copy and paste your file location description from TextEdit into Terminal.  Press Enter.  Wait while COD2 (for example only) loads up.  You can now quit COD2. But don't quit Terminal.



6. Almost done!  Now we need to Save As within Terminal.  A window will pop up.  Type in Save As: "PANDA" or "thenameofyourfsgamefolder".  Select from Where: "Desktop" or where ever you want to save it (the save location does not effect the content of the file you are about to save).  Click the option Execute this command (specify complete path) and then Copy/Paste the same file location description you just recently pasted into the main screen of Terminal (in step 5).  Make sure that Execute command in a shell is selected (should be by default).  Click the Save button.



7.  Find your newly created "fs_game" folder.  You can find your "fs_game" folder inside your "Call of Duty 2 Data" folder.  This is going to be at the same level as your "main" folder, but not inside it.  So for example if you chose a name for your "fs_game" folder like "PANDA", you'll find it in this directory:

Code:
/Volumes/YOUR HD/Applications/Call of Duty 2/Call of Duty 2/Call of Duty 2 Data/PANDA





8.
  Locate the new executable file (you just saved in step 6).  For example to your "Desktop" you saved "PANDA".  You will find it, but it now has a file extension of "PANDA.term" (perhaps file extensions are currently hidden from your Finder view settings, don't worry its not necessary).




9. You can Copy/Paste this executable file ("to any place on your Hard Drive, and this file will still perform the same function.  I moved mine from the Desktop to inside my actual "fs_game folder", which you found in step 7.

Congrats you have created an "fs_game" folder (on a Mac).  Happy modding and server hosting! 



edited on Mar. 7, 2011 11:36 am by ODAWA
Share |
ODAWA
General Member
Since: Jan 3, 2011
Posts: 18
Last: May 6, 2012
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Monday, Mar. 7, 2011 04:44 pm
Sorry for the formatting, I tried to edit the text to give more space between steps 3-7, but the forum is acting strange.
Share |
L4chy
General Member
Since: Sep 7, 2009
Posts: 59
Last: Oct 26, 2012
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Tuesday, Mar. 8, 2011 02:06 am
Yeh, Macs are great for modding, I'm using one right now... to keep my office door open. thats a mod right? [thumbs_up]
Share |
ODAWA
General Member
Since: Jan 3, 2011
Posts: 18
Last: May 6, 2012
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Tuesday, Mar. 8, 2011 03:26 am
L4chy writes...
Quote:
Yeh, Macs are great for modding, I'm using one right now... to keep my office door open. thats a mod right? [thumbs_up]


[moon][banghead][devilishgrin][cry][crazy][puke]

Thanks for the input!
Share |
liltc64
General Member
Since: Feb 12, 2007
Posts: 906
Last: Oct 22, 2012
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Tuesday, Mar. 8, 2011 05:12 pm
L4chy writes...
Quote:
Yeh, Macs are great for modding, I'm using one right now... to keep my office door open. thats a mod right? [thumbs_up]
...[sniper]

i think this is great. anyone that uses a mac will be very pleased. great job [thumbs_up].
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Tuesday, Mar. 8, 2011 05:47 pm
Good thinking. I have an emac g3 here, and my door has to stay open.

Nice mod, well done!

PS scripting on a macbook pro, windows 7. I have some custom driverpacks, cause bootcamp sux ass big time.
Also, modded my osx to install to a MBR disk, instead of a GPT one.

Getting rid of bootcamp ftw
Share |
SparkyMcSparks
General Member
Since: Feb 28, 2004
Posts: 1713
Last: Dec 29, 2016
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Tuesday, Mar. 8, 2011 07:46 pm
This work for CoD4 too?
Does it read IWD and FFs?
Share |
L4chy
General Member
Since: Sep 7, 2009
Posts: 59
Last: Oct 26, 2012
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Wednesday, Mar. 9, 2011 10:51 pm
lol fellas, I use Macs all day at work and they get the job done, I do have an old G3 keeping my door open. Macs are fine for what they r, and as long as I don't have to pay the over inflated price for the under inflated performance then I will use one [2guns] but I guess if I'd payed top dollar for a logo, I'd lose my sense of humour as well!

[machine_gun] right back at u [thumbs_up][wave][moon][wink]
[puke]

feel free to bash my high end PC (which I payed $1200AUD for) as much as you like, I still have a sense of humour and await ur witty banter [thumbs_up]

ps, well done on finding a solution to the FS game folder on Mac problem, really, sincerely, well done!!
Share |
Welshy
Preferred Member
Since: Feb 16, 2007
Posts: 1810
Last: Mar 22, 2020
[view latest posts]
Level 8
Admin
Forum Moderator
Im a fan of MODSonair
Im a HOST of MODSonair
Category: CoD2 Scripting
Posted: Wednesday, Mar. 9, 2011 11:32 pm
Alright I'm stepping in before this inevitably gets out of hand. Great tutorial ODAWA thanks for sharing it with us.
Go ahead... You Play I Mod : MODSonline.com
Support Modsonline by becoming a PREFERRED MEMBER today
Have you heard the MODSonair Podcast?: www.modsonair.com
MODSonair is a weekly podcast bringing you the news from a modders perspective. Tune in every Sunday at 5pm GMT to listen LIVE.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»