PC Building Simulator

Informations

Creator Message
LinuxScripter Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 67
Wine: 3.8

Feedbacks

Description

Build your very own PC empire, from simple diagnosis and repairs to bespoke, boutique creations that any gamer would drool over. With an ever-expanding marketplace full of real-world and realistically priced components you can finally stop dreaming of that ultimate PC and get out there, build it and see how it benchmarks!

 

Source code

#!/bin/bash
# Date : (2018-05-18 00:39)
# Last revision : (2018-05-18 00:39)
# Wine version used : 3.8
# Distribution used to test : Ubuntu 18.04 64bit
# Author : LinuxScripter
# Script licence : GPLv3
# Program licence : Proprietary
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="PC Building Simulator"
PREFIX="PCBuildingSimulator"
EDITOR="The Irregular Corporation"
AUTHOR="LinuxScripter"
GAME_URL="https://www.pcbuildingsim.com/"
WORKING_WINE_VERSION="3.8"
 
# Starting the script
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Installing mandatory dependencies
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_xact
POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements
POL_Call POL_Install_vcrun2010 #needed by the game itself
POL_Call POL_Install_corefonts #despite corefonts coming with steam this is needed or else the menus will be textless
POL_Call POL_Function_SetResolution #needed otherwise the game window becomes unable to interract with if you alt-tab

# Registery fix for Steam Achievements page not working and logins/password fields being inactive
cat << EOF > fix.reg
REGEDIT4
        
