• Create Account

# Launcher extension HELP - BF2 SP64

20 replies to this topic

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 04 February 2019 - 10:31 PM

Hi, Battlefield 2 is one of my favorite games of all time. I'm trying to get a mod working where it updates to have the full size (64 player) maps available with bots in single player, since the game is no longer online and only has cut down versions of the maps for single player originally. The mod installs fine, and just adds a folder in the game folders like it should.

The original game opens and runs fine with the default path wineskin made being: /Program Files/EA GAMES/Battlefield 2/BF2.exe

The mod is suppose to launch via an extension on the original path, and This is where I'm having an issue.

The mod path being : /Program Files/EA GAMES/Battlefield 2/BF2.exe +modPath mods/bf2sp64

When I go into the wrapper settings under wineskin advance, click + under associated extensions and try to add the +modPath mods/bf2sp64 extension, I'm not sure what to put in the blank extension window

I am new to wineskin, so I may be missing something simple. Any help here would be greatly appreciated, I've been dying to play this for almost a decade and am so close to getting this working now with wineskin.

### #2 RastaFabi

RastaFabi

• Members
• 59 posts
• Graphics Card:Intel HD 4000, 1536MB dynamic, shared
NVIDIA GTX 750Ti, 2048MB, eGPU (Thunderbolt)
• Operating System:macOS 10.12 (Sierra)

Posted 06 February 2019 - 12:13 AM

The extension setting you used refers to file extensions (like pdf/doc/mp3 etc.) The windows launch command is essential the windows EXE path text field - so you would just need to add
+modPath mods/bf2sp64

in there.
(I use the Unofficial Wineskin from this forum which I recommend but thus the path might looks differently)

Like so:

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 08 February 2019 - 04:38 PM

RastaFabi, on 06 February 2019 - 12:13 AM, said:

The extension setting you used refers to file extensions (like pdf/doc/mp3 etc.) The windows launch command is essential the windows EXE path text field - so you would just need to add
+modPath mods/bf2sp64

in there.
(I use the Unofficial Wineskin from this forum which I recommend but thus the path might looks differently)

Like so:

The way you have it pictured was pretty much the first thing i tried. Wine does not seem to want to launch the program when i simply add the +modPath mods/bf2sp64 to the working /Program Files/EA GAMES/Battlefield 2/BF2.exe

Again, after a fresh install, the game launches perfectly fine with the path being: /Program Files/EA GAMES/Battlefield 2/BF2.exe
but when I make it: /Program Files/EA GAMES/Battlefield 2/BF2.exe +modPath mods/bf2sp64
Wineskin fails to open the program at all.

Heres some screenshots-

Working fresh install path : https://drive.google...LMz2WI4fuaPOZVC

Result when trying to run program after extension added to original path: https://drive.google...iGBe7TeBNYzsLuA

As you can see, after adding that simple path extension wineskin doesn't even launch the program it just pops up that little wineskin window.

This mod is pretty much needed to play BF2 anymore, especially single player. I have no idea why they didn't include 64 player maps for single player to begin with, but back in the day on windows I always just had installed this mod no problem.

I figured just as you did in the response but maybe there's something wrong with wineskin not being able to work in this way.. :/
Any thoughts?

### #4 Gcenx

Gcenx

Veteran Member

• Members
• 371 posts
• Graphics Card:Intel Iris
• Operating System:macOS 10.12 (Sierra)

Posted 08 February 2019 - 06:50 PM

sonsandsonsadnsons, on 08 February 2019 - 04:38 PM, said:

The way you have it pictured was pretty much the first thing i tried. Wine does not seem to want to launch the program when i simply add the +modPath mods/bf2sp64 to the working /Program Files/EA GAMES/Battlefield 2/BF2.exe

Again, after a fresh install, the game launches perfectly fine with the path being: /Program Files/EA GAMES/Battlefield 2/BF2.exe
but when I make it: /Program Files/EA GAMES/Battlefield 2/BF2.exe +modPath mods/bf2sp64
Wineskin fails to open the program at all.

Heres some screenshots-

Working fresh install path : https://drive.google...LMz2WI4fuaPOZVC

Result when trying to run program after extension added to original path: https://drive.google...iGBe7TeBNYzsLuA

As you can see, after adding that simple path extension wineskin doesn't even launch the program it just pops up that little wineskin window.

This mod is pretty much needed to play BF2 anymore, especially single player. I have no idea why they didn't include 64 player maps for single player to begin with, but back in the day on windows I always just had installed this mod no problem.

I figured just as you did in the response but maybe there's something wrong with wineskin not being able to work in this way.. :/
Any thoughts?

