SquithyX
Jun 5 2008, 11: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!
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.
Anybody know / got any ideas what i am doing wrong, how to make it work????
Thanks in advance
SquithyX
(MoC)
Jun 5 2008, 12:54 PM
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!
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.
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.
SquithyX
Jun 5 2008, 12:59 PM
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
Jun 7 2008, 09: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
(MoC)
Jun 7 2008, 12:38 PM
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.htmlTrying this right now. ^^
roderick
Jun 8 2008, 07:13 PM
Hopefully someone can get the online feature to work soon!
minion187
Jun 9 2008, 07:44 PM
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
Cillit Bang
Jun 13 2008, 10:07 AM
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Ö
Jun 14 2008, 05:53 PM
I would like to play this game on Mac, because I play it online since it's out.
SquithyX
Jun 18 2008, 01:50 PM
Hello to you all again, here is version 3 of Battlefield 2 Modern Combat.
This version uses the newest version of Cider, and now there is no need to crack the game for it to run.
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.htmlAgain people please let me know how it runs, any problems, comments, fish....
SquithyX
GERGÖ
Jun 18 2008, 04:32 PM
It sounds good! I will try this at least tomorrow. So now it should work online!?
SquithyX
Jun 19 2008, 05:21 PM
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Ö
Jun 19 2008, 09:02 PM
Of course yes! Please!
SquithyX
Jun 20 2008, 07:13 AM
OK, so here is how to edit your registry file to *HOPEFULLY* be able to play on-line.
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
hinkle
Jun 20 2008, 11:01 AM
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 !
On another note : i can only choose from 800x600 and 1024x768, any ideas on how to get other resolutions ?
SquithyX
Jun 20 2008, 11:22 AM
What version of BF2 you running? 1.41?
hinkle
Jun 20 2008, 11:25 AM
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
Jun 20 2008, 11:28 AM
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
Jun 20 2008, 11:31 AM
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 !
SquithyX
Jun 20 2008, 03:05 PM
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
Jun 20 2008, 03:09 PM
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
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 versionFeedback PLEASE!
Heebie
Jun 21 2008, 01:42 PM
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
Jun 21 2008, 01:56 PM
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
Jun 21 2008, 02:05 PM
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
Jun 21 2008, 02:56 PM
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
Jun 21 2008, 03:02 PM
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
Jun 21 2008, 03:09 PM
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
Jun 21 2008, 03:13 PM
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
Jun 21 2008, 03:16 PM
Arr, i see.
What hardware you running?
Heebie
Jun 21 2008, 03:19 PM
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
Jun 21 2008, 03:23 PM
Hummm, let me look into it, the mouse works ok with all the menus and everything else?
Heebie
Jun 21 2008, 03:23 PM
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
Jun 21 2008, 03:28 PM
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
Jun 21 2008, 03:42 PM
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
Jun 21 2008, 03:47 PM
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
Jun 21 2008, 04:28 PM
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
Jun 22 2008, 11:27 AM
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
Jun 22 2008, 12:40 PM
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
Jun 23 2008, 01:05 AM
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
Jun 23 2008, 08:50 AM
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
Jun 23 2008, 03: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 =)
hinkle
Jun 23 2008, 06:58 PM
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

gotta love cider
kekkster
Jul 17 2008, 02:36 PM
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 versionFeedback 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!
iiro
Jul 18 2008, 10:12 AM
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
Jul 19 2008, 07:23 PM
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
Jul 20 2008, 01:43 PM
Wow, BF2 is almost 100% playable for me. I have a new iMac with 8800GS graphics and I do also experience graphics issues.
SquithyX
Jul 24 2008, 08:28 AM
Hello, sorry for not posting for some time, have been away with work and too busy lol.
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...
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
Jul 24 2008, 01:58 PM
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
Jul 31 2008, 03:20 AM
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.