[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"UseTakeFocus"="N"

[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
"Version"="winxp64"
 
[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
"Version"="winxp64"

EOF
       
POL_Wine regedit.exe fix.reg

# Begin game installation
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/621060
POL_Wine_WaitBefore "$TITLE"
 
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/621060" "-no-ces-sandbox"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
LinuxScripter Saturday 3 November 2018 at 15:27
LinuxScripter Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

The issue of screen going black when quality is set above medium was solved. Now the game is fully working aside from two issues:

  • Benchmark animations doesn't show up on the monitors and there is blackness instead. This does not affect the gameplay in any way because the actuall benchmark works and once it's done the results are show as normal. The overlay that shows processor's usage and such is also working correctly.
  • The game crashes when exiting. Tried installing diffirent versions of vcrun (2005,2008,2010,2015), using wine versions 3.10-staging, 3.16, 3.17,3.18,3.19, launching the game with -force-glcore. Nothing works.

Below is the log file from that crash:

PC Building Simulator [version: Unity 2017.2.0f3 (46dda1414e51)]

user32.dll caused an Access Violation (0xc0000005)
  in module user32.dll at 0033:c80380f0.

Error occurred at 2018-11-03_150524.
C:\Program Files (x86)\Steam\steamapps\common\PC Building Simulator\PCBS.exe, run by jonasz.
31% memory in use.
4096 MB physical memory [4096 MB free].
4096 MB paging file [-2048 MB free].
4096 MB user address space [4096 MB free].
Read from location 00000004 caused an access violation.

Context:
RDI:    0x0023e894  RSI: 0x00000018  RAX:   0x00000000
RBX:    0x00000018  RCX: 0x00000000  RDX:   0x10000003
RIP:    0xc80380f0  RBP: 0x10000003  SegCs: 0x00000033
EFlags: 0x00010246  RSP: 0x0023e630  SegSs: 0x0000002b
R8:    0x00000000  R9: 0x0023e894  R10:   0x00000008
R11:    0xc8037f10  R12: 0x00000000  R13:   0x0023e894
R14:    0x00000000  R15: 0x00000000

Bytes at CS:EIP:
41 8b 6e 04 4d 85 e4 74 3f 41 3b 6d 00 76 21 bd

Stack:
0x0023e630: 0023e6b0 00000000 00000000 00000000 ..#.............
0x0023e640: 208adc00 00000000 0023eff8 00000000 ... ......#.....
0x0023e650: 00000000 00000000 00000000 00000000 ................
0x0023e660: 00000000 00000000 00000000 00000000 ................
0x0023e670: 00700070 005c0073 006f0063 006d006d p.p.s.\.c.o.m.m.
0x0023e680: 00ffffff ffff0000 0000ffff ffffffff ................
0x0023e690: 00202020 00000000 00000000 00000020    ......... ...
0x0023e6a0: 00000000 00000000 00000000 00000000 ................
0x0023e6b0: 00000000 00000000 00000000 00000000 ................
0x0023e6c0: 00000000 00000000 00000000 00000000 ................
0x0023e6d0: 00000000 00000000 00000000 00000000 ................
0x0023e6e0: 00000000 00000000 00000000 00000000 ................
0x0023e6f0: 00010214 00000000 00000018 00000000 ................
0x0023e700: 0023e894 00000000 0023e7d0 00000000 ..#.......#.....
0x0023e710: 0b840480 00000000 00000000 00000000 ................
0x0023e720: 10000003 00000000 1ccf34e7 00000000 .........4......
0x0023e730: 208adc00 00000000 03a67d54 00000000 ... ....T}......
0x0023e740: 00000001 00000000 00000000 00000000 ................
0x0023e750: 00000018 00000000 03a890c4 00000000 ................
0x0023e760: 0023e7b0 00000000 0023eff8 00000000 ..#.......#.....
0x0023e770: 03d15a80 00000000 0023e7b0 00000000 .Z........#.....
0x0023e780: 00000000 00000000 00010214 00000000 ................
0x0023e790: 0023e7d0 00000000 0023e730 00000000 ..#.....0.#.....
0x0023e7a0: 0b840480 00000000 2084c600 00000000 ........... ....
0x0023e7b0: 00010214 00000000 00000002 00000000 ................
0x0023e7c0: 00000000 00000000 00000000 00000000 ................
0x0023e7d0: 0023e840 00000000 1ccf3421 00000000 @.#.....!4......
0x0023e7e0: 0023e820 00000000 0023e790 00000000  .#.......#.....
0x0023e7f0: 0b840480 00000000 2084c600 00000000 ........... ....
0x0023e800: 00000018 00000000 00000002 00000000 ................
0x0023e810: 0023e894 00000000 00000000 00000000 ..#.............
0x0023e820: 10000003 00000000 00000000 00000000 ................
0x0023e830: 00000000 00000000 00000000 00000000 ................
0x0023e840: 0023e990 00000000 1ccf2f7f 00000000 ..#....../......
0x0023e850: 0023e990 00000000 1ccf2f53 00000000 ..#.....S/......
0x0023e860: 00000000 00000000 00000000 00000000 ................
0x0023e870: 00000018 00000000 00000000 00000000 ................
0x0023e880: 00000000 00000000 0023e894 00000000 ..........#.....
0x0023e890: 00000000 00000000 00000000 00000000 ................
0x0023e8a0: 00000000 00000000 00000000 00000000 ................
0x0023e8b0: 00000000 00000000 00000000 00000000 ................
0x0023e8c0: 00700070 005c0073 006f0063 006d006d p.p.s.\.c.o.m.m.
0x0023e8d0: 00ffffff ffff0000 0000ffff ffffffff ................
0x0023e8e0: 00202020 00000000 00000000 00000020    ......... ...
0x0023e8f0: 00000000 00000000 00000000 00000000 ................
0x0023e900: 00000000 00000000 00000000 00000000 ................
0x0023e910: 00000000 00000000 00000000 00000000 ................
0x0023e920: 00000000 00000000 00000000 00000000 ................
0x0023e930: 00000000 00000000 00000000 00000000 ................
0x0023e940: 00000000 00000000 00000002 00000000 ................
0x0023e950: 00010214 00000000 c8057420 00007ff6 ........ t......
0x0023e960: 0d450000 00000000 7bc60a1c 00000000 ..E........{....
0x0023e970: 00000002 00000000 00010214 00000000 ................
0x0023e980: 00000000 00000000 00000000 00000000 ................
0x0023e990: 0023e9e0 00000000 1ccf2db9 00000000 ..#......-......
0x0023e9a0: 00700070 005c0073 006f0063 006d006d p.p.s.\.c.o.m.m.
0x0023e9b0: 00ffffff ffff0000 0000ffff ffffffff ................
0x0023e9c0: 00000000 00000000 00000000 00000020 ............ ...
0x0023e9d0: 00000002 00000000 00000000 00000000 ................
0x0023e9e0: 0023ea40 00000000 1c283dd6 00000000 @.#......=(.....
0x0023e9f0: 00000000 00000000 00000000 00000000 ................
0x0023ea00: 00700070 005c0073 006f0063 006d006d p.p.s.\.c.o.m.m.
0x0023ea10: 00000000 00000000 0000ffff ffffffff ................
0x0023ea20: 00000000 00000000 00000002 00000000 ................
0x0023ea30: 00010214 00000000 2098dd40 00000000 ........@.. ....
0x0023ea40: 0023eab0 00000000 1c283d18 00000000 ..#......=(.....
0x0023ea50: 00000000 00000000 00000000 00000000 ................
0x0023ea60: 00000000 00000000 00000000 00000000 ................
0x0023ea70: 00000000 00000000 00000000 00000000 ................
0x0023ea80: 00700070 005c0073 00000002 00000000 p.p.s.\.........
0x0023ea90: 00000000 00000000 00000000 00000000 ................
0x0023eaa0: 00010214 00000000 00000002 00000000 ................
0x0023eab0: 0023eb20 00000000 0b840522 00000000  .#.....".......
0x0023eac0: 00010214 00000000 0b8404f7 00000000 ................
0x0023ead0: 00010214 00000000 0023eb20 00000000 ........ .#.....
0x0023eae0: 00000000 00000000 c8048aa7 00007ff6 ................
0x0023eaf0: 00000000 00000000 00000000 00000000 ................
0x0023eb00: 00000000 00000000 00000002 00000000 ................
0x0023eb10: 00010214 00000000 00010214 00000000 ................
0x0023eb20: 0023ec60 00000000 c8070af5 00007ff6 `.#.............
0x0023eb30: 00000000 00000000 00000000 00000000 ................
0x0023eb40: 00000000 00000000 00000000 00000000 ................
0x0023eb50: 00000000 00000000 80000012 00000000 ................
0x0023eb60: 00010214 00000000 00010214 00000000 ................
0x0023eb70: ffea8000 00007fff 00000001 00000000 ................
0x0023eb80: 00000000 00000000 00000000 00000000 ................
0x0023eb90: 0023ec60 00000000 c80736d3 00007ff6 `.#......6......
0x0023eba0: 00000000 00000000 00000000 00000000 ................
0x0023ebb0: c81a32d0 00007ff6 ffff0015 00000000 .2..............
0x0023ebc0: 00000002 00000012 00000000 00000000 ................
0x0023ebd0: 00000000 00000000 0023ed10 00000000 ..........#.....
0x0023ebe0: 0023ed08 00000000 00000002 00000000 ..#.............
0x0023ebf0: 00000000 00000000 00000000 00000000 ................
0x0023ec00: 00000001 00000000 c802515a 00007ff6 ........ZQ......
0x0023ec10: 00000000 005c0073 006f0063 006d006d ....s.\.c.o.m.m.
0x0023ec20: 00ffffff ffff0000 c91f2c39 00007ff6 ........9,......
0x0023ec30: 00000000 00000000 00010214 00000000 ................
0x0023ec40: 00000081 00000000 90d56400 31872824 .........d..$(.1
0x0023ec50: 0023ed40 00000000 7bc9cabc 00000000 @.#........{....
0x0023ec60: 00000000 00000000 00010214 00000000 ................
0x0023ec70: 00000000 00000000 00000000 00000000 ................
0x0023ec80: 00000002 00000000 00010214 00000000 ................
0x0023ec90: 007d3a40 00000000 c7fb8bc1 00007ff6 @:}.............
0x0023eca0: 00010032 00000000 c8057420 00007ff6 2....... t......
0x0023ecb0: 00000000 00000000 0023ee40 00000000 ........@.#.....
0x0023ecc0: 00000000 00000000 00010214 00000000 ................
0x0023ecd0: 007d3c60 00000000 007d3c58 00000000 `<}.....X<}.....
0x0023ece0: 007d3a40 00000000 00000000 00000000 @:}.............
0x0023ecf0: 00000000 00000000 c8025a71 00007ff6 ........qZ......
0x0023ed00: 00000000 ffff0000 00000000 00000000 ................
0x0023ed10: 00000001 00000082 00010214 00000000 ................
0x0023ed20: 00000002 00000000 00000000 00000000 ................
0x0023ed30: 00000000 00000000 00000000 00000000 ................
0x0023ed40: 00000000 00000000 00000000 00000000 ................
0x0023ed50: 00000000 00000000 00000000 00000000 ................
0x0023ed60: 00000000 00000000 00000000 00000000 ................
0x0023ed70: 00000000 00000000 00000000 00000000 ................
0x0023ed80: 00700070 005c0073 006f0063 006d006d p.p.s.\.c.o.m.m.
0x0023ed90: 00ffffff ffff0000 0000ffff ffffffff ................
0x0023eda0: 00202020 00000000 00000000 00000020    ......... ...
0x0023edb0: 00000000 00000000 00000000 00000000 ................
0x0023edc0: 00000000 00000000 00000000 00000000 ................
0x0023edd0: 00000000 00000000 00000000 00000000 ................
0x0023ede0: 00000000 00000000 00000000 00000000 ................
0x0023edf0: 00000000 00000000 00000000 00000000 ................
0x0023ee00: 00010214 00000000 00000043 00000000 ........C.......
0x0023ee10: 00010214 00000000 c805dc00 00007ff6 ................
0x0023ee20: 00000000 00000000 00000000 00000000 ................
0x0023ee30: 00000000 00000000 00000000 00000000 ................
0x0023ee40: 00000048 00000000 000400f2 00000000 H...............
0x0023ee50: 000400f2 00000000 00000000 00000000 ................
0x0023ee60: 00000000 00000000 00000000 00000000 ................
0x0023ee70: 00000000 00000000 00000000 00000000 ................
0x0023ee80: 00000000 00000000 007d3c60 00000000 ........`<}.....
0x0023ee90: 00010214 00000000 007d3c60 00000000 ........`<}.....
0x0023eea0: 007d3c58 00000000 c8063788 00007ff6 X<}......7......
0x0023eeb0: 0e8b8e40 00000000 0e8b8e40 00000000 @.......@.......
0x0023eec0: 00000000 00000000 03d15c80 00000000 .........\......
0x0023eed0: 03d15a80 00000000 0023f790 00000000 .Z........#.....
0x0023eee0: 2084c600 00000000 03aa0d23 00000000 ... ....#.......
0x0023eef0: 00000000 00000000 00000000 00000000 ................
0x0023ef00: 00000000 00000000 00000000 00000000 ................
0x0023ef10: 00700070 005c0073 006f0063 006d006d p.p.s.\.c.o.m.m.
0x0023ef20: 00ffffff ffff0000 0000ffff ffffffff ................
0x0023ef30: 00202020 00000000 00000000 00000020    ......... ...
0x0023ef40: 00000000 00000000 00000000 00000000 ................
0x0023ef50: 00000000 00000000 00000000 00000000 ................
0x0023ef60: 00000000 00000000 00000000 00000000 ................
0x0023ef70: 00000000 00000000 00000000 00000000 ................
0x0023ef80: 00000000 00000000 00000000 00000000 ................
0x0023ef90: 0e8b8e40 00000000 00010214 00000000 @...............
0x0023efa0: 2084c600 00000000 0023f060 00000000 ... ....`.#.....
0x0023efb0: 0023f790 00000000 04034d48 00000000 ..#.....HM......
0x0023efc0: 0023f690 00000000 1e7496dc 00000000 ..#.......t.....
0x0023efd0: 0e8b8e40 00000000 0023edd0 00000000 @.........#.....
0x0023efe0: 0023f0a0 00000000 2098dd40 00000000 ..#.....@.. ....
0x0023eff0: 2084c600 00000000 03d15c80 00000000 ... .....\......
0x0023f000: 03d15a80 00000000 007cb108 00000000 .Z........|.....
0x0023f010: 1e74965e 00000000 0e8b8e40 00000000 ^.t.....@.......
0x0023f020: 0023f060 00000000 0023efd0 00000000 `.#.......#.....
0x0023f030: 0023f790 00000000 04034d48 00000000 ..#.....HM......
0x0023f040: 0023f690 00000000 00000000 00000000 ..#.............
0x0023f050: 2084c600 00000000 2098dd40 00000000 ... ....@.. ....
0x0023f060: 0023f0a0 00000000 1e7495dc 00000000 ..#.......t.....
0x0023f070: 00000000 00000000 00000000 00000000 ................
0x0023f080: 1e749590 00000000 0de27fc0 00000000 ..t.............
0x0023f090: 1e749582 00000000 2098dd40 00000000 ..t.....@.. ....
0x0023f0a0: 0023f0e0 00000000 1e749542 00000000 ..#.....B.t.....
0x0023f0b0: 00000000 00000000 00000000 00000000 ................
0x0023f0c0: 1e749520 00000000 0de27eb8 00000000  .t......~......
0x0023f0d0: 1c2823eb 00000000 2084c600 00000000 .#(........ ....
0x0023f0e0: 0023f150 00000000 1e7485c9 00000000 P.#.......t.....
0x0023f0f0: 00000000 00000000 0000000d 00000000 ................
0x0023f100: 03d15a80 00000000 0023f790 00000000 .Z........#.....
0x0023f110: 04034d48 00000000 00000001 00000000 HM..............
0x0023f120: 197f6ce0 00000000 00000000 00000000 .l..............
0x0023f130: 1e7483f0 00000000 fffffffe ffffffff ..t.............
0x0023f140: 00000000 00000000 00000000 00000000 ................
0x0023f150: 0023f190 00000000 1e7483a1 00000000 ..#.......t.....
0x0023f160: 00000000 00000000 00000000 00000000 ................
0x0023f170: 1e748380 00000000 0dde33b0 00000000 ..t......3......
0x0023f180: 1c281023 00000000 197f30c0 00000000 #.(......0......
0x0023f190: 0023f1e0 00000000 1e747f40 00000000 ..#.....@.t.....
0x0023f1a0: 04034d48 00000000 0023f690 00000000 HM........#.....
0x0023f1b0: 00000000 00000000 00000000 00000000 ................
0x0023f1c0: 1e747df0 00000000 00000000 00000000 .}t.............
0x0023f1d0: 00000000 00000000 1f7c3280 00000000 .........2|.....
0x0023f1e0: 0023f220 00000000 1e74780d 00000000  .#......xt.....
0x0023f1f0: 00000000 00000000 0023f790 00000000 ..........#.....
0x0023f200: 1e7477b0 00000000 fffffffe ffffffff .wt.............
0x0023f210: 00000002 00000000 faa6cebd ffffffff ................
0x0023f220: 0023f260 00000000 1e7476b9 00000000 `.#......vt.....
0x0023f230: 00000000 00000000 0023f790 00000000 ..........#.....
0x0023f240: 1e747610 00000000 0e5b7c70 00000000 .vt.....p|[.....
0x0023f250: 0892de30 00000000 04315140 00000000 0.......@Q1.....
0x0023f260: 0023f2d0 00000000 1e747565 00000000 ..#.....eut.....
0x0023f270: 00000000 00000000 00000000 00000000 ................
0x0023f280: 00000000 00000000 00000000 00000000 ................
0x0023f290: 00000000 00000000 2080c100 00000000 ........... ....
0x0023f2a0: 04034d48 00000000 00000000 00000000 HM..............
0x0023f2b0: 00000000 00000000 00000000 00000000 ................
0x0023f2c0: 00000000 00000000 00000000 00000000 ................
0x0023f2d0: 0023f360 00000000 043151a6 00000000 `.#......Q1.....
0x0023f2e0: 00ffffff ffff0000 0000ffff ffffffff ................
0x0023f2f0: 00202020 00000000 00000000 00000020    ......... ...
0x0023f300: 00000000 00000000 1e747530 00000000 ........0ut.....
0x0023f310: 0023f790 00000000 00000000 00000000 ..#.............
0x0023f320: 2080c100 00000000 00000000 00000000 ... ............
0x0023f330: 00000000 00000000 00000000 00000000 ................
0x0023f340: 00000000 00000000 0892de30 00000000 ........0.......
0x0023f350: 04315140 00000000 0023f3a0 00000000 @Q1.......#.....
0x0023f360: 0023f3a0 00000000 03b560fb 00000000 ..#......`......
0x0023f370: 0e8b8e40 00000000 00000000 00000000 @...............
0x0023f380: 00000000 00000000 0892de30 00000000 ........0.......
0x0023f390: 00000000 00000000 0000ffff ffffffff ................
0x0023f3a0: 04034d48 00000000 08a87630 00000000 HM......0v......
0x0023f3b0: 00000000 00000000 0e8b8e40 00000000 ........@.......
0x0023f3c0: 03d28dc0 00000000 2080c100 00000000 ........... ....
0x0023f3d0: 0023f790 00000000 0023f690 00000000 ..#.......#.....
0x0023f3e0: 3607a450 00000000 00000004 00000000 P..6............
0x0023f3f0: 3607a450 00000000 00000004 00000000 P..6............
0x0023f400: 2cbfc230 00000000 8041bf16 00000001 0..,......A.....
0x0023f410: 2cbfc230 00000000 80447fe6 00000001 0..,......D.....
0x0023f420: 00000008 00000000 00000001 00000000 ................
0x0023f430: 3607a450 00000000 804429d2 00000001 P..6.....)D.....
0x0023f440: 00000000 00000000 00000000 00000000 ................
0x0023f450: 00000020 00000000 00000002 00000000  ...............
0x0023f460: 1be36970 00000000 80442d3a 00000001 pi......:-D.....
0x0023f470: 01b334b0 00000000 0000000a 00000000 .4..............
0x0023f480: 00000000 00000000 1be36820 00000000 ........ h......
0x0023f490: 1be36970 00000000 80447fe6 00000001 pi........D.....
0x0023f4a0: 1be36610 00000000 00000002 00000000 .f..............
0x0023f4b0: 00000001 00000000 0023f630 00000000 ........0.#.....
0x0023f4c0: 0023f790 00000000 0023f8e9 00000000 ..#.......#.....
0x0023f4d0: 0023f630 00000000 80463403 00000001 0.#......4F.....
0x0023f4e0: 81c630ef 00007375 2c33d480 00000000 .0..us....3,....
0x0023f4f0: 00000020 00000000 00000000 00000000  ...............
0x0023f500: 00000000 00000000 0000000a 00000000 ................
0x0023f510: 00000000 00000000 0023f790 00000000 ..........#.....
0x0023f520: 0023f690 00000000 0892de30 00000000 ..#.....0.......
0x0023f530: 2080c100 00000000 03aa8875 00000000 ... ....u.......
0x0023f540: 0023f790 00000000 0023f8e9 00000000 ..#.......#.....
0x0023f550: 0023f630 00000000 8045e29a 00000001 0.#.......E.....
0x0023f560: 2080c100 00000000 80463b14 00000001 ... .....;F.....
0x0023f570: 0892de30 00000000 0023f8e9 00000000 0.........#.....
0x0023f580: 0023f5e0 00000000 00000000 00000000 ..#.............
0x0023f590: 0023f630 00000000 8045eb60 00000001 0.#.....`.E.....
0x0023f5a0: 0023f798 00000000 0023f790 00000000 ..#.......#.....
0x0023f5b0: 00000002 00000000 0023f8e9 00000000 ..........#.....
0x0023f5c0: 0023f790 00000000 00000000 00000000 ..#.............
0x0023f5d0: 0023f630 00000000 8045ed9e 00000001 0.#.......E.....
0x0023f5e0: 0023f630 00000000 0023f798 00000000 0.#.......#.....
0x0023f5f0: 0023f790 00000000 00000001 00000020 ..#......... ...
0x0023f600: 00000000 00000000 804423a0 00000001 .........#D.....
0x0023f610: 1be36820 00000000 0023f8a8 00000000  h........#.....
0x0023f620: 00000000 00000000 00000000 00000000 ................
0x0023f630: 00000000 00000000 00000001 00000000 ................
0x0023f640: 00000000 00000000 00000000 00000000 ................
0x0023f650: 00000000 00000000 00000001 00000000 ................
0x0023f660: 00000000 00000000 00000000 00000000 ................
0x0023f670: 00000000 00000000 00000001 00000001 ................
0x0023f680: 00000000 00000000 00000000 00000000 ................
0x0023f690: 00000000 00000000 00000000 00000000 ................
0x0023f6a0: 00000000 00000000 00000000 00000000 ................
0x0023f6b0: 00000000 00000000 00000000 00000000 ................
0x0023f6c0: 00000000 00000000 00000000 00000000 ................
0x0023f6d0: 00000000 00000000 00000000 00000000 ................
0x0023f6e0: 00000000 00000000 00000000 00000000 ................
0x0023f6f0: 00000000 00000000 00000001 00000000 ................
0x0023f700: 00000000 00000000 00000000 00000000 ................
0x0023f710: 00000000 00000000 00000001 00000000 ................
0x0023f720: 00000000 00000000 0892de30 00000000 ........0.......
0x0023f730: 2080c100 00000000 00000000 00000000 ... ............
0x0023f740: ffffff8c 00000000 00000000 00000000 ................
0x0023f750: 00000000 00000000 00000101 00000000 ................
0x0023f760: 00000000 00000000 1be36700 00000000 .........g......
0x0023f770: 1be36820 00000000 80442969 00000001  h......i)D.....
0x0023f780: 2080c100 00000000 0892de30 00000000 ... ....0.......
0x0023f790: 00000000 00000000 00000001 ffffffff ................
0x0023f7a0: 00000000 00000000 00000000 00000000 ................
0x0023f7b0: 00000000 00000000 00000001 00000000 ................
0x0023f7c0: 1be366e0 00000000 80138f7d 00000001 .f......}.......
0x0023f7d0: 2080c100 00000000 00000001 00000000 ... ............
0x0023f7e0: 00000000 00000000 00000000 00000000 ................
0x0023f7f0: 1be36610 00000000 8031afba 00000001 .f........1.....
0x0023f800: 1be36610 00000000 00000000 00000000 .f..............
0x0023f810: 1be36610 00000000 8013a9c3 00000001 .f..............
0x0023f820: 00000002 00000000 0023f8e9 00000000 ..........#.....
0x0023f830: 1be36610 00000000 00000017 00000000 .f..............
0x0023f840: 1be36610 00000000 8031b059 00000001 .f......Y.1.....
0x0023f850: 1be36610 00000000 1be36610 00000000 .f.......f......
0x0023f860: 2cd082a0 00000000 0000d5f0 00000000 ...,............
0x0023f870: 00000018 00000000 00000018 00000000 ................
0x0023f880: 0303d070 00000000 811321a2 00000001 p........!......
0x0023f890: 00000000 00000000 80322b81 00000001 .........+2.....
0x0023f8a0: 00002000 00000000 00000000 00000000 . ..............
0x0023f8b0: 00483d90 00000000 00002001 00000000 .=H...... ......
0x0023f8c0: 00000000 00000000 00000000 00000000 ................
0x0023f8d0: 01b2ff10 00000000 22e4d200 00000000 ..........."....
0x0023f8e0: 8143c5a0 00000001 80136e14 00000001 ..C......n......
0x0023f8f0: 00000001 00000000 22e4d180 00000000 ..........."....
0x0023f900: 00004000 00000000 8011f7a9 00000001 .@..............
0x0023f910: 0023f980 00000000 0023f9b9 00000000 ..#.......#.....
0x0023f920: 00001f55 00000000 01b2ff10 00000000 U...............
0x0023f930: 00001f55 00000000 01b2ff10 00000000 U...............
0x0023f940: 0023f9b9 00000000 8033237f 00000001 ..#......#3.....
0x0023f950: 01b2ff10 00000000 1be36610 00000000 .........f......
0x0023f960: 00000000 00000000 02a41490 00000000 ................
0x0023f970: 814ee038 00000001 00000003 00000000 8.N.............
0x0023f980: 01b2ff10 00000000 22e28a50 00000000 ........P.."....
0x0023f990: 22e4d200 00000000 00000000 00000000 ..."............
0x0023f9a0: 00000000 00000000 0211c050 00000000 ........P.......
0x0023f9b0: 00000001 00000000 000021be 00000000 .........!......
0x0023f9c0: 00004000 00000000 ffffffff 00000000 .@..............
0x0023f9d0: 00000001 00000000 0023fc20 00000000 ........ .#.....
0x0023f9e0: 048dfb20 00000000 809ca945 00000001  .......E.......
0x0023f9f0: 00000000 00000000 00000000 00000000 ................
0x0023fa00: 0000000a 00000000 00000044 00000000 ........D.......
0x0023fa10: 0023fc20 00000000 80332d83 00000001  .#......-3.....
0x0023fa20: ffffff90 00000000 814eda68 00000001 ........h.N.....
0x0023fa30: 814ee038 00000001 00000003 00000000 8.N.............
0x0023fa40: 00000003 00000000 80324159 00000001 ........YA2.....
0x0023fa50: 814eda68 00000001 814ee038 00000001 h.N.....8.N.....
0x0023fa60: 00000001 00000000 814eda38 00000001 ........8.N.....
0x0023fa70: 00000000 00000000 8098611e 00000001 .........a......
0x0023fa80: 000003ec 00000000 00000000 00000000 ................
0x0023fa90: 000003ec 00000000 00000000 00000000 ................
0x0023faa0: 00000000 00000000 8098633a 00000001 ........:c......
0x0023fab0: 000003ec 00000000 00000000 00000000 ................
0x0023fac0: 00000000 00000000 00000000 00000000 ................
0x0023fad0: 00000001 00000000 00000000 00000000 ................
0x0023fae0: 000400f2 00000000 000014fe 00000000 ................
0x0023faf0: 138911bc 00000000 00000001 00000000 ................
0x0023fb00: 004d21a5 000000f4 000003e3 00000000 .!M.............
0x0023fb10: 00000000 00000000 80992e3f 00000001 ........?.......
0x0023fb20: 00000004 00000000 0023fc20 00000000 ........ .#.....
0x0023fb30: 00000000 00000000 00000000 00000000 ................
0x0023fb40: 00000000 00000000 00000000 00000000 ................
0x0023fb50: 0000001d 00000000 00000000 00000020 ............ ...
0x0023fb60: 00000000 00000000 00000000 00000000 ................
0x0023fb70: 65726170 5748746e 0000444e 00000000 parentHWND......
0x0023fb80: 0000000a 00000000 00000044 00720067 ........D...g.r.
0x0023fb90: 00000000 00000000 65646968 646e6957 ........hideWind
0x0023fba0: 0000776f 00380078 0000000a 00000000 ow..x.8.........
0x0023fbb0: 00000044 006d0061 00000000 00000000 D...a.m.........
0x0023fbc0: 00482420 00000000 00000438 00000000  $H.....8.......
0x0023fbd0: 00000780 00000000 01b23d90 00000000 .........=......
0x0023fbe0: 00000059 00000000 0064006c 006e0069 Y.......l.d.i.n.
0x0023fbf0: 00000059 00000000 00000044 0061006c Y.......D...l.a.
0x0023fc00: 01b40c10 00000000 01b40c38 00000000 ........8.......
0x0023fc10: 01b40c38 00000000 00780000 00000000 8.........x.....
0x0023fc20: 01b2b850 00000000 0000004d 00000000 P.......M.......
0x0023fc30: 00000000 00000000 0000004d 00000000 ........M.......
0x0023fc40: 00000044 005c0073 01b23d30 00000000 D...s.\.0=......
0x0023fc50: 00000055 00000000 0000ffff ffffffff U...............
0x0023fc60: 00000055 00000000 00000044 00000020 U.......D... ...
0x0023fc70: 01b366f0 00000000 00000015 00000000 .f..............
0x0023fc80: 72657961 00000000 00000015 00000000 ayer............
0x0023fc90: 00000044 00000000 01b36710 00000000 D........g......
0x0023fca0: 00000012 00000000 00000000 00000000 ................
0x0023fcb0: 00000012 00000000 00000044 00000000 ........D.......
0x0023fcc0: 01b23c70 00000000 00000052 00000000 p<......R.......
0x0023fcd0: 400148e0 00000001 00000052 00000000 .H.@....R.......
0x0023fce0: 00000044 00000000 01b2fc70 00000000 D.......p.......
0x0023fcf0: 00000068 00000000 00000010 00000000 h...............
0x0023fd00: 00000068 00000000 00000044 00000001 h.......D.......
0x0023fd10: 01b23d30 00000000 00000057 00000000 0=......W.......
0x0023fd20: 00000fa0 00000000 00000056 00000000 ........V.......
0x0023fd30: 00000044 00000000 01b23cd0 00000000 D........<......
0x0023fd40: 00000058 00000000 0012087e 00000000 X.......~.......
0x0023fd50: 00000058 00000000 00000044 00000000 X.......D.......
0x0023fd60: 00000000 00000000 00000000 00000000 ................
0x0023fd70: 00000000 00000000 00000000 00000000 ................
0x0023fd80: 0000000c 00000000 00000010 00000000 ................
0x0023fd90: 00000000 00000000 00000000 00000000 ................
0x0023fda0: 00000000 00000000 400013ee 00000001 ...........@....
0x0023fdb0: 0000000a 00000000 00000000 00000000 ................
0x0023fdc0: 0023fe00 00000000 0023fe00 00000000 ..#.......#.....
0x0023fdd0: 00000000 00000000 00000000 00000000 ................
0x0023fde0: 0023fe40 00000000 7b48873c 00000000 @.#.....<.H{....
0x0023fdf0: 00000000 00000000 00240000 00000000 ..........$.....
0x0023fe00: 00000000 00000000 00000000 00000000 ................
0x0023fe10: 00000000 00000000 00000000 00000000 ................
0x0023fe20: ffffffff ffffffff 7b4bbc60 00000000 ........`.K{....
0x0023fe30: 7b4557b0 00000000 00000000 00000000 .WE{............
0x0023fe40: 00000000 00000000 92cb9074 81c34755 ........t...UG..
0x0023fe50: 00000000 00000000 00000000 00000000 ................
0x0023fe60: 00000000 00000000 00000000 00000000 ................
0x0023fe70: 692b9074 81c34712 9f7d9074 81c3b1c4 t.+i.G..t.}.....
0x0023fe80: 00000000 00000000 00000000 00000000 ................
0x0023fe90: 00700070 005c0073 006f0063 006d006d p.p.s.\.c.o.m.m.
0x0023fea0: 00ffffff ffff0000 0000ffff ffffffff ................
0x0023feb0: 00202020 00000000 00000000 00000020    ......... ...
0x0023fec0: 00000000 00000000 00000000 00000000 ................
0x0023fed0: 00000000 00000000 00000000 00000000 ................
0x0023fee0: 00000000 00000000 00000000 00000000 ................
0x0023fef0: 00000000 00000000 00000000 00000000 ................
0x0023ff00: 00000000 00000000 00000000 00000000 ................
0x0023ff10: 00000000 00000000 00000000 00000000 ................
0x0023ff20: 00000000 00000000 00000000 00000000 ................
0x0023ff30: 00000000 00000000 00000000 00000000 ................
0x0023ff40: 00700070 005c0073 006f0063 006d006d p.p.s.\.c.o.m.m.
0x0023ff50: 00ffffff ffff0000 0000ffff ffffffff ................
0x0023ff60: 00202020 00000000 00000000 00000020    ......... ...
0x0023ff70: 00000000 00000000 00000000 00000000 ................
0x0023ff80: 00000000 00000000 00000000 00000000 ................
0x0023ff90: 00000000 00000000 00000000 00000000 ................
0x0023ffa0: 00000000 00000000 00000000 00000000 ................
0x0023ffb0: 00000000 00000000 00000000 00000000 ................
0x0023ffc0: 4000144c 00000001 00000000 00000000 L..@............
0x0023ffd0: 00000000 00000000 00000000 00000000 ................
0x0023ffe0: 4000144c 00000001 ffeaf000 00007fff L..@............
0x0023fff0: 00000000 00000000 00000000 00000000 ................

Module 1
C:\Program Files (x86)\Steam\gameoverlayrenderer64.dll
Image Base: 0x80000000  Image Size: 0x0018d000
File Size:  1441568     File Time:  2018-10-13_025922
Version:
   Company:    Valve Corporation
   Product:    Steam Game Overlay Renderer
   FileDesc:   Steam Game Overlay Renderer
   FileVer:    4.75.72.34
   ProdVer:    1.0.0.1

Module 2
C:\Program Files (x86)\Steam\steamapps\common\PC Building Simulator\PCBS_Data\Mono\EmbedRuntime\mono.dll
Image Base: 0x80000000  Image Size: 0x002de000
File Size:  2621888     File Time:  2018-10-30_211158
Version:
   Company:    Unity Technologies
   Product:    libmono
   FileDesc:   Unity Technologies fork of mono runtime
   FileVer:    1.0.0.1
   ProdVer:    1.0.0.1

Module 3
C:\windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
Image Base: 0x80000000  Image Size: 0x00004000
File Size:  23960       File Time:  2018-11-03_105648
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft\AE Windows\AE Operating System
   FileDesc:   ApiSet Stub DLL
   FileVer:    10.0.10137.0
   ProdVer:    10.0.10137.0

Module 4
C:\windows\system32\api-ms-win-crt-heap-l1-1-0.dll
Image Base: 0x80000000  Image Size: 0x00003000
File Size:  20360       File Time:  2018-11-03_105648
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft\AE Windows\AE Operating System
   FileDesc:   ApiSet Stub DLL
   FileVer:    10.0.10137.0
   ProdVer:    10.0.10137.0

Module 5
C:\windows\system32\api-ms-win-crt-stdio-l1-1-0.dll
Image Base: 0x80000000  Image Size: 0x00004000
File Size:  25488       File Time:  2018-11-03_105648
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft\AE Windows\AE Operating System
   FileDesc:   ApiSet Stub DLL
   FileVer:    10.0.10137.0
   ProdVer:    10.0.10137.0

Module 6
C:\windows\system32\VCRUNTIME140.dll
Image Base: 0x80000000  Image Size: 0x00017000
File Size:  88752       File Time:  2018-11-03_105648
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft\AE Visual Studio\AE 2015
   FileDesc:   Microsoft\AE C Runtime Library
   FileVer:    14.0.23026.0
   ProdVer:    14.0.23026.0

Module 7
C:\windows\system32\api-ms-win-crt-locale-l1-1-0.dll
Image Base: 0x80000000  Image Size: 0x00003000
File Size:  19856       File Time:  2018-11-03_105648
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft\AE Windows\AE Operating System
   FileDesc:   ApiSet Stub DLL
   FileVer:    10.0.10137.0
   ProdVer:    10.0.10137.0

Module 8
C:\Program Files (x86)\Steam\steamapps\common\PC Building Simulator\PCBS_Data\Plugins\UnityNativeChromaSDK.dll
Image Base: 0x80000000  Image Size: 0x00037000
File Size:  200192      File Time:  2018-10-30_211446
Version:
   Company:    TODO: <Company name>
   Product:    TODO: <Product name>
   FileDesc:   TODO: <File description>
   FileVer:    1.0.0.1
   ProdVer:    1.0.0.1

Module 9
C:\windows\system32\api-ms-win-crt-math-l1-1-0.dll
Image Base: 0x80000000  Image Size: 0x00005000
File Size:  28552       File Time:  2018-11-03_105648
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft\AE Windows\AE Operating System
   FileDesc:   ApiSet Stub DLL
   FileVer:    10.0.10137.0
   ProdVer:    10.0.10137.0

Module 10
C:\windows\system32\MSVCP140.dll
Image Base: 0x80000000  Image Size: 0x0009e000
File Size:  635040      File Time:  2018-11-03_105648
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft\AE Visual Studio\AE 2015
   FileDesc:   Microsoft\AE C Runtime Library
   FileVer:    14.0.23026.0
   ProdVer:    14.0.23026.0

Module 11
C:\windows\system32\ucrtbase.dll
Image Base: 0x80000000  Image Size: 0x000ec000
File Size:  960312      File Time:  2018-11-03_105648
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft\AE Windows\AE Operating System
   FileDesc:   Microsoft\AE C Runtime Library
   FileVer:    10.0.10137.0
   ProdVer:    10.0.10137.0

Module 12
C:\windows\system32\mfc140u.dll
Image Base: 0x80000000  Image Size: 0x0056e000
File Size:  5653664     File Time:  2018-11-03_105648
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft\AE Visual Studio\AE 2015
   FileDesc:   MFCDLL Shared Library - Retail Version
   FileVer:    14.0.23026.0
   ProdVer:    14.0.23026.0

Module 13
C:\Program Files (x86)\Steam\steamapps\common\PC Building Simulator\PCBS_Data\Plugins\steam_api64.dll
Image Base: 0x3b400000  Image Size: 0x00041000
File Size:  249120      File Time:  2018-10-30_211406
Version:
   Company:    Valve Corporation
   Product:    Steam Client API
   FileDesc:   Steam Client API
   FileVer:    4.4.91.85
   ProdVer:    1.0.0.1

Module 14
C:\windows\system32\opengl32.dll
Image Base: 0x7a850000  Image Size: 0x001bf000
File Size:  2400        File Time:  2018-11-03_094450
Version:
   Company:    Microsoft Corporation
   Product:    Wine
   FileDesc:   Wine OpenGL Client
   FileVer:    5.1.2600.2082
   ProdVer:    5.1.2600.2082

Module 15
C:\windows\system32\KERNEL32.dll
Image Base: 0x7b420000  Image Size: 0x003ff000
File Size:  1716412     File Time:  2018-11-03_094450
Version:
   Company:    Microsoft Corporation
   Product:    Wine
   FileDesc:   DLL j\B9dra WINE
   FileVer:    5.1.2600.2180
   ProdVer:    5.1.2600.2180

Module 16
C:\windows\system32\ntdll.dll
Image Base: 0x7bc20000  Image Size: 0x0010b000
File Size:  2476        File Time:  2018-11-03_094450
Version:
   Company:    Microsoft Corporation
   Product:    Wine
   FileDesc:   Wine ntdll
   FileVer:    6.1.7601.24059
   ProdVer:    6.1.7601.24059

== [end of error.log] ==

And here is the debug log:

Running wine-3.16 Steam.exe steam://rungameid/621060 (Working directory : /home/jonasz/.PlayOnLinux/wineprefix/PCBuildingSimulator/drive_c/Program Files (x86)/Steam)
002f:err:winediag:wined3d_dll_init Setting maximum allowed wined3d GL version to 4.5.
0035:err:winediag:wined3d_dll_init Setting maximum allowed wined3d GL version to 4.5.
[1103/145148.029:INFO:crash_reporting.cc(216)] Crash reporting enabled for process: browser
[1103/145148.061:ERROR:network_change_notifier_win.cc(157)] WSALookupServiceBegin failed with: 8
0056:err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bcb9000
0063:err:winediag:wined3d_dll_init Setting maximum allowed wined3d GL version to 4.5.
0009:err:ole:CoGetClassObject class {294935ce-f637-4e7c-a41b-ab255460b862} not registered
0009:err:ole:CoGetClassObject class {294935ce-f637-4e7c-a41b-ab255460b862} not registered
0009:err:ole:create_server class {294935ce-f637-4e7c-a41b-ab255460b862} not registered
0009:err:ole:CoGetClassObject no class object {294935ce-f637-4e7c-a41b-ab255460b862} could be created for context 0x17
Mono path[0] = 'C:/Program Files (x86)/Steam/steamapps/common/PC Building Simulator/PCBS_Data/Managed'
Mono config path = 'C:/Program Files (x86)/Steam/steamapps/common/PC Building Simulator/PCBS_Data/Mono/etc'
Player data archive not found at `C:/Program Files (x86)/Steam/steamapps/common/PC Building Simulator/PCBS_Data/data.unity3d`, using local filesystem
0082:err:winediag:wined3d_dll_init Setting maximum allowed wined3d GL version to 4.5.
0082:err:winediag:wined3d_dll_init Setting maximum allowed wined3d GL version to 4.5.
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
0082:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
00cf:err:seh:setup_exception stack overflow 1728 bytes in thread 00cf eip 000000007bc4b9e7 esp 000000001c330f50 stack 0x1c330000-0x1c331000-0x1c430000
0082:err:ntdll:RtlpWaitForCriticalSection section 0x7bd16ae0 "../../../dlls/ntdll/exception.c: vectored_handlers_section" wait timed out in thread 0082, blocked by 00cf, retrying (60 sec)
00bd:err:ntdll:RtlpWaitForCriticalSection section 0x7bd16ae0 "../../../dlls/ntdll/exception.c: vectored_handlers_section" wait timed out in thread 00bd, blocked by 00cf, retrying (60 sec)
0009:err:ole:RevokeDragDrop invalid hwnd 0x301f4
System page size: 4096
IPC client is in my process, could/should be using an in-process pipe.IPC client is in my process, could/should be using an in-process pipe.IPC client is in my process, could/should be using an in-pro[2018-11-03 14:51:46] Startup - updater built Oct 12 2018 17:49:20
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2018-11-03 14:51:46] Checking for update on startup
[2018-11-03 14:51:46] Wyszukiwanie dost?pnych aktualizacji...
[2018-11-03 14:51:46] Download skipped: /client/steam_client_win32 version 1539393410, installed version 1539393410
[2018-11-03 14:51:46] Nothing to do
[2018-11-03 14:51:46] Weryfikowanie instalacji...
[2018-11-03 14:51:46] Performing checksum verification of executable files
[2018-11-03 14:51:47] Verification complete
[2018-11-03 14:51:50] Background update loop checking for update. . .
[2018-11-03 14:51:50] Wyszukiwanie dost?pnych aktualizacji...
[2018-11-03 14:51:50] Download skipped by HTTP 304 Not Modified
[2018-11-03 14:51:50] Nothing to do
[2018-11-03 15:06:20] Shutdown
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded.

Anyone knowsh how to fix this?

Differences

@@ -0,0 +1,46 @@
+#!/bin/bash
+# Date : (2018-05-18 00:39)
+# Last revision : (2018-10-31 12:40)
+# Wine version used : 3.16
+# Distribution used to test : Ubuntu 18.10 64bit
+# Author : LinuxScripter
+# Script licence : GPLv3
+# Program licence : Proprietary
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="PC Building Simulator"
+PREFIX="PCBuildingSimulator"
+EDITOR="The Irregular Corporation"
+AUTHOR="LinuxScripter"
+GAME_URL="https://www.pcbuildingsim.com/"
+WORKING_WINE_VERSION="3.16"
+ 
+# Starting the script
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+#Creating wineprefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x64"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
+# Installing mandatory dependencies
+POL_Call POL_Function_SetResolution #needed otherwise the game window becomes unable to interract with if you alt-tab
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_corefonts
+
+# Begin game installation
+POL_Call POL_Install_steam
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" steam://install/621060
+POL_Wine_WaitBefore "$TITLE"
+ 
+# Making shortcut
+POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/621060" "-no-ces-sandbox"
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2018-05-18 00:39)
# Last revision : (2018-10-31 12:40)
# Wine version used : 3.16
# Distribution used to test : Ubuntu 18.10 64bit
# Author : LinuxScripter
# Script licence : GPLv3
# Program licence : Proprietary
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="PC Building Simulator"
PREFIX="PCBuildingSimulator"
EDITOR="The Irregular Corporation"
AUTHOR="LinuxScripter"
GAME_URL="https://www.pcbuildingsim.com/"
WORKING_WINE_VERSION="3.16"
 
# Starting the script
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

#Creating wineprefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Installing mandatory dependencies
POL_Call POL_Function_SetResolution #needed otherwise the game window becomes unable to interract with if you alt-tab
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_corefonts

# Begin game installation
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/621060
POL_Wine_WaitBefore "$TITLE"
 
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/621060" "-no-ces-sandbox"

POL_SetupWindow_Close
exit 0

Replies

LinuxScripter Thursday 31 May 2018 at 12:50
LinuxScripter Anonymous

Information

This update has been approved by the team.

Message

Found out why the login wasn't possible when using virtual desktop - for some reason installing xact helped. Now the only issue is the screen going black when clicking on a computer when quality is set above Medium. Focing the game to use opengl dosen't seem to work.

Differences

@@ -0,0 +1,67 @@
+#!/bin/bash
+# Date : (2018-05-18 00:39)
+# Last revision : (2018-05-18 00:39)
+# Wine version used : 3.8
+# Distribution used to test : Ubuntu 18.04 64bit
+# Author : LinuxScripter
+# Script licence : GPLv3
+# Program licence : Proprietary
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="PC Building Simulator"
+PREFIX="PCBuildingSimulator"
+EDITOR="The Irregular Corporation"
+AUTHOR="LinuxScripter"
+GAME_URL="https://www.pcbuildingsim.com/"
+WORKING_WINE_VERSION="3.8"
+ 
+# Starting the script
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+# Setting prefix path
+POL_Wine_SelectPrefix "$PREFIX"
+ 
+# Downloading wine if necessary and creating prefix
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
+# Installing mandatory dependencies
+POL_Call POL_Install_dxfullsetup
+POL_Call POL_Install_xact
+POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements
+POL_Call POL_Install_vcrun2010 #needed by the game itself
+POL_Call POL_Install_corefonts #despite corefonts coming with steam this is needed or else the menus will be textless
+POL_Call POL_Function_SetResolution #needed otherwise the game window becomes unable to interract with if you alt-tab
+
+# Registery fix for Steam Achievements page not working and logins/password fields being inactive
+cat << EOF > fix.reg
+REGEDIT4
+        
+[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
+"UseTakeFocus"="N"
+
+[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
+"Version"="winxp64"
+ 
+[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
+"Version"="winxp64"
+
+EOF
+       
+POL_Wine regedit.exe fix.reg
+
+# Begin game installation
+POL_Call POL_Install_steam
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" steam://install/621060
+POL_Wine_WaitBefore "$TITLE"
+ 
+# Making shortcut
+POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/621060" "-no-ces-sandbox"
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2018-05-18 00:39)
# Last revision : (2018-05-18 00:39)
# Wine version used : 3.8
# Distribution used to test : Ubuntu 18.04 64bit
# Author : LinuxScripter
# Script licence : GPLv3
# Program licence : Proprietary
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="PC Building Simulator"
PREFIX="PCBuildingSimulator"
EDITOR="The Irregular Corporation"
AUTHOR="LinuxScripter"
GAME_URL="https://www.pcbuildingsim.com/"
WORKING_WINE_VERSION="3.8"
 
# Starting the script
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Installing mandatory dependencies
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_xact
POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements
POL_Call POL_Install_vcrun2010 #needed by the game itself
POL_Call POL_Install_corefonts #despite corefonts coming with steam this is needed or else the menus will be textless
POL_Call POL_Function_SetResolution #needed otherwise the game window becomes unable to interract with if you alt-tab

# Registery fix for Steam Achievements page not working and logins/password fields being inactive
cat << EOF > fix.reg
REGEDIT4
        
[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"UseTakeFocus"="N"

[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
"Version"="winxp64"
 
[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
"Version"="winxp64"

EOF
       
POL_Wine regedit.exe fix.reg

# Begin game installation
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/621060
POL_Wine_WaitBefore "$TITLE"
 
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/621060" "-no-ces-sandbox"

POL_SetupWindow_Close
exit 0

Replies

Gueulderack Wednesday 30 May 2018 at 9:04
Gueulderack Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,54 @@
+#!/bin/bash
+#!/usr/bin/env playonlinux-bash
+# Date : (2017-01-24)
+# Last revision : (2017-02-11 20:56)
+# Distribution used to test : Fedora 28 64 bits with GTX 970
+# Author : gueulderack
+# Script licence : GPL3
+# Licence : retail
+
+       
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+        
+TITLE="PC Building Simulator"
+PREFIX="PCBuildingSimulator"
+WORKING_WINE_VERSION="3.8"
+AUTHOR="Gueulderack"
+EDITOR="The Irregular Corporation"
+GAME_URL="https://www.pcbuildingsim.com/"
+        
+# Initialization
+POL_SetupWindow_Init
+POL_Debug_Init
+             
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+        
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x64"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$PREFIX"
+       
+# Moving TMP dir
+cd "$POL_System_TmpDir"
+      
+# Installing mandatory dependencies
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_corefonts #despite corefonts coming with steam this is needed or else the menus will be textless
+POL_Call POL_Function_SetResolution #needed because you will be unable to interract with the game window if you alt-tab
+POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements
+POL_Call POL_Install_dxfullsetup
+ 
+# Installing Steam
+POL_Call POL_Install_steam
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" steam://install/621060
+POL_Wine_WaitBefore "$TITLE"
+       
+# Shortcut done before install for steam version
+POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/621060"
+       
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
#!/usr/bin/env playonlinux-bash
# Date : (2017-01-24)
# Last revision : (2017-02-11 20:56)
# Distribution used to test : Fedora 28 64 bits with GTX 970
# Author : gueulderack
# Script licence : GPL3
# Licence : retail

       
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
        
TITLE="PC Building Simulator"
PREFIX="PCBuildingSimulator"
WORKING_WINE_VERSION="3.8"
AUTHOR="Gueulderack"
EDITOR="The Irregular Corporation"
GAME_URL="https://www.pcbuildingsim.com/"
        
# Initialization
POL_SetupWindow_Init
POL_Debug_Init
             
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
        
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$PREFIX"
       
# Moving TMP dir
cd "$POL_System_TmpDir"
      
# Installing mandatory dependencies
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_corefonts #despite corefonts coming with steam this is needed or else the menus will be textless
POL_Call POL_Function_SetResolution #needed because you will be unable to interract with the game window if you alt-tab
POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements
POL_Call POL_Install_dxfullsetup
 
# Installing Steam
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/621060
POL_Wine_WaitBefore "$TITLE"
       
# Shortcut done before install for steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/621060"
       
POL_SetupWindow_Close
exit 0

Replies

Anonymous
Wednesday 30 May 2018 at 17:05 -
This game works fine in a x32 bit wineprefix so why did you use SetArch = x64 ?
Unfortunateley I can't test any of our scripts because I can't log in to Steam. The login and password fields are inactive.
Anonymous
Wednesday 30 May 2018 at 17:30 -
UPDATE: The "cant login into Steam due to login&password fields being inactive" is caused by using virtual desktop of all things! This presents a problem as virtual desktop is needed for this game or else strange bugs happen that are related to window handling. This is the second Unity game (after Subnautica) that I have encountered this kind of issues. Could it be that the Unity engine itself is broken somewhere?
Anonymous
Wednesday 30 May 2018 at 20:01 -
"x32 bit wineprefix so why did you use SetArch = x64" : why not? For your problem of login in steam, strange because it's working for me. But this virtual desktop is something that I want to remove. How do you do that?
Anonymous
Thursday 31 May 2018 at 8:04 -
Generally you only set the wineprefix's architecture to x64 if the application/game needs it because a number of winetricks commands won't work in x64 wineprefix.
Go to wine config (right-click on a application and click "Configure Wine"). Then click on the "Graphics" tab and uncheck the "Emulate virtual desktop" option. Then click OK to save the new configuration.
LinuxScripter Friday 18 May 2018 at 13:44
LinuxScripter Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

The script. Not much else to say other than it works just like on windows.

Differences

@@ -0,0 +1,47 @@
+#!/bin/bash
+# Date : (2018-05-18 00:39)
+# Last revision : (2018-05-18 00:39)
+# Wine version used : 3.8
+# Distribution used to test : Ubuntu 18.04 64bit
+# Author : LinuxScripter
+# Script licence : GPLv3
+# Program licence : Proprietary
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="PC Building Simulator"
+PREFIX="PCBuildingSimulator"
+EDITOR="The Irregular Corporation"
+AUTHOR="LinuxScripter"
+GAME_URL="https://www.pcbuildingsim.com/"
+WORKING_WINE_VERSION="3.8"
+ 
+# Starting the script
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+# Setting prefix path
+POL_Wine_SelectPrefix "$PREFIX"
+ 
+# Downloading wine if necessary and creating prefix
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
+# Installing mandatory dependencies
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_corefonts #despite corefonts coming with steam this is needed or else the menus will be textless
+POL_Call POL_Function_SetResolution #needed because you will be unable to interract with the game window if you alt-tab
+
+# Begin game installation
+POL_Call POL_Install_steam
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" steam://install/621060
+POL_Wine_WaitBefore "$TITLE"
+ 
+# Making shortcut
+POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/621060"
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2018-05-18 00:39)
# Last revision : (2018-05-18 00:39)
# Wine version used : 3.8
# Distribution used to test : Ubuntu 18.04 64bit
# Author : LinuxScripter
# Script licence : GPLv3
# Program licence : Proprietary
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="PC Building Simulator"
PREFIX="PCBuildingSimulator"
EDITOR="The Irregular Corporation"
AUTHOR="LinuxScripter"
GAME_URL="https://www.pcbuildingsim.com/"
WORKING_WINE_VERSION="3.8"
 
# Starting the script
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Installing mandatory dependencies
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_corefonts #despite corefonts coming with steam this is needed or else the menus will be textless
POL_Call POL_Function_SetResolution #needed because you will be unable to interract with the game window if you alt-tab

# Begin game installation
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/621060
POL_Wine_WaitBefore "$TITLE"
 
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/621060"

POL_SetupWindow_Close
exit 0

Replies

Anonymous
Saturday 19 May 2018 at 14:34 -
I've noticed you have to add --force-glcore or --force-opengl to launch options or else the screen will turn black when clicking on a computer.
Anonymous
Tuesday 22 May 2018 at 15:59 -
I've tested your script, but it's not working for me: I have a crash when I start a new game.
Anonymous
Monday 28 May 2018 at 17:24 -
That's weird. Could you try to debug it and copy the debug log?
Anonymous
Wednesday 30 May 2018 at 8:56 -
Sorry, I was away, I didn't see your message before yesterday. I've made a new installer, that is working for me. But after that, I noticed that the game is working only in graphical quality at level intermediate or less. Maybe it was the same problem with your script.