Help - Search - Members - Calendar
Full Version: Battlefield 2 **Cider** On-line play?
InsanelyMac Forum > Apple World > Mac Gaming
Pages: 1, 2
SquithyX
Hello, i have been working on BF2 **Cider** version for about 3days now, and have got everything to work really well apart for the on-line play. I have picked through my winblows registry and imported all the keys that seen to relate to BF2 into my cider system.reg file - modifying them as needed! tongue.gif
But My big problem now is although the encrypted cd-key is in the cider registry, every time i try to connect to a game server it says that my cd-key is not valid. On my PC, i can connect and play with no problems. sad.gif

Anybody know / got any ideas what i am doing wrong, how to make it work????

Thanks in advance

SquithyX
(MoC)
QUOTE(SquithyX @ Jun 5 2008, 07:38 AM) *
Hello, i have been working on BF2 **Cider** version for about 3days now, and have got everything to work really well apart for the on-line play. I have picked through my winblows registry and imported all the keys that seen to relate to BF2 into my cider system.reg file - modifying them as needed! tongue.gif
But My big problem now is although the encrypted cd-key is in the cider registry, every time i try to connect to a game server it says that my cd-key is not valid. On my PC, i can connect and play with no problems. sad.gif

Anybody know / got any ideas what i am doing wrong, how to make it work????

Thanks in advance

SquithyX


It's probably stored in some hidden local Windows file. I wouldn't mess with that and get your CD key banned. Best of luck. smile.gif
SquithyX
I have found the cd-key is stored in the registry - but encrypted as of update 1.3, if i remove the reg entry on windows it also says the cd-key not valid message but as soon as i put the key back in, it works again!
I have 2 copies of the game with 2 cd-keys, one of which is still sealed so i am not worried about a banned key if i can get it working!!!!!!!! - But thanks for the encouragement / warning lol!
SquithyX
Well here is a version that is very stable, and lets you see all the servers with out crashing - still no online play, but off-line works well!

http://rapidshare.com/files/120388356/Batt...bat_v2.zip.html
(MoC)
QUOTE(SquithyX @ Jun 7 2008, 05:04 AM) *
Well here is a version that is very stable, and lets you see all the servers with out crashing - still no online play, but off-line works well!

http://rapidshare.com/files/120388356/Batt...bat_v2.zip.html


Trying this right now. ^^
roderick
Hopefully someone can get the online feature to work soon!
minion187
yeah im keeping my eye on this thread i hope someone gets it working. i was gonna give the cider he posted a shot but i just decided not to. i've put probably 2 whole days worth of work into trying to get this crap to work and im not trying anything until i see confirmation that im not wasting my time lmao

good luck biggrin.gif
Cillit Bang
Thanks - I got BF2 working on my Hackintosh but I have lots of texture problems. It seems like the ground is transparent.
All other textures work great. Another point - I own the german version of BF2, so that's probably why there aren't any localized strings throughout the whole game!

Do you have an solution for what I could do or modify in order to have german or english language strings in the game?

EDIT: OK, I got that language problem solved and the graphics problem partially. I enabled 2xAA and now all textures work. The only problem that I have now, is that there are black spots on the ground flashing all the time. Any fix for that?
GERGÖ
I would like to play this game on Mac, because I play it online since it's out.
SquithyX
Hello to you all again, here is version 3 of Battlefield 2 Modern Combat. happymac.GIF
This version uses the newest version of Cider, and now there is no need to crack the game for it to run. biggrin.gif
You need to copy the game files from a windows install just as before, and add two files from your CD / DVD to run the game. As usual full instructions are included for you to follow.

This partially fixes the on-line problem in that, you cant play on-line with a cracked version...now if i could only get it to send the cd-key and play...working on it lol.

http://rapidshare.com/files/123322743/Batt...bat_v3.zip.html

Again people please let me know how it runs, any problems, comments, fish....

