GOG.com - Constructor

Informations

Creator Message
Okto Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 7193
Wine: 1.6.2-dos_support_0.6

Feedbacks

Description

A quirky sim game made by System 3, from 1997. It's quite simple in some ways, but has a lot of humour and random events to keep things interesting.

Source code

#!/bin/bash
# Date : (2014-10-11 16-02)
# Wine version used : 1.6.2
# Distribution used to test : OpenSuse 13.1
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - Constructor"
PREFIX="Constructor"
WORKING_WINE_VERSION="1.6.2-dos_support_0.6"
SHORTCUT_NAME="Constructor"
GOGID="constructor"

POL_SetupWindow_Init
POL_SetupWindow_SetID 
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "System 3" "Retailer: www.gog.com" "Benjamin Hardy" "$PREFIX" 

POL_Call POL_GoG_setup "$GOGID" "764f989d66969b3ffefcba3e3d15b281"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# Game only runs when it's at the root director of C:\
mv "$WINEPREFIX/drive_c/GOG Games/$PREFIX/"* "$WINEPREFIX/drive_c/"


#Creating dosbox configuration file
cat <<'_EOFCONFIG_' >> "$WINEPREFIX/playonlinux_dos.cfg"

sdl_fullscreen=true
sdl_fulldouble=false
sdl_fullresolution=original
sdl_windowresolution=original
sdl_output=overlay
sdl_autolock=true
sdl_sensitivity=80
sdl_waitonerror=true
sdl_priority=higher,normal
sdl_mapperfile=mapper.txt
sdl_usescancodes=true

dosbox_machine=svga_s3
dosbox_captures=capture
dosbox_memsize=32

render_frameskip=0
render_aspect=false
render_scaler=normal2x

cpu_core=auto
cpu_cputype=auto
cpu_cycles=max
cpu_cycleup=1000
cpu_cycledown=1000

mixer_nosound=false
mixer_rate=22050
mixer_blocksize=2048
mixer_prebuffer=80

sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=5
sblaster_dma=1
sblaster_hdma=5
sblaster_sbmixer=true
sblaster_oplmode=auto
sblaster_oplemu=default
sblaster_oplrate=22050

#Dissabling dosbox emulation of features this game doesn't use (provides better speeds on slower computers)
joystick_joysticktype=none
gus_gus=false
speaker_pcspeaker=false
speaker_tandy=off
speaker_disney=false

_EOFCONFIG_


#const.gog is a CD image which must be mounted as a virtual D: drive
cat <<_EOFAUTOEXE_ > "$WINEPREFIX/drive_c/autoexec.bat"
imgmount D "$WINEPREFIX/drive_c/const.gog" -t iso -fs iso
_EOFAUTOEXE_


POL_Wine_reboot

POL_Shortcut "GAME.EXE" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/manual.pdf"


POL_SetupWindow_Close
 
exit 0

Contributions

Filters:

Contribute
Member Message
piratmartin Monday 20 February 2017 at 13:47
piratmartin Anonymous

Message

Game work.

Replies

Okto Saturday 11 October 2014 at 17:06
Okto Anonymous

Information

This update has been approved by the team.

Message

Couple of changes. Installer now moves games to C: drive's root rather than changes the DOSbox mounted C: drive. Also adds a link to the manual.

Differences

