description |
---|
Microsoft |
Computer Operating System - Lifespan: 1992 - now
{% embed url="https://en.wikipedia.org/wiki/Microsoft_Windows" %}
Windows games don't need any emulator to function, they can be run natively from the RetroBat interface.
File folder | 📂 roms \ 📂 windows |
File extension | .exe .bat .cmd .lnk .game .url .pc .win .windows .wine .7z .zip .rar .wsquashfs |
The controllers configurations are done in-game or in Steam.
Create a text file with the full path to the game executable and save the file with the ".game" extension, place the file in the following folder: \roms\windows
Simply place the Steam Game shortcut url file in the roms\windows
folder of your RetroBat installation:
Simply place the EPIC Game shortcut url file in the roms\windows
folder of your RetroBat installation:
Simply place the Amazon Game shortcut url file in the roms\windows
folder of your RetroBat installation:
Locate the game installation folder on the computer (usually in C:\XboxGames
).
Open the "Content" folder and find the game executable file:
{% hint style="info" %} It is also possible to run the game and press CTRL+ALT+DEL to find the game executable through the task manager. {% endhint %}
Create a shortcut to this executable file (right click > send to > Desktop (shortcut))
Cut the shortcut and paste it into the roms\windows
folder of the RetroBat installation.
You can rename the shortcut if desired.
{% hint style="info" %} You need to ensure that the Ubisoft Connect Launcher is set to automatically login, else the login window might appear. {% endhint %}
Create a .bat file with a scrapable name for your game.
You have 2 possibilities, quit Ubisoft Connect at the end of each game or not, both work since emulationstation is waiting on the end of the execution of the script to reactivate.
The solution without switching off Unbisoft Connect launches the games faster since the connection step is no longer required once launched for the first time, same if Ubisoft Connect is launched when Windows starts.
This is code of your .bat file with Ubisoft Connect kill:
@echo OFF
REM HERE MODIFY YOUR UBISOFT APPID:
START uplay://launch/00000/0
TIMEOUT /t 30
:RUNNING
REM HERE YOU MUST ENTER THE Right NAME of THE EXECUTABLE, FOR EXAMPLE: "MyGame.exe"
tasklist|findstr "MyGame.exe" > nul
IF %errorlevel%==1 timeout /t 5 & taskkill /F /IM upc.exe /T & GOTO ENDLOOP
timeout /t 2
GOTO RUNNING
:ENDLOOP
This is code of your .bat file without Ubisoft Connect kill:
@echo OFF
REM HERE MODIFY YOUR UBISOFT APPID:
START uplay://launch/00000/0
TIMEOUT /t 30
:RUNNING
REM HERE YOU MUST ENTER THE Right NAME of THE EXECUTABLE, FOR EXAMPLE: "MyGame.exe"
tasklist|findstr "MyGame.exe" > nul
IF %errorlevel%==1 timeout /t 5 & GOTO ENDLOOP
timeout /t 2
GOTO RUNNING
:ENDLOOP
All you need is to inquire Ubisoft game launch command and executable name, proceed as follows:
Open Ubisoft Connect, then select your installed game and choose to "Create desktop shortcut":
Right-click the created shortcut and retrieve the launch command from the shortcut properties:
Next find the game executable as follows:
From Ubisoft Connect, open Game details and go to properties:
Click the "Open folder" button in the Local files section and find the game executable name:
{% hint style="info" %} Alternatively you could run the game and open the task manager to find the executable name. {% endhint %}
Next, report these two pieces of information in your.bat file as follows:
Finally save the bat file in the roms\windows
folder of your RetroBat installation.