SquithyX
GERGÖ
It sounds good! I will try this at least tomorrow. So now it should work online!?
SquithyX
Hi Gergo, lol. It SHOULD work on-line...but it does not work yet - there is a problem with the registry key, i can tell you where to go in the registry to put your key into it if you want to try.

GERGÖ
Of course yes! Please!
SquithyX
OK, so here is how to edit your registry file to *HOPEFULLY* be able to play on-line. biggrin.gif

First to get your CD-Key, as Battlefield 2 encodes your key into the registry.
1. On Windows, open "Regedit" ("Start > Run > Regedit")
2. Goto "HKEY_LOCAL_MACHINE" and click the plus's next to "Software > Electronic Arts > EA Games > Battlefield 2"
3. You should now have a string called "ergc" (with a number set that starts with "x9392...")
4. That is your CD-Key, you need to copy the key into notepad, or export it from your registry and keep it safe.

Putting it into Battlefield 2 Modern Combat Mac
1. Right click on Battlefield 2 Modern Combat and go to "Show Package Contents"
2. Then goto "Contents > Resources > Preferences"
3. In here you will see 5 files (some terminal commands, some unknown files) Open "system.reg" in Textedit
4. Be careful in here as changing some things will break the game totally!!!
5. Scroll down to near the bottom of the file to where the Battlefield 2 settings are, and using the key you got from the windows registry, put it where i says.

It looks like:

es\\TypeLib\\{DED1EA29-3F89-11D3-BBB9-00105A1F0D68}\\1.0\\FLAGS] 1179337346
@="0"

[Software\\DICE\\Battlefield 2™\\1.00.0000] 1212532076

[Software\\Electronic Arts\\EA Games\\Battlefield 2] 1212532076
"InstallDir"="C:\\Program Files\\EA GAMES\\Battlefield 2"
"Language"="English"
"Locale"="en_US"
"Version"="1.4"

[Software\\Electronic Arts\\EA Games\\Battlefield 2\\ergc] 1212532076
@="YOUR CD-KEY HERE, Starting with x9392" <---- This is where you put your CD-Key, from your windows registry

[Software\\Electronic Arts\\EA Games\\Battlefield 2\\wdc] 1212532076
@="true"

[Software\\Microsoft\\AudioCompressionManager\\DriverCache\\msacm.adpcm] 1212532140
"aFormatTagCache"=hex:01,00,00,00,10,00,00,00,11,00,00,00,14,00,00,00
"cFilterTags"=dword:00000000
"cFormatTags"=dword:00000002
"fdwSupport"=dword:00000001