@@ -0,0 +1,101 @@
+#!/bin/bash
+# Date : (2014-10-11 16-02)
+# Wine version used : 1.6.2
+# Distribution used to test : OpenSuse 13.1
+# Author : Benjamin Hardy
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="GOG.com - Constructor"
+PREFIX="Constructor"
+WORKING_WINE_VERSION="1.6.2-dos_support_0.6"
+SHORTCUT_NAME="Constructor"
+GOGID="constructor"
+
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "System 3" "Retailer: www.gog.com" "Benjamin Hardy" "$PREFIX" 
+
+POL_Call POL_GoG_setup "$GOGID" "764f989d66969b3ffefcba3e3d15b281"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_GoG_install
+
+# Game only runs when it's at the root director of C:\
+mv "$WINEPREFIX/drive_c/GOG Games/$PREFIX/"* "$WINEPREFIX/drive_c/"
+
+
+#Creating dosbox configuration file
+cat <<'_EOFCONFIG_' >> "$WINEPREFIX/playonlinux_dos.cfg"
+
+sdl_fullscreen=true
+sdl_fulldouble=false
+sdl_fullresolution=original
+sdl_windowresolution=original
+sdl_output=overlay
+sdl_autolock=true
+sdl_sensitivity=80
+sdl_waitonerror=true
+sdl_priority=higher,normal
+sdl_mapperfile=mapper.txt
+sdl_usescancodes=true
+
+dosbox_machine=svga_s3
+dosbox_captures=capture
+dosbox_memsize=32
+
+render_frameskip=0
+render_aspect=false
+render_scaler=normal2x
+
+cpu_core=auto
+cpu_cputype=auto
+cpu_cycles=max
+cpu_cycleup=1000
+cpu_cycledown=1000
+
+mixer_nosound=false
+mixer_rate=22050
+mixer_blocksize=2048
+mixer_prebuffer=80
+
+sblaster_sbtype=sb16
+sblaster_sbbase=220
+sblaster_irq=5
+sblaster_dma=1
+sblaster_hdma=5
+sblaster_sbmixer=true
+sblaster_oplmode=auto
+sblaster_oplemu=default
+sblaster_oplrate=22050
+
+#Dissabling dosbox emulation of features this game doesn't use (provides better speeds on slower computers)
+joystick_joysticktype=none
+gus_gus=false
+speaker_pcspeaker=false
+speaker_tandy=off
+speaker_disney=false
+
+_EOFCONFIG_
+
+
+#const.gog is a CD image which must be mounted as a virtual D: drive
+cat <<_EOFAUTOEXE_ > "$WINEPREFIX/drive_c/autoexec.bat"
+imgmount D "$WINEPREFIX/drive_c/const.gog" -t iso -fs iso
+_EOFAUTOEXE_
+
+
+POL_Wine_reboot
+
+POL_Shortcut "GAME.EXE" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"
+POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/manual.pdf"
+
+
+POL_SetupWindow_Close
+ 
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-10-11 16-02)
# Wine version used : 1.6.2
# Distribution used to test : OpenSuse 13.1
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - Constructor"
PREFIX="Constructor"
WORKING_WINE_VERSION="1.6.2-dos_support_0.6"
SHORTCUT_NAME="Constructor"
GOGID="constructor"

POL_SetupWindow_Init
POL_SetupWindow_SetID 
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "System 3" "Retailer: www.gog.com" "Benjamin Hardy" "$PREFIX" 

POL_Call POL_GoG_setup "$GOGID" "764f989d66969b3ffefcba3e3d15b281"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# Game only runs when it's at the root director of C:\
mv "$WINEPREFIX/drive_c/GOG Games/$PREFIX/"* "$WINEPREFIX/drive_c/"


#Creating dosbox configuration file
cat <<'_EOFCONFIG_' >> "$WINEPREFIX/playonlinux_dos.cfg"

sdl_fullscreen=true
sdl_fulldouble=false
sdl_fullresolution=original
sdl_windowresolution=original
sdl_output=overlay
sdl_autolock=true
sdl_sensitivity=80
sdl_waitonerror=true
sdl_priority=higher,normal
sdl_mapperfile=mapper.txt
sdl_usescancodes=true

dosbox_machine=svga_s3
dosbox_captures=capture
dosbox_memsize=32

render_frameskip=0
render_aspect=false
render_scaler=normal2x

cpu_core=auto
cpu_cputype=auto
cpu_cycles=max
cpu_cycleup=1000
cpu_cycledown=1000

mixer_nosound=false
mixer_rate=22050
mixer_blocksize=2048
mixer_prebuffer=80

sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=5
sblaster_dma=1
sblaster_hdma=5
sblaster_sbmixer=true
sblaster_oplmode=auto
sblaster_oplemu=default
sblaster_oplrate=22050

#Dissabling dosbox emulation of features this game doesn't use (provides better speeds on slower computers)
joystick_joysticktype=none
gus_gus=false
speaker_pcspeaker=false
speaker_tandy=off
speaker_disney=false

_EOFCONFIG_


#const.gog is a CD image which must be mounted as a virtual D: drive
cat <<_EOFAUTOEXE_ > "$WINEPREFIX/drive_c/autoexec.bat"
imgmount D "$WINEPREFIX/drive_c/const.gog" -t iso -fs iso
_EOFAUTOEXE_


POL_Wine_reboot

POL_Shortcut "GAME.EXE" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/manual.pdf"


POL_SetupWindow_Close
 
exit 0

Replies

Okto Sunday 5 October 2014 at 17:46
Okto Anonymous

Warning

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

Differences

