files:
- installer: http://files.trackmaniaforever.com/tmunitedforever_setup.exe
- modloader: https://tomashu.pages.dev/modloader/modloader/TMLoader-1.0.1-win32.zip
game:
arch: win32
exe: drive_c/Program Files/TmUnitedForever/TmForeverLauncher.exe
prefix: $GAMEDIR
installer:
- task:
description: Creating Wine prefix
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- task:
key: winemenubuilder.exe
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
prefix: $GAMEDIR
type: REG_SZ
value: ''
- task:
args: /silent
description: Installing...
executable: installer
name: wineexec
prefix: $GAMEDIR
- task:
app: sandbox
description: Disabling unused WINE features
name: winetricks
prefix: $GAMEDIR
silent: true
- extract:
dst: $GAMEDIR/$TMLOADER_PATH
file: modloader
- execute:
command: 'echo ''install: "C:/Program Files/TmUnitedForever"'' > ''$GAMEDIR/$TMLOADER_PATH/database/TmForever/products/TmForever/settings.yaml'''
- execute:
command: "mkdir -p '$GAMEDIR/$TMLOADER_PATH/database/TmForever/profiles' && echo\
\ -e 'program:\n id: TmForever\nmods:\n - id: TMUnlimiter\n - id: Competition\
\ Patch\n - id: CoreMod' > '$GAMEDIR/$TMLOADER_PATH/database/TmForever/profiles/default.yaml'"
- execute:
command: cd '$GAMEDIR/drive_c/Program Files/TmUnitedForever/' && mv TmForever.exe
TmForever.bak.exe && cp '$GAMEDIR/$TMLOADER_PATH/ShimRun.exe' TmForever.exe
- task:
args: update
description: Setting TMLoader protocol...
executable: $GAMEDIR/$TMLOADER_PATH/TMLoader.exe
name: wineexec
prefix: $GAMEDIR
variables:
TMLOADER_PATH: drive_c/Program Files/TMLoader
description: TMUF with TMLoader preinstalled (+ TMUnlimited, Competition Patch and
CoreMod)
game_slug: trackmania-united-forever
gogslug: ''
humblestoreid: ''
installer_slug: trackmania-united-forever-retail-with-tmloader
name: TrackMania United Forever
notes: TMLoader can be found under C:\Program Files\TMLoader
runner: wine
script:
files:
- installer: http://files.trackmaniaforever.com/tmunitedforever_setup.exe
- modloader: https://tomashu.pages.dev/modloader/modloader/TMLoader-1.0.1-win32.zip
game:
arch: win32
exe: drive_c/Program Files/TmUnitedForever/TmForeverLauncher.exe
prefix: $GAMEDIR
installer:
- task:
description: Creating Wine prefix
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- task:
key: winemenubuilder.exe
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
prefix: $GAMEDIR
type: REG_SZ
value: ''
- task:
args: /silent
description: Installing...
executable: installer
name: wineexec
prefix: $GAMEDIR
- task:
app: sandbox
description: Disabling unused WINE features
name: winetricks
prefix: $GAMEDIR
silent: true
- extract:
dst: $GAMEDIR/$TMLOADER_PATH
file: modloader
- execute:
command: 'echo ''install: "C:/Program Files/TmUnitedForever"'' > ''$GAMEDIR/$TMLOADER_PATH/database/TmForever/products/TmForever/settings.yaml'''
- execute:
command: "mkdir -p '$GAMEDIR/$TMLOADER_PATH/database/TmForever/profiles' &&\
\ echo -e 'program:\n id: TmForever\nmods:\n - id: TMUnlimiter\n - id:\
\ Competition Patch\n - id: CoreMod' > '$GAMEDIR/$TMLOADER_PATH/database/TmForever/profiles/default.yaml'"
- execute:
command: cd '$GAMEDIR/drive_c/Program Files/TmUnitedForever/' && mv TmForever.exe
TmForever.bak.exe && cp '$GAMEDIR/$TMLOADER_PATH/ShimRun.exe' TmForever.exe
- task:
args: update
description: Setting TMLoader protocol...
executable: $GAMEDIR/$TMLOADER_PATH/TMLoader.exe
name: wineexec
prefix: $GAMEDIR
variables:
TMLOADER_PATH: drive_c/Program Files/TMLoader
slug: trackmania-united-forever-retail-with-tmloader
steamid: null
version: Retail with TMLoader
year: 2006
{
"game_slug": "trackmania-united-forever",
"version": "Retail with TMLoader",
"description": "TMUF with TMLoader preinstalled (+ TMUnlimited, Competition Patch and CoreMod)",
"notes": "TMLoader can be found under C:\\Program Files\\TMLoader",
"name": "TrackMania United Forever",
"year": 2006,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "trackmania-united-forever-retail-with-tmloader",
"installer_slug": "trackmania-united-forever-retail-with-tmloader",
"script": {
"files": [
{
"installer": "http://files.trackmaniaforever.com/tmunitedforever_setup.exe"
},
{
"modloader": "https://tomashu.pages.dev/modloader/modloader/TMLoader-1.0.1-win32.zip"
}
],
"game": {
"arch": "win32",
"exe": "drive_c/Program Files/TmUnitedForever/TmForeverLauncher.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"description": "Creating Wine prefix",
"install_mono": false,
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"key": "winemenubuilder.exe",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
"prefix": "$GAMEDIR",
"type": "REG_SZ",
"value": ""
}
},
{
"task": {
"args": "/silent",
"description": "Installing...",
"executable": "installer",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "sandbox",
"description": "Disabling unused WINE features",
"name": "winetricks",
"prefix": "$GAMEDIR",
"silent": true
}
},
{
"extract": {
"dst": "$GAMEDIR/$TMLOADER_PATH",
"file": "modloader"
}
},
{
"execute": {
"command": "echo 'install: \"C:/Program Files/TmUnitedForever\"' > '$GAMEDIR/$TMLOADER_PATH/database/TmForever/products/TmForever/settings.yaml'"
}
},
{
"execute": {
"command": "mkdir -p '$GAMEDIR/$TMLOADER_PATH/database/TmForever/profiles' && echo -e 'program:\n id: TmForever\nmods:\n - id: TMUnlimiter\n - id: Competition Patch\n - id: CoreMod' > '$GAMEDIR/$TMLOADER_PATH/database/TmForever/profiles/default.yaml'"
}
},
{
"execute": {
"command": "cd '$GAMEDIR/drive_c/Program Files/TmUnitedForever/' && mv TmForever.exe TmForever.bak.exe && cp '$GAMEDIR/$TMLOADER_PATH/ShimRun.exe' TmForever.exe"
}
},
{
"task": {
"args": "update",
"description": "Setting TMLoader protocol...",
"executable": "$GAMEDIR/$TMLOADER_PATH/TMLoader.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
}
],
"variables": {
"TMLOADER_PATH": "drive_c/Program Files/TMLoader"
}
}
}