[Software\\Microsoft\\AudioCompression

After all that you then need to save the new "system.reg" and then goto "MacHD > Users > YourUserName > Library > Preferences" and delete the "Battlefield 2 Modern Combat" folder - **this will be here only if you have launched the game before.

And now is the moment of truth, reboot your mac put the CD / DVD into the drive and try it!!!!!!!!!!

Oh and please lat me know how you get on thumbsup_anim.gif
hinkle
SCORE ! I FIXED IT FOR ONLINE PLAY !!!!Here's how to do it :

go to the registry key that holds you cdkey and change it to x9392 and append your cdkey after that.

so it looks like this :

@="x9392XXXXXXXXXXXXXXXXXXXX"
the X's being your cdkey without the "-" in between

works for me , i can play online ! smile.gif

On another note : i can only choose from 800x600 and 1024x768, any ideas on how to get other resolutions ?
SquithyX
What version of BF2 you running? 1.41?
hinkle
QUOTE(SquithyX @ Jun 20 2008, 01:22 PM) *
What version of BF2 you running? 1.41?


Yes 1.41, however ive been playing now for a while and im being kicked by punkbuster for "RESTRICTION: Unknown Windows API function [131124]", i guess ill have to look for punkbuster free servers. Any ideas on the resolution fix ?
SquithyX
Once i have got the on-line working - punkbuster problem will be due to it being out of date, will fix that and then have a look at sorting out the graphics
hinkle
I downloaded the latest mac files from punkbuster and stashed them in the appropriate folder, i havent had any kicks since ( been playing about 20 minutes ). i also fixed the resolution problem by setting up some cmdline append stuff with the right resolution in the config file.

Game works great on mac now ! smile.gif
SquithyX
Hay hinkle, Good to here you have fixed it!!!
If you could please tell me what files you changed in the pb folder and with what? So that i can release a "finished" version of the port.

Do you mean by fixing the resolution, you changed them in the config file?

I am glad you have got my version working well for you, if you could please tell / send me the files and instructions for punkbuster then everybody can enjoy it.

Big respect mate, you will be added to the readme!
hinkle
Nah, in the game i could only choose 800x600 and 1024x768, and there were no other options. I fixed it by adding this to the bottom of my config file :

[appdefaults\\BF2.exe\\transgaming]
"cmdlineadd" = "+widescreen 1 +szx 1280 +szy 800"

Make sure you pick a resolution that is supported by your screen ( check your display preferences ) or BF2 just wont open at all.

** EDIT ** im being kicked by punkbuster again... how did u fix it ? ( btw u have msn or something , we seem to raping this forum ? pm me if so )
SquithyX
OK, so here it is, version 4 WITH on-line play. There is a BIG thank you to hinkle for helping me with the on-line play bit. As usual, instructions included.

Battlefield 2 Modern Combat Version 4 - The on-line version

Feedback PLEASE!
Heebie
Thanks iSquithy. It's a great package you've made but I have a big problem.

I start it up OK, but when I get to the menus (no intro videos) all the buttons are defined by things like "button_login" etc. What causes this? Sometimes I also get a Window that's fairly incomprehensible but says "LOCERROR_driverincompatible". I can't click "BUTTON_ok" because I don't seem to have a cursor. Have I done something wrong?

Thanks so much for doing all this.

-Heebie
SquithyX
It sound like your game files are corrupt.

What is your Mac setup?
Hacingtosh or Macintosh, OS version....

Does it play well in windows?
If not, try completely uninstalling the game in windows, reinstalling and then copying back to Mac.
Heebie
This is where the dirt comes out...

I installed it on Windows on BootCamp (I run a MBP with 2.4 GHz and NVidia 8600GT 10.5.3) a long time ago (6 months?) and it worked just fine. Then I uninstalled it and just recently I reinstalled. Now when I start it up I get a BSOD. That's why I want to try it out here!

So you think that reinstalling will remedy the problem? Sounds fair enough. Will reboot into Windows now and reinstall.

Thanks so much.
hinkle
Indeed i think ull have to reinstall.

btw SquithyX, did u ever get around that PB problem ? i havent been kicked from any server since yesterday... i am keeping track of all the servers i join in case i get kicked, and try to find a pattern in it.

And i cant seem to get AA working at all, i used the videosettings file to change it to 2x, 4x and 6x. It shows up in the video settings in the options, but there doesnt seem to be any AA going on in the game. any other ideas ? is there a way to force AA in applications ? i remember i had to do that on my old pc running BF2 ( from the gfx card control panel )
Heebie
reinstalled and the menus are good. saw the intro video but tried to press esc and it didnt work so waited patiently. menu appeared, logged in as defaultplayer (single) and started a singleplayer game road to jalalabad.

game loaded, pressed join but then my mouse and keyboard didnt work.

so close. any suggestions? squithy you're a god for making this work and thanks also to hinkle for his input.

-Heebie
SquithyX
The AA problem is from the config file mod. By setting the screen size in the config file it stretches the game - does not change the resolution, if you look at the map and things they have all been stretched, Battlefield 2 only supports a max resolution of 1024 x 768.
So AA will be on but due to the stretch it will not look right. If you remove the config changes and set AA in the game it will work - does on mine.

Punkbuster, yea now...have been playing and it will let me play for 10-20min on most servers then just crashes to desktop - no error.

Are you still getting the Windows API errors?


Heebie, when the game loaded and you pressed Join, how long did you wait for the game, it can sometimes take upto a minute. Also sometimes you may need to click join twice.
Heebie
Oh no, I got past the load screen. I was at the map and kit selection screen. i saw the graphic of the burning building of jalalabad behind. it was there when the mouse stopped working.

any ideas?
SquithyX
Arr, i see.

What hardware you running?
Heebie
I'm on a MacBook Pro 2.4 GHz Santa Rosa (I think) with 2GB RAM and 160 GB hd. I have NVidia 8600GT M with 256MB. i use a logitech desktop mouse but the trackpad doesnt work either so it's not its fault.

thanks for your time again man.!
SquithyX
Hummm, let me look into it, the mouse works ok with all the menus and everything else?
Heebie
yeah the mouse works in menus but not the keyboard. i tried to press esc in the intro menu but it didnt work. thanks squithy! you got msn or email or something?
SquithyX
check pm for email.

Got something for you to try:

Goto:

MacHD > Users > YourUsrName > Library > Preferences

Find and delete the folder:

Battlefield 2 Modern Combat

And now relaunch the game.

Also, have you put your CD-Key in the system reg file?
If so u sure you did not accidentally change / delete any other settings in there. If you have an account for BF2 then try recovering your account / or make your self one if you dont then play off-line that way
Heebie
i love you. it works.

thank you so much my friend.

ok i want to help out. i am in the process of writing an installer package for it, which will let the user choose the path where they installed bf2 and then allow the user to put in his serial code and it will automatically copy the 00000001.TMP and 00000002.TMP files into f_drive.

thank you so much squithy.
SquithyX
Glad to be of service mate!!!!!!!!!!!!!

The installer sounds very good!, i have been thinking about it my sellf, but a bit busy problem solving -lol
Heebie
got a way with the installer. will finish orff tomorrow.

just wondering when you start up there are two bf2 icons in the dock. when you quit one remains and has to be force quit. is there a work around?

cheers.
Cillit Bang
Thanks for your effort. I tried using NVInject but it didn't get any better. I still have those graphic problems. They are even worse than with Modern Combat v2 - which has worked best for me so far. Here is a screenshot of what my problem looks like.

Another thing is, that I get an ingame message that I should update my graphic card driver in order to run the game correctly.

hinkle
I also have mouse problems, i can play fine but sometimes my mouse wont work ( i can shoot, but i cant look around ). If i change my weapon or switch to ironsights it is resolved and i can move again.

Ive had 2 or so occasions where PB kicked me, i think it depends on the server. ( my favorite ones seem to work - both 64 bit )
SquithyX
Cillit Bang, the screenshot that sent, which version that running in?

You may need to delete the old config files from the older versions, to do it Goto:

MacHD > Users > YourUsrName > Library > Preferences

Find and delete the folder:

Battlefield 2 Modern Combat

If upgrading from v3 then you also have to delete the folder in:

MacHD > Library > Preferences

And now relaunch the game.

Let me know how you get on.

Heebie, i dont know why you have 2 icons on the dock, mine runs only one, and exits fine. Anybody else had that problem?

Hinkle, the mouse problem, i am working on, will release a patch soon. As for punkbuster, it will let you play on some servers but not others at present, i have found that by putting a "new" copy of the pb folder into the game before playing will give you about 10-15mins of play on any server.
Cillit Bang
I took the screenshot when I was running v4. I will try to delete those folders and reply if it works or not.

EDIT:
When I delete the BF2 Preferences Folder in MacHD/Users/XXX/Library/Preferences the game won't even start anymore. The splash screen appears but after a few seconds the game quits without showing any message. When I copy the folder back to this directory the game would start fine again.
erei33
You know, I've always been one to advocate a Windows partition or drive for gaming, but I'm getting more and more fed up of it every day. I'm going to try this out soon and will be sure to post results, great work =)
hinkle
QUOTE(erei33 @ Jun 23 2008, 05:54 PM) *
You know, I've always been one to advocate a Windows partition or drive for gaming, but I'm getting more and more fed up of it every day. I'm going to try this out soon and will be sure to post results, great work =)


Hehe same here. I dont have a wireless router so i basicly just forward my internet connection form my imac to my macbook. So whenever i boot in windows to play something my gf starts complaining she cant go online smile.gif gotta love cider smile.gif
kekkster
QUOTE(SquithyX @ Jun 20 2008, 07:02 PM) *
OK, so here it is, version 4 WITH on-line play. There is a BIG thank you to hinkle for helping me with the on-line play bit. As usual, instructions included.

Battlefield 2 Modern Combat Version 4 - The on-line version

Feedback PLEASE!

Will this work with the BF2 cider version from Le Grand Stroumph? That version works great except for the on-line play. I don´t use Bootcamp or something like that.
I have been looking for a non-bootcamp.. non-windows version of BF 2 1.4 with working on-line play but with no luck!

Sorry for the newbie questions! tongue.gif
iiro
Hello,

I tried your BF2 port with my DVD version and it worked great.
Accepted my CD key and the game starts alright.

However, I have multiple gfx problems with the game.
Dynamic shadows don't work, they show up as huge squares.
Also, I can see some jumping black spots all over the ground,
I guess it has something to do with the texture filtering.

I'm on 10.5.4 Leopard with an iMac with the GeForce 8800GS
Dan1jel
i tried it aswell.. and when i press "cd / DVD here" i get a display massage, that i need to repair, delete it, and when i press repair, i need to choose an App... why wont it work for me ?

i am on iMac..
G-Force
Wow, BF2 is almost 100% playable for me. I have a new iMac with 8800GS graphics and I do also experience graphics issues.
SquithyX
Hello, sorry for not posting for some time, have been away with work and too busy lol. huh.gif

Right to business, the graphics problems are from Cider, unfortunately there are some problems with some of the texture effects with the version of cider that i have used, i hope to patch this when a newer, better and improved version of cider comes out. Some of the older versions i did did not have graphic problems, but were unable to work in other ways ie: CD/DVD support, Emulator Det... dry.gif

But for now, i have found that running everything on high APPART from the textures - that needs to be medium, and having AA on at least x2, normally fixes most of the graphic problems.

With the online play, you can play for about 10-15 min with no problems on most servers, however after that punkbuster tends to kick you off some of the servers - this is due to there being NO Mac version of punkbuster for BF2, I am trying to come up with a way round that.

In the mean time, i have been told by some that there are some punkbuster servers that will let you play as long as you like. So maybe if somebody complied a list of these servers so everybody could play on them. And it would also help us to figure out what punkbuster is looking for / not finding / not liking....


Bit by bit, we will get there, and when we do, we can laugh safe in the knowledge that the person we just killed on the field is probably crying at there PC!
iiro
How about using the BF2142 Official Mac version Punkbuster with this port?

I could try it and post back this evening (5 pm now).

EDIT: Nope, kicked me due to "No Packet Flow".
sangecko
alright, I will start out by saying that I am completely new to Macs. I recently got a Macbook, not a Macbook Pro, and was hoping to run BF2 on it. I don't really want to shell out another couple hundred bucks for a copy of windows to boot just to play BF2.

That being said I downloaded version 4 of this port (I don't know if port is the right word?). The file was a dmg, which is a disk image I believe. Within that are pdf instructions, an app, and three aliases. I dont know what aliases are but they appear to be similar to a shortcut in Windows.

The first problem I have is that I can not move my BF2 folder into the "Battlefield 2 Folder Here" alias. When I do, I get an error stating that the items can not be moved because the folder cannot be modified.

So I right clicked the dmg and clicked duplicate. This made a new folder on my desktop, with what seemed like the same contents. With this new folder, I can drag the BF2 files from my PC into the "Battlefield 2 Folder Here" alias fine.

When I go to drag the two files from the CD into the next alias I get an error stating that I can not because the original item cannot be found. I am given the option to fix the alias, but like the computer, I have no idea where the original item is.

Any advice?

Thanks in advance for you help!!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.