As you're using the official version of Wineskin you need to put the
+modPath mods/bf2sp64
into the second box labeled "EXE Flags:" you only do it on the same line when using Unofficial Wineskin.

Or just swap to using my fork aka Unofficial Wineskin that gives access to wine2.0 to current 4.x versions.

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 08 February 2019 - 11:36 PM

Gcenx, on 08 February 2019 - 06:50 PM, said:

As you're using the official version of Wineskin you need to put the
+modPath mods/bf2sp64
into the second box labeled "EXE Flags:" you only do it on the same line when using Unofficial Wineskin.

Or just swap to using my fork aka Unofficial Wineskin that gives access to wine2.0 to current 4.x versions.

THANK YOU!
That was all I needed to do to get everything working.
The game now launches and works perfectly with the mod, I really appreciate your help on this one here big time!

a side note- in game with or without the mod running on my mac there's an extra mouse cursor always on screen for some reason, might be fixable in video settings or something..it doesn't end up affecting the gameplay at all thankfully, so I can live with it for now.

If anyone else wanted to get this game, Battlefield 2 fully updated is available for free now at - https://playbf2.tilda.ws/en
and the single player 64 player maps mod I'm using is available here: http://www.bf-games....op-mod-v25.html

### #6 Gcenx

Gcenx

Veteran Member

• Members
• 371 posts
• Graphics Card:Intel Iris
• Operating System:macOS 10.12 (Sierra)

Posted 09 February 2019 - 02:09 AM

sonsandsonsadnsons, on 08 February 2019 - 11:36 PM, said:

THANK YOU!
That was all I needed to do to get everything working.
The game now launches and works perfectly with the mod, I really appreciate your help on this one here big time!

a side note- in game with or without the mod running on my mac there's an extra mouse cursor always on screen for some reason, might be fixable in video settings or something..it doesn't end up affecting the gameplay at all thankfully, so I can live with it for now.

and the single player 64 player maps mod I'm using is available here: http://www.bf-games....op-mod-v25.html

The extra mouse could be something with WineskinX11 or running Mojave and not giving accessibility permissions to allow wine to take control over the mouse resulting in two mouse cursers.

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 09 February 2019 - 02:59 AM

Gcenx, on 09 February 2019 - 02:09 AM, said:

The extra mouse could be something with WineskinX11 or running Mojave and not giving accessibility permissions to allow wine to take control over the mouse resulting in two mouse cursers.

hmmm.. Maybe something with Wineskin at this point, I believe i'm running the latest version. Also I'm on Hi Sierra

Here's some screenshots , I circled the second smaller cursor that wont go away in red.

Would like to eventually figure this one out as it's going all over the screen when I'm running around / aiming.

Thanks again for the major help!

### #8 Gcenx

Gcenx

Veteran Member

• Members
• 371 posts
• Graphics Card:Intel Iris
• Operating System:macOS 10.12 (Sierra)

Posted 09 February 2019 - 03:15 AM

sonsandsonsadnsons, on 09 February 2019 - 02:59 AM, said:

hmmm.. Maybe something with Wineskin at this point, I believe i'm running the latest version. Also I'm on Hi Sierra

Here's some screenshots , I circled the second smaller cursor that wont go away in red.

Would like to eventually figure this one out as it's going all over the screen when I'm running around / aiming.

Thanks again for the major help!

The official Wineskin wrapper version is Wineskin-2.6.2 and by default uses WineskinX11 (a custom version of XQuartz) you could try swapping to use macDriver and see if that solves the problem.

I tested the game using my fork with WS9WineStaging4.0 and I didn't get the double curser problem, so try using macDriver that might help.

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 09 February 2019 - 07:49 PM

You must be right, i'm sure it's the wrapper engine. I tried switching to macdriver but it just gives an error and wont even open, it actually wont even launch if i switch back until i restart. From what i just read wine 4.0 looks to have a lot of things going for it, game emulation wise. I'm a complete wine noob though and am having a tough time trying to update to 4.0 for some reason

Im trying to find out how to add Wine 4.0 or like you said WS9WineStaging4.0 to (or newer) to wineskin but when i go to add new engine it only shows up to WS9WineStaging2.20

if you select download packages manually in wineskin it just takes you to this error page http://wineskin.urge...nloads?14193540

I even tried downloading wine 4.0 by itself and xquartz 2.7.11 and installing the game, but i don't even know where it installed to because nothing happened when it finished. Can't seem to even find where it created the program files> etc... folders which is why i liked wineskin because it seemed to have needed options and everything built in to a simple package. I can get around with computers, but i'm not super techy, this wine stuff is feeling over my head. Just tryin to game.

Is it possible to add wine 4.0 or newer to wineskin? or do you have to do it a separate way at this point? again thanks i really appreciate all of your help up to this point.

