SWBFGamers

Gaming for the Original SWBF1 and SWBF2/other games => Star Wars Battlefront (2004 Original) => Topic started by: wyatt8740 on November 19, 2016, 11:13:06 AM

Title: How to Play SWBF1 multiplayer via Linux with Wine
Post by: wyatt8740 on November 19, 2016, 11:13:06 AM
NOTE:The loading screens will take a long time when running this with the current version of wine, due to a dumb bug. See https://bugs.winehq.org/show_bug.cgi?id=29582 (https://bugs.winehq.org/show_bug.cgi?id=29582). Once you've started a match, however, it runs as smoothly as on Windows.

sudo nano /etc/hosts

Add these entries to the 'hosts' file:
162.248.92.172 swbfrontpc.ms4.gamespy.com
162.248.92.172 swbfrontpc.available.gamespy.com
162.248.92.172 available.gamespy.com
162.248.92.172 master.gamespy.com
162.248.92.172 swbfrontpc.master.gamespy.com
162.248.92.172 motd.gamespy.com
162.248.92.172 key.gamespy.com
162.248.92.172 peerchat.gamespy.com
162.248.92.172 gpsp.gamespy.com
162.248.92.172 gpcm.gamespy.com
162.248.92.172 natneg1.gamespy.com


You can follow the same steps to install Battlefront II in wine, by the way. If you want to play BF2, be sure to add the following to your hosts file as well:

162.248.92.172 swbfront2pc.ms4.gamespy.com
162.248.92.172 swbfront2pc.ms5.gamespy.com
162.248.92.172 swbfront2pc.ms6.gamespy.com
162.248.92.172 swbfront2pc.available.gamespy.com
162.248.92.172 available.gamespy.com
162.248.92.172 master.gamespy.com
162.248.92.172 swbfront2pc.master.gamespy.com
162.248.92.172 motd.gamespy.com
162.248.92.172 key.gamespy.com
162.248.92.172 peerchat.gamespy.com
162.248.92.172 gpsp.gamespy.com
162.248.92.172 gpcm.gamespy.com
162.248.92.172 natneg1.gamespy.com
162.248.92.172 natneg2.gamespy.com
162.248.92.172 swbfront2pc.gamestats.gamespy.com
162.248.92.172 motd.gamespy.com
162.248.92.172 gamestats.gamespy.com


Finally, run battlefront directly from 'battlefront.exe' - not the launcher.

cd ~/.wine/drive_c/Program Files/LucasArts/Star Wars Battlefront/GameData
wine battlefront.exe


If you want to play it windowed, run it as:
wine battlefront.exe /win
Title: Re: (How-to) Playing SWBF1 multiplayer via Linux in Wine
Post by: Led on November 26, 2016, 08:30:29 AM
Thanks Wyatt!

I will sticky this topic  :cheers:
EhPortal 1.34 © 2024, WebDev