HGL
extended-salmon
Proper method for launching an exe inside the prefix before launching the game?
I can't find much documentation for the 'other' stuff in game settings. I have a windows game running in it's own prefix, and I want to set it up to launch another exe in the same prefix before launching the game.
14 Replies
metropolitan-bronze•3y ago
There a couple of ways here, so it should be better if you can elaborate the purpose of launching another exe before launching a game exe.
inland-turquoise•3y ago
I have the same question. as OP
metropolitan-bronze•3y ago
If you want to run the other exe only once, you use the "Run EXE on Prefix" box just above Wine Extensions.
extended-salmonOP•3y ago
Apparently I don't know how discord works. I thought I had posted several replies already but they were in red, and now they're gone.
I want to launch a program before launching a particular game, in the same windows environment. Maybe that means running it in the same prefix, maybe it just means running it with the same wine binary, I don't know. I'm not that familiar with wine yet. I want it to happen every time I click Play for that game in Heroic.
inland-turquoise•3y ago
I want to run it every time as well.
I am trying to use bakkesmod on rocket league.
metropolitan-bronze•3y ago
You can use this guide - https://github.com/CommandMC/EpicLinux/wiki/Rocket-League:-BakkesMod
I guess you will need to create a batch file (
.bat
) and add two commands that launch the the program and then the game exe respectively.
Then in Heroic, you can use Select an alternate EXE to run under Other and point it to that batch file you created.inland-turquoise•3y ago
Ok. I will try it.
This is the file I created but I dont know how the file location should work. @echo off
cd "$HOME./run/media/mmcblk0p1/Games/BakkesMod/BakkesMod.exe"
start BakkesMod.EXE
cd "$HOME./run/media/mmcblk0p1/Games/rocketleague/Binaries/Win64/"
start rocketleague.EXE
should I change anything?
metropolitan-bronze•3y ago
I think you need to setup Bakkesmod once.
You can do that via Run exe in Wine Prefix located about Wine Extentions.
I haven't used it though, so I'm not sure. @CommandMC is this the correct way?
extended-salmonOP•3y ago
Don't know why I didn't think of that. Thanks for the tip, will give it a go.
It is
There are a few issues here. Gimme a bit, I believe I still have the original script I've used around
@QuadRadical (Ping on reply) might also have it
inland-turquoise•3y ago
This should work?
Yes
Note that this will only work when using Wine-GE to run the game, Proton will not launch anything other than .exe files
inland-turquoise•3y ago
ok. Thanks!