### #10 Gcenx

Gcenx

Veteran Member

• Members
• 371 posts
• Graphics Card:Intel Iris
• Operating System:macOS 10.12 (Sierra)

Posted 09 February 2019 - 09:40 PM

sonsandsonsadnsons, on 09 February 2019 - 07:49 PM, said:

You must be right, i'm sure it's the wrapper engine. I tried switching to macdriver but it just gives an error and wont even open, it actually wont even launch if i switch back until i restart. From what i just read wine 4.0 looks to have a lot of things going for it, game emulation wise. I'm a complete wine noob though and am having a tough time trying to update to 4.0 for some reason

Im trying to find out how to add Wine 4.0 or like you said WS9WineStaging4.0 to (or newer) to wineskin but when i go to add new engine it only shows up to WS9WineStaging2.20

if you select download packages manually in wineskin it just takes you to this error page http://wineskin.urge...nloads?14193540

I even tried downloading wine 4.0 by itself and xquartz 2.7.11 and installing the game, but i don't even know where it installed to because nothing happened when it finished. Can't seem to even find where it created the program files> etc... folders which is why i liked wineskin because it seemed to have needed options and everything built in to a simple package. I can get around with computers, but i'm not super techy, this wine stuff is feeling over my head. Just tryin to game.

Is it possible to add wine 4.0 or newer to wineskin? or do you have to do it a separate way at this point? again thanks i really appreciate all of your help up to this point.

I linked to my Fork in my post before, http://portingteam.c...fficial-update/ that gives some information and the download link is on my GitHub page for the project https://github.com/G...releases/latest

Download the file Unofficial.Wineskin.Winery.zip unzip then moved the application to another folder before running. Think of it as a replacement for the previous copy of "Wineskin Winery" but you can keep both around if you need to launch the official version for some reason.

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 10 February 2019 - 12:30 AM

Man you are a genius! This is exactly what I needed. I can't believe you made this, you are the MAN!

I got the game installed and working now with no more cursor issue!

The only one issue now is that in the new wineskin options there is no "EXE Flags" field option to put the extension +modPath mods/bf2sp64 to get the mod working with the game.

Here's a screenshot of the first one that worked launching with the mod, and the new one not having that option there:

I'm sure it's just burred in another menu / tab somewhere at this point..?

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 10 February 2019 - 12:46 AM

I tried just adding it to the path on the top to be

"C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +modPath mods\bf2sp64

and the game loading with any music and crashes at the menus , so i'm guessing that's not how you do it

(^^^ Crashes game)

### #13 Gcenx

Gcenx

Veteran Member

• Members
• 371 posts
• Graphics Card:Intel Iris
• Operating System:macOS 10.12 (Sierra)

Posted 10 February 2019 - 01:10 AM

sonsandsonsadnsons, on 10 February 2019 - 12:30 AM, said:

Man you are a genius! This is exactly what I needed. I can't believe you made this, you are the MAN!

I got the game installed and working now with no more cursor issue!

I'm a long time Wineskin user myself and seeing the no updates to the code since 2015 and doh123 being MIA I decided to give it ago.

sonsandsonsadnsons, on 10 February 2019 - 12:46 AM, said:

I tried just adding it to the path on the top to be

"C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +modPath mods\bf2sp64

and the game loading with any music and crashes at the menus , so i'm guessing that's not how you do it

(^^^ Crashes game)

I didn't test that mod before just the base game to check for the double mouse issue you were having.

But before you listed having the mod as
+modPath mods/bf2sp64

Where as the new screenshot is showing
+modPath mods\bf2sp64

Maybe that's the problem?

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 10 February 2019 - 01:41 AM

Well yea i saw that, couldn't figure out why though. i've only ever been putting:
+modPath mods/bf2sp64

Just double checking now and realized in the new wineskin, when I edit the path to be "C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +modPath mods/bf2sp64

and close out, then come back in, wineskin is auto changing it to: "C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +modPath mods\bf2sp64

every time

I'll put "C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +modPath mods/bf2sp64

close out , re-open the setting and it always shows: "C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +modPath mods\bf2sp64

something keeps auto changing that. Is there another separate place to put the exe flags or is that where it's suppose to go? might be dead with being able to use this mod after all if wineskin keeps auto changing it for some reason.

I noticed in the old wineskin everything was //// instead of \\\ , so maybe they're trying to correct what they think is a mistake... but even when it auto-changes, the program crashes in the menus so i'm not sure if thie new wine is having problems with the mod...(which is odd because the old version worked perfect when i just pasted the extension into the secondary field.) or i'm not putting the extension code in the right way/place

### #15 Gcenx

Gcenx

