Windows

Microsoft

Computer Operating System - Lifespan: 1992 - now

Information

Windows games don't need any emulator to function, they can be run natively from the RetroBat interface.

Controls

The controllers configurations are done in-game or in Steam.

System Features

Adding a game

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

Adding a Steam game

Simply place the Steam Game shortcut url file in the roms\windows folder of your RetroBat installation:

Adding a game from EPIC Game Store

Simply place the EPIC Game shortcut url file in the roms\windows folder of your RetroBat installation:

Adding an Amazon Game

Simply place the Amazon Game shortcut url file in the roms\windows folder of your RetroBat installation:

Adding a Microsoft Gamepass game

Locate the game installation folder on the computer (usually in C:\XboxGames).

Open the "Content" folder and find the game executable file:

It is also possible to run the game and press CTRL+ALT+DEL to find the game executable through the task manager.

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.

Adding an UBISOFT game (Ubisoft Connect)

You need to ensure that the Ubisoft Connect Launcher is set to automatically login, else the login window might appear.

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:

Alternatively you could run the game and open the task manager to find the executable name.

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.

Last updated

Copyright The RetroBat Team 2019-2024