GOG.com - The Incredible Machine Mega Pack

Informations

Créateur Messages
petch

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 10880
Wine: 1.4-dos_support_0.6

Retours d'expérience

Description

English: Lots of puzzles involving silly machines :)
(updated for GOG installer v2)

Français : Des tonnes de puzzles à base de montages délirants :)
(mis à jour pour l'installeur GOG v2)

Captures d'écran

MiniatureMiniatureMiniatureMiniature

Code source

#!/bin/bash
# Date : (2012-05-13 10-53)
# Last revision : (2013-12-06 02-02)
# Wine version used : 1.4-dos_support_0.6
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="the_incredible_machine_mega_pack"
PREFIX="TheIncredibleMachine_gog"
WORKING_WINE_VERSION="1.4-dos_support_0.6"

TITLE="GOG.com - The Incredible Machine Mega Pack"
SHORTCUT_NAME1="TIM - Even More Incredible Machine"
SHORTCUT_NAME2="TIM - The Incredible Machine 3"
SHORTCUT_NAME3="TIM - Return of the Incredible Machine Contraptions"
SHORTCUT_NAME4="TIM - Even More Contraptions"

POL_Call POL_Install_gdiplus # Ref https://www.playonlinux.com/en/app-518-POL_Install_gdiplus.html windows install issue

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1186
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Dynamix / Playdom" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "7f842be0463cc33f58e3a0898798cdc6"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg"
dosbox_memsize=16
cpu_core=auto
cpu_cycles=8000
_EOFCFG_

# GoG work!
Set_OS winxp

# "800x600 16-bit color"
POL_SetupWindow_VMS "1"

# Otherwise both "Even More Contraptions" and "Return of Incredible Machine Contraptions" crashes
POL_Wine_Direct3D "DirectDrawRenderer" "gdi"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "TIM.EXE" "$SHORTCUT_NAME1" "$SHORTCUT_NAME1.png" "" "Game;LogicGame;"
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME1" 'POL_SetupWindow_Init'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME1" "POL_SetupWindow_message \"$(eval_gettext 'Please select ANY 3 icons when prompted.')\" \"$SHORTCUT_NAME1\""
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME1" 'POL_SetupWindow_Close'

POL_Shortcut "TIMWIN.EXE" "$SHORTCUT_NAME2" "$SHORTCUT_NAME2.png" "" "Game;LogicGame;"
POL_Shortcut_QuietDebug "$SHORTCUT_NAME2"

POL_Shortcut "Contraptions.exe" "$SHORTCUT_NAME3" "$SHORTCUT_NAME3.png" "" "Game;LogicGame;"

POL_Shortcut "EvenMore.exe" "$SHORTCUT_NAME4" "$SHORTCUT_NAME4.png" "" "Game;LogicGame;"
POL_Shortcut_QuietDebug "$SHORTCUT_NAME4"
POL_Shortcut_Document "$SHORTCUT_NAME4" "$GOGROOT/The Incredible Machine Series/The Incredible Machine - Even More Contraptions/readme.txt"

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribuer
Membre Messages
jklaivins Mercredi 29 Avril 2020 à 7:27
jklaivins Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -21,6 +21,8 @@
 SHORTCUT_NAME3="TIM - Return of the Incredible Machine Contraptions"
 SHORTCUT_NAME4="TIM - Even More Contraptions"
 
+POL_Call POL_Install_gdiplus # Ref https://www.playonlinux.com/en/app-518-POL_Install_gdiplus.html windows install issue
+
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 
 POL_SetupWindow_Init

Nouveau code source

#!/bin/bash
# Date : (2012-05-13 10-53)
# Last revision : (2013-12-06 02-02)
# Wine version used : 1.4-dos_support_0.6
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="the_incredible_machine_mega_pack"
PREFIX="TheIncredibleMachine_gog"
WORKING_WINE_VERSION="1.4-dos_support_0.6"

TITLE="GOG.com - The Incredible Machine Mega Pack"
SHORTCUT_NAME1="TIM - Even More Incredible Machine"
SHORTCUT_NAME2="TIM - The Incredible Machine 3"
SHORTCUT_NAME3="TIM - Return of the Incredible Machine Contraptions"
SHORTCUT_NAME4="TIM - Even More Contraptions"

POL_Call POL_Install_gdiplus # Ref https://www.playonlinux.com/en/app-518-POL_Install_gdiplus.html windows install issue

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1186
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Dynamix / Playdom" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "7f842be0463cc33f58e3a0898798cdc6"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg"
dosbox_memsize=16
cpu_core=auto
cpu_cycles=8000
_EOFCFG_

# GoG work!
Set_OS winxp

# "800x600 16-bit color"
POL_SetupWindow_VMS "1"

# Otherwise both "Even More Contraptions" and "Return of Incredible Machine Contraptions" crashes
POL_Wine_Direct3D "DirectDrawRenderer" "gdi"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "TIM.EXE" "$SHORTCUT_NAME1" "$SHORTCUT_NAME1.png" "" "Game;LogicGame;"
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME1" 'POL_SetupWindow_Init'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME1" "POL_SetupWindow_message \"$(eval_gettext 'Please select ANY 3 icons when prompted.')\" \"$SHORTCUT_NAME1\""
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME1" 'POL_SetupWindow_Close'

POL_Shortcut "TIMWIN.EXE" "$SHORTCUT_NAME2" "$SHORTCUT_NAME2.png" "" "Game;LogicGame;"
POL_Shortcut_QuietDebug "$SHORTCUT_NAME2"

POL_Shortcut "Contraptions.exe" "$SHORTCUT_NAME3" "$SHORTCUT_NAME3.png" "" "Game;LogicGame;"

POL_Shortcut "EvenMore.exe" "$SHORTCUT_NAME4" "$SHORTCUT_NAME4.png" "" "Game;LogicGame;"
POL_Shortcut_QuietDebug "$SHORTCUT_NAME4"
POL_Shortcut_Document "$SHORTCUT_NAME4" "$GOGROOT/The Incredible Machine Series/The Incredible Machine - Even More Contraptions/readme.txt"

POL_SetupWindow_Close

exit 0

Réponses

Mercredi 29 Avril 2020 à 9:37
script approved.
hterbluc Vendredi 24 Mai 2019 à 3:56
hterbluc Anonymous

Messages

Hey question, I tried installing this but the virtual drive never seems to finish being created. I'm running a Macbook Air with Mojave 10.14.5. Thanks

Réponses

Vendredi 24 Mai 2019 à 7:37
POL version ?
Anonymous
Samedi 25 Mai 2019 à 0:27
I'm using play on mac not linux if that's what you mean, sorry I'm new at this

 
Anonymous
Mercredi 29 Avril 2020 à 6:49
Im using Ubuntu 18.04 and the installer is also hanging :( . POL 4.3.4
med_freeman Jeudi 9 Octobre 2014 à 2:19
med_freeman

Messages

Perfect, excepting no sound in TIM3. Thanks !

Réponses

Jeudi 9 Octobre 2014 à 19:27
That's the only one actually using Wine, maybe some issue with PulseAudio?
http://www.playonlinux.com/en/issue-1314.html
Mardi 14 Octobre 2014 à 0:53
The music issue comes from midi. If your sound card doesn't support hardware midi (i thought all of them would do), you have to install software midi in linux. For me the issue with music was resolved by installing timidity (sudo apt-get install timidity in ubuntu 14.04 x64).
Mardi 14 Octobre 2014 à 0:54
But the sound effects don't play. I'm looking into it.
Mardi 14 Octobre 2014 à 2:24
The sound plays by setting compatibility mode to either win95, win98 or winme.
Mardi 14 Octobre 2014 à 2:28
Then comes the pulseaudio issue. When the sound effects work, midi sound doesn't anymore. For both to work you have to launch timidity in server mode before launching the game (timidity -iA &), and setting a wine registry key (the right midi device number is found by launching the game with WINEDEBUG="+msacm"[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Multimedia\MIDIMap]
"CurrentInstrument"="#4"
Mardi 14 Octobre 2014 à 2:49
Do you think it's worth / possible to automate all these steps into an installer ? 1. detecting midi playback (perhaps by playing a short midi file and ask the user if he heard it) 2. if he doesn't ask him to install timidity (have to list all ways to install it depending on system) using sudo this way : http://www.playonlinux.com/en/app-1196-POL_Sudo_UnhideCdrom.html 3. Detect pulseaudio (type -t padsp) 4. If pulseaudio is present launch timidity before the game (POL_Config_Write BEFORE_WINE 'timidity -iA |') / detect + set the registry key to the correct midi device number (with aconnect -o or something else)
Mardi 14 Octobre 2014 à 2:50
I'll gladly make it if it's possible to make something that is ok with your standards. Thanks
Lundi 1 Juin 2015 à 19:24
bump. Do you think it would be beneficial to do that ? Would it affect other games ? Thanks
Lundi 1 Juin 2015 à 19:44
No script permanently modifies system settings (above example uses sudo, but not to modify system settings), there's way too much variability and responsability/troubles ahead to attempt that.
We can create a wiki page to help setup a software MIDI synthetizer for several distros, if such info is not available from elsewhere; Then the script can take care of configuring the registry.
I'm not even sure it would be a good idea to start Timidity using POL_Shortcut_InsertBeforeWine. Maybe it can be done in that specific case because if the user want to configure a specific MIDI patch that must be possible using a Timidity configuration file? Otherwise that's a no-go
Lundi 1 Juin 2015 à 20:19
Thanks for your answer !

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