Difference between revisions of "Game Testing"

From PC-BSD Wiki
Jump to: navigation, search
(What currently works)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
<translate>
 +
<!--T:1-->
 
{{NavHome}}
 
{{NavHome}}
  
 +
<!--T:2-->
 
This area of the wiki is for those who have tried getting a Windows or Linux game running on PC-BSD. Those who wish to add their results may do so in the tables below. __NOTOC__ <!-- eliminate table of contents until page grows -->
 
This area of the wiki is for those who have tried getting a Windows or Linux game running on PC-BSD. Those who wish to add their results may do so in the tables below. __NOTOC__ <!-- eliminate table of contents until page grows -->
  
== The promise of non-native games on PC-BSD ==
+
== The promise of non-native games on PC-BSD == <!--T:3-->
  
 +
<!--T:4-->
 
It is well known that a constant stream of games arrive on store shelves for Windows and that a few titles sometimes are available for Linux, but that does not mean BSD is left without options. There are two main methods that can be used to access games, and both are through some kind of emulation or compatibility layer. FreeBSD (and therefore PC-BSD) has a Linux compatibility layer. There are a number of emulators, and a program (Wine) containing a subset of Windows capability that has been ported to BSD. It is hoped that through this list more games may be discovered that work but do not (or cannot) exist as PBIs, and also perhaps, by way of this information, assistance might be given to increase the amount accessible to PC-BSD.
 
It is well known that a constant stream of games arrive on store shelves for Windows and that a few titles sometimes are available for Linux, but that does not mean BSD is left without options. There are two main methods that can be used to access games, and both are through some kind of emulation or compatibility layer. FreeBSD (and therefore PC-BSD) has a Linux compatibility layer. There are a number of emulators, and a program (Wine) containing a subset of Windows capability that has been ported to BSD. It is hoped that through this list more games may be discovered that work but do not (or cannot) exist as PBIs, and also perhaps, by way of this information, assistance might be given to increase the amount accessible to PC-BSD.
  
'''Note:''' This page pertains to PC-BSD version 9.x.
+
<!--T:5-->
 +
'''Note:''' This page has been updated to PC-BSD version 10.x.
  
== Linux ==
+
== Linux == <!--T:6-->
The idea is that these games work directly, without a need for porting or only to fix file locations.
+
Currently the Linux version of steam does not work in PC-BSD 10.1.  However with the addition of FreeBSD 11.x in about a year we are hoping to have native Linux support for Steam built-in to PC-BSD.
  
=== Resources ===
+
== Tips and Tricks == <!--T:12-->
  
==== Libraries and other files ====
+
<!--T:13-->
 +
Steam.msi (Microsoft) can be installed on pcbsd with the last Wine version (1.5.19) or higher.
 +
 +
'''Patch Wine to work better with 3D accelerated games on Nvidia cards'''
  
