Skip to content

A custom game launcher for RedM that clears the cache files before launching the game, to avoid multiplayer server issues.

Notifications You must be signed in to change notification settings

RWELabs/RedM-Launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedM Launcher

RedM Launcher is a custom launcher for RedM by Cfx.re that automatically checks and clears cache files before launching the game. This program aims to target the previous solution for automatically clearing cache files, which was to create a bat script. RedM Launcher offers a clean, user friendly and non-intimidating solution that is fast and effective.

Contents

What does it do and how does it work?

The idea behind RedM Launcher is that it can launch the RedM application with a series of checks and operations to best ensure that the environment is ready for RedM to launch - so the player has the best possible experience. Here's a rundown of exactly what happens when you launch the RedM Launcher:


When you launch RedM Launcher

  1. RedM Launcher will check that RedM.exe exists within your %localappdata%\RedM directory.
  2. If RedM.exe is found, RedM Launcher will move to step 4.
  3. If RedM.exe is not found, RedM Launcher will copy a bundled version of RedM.exe from C:\Program Files (x86)\RWE Labs\RedM Launcher to %localappdata%\RedM.
  4. RedM Launcher will then check %localappdata%\RedM\RedM Application Data\data.
  5. If the directory server-cache exists inside of that directory, it is deleted.
  6. If the directory server-cache-priv exists inside of that directory, it is also deleted.
  7. RedM Launcher then launches RedM.exe. If it was freshly copied, it will run through the installation process.

RedM Launcher will now act as the program you use to access RedM, replacing the regular RedM shortcut or your bat script shortcut.


Existing Methods

Currently, many servers recommend you clear your cache before joining a server. Not doing so can result in graphical issues and bugs in gameplay that are a result of your cache files not being properly overwritten at join time. A simple bat script can do the job but is intimidating to less technically savvy users and take an adept level of knowledge to do, without full and detailed documentation.

Get Started

You can download RedM Launcher now via the GitHub Releases page. We recommend using Windows 10 or Windows 11 with at least 150mb of free space. Alternatively you can download the source code and compile it yourself with Visual Studio 2022.

System Requirements

  • Windows 10 or 11
  • 200mb Disk Space (Minimum)
  • Administrator Privileges
  • RedM and RDR2/RDO installed (Recommended)

Download