@@ -0,0 +1,100 @@
+ #!/bin/bash
+# Date : (2014-10-5 00-30)
+# Wine version used : 1.6.2
+# Distribution used to test : OpenSuse 13.1
+# Author : Benjamin Hardy
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="GOG.com - Constructor"
+PREFIX="Constructor"
+WORKING_WINE_VERSION="1.6.2-dos_support_0.6"
+SHORTCUT_NAME="Constructor"
+GOGID="constructor"
+
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "System 3" "Retailer: www.gog.com" "Benjamin Hardy" "$PREFIX" 
+
+POL_Call POL_GoG_setup "$GOGID" "764f989d66969b3ffefcba3e3d15b281"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_GoG_install
+
+
+#Creating dosbox configuration file
+
+cat <<'_EOFCONFIG_' >> "$WINEPREFIX/playonlinux_dos.cfg"
+
+sdl_fullscreen=true
+sdl_fulldouble=false
+sdl_fullresolution=original
+sdl_windowresolution=original
+sdl_output=overlay
+sdl_autolock=true
+sdl_sensitivity=85
+sdl_waitonerror=true
+sdl_priority=higher,normal
+sdl_mapperfile=mapper.txt
+sdl_usescancodes=true
+
+dosbox_machine=svga_s3
+dosbox_captures=capture
+dosbox_memsize=32
+
+render_frameskip=0
+render_aspect=false
+render_scaler=normal2x
+
+cpu_core=auto
+cpu_cputype=auto
+cpu_cycles=max
+cpu_cycleup=1000
+cpu_cycledown=1000
+
+mixer_nosound=false
+mixer_rate=22050
+mixer_blocksize=2048
+mixer_prebuffer=80
+
+sblaster_sbtype=sb16
+sblaster_sbbase=220
+sblaster_irq=5
+sblaster_dma=1
+sblaster_hdma=5
+sblaster_sbmixer=true
+sblaster_oplmode=auto
+sblaster_oplemu=default
+sblaster_oplrate=22050
+
+#Dissabling dosbox emulation of features this game doesn't use (provides better speeds on slower computers)
+joystick_joysticktype=none
+gus_gus=false
+speaker_pcspeaker=false
+speaker_tandy=off
+speaker_disney=false
+
+_EOFCONFIG_
+
+#The constructor folder, rather than the wine drive, must be mounted as C: to avoid a "cannot find system.ini" crash when loading game.exe
+#const.gog is a CD image which must be mounted as a virtual D: drive
+
+cat <<_EOFAUTOEXE_ > "$WINEPREFIX/drive_c/autoexec.bat"
+mount -u c
+mount c: "$WINEPREFIX/drive_c/GOG Games/Constructor"
+imgmount D "$GOGROOT/Constructor/const.gog" -t iso -fs iso
+_EOFAUTOEXE_
+
+
+POL_Wine_reboot
+
+POL_Shortcut "GAME.EXE" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"
+
+POL_SetupWindow_Close
+ 
+exit 0
\ No newline at end of file

New source code

 #!/bin/bash
# Date : (2014-10-5 00-30)
# Wine version used : 1.6.2
# Distribution used to test : OpenSuse 13.1
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - Constructor"
PREFIX="Constructor"
WORKING_WINE_VERSION="1.6.2-dos_support_0.6"
SHORTCUT_NAME="Constructor"
GOGID="constructor"

POL_SetupWindow_Init
POL_SetupWindow_SetID 
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "System 3" "Retailer: www.gog.com" "Benjamin Hardy" "$PREFIX" 

POL_Call POL_GoG_setup "$GOGID" "764f989d66969b3ffefcba3e3d15b281"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


#Creating dosbox configuration file

cat <<'_EOFCONFIG_' >> "$WINEPREFIX/playonlinux_dos.cfg"

sdl_fullscreen=true
sdl_fulldouble=false
sdl_fullresolution=original
sdl_windowresolution=original
sdl_output=overlay
sdl_autolock=true
sdl_sensitivity=85
sdl_waitonerror=true
sdl_priority=higher,normal
sdl_mapperfile=mapper.txt
sdl_usescancodes=true

dosbox_machine=svga_s3
dosbox_captures=capture
dosbox_memsize=32

render_frameskip=0
render_aspect=false
render_scaler=normal2x

cpu_core=auto
cpu_cputype=auto
cpu_cycles=max
cpu_cycleup=1000
cpu_cycledown=1000

mixer_nosound=false
mixer_rate=22050
mixer_blocksize=2048
mixer_prebuffer=80

sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=5
sblaster_dma=1
sblaster_hdma=5
sblaster_sbmixer=true
sblaster_oplmode=auto
sblaster_oplemu=default
sblaster_oplrate=22050

#Dissabling dosbox emulation of features this game doesn't use (provides better speeds on slower computers)
joystick_joysticktype=none
gus_gus=false
speaker_pcspeaker=false
speaker_tandy=off
speaker_disney=false

_EOFCONFIG_

#The constructor folder, rather than the wine drive, must be mounted as C: to avoid a "cannot find system.ini" crash when loading game.exe
#const.gog is a CD image which must be mounted as a virtual D: drive

cat <<_EOFAUTOEXE_ > "$WINEPREFIX/drive_c/autoexec.bat"
mount -u c
mount c: "$WINEPREFIX/drive_c/GOG Games/Constructor"
imgmount D "$GOGROOT/Constructor/const.gog" -t iso -fs iso
_EOFAUTOEXE_


POL_Wine_reboot

POL_Shortcut "GAME.EXE" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"

POL_SetupWindow_Close
 
exit 0

Replies

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com