Veteran Member

• Members
• 371 posts
• Graphics Card:Intel Iris
• Operating System:macOS 10.12 (Sierra)

Posted 10 February 2019 - 01:54 AM

sonsandsonsadnsons, on 10 February 2019 - 01:41 AM, said:

Well yea i saw that, couldn't figure out why though. i've only ever been putting:
+modPath mods/bf2sp64

Just double checking now and realized in the new wineskin, when I edit the path to be "C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +modPath mods/bf2sp64

and close out, then come back in, wineskin is auto changing it to: "C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +modPath mods\bf2sp64

every time

I'll put "C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +modPath mods/bf2sp64

close out , re-open the setting and it always shows: "C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +modPath mods\bf2sp64

something keeps auto changing that. Is there another separate place to put the exe flags or is that where it's suppose to go? might be dead with being able to use this mod after all if wineskin keeps auto changing it for some reason.

I noticed in the old wineskin everything was //// instead of \\\ , so maybe they're trying to correct what they think is a mistake... but even when it auto-changes, the program crashes in the menus so i'm not sure if thie new wine is having problems with the mod...(which is odd because the old version worked perfect when i just pasted the extension into the secondary field.) or i'm not putting the extension code in the right way/place

It's possible since VitorMM did include additional tools with the new codebase, but that part should only be running on the path path now the exe flags path I will check into that tomorrow. I should be able to knock out one more small update before I focus on the launcher rewrite while my wife is away.

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 10 February 2019 - 01:58 AM

Gcenx, on 10 February 2019 - 01:54 AM, said:

It's possible since VitorMM did include additional tools with the new codebase, but that part should only be running on the path path now the exe flags path I will check into that tomorrow. I should be able to knock out one more small update before I focus on the launcher rewrite while my wife is away.

Sounds awesome, keep me in the know.

### #17 Gcenx

Gcenx

Veteran Member

• Members
• 371 posts
• Graphics Card:Intel Iris
• Operating System:macOS 10.12 (Sierra)

Posted 10 February 2019 - 04:20 AM

sonsandsonsadnsons, on 10 February 2019 - 01:58 AM, said:

Sounds awesome, keep me in the know.

Seems I solved the problem on my end I pushed a wrapper update that seems to have solved that issue.

I'm able to now have "/" within the flags section and these are no longer been replaced when relaunching Wineskin.app

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 10 February 2019 - 05:57 AM

Gcenx, on 10 February 2019 - 04:20 AM, said:

Seems I solved the problem on my end I pushed a wrapper update that seems to have solved that issue.

I'm able to now have "/" within the flags section and these are no longer been replaced when relaunching Wineskin.app

Hey so I just got that update and did a fresh install with that using Wrapper Wineskin 2.8.9Beta6 & Engine Ws9WineStaging4.1.
Before attempting to ad that extra line for the mod, I wanted to do a new install test run of the regular game (using the path that was working before) and the game won't even start/run/open now, might be something small in the patch not sure

Trying to launch just the original game now gives me this little pop up error window right away:

### #19 Gcenx

Gcenx

Veteran Member

• Members
• 371 posts
• Graphics Card:Intel Iris
• Operating System:macOS 10.12 (Sierra)

Posted 10 February 2019 - 06:04 AM

sonsandsonsadnsons, on 10 February 2019 - 05:57 AM, said:

Hey so I just got that update and did a fresh install with that using Wrapper Wineskin 2.8.9Beta6 & Engine Ws9WineStaging4.1.
Before attempting to ad that extra line for the mod, I wanted to do a new install test run of the regular game (using the path that was working before) and the game won't even start/run/open now, might be something small in the patch not sure

Trying to launch just the original game now gives me this little pop up error window right away:

I would stick to the Wine 4.0 version you were using before, regressions happen so stick to one you know was working.

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 10 February 2019 - 06:49 AM

Oh good thinking! i didn't even realize i changed to 4.1..

My friend, we have got EVERYTHING WORKING NOW!!!

You are a master wizard!!! I don't know how you pulled it off on your end, but i cannot thank you enough. seriously.

(^^^everything working^^^)

I hope somehow all this ends up helping more people than myself.

used to play this game all the time with my closest friends, now we're all spread out geographically plus I haven't had a windows computer in almost a decade. Getting this working really takes me back to a great place & time even if it's just in a giant map full of bots and or playing lan games. I'm gonna be in this game for some serious hours now. Thank you so much my friend!

Regular Member

• Members
• 17 posts
• Graphics Card:NVIDIA GeForce GT 750M 2048 MB graphics
• Operating System:macOS 10.12 (Sierra)
• I like to play:Retro & Modern

Posted 10 February 2019 - 07:03 AM