Back to the main site

Help with Star Wars Battlefront 2015

Hi guys.
I got Star Wars Battlefront 2015 running in Lutris today, but it has some graphical glitches I’d like to get sorted out.
If anyone can help me with it, I’d be appreciative :slight_smile:

I added the game to the Lutris database here:

You can probably see the screenshots I added from the game.
It’s playable, and I finished a Walker assault ok, although my CPU seems to be struggling to run it, which I’d say is the major thing that’s causing the slowness I’m getting.

I got it to run using wine version tkg-4.0 via the Origin installer, and left DXVK off. When I turn on DXVK, Battlefront throws an error about not being able to determine the Radeon driver version. As it’s spoofing a Radeon card in wine when I turn on DXVK as a part of some kind of nVidia driver incompatibility workaround, even though my card is a Geforce GTX 1060. (Insert Linus Torvalds nVidia quote here…)

I think the graphics would work properly under DXVK, and I tried messing with the wine registry to insert some Radeon driver version strings to try and fool Battlefront, but nothing I tried worked.

So I’m wondering if anyone can help me fool SWBF to think it’s using some kind of up to date Radeon driver, or otherwise bypass the driver detection, so I can just run the game.

Also, I have no idea how to make a Lutris installer for it. So if someone could do that, or show me how, that’d be good.

Nice job getting Battlefront to run!
I think there are some installers that use a dxvk.conf file that will spoof a GPU, if you can’t figure it out need you can add a note to the installer’s technical notes since the current one should be valid for AMD GPUs.

1 Like

First off open an issue here: https://github.com/doitsujin/dxvk

Second you could try:

- input_menu:
    description: 'Choose your GPU:'
    id: GPU
    options:
    - '#dxgi.nvapiHack = False': AMD
    - dxgi.nvapiHack = False: Nvidia
    preselect: '#dxgi.nvapiHack = False'
- write_file:
    content: $INPUT_GPU
    file: $GAMEDIR/dxvk.conf
system:
  env:
    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
wine:
  overrides:
    nvapi,nvapi64: disabled

I added this to the script please try these locally.

1 Like

Wow! It works great!
You guys are awesome! Thanks cxf!

Next up I’m going to try SWBF2.

There’s some strange problem that’s been happening with the sound. It’s playing back in slow motion. I’m not sure if it’s been that way since I started running SWBF, it defintely was there before I used cxfs’ DXVK installer. I think probably something in winetricks would fix it.

Other than that, it works really well except for a minor issue with the window taking some wrangling to get it to go into full screen, but once there, it runs well. Standard wine full screen quibbles. Might work better with emulated desktop enabled.

I’ll try it with the Origin overlay on too, I’ve heard that can cause problems, but it’d be cool if it works without any issues.

Ok, a few things I did to get it working better:

I disabled the ‘builtin’ fallback for xaudio2_7, now the audio is playing correctly at the moment.

Next thing is I went into the nVidia driver settings page, and set “override application setting” for anti-aliasing and anisotropic filtering, and set them both as high as I wanted them in game. So now the graphics look like they would on Windows.

The third thing I did, was set the Windowed (virtual desktop) in the runner options of the game, which fixed the issue I was having with not easily being able to maximise the game. However, when I start a map, I have to alt-tab and alt-tab back into the game, in order to get the mouse to drop from being a cursor to being caught by the game to use for aiming the gun.
I suspect if I set the "mouse warp override’ to ‘force’ that it’ll solve the mouse issue. As I’ve noticed that seems to work for many games I’ve had that problem with.

I’m going to make a ‘report issue’ note on the game page, in order to post a link to here, so that people can see what we’ve discussed in relation to getting the game to work best.

Next up I’m going to try SWBF2.

Oooh now this is something I’ve been wanting for a while and tried a few times myself to no avail. I’ll definitely be keeping an eye on this thread.

when i boot up the game i click play in origin and then nothing happens the game doesnt boot

after awhile i messed around in the lutris setings it ended up with saying i need to update my radeon driver for this to work

First off, always make sure you have Origin In-game disabled from the Origin settings. As I haven’t yet been able to run SW Battlefront with it enabled, so I doubt it works.

To fix the issue with the amd driver error at game launch:
Do you have an AMD card or an nVidia card?

You can try renaming up your old prefix, then reinstalling via the Lutris installer, and make sure you select nVidia if you have an nVidia card, or AMD if you have that.

Then copy your SW Battlefront install dir to your Origin games folder in the new prefix so that Origin can rediscover the files instead of having to download them again.

Another problem I’ve had is that the game doesn’t launch full screen properly. Which I solved by going into the Lutris launcher settings, and set; ‘Windowed (virtual desktop)’, under the runner options tab, and set your desktop resolution below it.

hi thanks for your response i am running an amd gpu and i allready selected the amd gpu option in the installer image this is what comes up when i boot the game

this shoud answer enymore questions you have

How are we going on the SWBF2 installer?

Was wondering the same myself. Has anyone gotten that to work?

I can’t even get it to run on either of my Windows machines :stuck_out_tongue: I was on to Origin tech support for around a week, and they were unable to give me a straight answer as to what could fix the problem on Windows 10.

I tried numerous winetricks etc to get it to run in Lutris, and there’s definitely something different about SWBF2 that’s stopping it from running in Wine as SWBF does.

1 Like

Hi everyone! I’ve been trying to run SWBF 2015 on my computer both under PlayonLinux and Lutris. I manage to run the game quite well at both but I’m experiencing stuttering as with no other game I run. I mean, I’ve played Metal Gear Solid 5 with no issues and other demanding games with no problems at all, but SWBF is running with 1 or 2 second “hiccups” every 5 or 8 seconds of playing.

I tried with the original prefix, with wine4.9_staging, with DXVK 0.52;0.96 and 1.21 and with all I have the same issues. I tried enabling Esync on Lutris but nothing gets better. Finally I ran it without DXVK to see if was something transparent to it, or maybe associated with sound (who knows!). Well… with no DXVK off course graphs have glitches, but the stuttering remains. Also, removed the xaudio2.7 override but still the same.

I guess there must be something I’m not nailing, maybe even outside Lutris or Playonlinux, but I have no idea what. Any help or experience will be appreciated!

Ahh, yeah, my system?
KUbuntu 18.04 on a Core i7 laptop. 16GB of RAM, NVidia GTX1060 …and whatever command you may want me to run for diagnose, I’ll be happy to paste here the output.

Thanks again!!