* {{Citelink|url=http://www.freshports.org/devel/linux-f10-sdl12/|txt=sdl12}}
+
* sh /usr/local/share/wine/patch-nvidia.sh
  
==== Documentation and Examples ====
+
'''To solve the problem of Steam not displaying text:'''
  
* Previously ported {{Citelink|url=http://www.freshports.org/games/linux-doom3|txt=linux-doom3}} that might be used as an example.
+
In order to resolve it :
 +
* Run wine regedit.
 +
* Navigate to HKEY_CURRENT_USER\Software\Valve\Steam in the tree.
 +
* Look for a DWriteEnable value in the panel on the right. If it doesn't exist, add it as a DWORD value.
 +
* Set DWriteEnable to 0 and exit out of the registry editor.
  
== Windows ==
+
This can also be solved by opening the Wine Configuration utility and browsing to the "libraries" tab.  In the blank search box type "dwrite" and then select it and press add.  After that with dwrite selected press the edit button and select disabled.
  
Steam.msi (Microsoft) can be installed on pcbsd with the last Wine version (1.5.19)
+
'''Memory Error fix on 10.x systems (solved in fresh installed 10.1)'''
  
The only problem is no displaying text.
+
*edit /boot/loader.conf as root
 +
*Check to see if there is a line with: vfs.zfs.arc_max="256M" present
 +
*If it is not present add it at this time and save the file
 +
*at a root prompt run: grub-mkconfig -o /boot/grub/grub.cfg
 +
*Restart your system for the changes to take effect
  
In order to resolve it :
+
{{citelink|url=https://www.youtube.com/watch?v=B04EuZ9hpAI|txt=Youtube video about this topic.}}
  
* Run wine regedit.
+
'''Using Steam / Wine on PC-BSD as a streaming game client'''
  
* Navigate to HKEY_CURRENT_USER\Software\Valve\Steam in the tree.
+
* Make sure you have already installed Steam and followed the first video instructions above.
 +
* sudo edit /etc/pf.conf
 +
* Add the following lines:
  
* Look for a DWriteEnable value in the panel on the right. If it doesn't exist, add it as a DWORD value.
+
* pass in quick on re0 proto {tcp,udp} from any to any port {27031,27036,27037}
 +
* pass in quick on re0 proto udp from any to any port 4380 keep state
 +
* pass in quick on re0 proto udp from any to any port 27000:27030 keep state
 +
* pass in quick on re0 proto tcp from any to any port 27014:27050 keep state
 +
 
 +
* sudo /etc/rc.d/pf restart  (restarts pf firewall)
 +
 
 +
''Problems and Workarounds for this Method:''
 +
 
 +
* If you are getting garbled audio make sure pf.conf is configured correctly and your game server is directly wired to the router.
 +
* Do not use windows 8 as your server as it will cause a large number of games to not render correctly.
 +
* No audio in games on client computer: Make sure there is an audio cable of some sort plugged into the back of your server. It can be headphones, speakers, or just a wire.
 +
* Keyboard and / or mouse not working on client computer in game: If this is a problem for you plug a mouse and / or keyboard into the server.
 +
* Keyboard and / or mouse STILL not working on client computer in game: Start steam on the server with elevated permissions.  (Start as administrator)
 +
 
 +
{{citelink|url=https://www.youtube.com/watch?v=BJ88B8aWdk0&feature=youtu.be|txt=Youtube video about this topic.}}
 +
 
 +
So far I have not been able to get a single game to fail to run with this method.
  
* Set DWriteEnable to 0 and exit out of the registry editor.
 
 
<!-- #### adjust what this comment hides as the page is populated ####
 
<!-- #### adjust what this comment hides as the page is populated ####
=== Resources ===
+
=== Resources === <!--T:20-->
  
==== Libraries and other files ====
+
==== Libraries and other files ==== <!--T:21-->
  
==== Documentation and Examples ====
+
==== Documentation and Examples ==== <!--T:22-->
  
== Game Consoles ==
+
== Game Consoles == <!--T:22-->
  
=== Resources ===
+
=== Resources === <!--T:23-->
  
==== Libraries and other files ====
+
==== Libraries and other files ==== <!--T:24-->
  
==== Documentation and Examples ====
+
==== Documentation and Examples ==== <!--T:25-->
  
 +
<!--T:26-->
 
#### adjust this comment to hide only unpopulated sections #### -->
 
#### adjust this comment to hide only unpopulated sections #### -->
  
== Attempted ==
 
<!-- perhaps place another table here? -->
 
  
== What currently works ==
+
==Working Games on Steam through Wine Stable 1.6 (Updated 12/12/14) {Tested Natively}== <!--T:27-->
 +
 
 +
*7 Grand Steps
 +
*Age of Wonders 3 - Additional configuration needed
 +
*Borderlands 2
 +
*Borderlands: The Pre-Sequel
 +
*Cherry Tree High Comedy Club
 +
*Civilization 3 - Complete Pack
 +
*Civilization 5 - Gods and Kings
 +
*Commander Keen Complete Pack
 +
*Counter-Strike Source
 +
*Crusader Kings 2
 +
*Darkspore
 +
*Democracy 3
 +
*Disney's Winnie the Pooh
 +
*Doom 3
 +
*Doom 3: Resurrection of Evil
 +
*Doom II: Hell on Earth
 +
*Duck Tales Remastered
 +
*Duke Nukem Forever
 +
*Dungeon Hearts
 +
*Europa Universalis IV
 +
*Fallout: New Vegas
 +
*Final Doom
 +
*FTL: Faster Than Light
 +
*Half Life
 +
*Half Life 2
 +
*Half Life 2: Deathmatch
 +
*Half Life 2: Lost Coast
 +
*Half Life: Source
 +
*Heretic: Shadow of othe Serpent Riders
 +
*Hexen: Beyond Heretic
 +
*Hexen: Deathkings of the Dark Citadel
 +
*Hexen II
 +
*Journey of a Roach
 +
*Left for Dead 2
 +
*Leisure Suit Larry In the Land of the Lounge Lizards: Reloaded
 +
*Long Live the Queen
 +
*Lost Horizon
 +
*Mass Effect
 +
*Mass Effect 2
 +
*Master Levels for Doom III
 +
*Medieval: Total War 2
 +
*Merchants of Kaidan
 +
*Omerta: City of Gangsters
 +
*Overlord 2
 +
*Papers Please
 +
*Patrician 3
 +
*Pixel Piracy
 +
*Portal
 +
*Quake
 +
*Quake II
 +
*Quake II:Ground Zero
 +
*Quake II:The Reckoning
 +
*Quake III:Arena
 +
*Quake III:Team Arena
 +
*Quake Mission Pack 1:Scourge of Armageddon
 +
*Quake Mission Pack 2:Dissolution of Eternity
 +
*Rage
 +
*Recettear: An Item Shop's Tale
 +
*Return to Castle Wolfenstein
 +
*Revenge of the Titans
 +
*Rise of the Triad
 +
*Rome: Total War & DLC's
 +
*RPGmaker VXace
 +
*Skyrim
 +
*Space Run
 +
*SPAZ: Space Pirates and Zombies
 +
*Spiral Knights
 +
*State of Decay (and the other 2 DLC's)
 +
*The Elder Scrolls III: Morrowind
 +
*The Elder Scrolls IV: Oblivion
 +
*The Long Dark
 +
*The Walking Dead
 +
*Tomb Raider (failed initially and requested reset settings.  Works after)
 +
*Trine
 +
*Tropico
 +
*Tropico 2: Pirate Cove
 +
*Tropico 3
  
  
{{Tbl-init|caption=: Games that have been attempted. How well does this version of the game run?}}
 
!Type
 
!width=37%|Name
 
!Version
 
!Platform
 
!Special changes (and/or errors)
 
|-
 
|RPG
 
|'''Diablo II'''
 
|1.13
 
|Windows
 
|align=justified|Using the mechanism of installing on Windows (both Diablo2 and LoD expansion), then copying the installation files to a USB key, you can run the game with Wine.
 
Example: wine Diablo\ II.exe -w
 
  
(Note: the -w is required for Windowed mode).  
+
== Non-Working Games == <!--T:28-->
 +
*Fable 3
 +
*Atom Zombie Slayer
 +
*Fallout 3 - (Wine stable 1.6x)
  
Tested on PC-BSD 9.0x64 and Wine64 1.4.1
 
|-
 
|
 
|'''Left for Dead 2'''
 
|
 
|Windows
 
|Steam.msi (Microsoft) via Wine version (1.5.20)
 
|-
 
|
 
|'''Rome Total WAR'''
 
|
 
|Windows
 
|Steam.msi (Microsoft) via Wine version (1.5.20)
 
|-
 
|
 
|'''Rome: Total War - Barbarian Invasion'''
 
|
 
|Windows
 
|Steam.msi (Microsoft) via Wine version (1.5.20)
 
|-
 
|
 
|'''Rome: Total War - Alexander'''
 
|
 
|Windows
 
|Steam.msi (Microsoft) via Wine version (1.5.20)
 
|-
 
|
 
|'''crusader kings 2'''
 
|
 
|Windows
 
|Steam.msi (Microsoft) via Wine version (1.5.20)
 
|-
 
|
 
|'''Medieval total WAR 2'''
 
|
 
|Windows
 
|Steam.msi (Microsoft) via Wine version (1.5.20)
 
|}
 
<!-- It may eventually be necessary to subdivide into groups of games that work for each certain "emulator" -->
 
 
<noinclude>{{refheading}}</noinclude>
 
<noinclude>{{refheading}}</noinclude>
 
<noinclude>{{GroupListHeading|group=tables}}</noinclude>
 
<noinclude>{{GroupListHeading|group=tables}}</noinclude>
 +
</translate>

Latest revision as of 13:00, 19 December 2014

Contents

This area of the wiki is for those who have tried getting a Windows or Linux game running on PC-BSD. Those who wish to add their results may do so in the tables below.

[edit] The promise of non-native games on PC-BSD

It is well known that a constant stream of games arrive on store shelves for Windows and that a few titles sometimes are available for Linux, but that does not mean BSD is left without options. There are two main methods that can be used to access games, and both are through some kind of emulation or compatibility layer. FreeBSD (and therefore PC-BSD) has a Linux compatibility layer. There are a number of emulators, and a program (Wine) containing a subset of Windows capability that has been ported to BSD. It is hoped that through this list more games may be discovered that work but do not (or cannot) exist as PBIs, and also perhaps, by way of this information, assistance might be given to increase the amount accessible to PC-BSD.

Note: This page has been updated to PC-BSD version 10.x.

[edit] Linux

Currently the Linux version of steam does not work in PC-BSD 10.1. However with the addition of FreeBSD 11.x in about a year we are hoping to have native Linux support for Steam built-in to PC-BSD.

[edit] Tips and Tricks

Steam.msi (Microsoft) can be installed on pcbsd with the last Wine version (1.5.19) or higher.

Patch Wine to work better with 3D accelerated games on Nvidia cards

  • sh /usr/local/share/wine/patch-nvidia.sh

To solve the problem of Steam not displaying text:

In order to resolve it :

  • Run wine regedit.
  • Navigate to HKEY_CURRENT_USER\Software\Valve\Steam in the tree.
  • Look for a DWriteEnable value in the panel on the right. If it doesn't exist, add it as a DWORD value.
  • Set DWriteEnable to 0 and exit out of the registry editor.

This can also be solved by opening the Wine Configuration utility and browsing to the "libraries" tab. In the blank search box type "dwrite" and then select it and press add. After that with dwrite selected press the edit button and select disabled.

Memory Error fix on 10.x systems (solved in fresh installed 10.1)

  • edit /boot/loader.conf as root
  • Check to see if there is a line with: vfs.zfs.arc_max="256M" present
  • If it is not present add it at this time and save the file
  • at a root prompt run: grub-mkconfig -o /boot/grub/grub.cfg
  • Restart your system for the changes to take effect

Youtube video about this topic.[1]

Using Steam / Wine on PC-BSD as a streaming game client

  • Make sure you have already installed Steam and followed the first video instructions above.
  • sudo edit /etc/pf.conf
  • Add the following lines:
  • pass in quick on re0 proto {tcp,udp} from any to any port {27031,27036,27037}
  • pass in quick on re0 proto udp from any to any port 4380 keep state
  • pass in quick on re0 proto udp from any to any port 27000:27030 keep state
  • pass in quick on re0 proto tcp from any to any port 27014:27050 keep state
  • sudo /etc/rc.d/pf restart (restarts pf firewall)

Problems and Workarounds for this Method:

  • If you are getting garbled audio make sure pf.conf is configured correctly and your game server is directly wired to the router.
  • Do not use windows 8 as your server as it will cause a large number of games to not render correctly.
  • No audio in games on client computer: Make sure there is an audio cable of some sort plugged into the back of your server. It can be headphones, speakers, or just a wire.
  • Keyboard and / or mouse not working on client computer in game: If this is a problem for you plug a mouse and / or keyboard into the server.
  • Keyboard and / or mouse STILL not working on client computer in game: Start steam on the server with elevated permissions. (Start as administrator)

Youtube video about this topic.[2]

So far I have not been able to get a single game to fail to run with this method.


[edit] Working Games on Steam through Wine Stable 1.6 (Updated 12/12/14) {Tested Natively}

  • 7 Grand Steps
  • Age of Wonders 3 - Additional configuration needed
  • Borderlands 2
  • Borderlands: The Pre-Sequel
  • Cherry Tree High Comedy Club
  • Civilization 3 - Complete Pack
  • Civilization 5 - Gods and Kings
  • Commander Keen Complete Pack
  • Counter-Strike Source
  • Crusader Kings 2
  • Darkspore
  • Democracy 3
  • Disney's Winnie the Pooh
  • Doom 3
  • Doom 3: Resurrection of Evil
  • Doom II: Hell on Earth
  • Duck Tales Remastered
  • Duke Nukem Forever
  • Dungeon Hearts
  • Europa Universalis IV
  • Fallout: New Vegas
  • Final Doom
  • FTL: Faster Than Light
  • Half Life
  • Half Life 2
  • Half Life 2: Deathmatch
  • Half Life 2: Lost Coast
  • Half Life: Source
  • Heretic: Shadow of othe Serpent Riders
  • Hexen: Beyond Heretic
  • Hexen: Deathkings of the Dark Citadel
  • Hexen II
  • Journey of a Roach
  • Left for Dead 2
  • Leisure Suit Larry In the Land of the Lounge Lizards: Reloaded
  • Long Live the Queen
  • Lost Horizon
  • Mass Effect
  • Mass Effect 2
  • Master Levels for Doom III
  • Medieval: Total War 2
  • Merchants of Kaidan
  • Omerta: City of Gangsters
  • Overlord 2
  • Papers Please
  • Patrician 3
  • Pixel Piracy
  • Portal
  • Quake
  • Quake II
  • Quake II:Ground Zero
  • Quake II:The Reckoning
  • Quake III:Arena
  • Quake III:Team Arena
  • Quake Mission Pack 1:Scourge of Armageddon
  • Quake Mission Pack 2:Dissolution of Eternity
  • Rage
  • Recettear: An Item Shop's Tale
  • Return to Castle Wolfenstein
  • Revenge of the Titans
  • Rise of the Triad
  • Rome: Total War & DLC's
  • RPGmaker VXace
  • Skyrim
  • Space Run
  • SPAZ: Space Pirates and Zombies
  • Spiral Knights
  • State of Decay (and the other 2 DLC's)
  • The Elder Scrolls III: Morrowind
  • The Elder Scrolls IV: Oblivion
  • The Long Dark
  • The Walking Dead
  • Tomb Raider (failed initially and requested reset settings. Works after)
  • Trine
  • Tropico
  • Tropico 2: Pirate Cove
  • Tropico 3


[edit] Non-Working Games

  • Fable 3
  • Atom Zombie Slayer
  • Fallout 3 - (Wine stable 1.6x)

References


  1. https://www.youtube.com/watch?v=B04EuZ9hpAI
  2. https://www.youtube.com/watch?v=BJ88B8aWdk0&feature=youtu.be

List of Tables


Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox