SW Demo mods
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Making an UnPure server: the comprehensive guide

Go down

Making an UnPure server: the comprehensive guide Empty Making an UnPure server: the comprehensive guide

Post  Black Mamba Thu May 06, 2010 7:32 pm

First of all, what is an UnPure server? An UnPure server is a server that only allows a certain mod, be it client-side or server-side. Making an UnPure server requires that the host (and only the host) generate a new contentcrc32.con file for the mod. If it is a server-side mod, only that SSM will be allowed, NOTHING else. Same for a client-side mod, only people with the EXACT modifications of the server host will be able to play, which stops hackers from entering the game. I am going to show you step by step how to generate a new contentcrc32.con file in order to make an UnPure server with the Server Manger. This can become particularly important during league matches, where we have to keep hackers out at all costs. For this tutorial, I will use my FFC Map, which I have already installed to my Levels folder at C:\Program Files\EA GAMES\Battlefield 1942 Secret Weapons of WWII Demo\Mods\XPack2\Archives\Bf1942\Levels.

So, 1st step:

Download the "CmdHere.exe" tool from the Microsoft website, at the following adress
http://www.microsoft.com/windowsxp/Downloads/powertoys/Xppowertoys.mspx
If you already have an earlier version of it installed, make sure you delete that version before you install the newer one.

Making an UnPure server: the comprehensive guide Downloadthecmdhereexe1s


Next, make a new folder in your main demo folder (C:\Program Files\EA GAMES\Battlefield 1942 Secret Weapons of WWII Demo if you have the default installation). This will be your backup for the contentcrc32.con files you generate for your various mods AND the normal contentcrc32.con file of the unmodded demo. The folder names and mods I use for this tutorial are only examples, call yours whatever you want if you like.

Making an UnPure server: the comprehensive guide Contentcheckbackupspt1m

Making an UnPure server: the comprehensive guide Contentcheckbackups

Making an UnPure server: the comprehensive guide Normaldemoinsidecontent

Making an UnPure server: the comprehensive guide Modexample

Third step, cut the contentcrc32.con file of the unmodded demo (default location is C:\Program Files\EA GAMES\Battlefield 1942 Secret Weapons of WWII Demo\Mods\XPack2), and paste to the appropriate backup folder you made for it.

Cut...
Making an UnPure server: the comprehensive guide Cutcontentcrc32confilet

And paste to your backup folder!
Making an UnPure server: the comprehensive guide Pastetonormaldemo

THIS STEP IS VERY IMPORTANT, BECAUSE IF YOU LEAVE THE CONTENTCRC32.CON FILE THERE AND GENERATE A NEW ONE, THE CHECK SUMS FROM THE MOD YOU ARE WORKING ON WILL BE ADDED TO THE EXISTING CHECK SUMS OF THE NORMAL CONTENTCRC32.CON FILE, WHICH WILL MAKE YOUR MOD INCOMPATIBLE.

You are now ready to generate a new contentcrc32.con file for your mod! Right click on the "Battlefield 1942 Secret Weapons of WWII Demo" folder (your main demo folder), and pick the "Open Command Window Here".
Making an UnPure server: the comprehensive guide Opencommandwindowhere

If you do not see that option, you forgot to install the "CmdHere.exe" tool. Go back to step 1 if it is the case for you.

After having chosen that option, you will see a black command box appear.

Making an UnPure server: the comprehensive guide Blackcommandwindow

Type the following command in it: bf1942.exe +generateMapListForCrcContent 1.

Making an UnPure server: the comprehensive guide Generatemaplistforcrcco

The game will load in an instant, and generate a BAT file called "mapListForCrcContent", which should, normally, by default, be located at C:\Program Files\EA GAMES\Battlefield 1942 Secret Weapons of WWII Demo.

Making an UnPure server: the comprehensive guide Batfile

Open that BAT file. Once opened, the game will load Hellendoorn with the modded map 4 times (because there are 4 game modes by default in the demo; Team Death Match, Conquest, Capture The Flag and COOP).

Making an UnPure server: the comprehensive guide Openbatfile

Making an UnPure server: the comprehensive guide Loadingeachgpmofthemodd

Now, navigate to the XPack2 folder, located at this directory: C:\Program Files\EA GAMES\Battlefield 1942 Secret Weapons of WWII Demo\Mods\XPack2. You will see that a new contentcrc32.con file has been generated.

Making an UnPure server: the comprehensive guide Newcontentcrc32confile

Once again, it is wise to make a backup of it somewhere.


And that's it! You are now ready to make an UnPure server with the Server Manager! Open it, and in the "Server" category, make sure to select UnPure.

Open the Server Manager
Making an UnPure server: the comprehensive guide Opensm

Select "UnPure" from the "Server" category
Making an UnPure server: the comprehensive guide Unpureselected

Black Mamba
Admin

Posts : 34
Join date : 2010-05-05
Age : 31
Location : Canada

https://swdemomods.board-directory.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum