Good day!
Itās a very known issue in Windows.
Failed to find the game please launch it. Report this if the issue persists
tl;dr i dont think youre getting a tl;dr with this oneā¦
In BeamMPās case, on windows, code 3 and 4 all mean userfolder (beamng) and/or user profile folder (%USERPROFILE%) path registry entry read failure, on linux though, it means that somethingās wrong with your pfx (look around on this forum if youāre looking for beammp installation guide for linux. anyway its still just as annoying as the windows registry problem here. in short, donāt complicate things for yourself by jumping from one proton version to another, stick to 7 or 8 for now, though you COULD play natively too! if you still wanna play through proton then you gotta delete that pfx/284160 and try again lol). And no, despite what the mods or devs say it has NOTHING to do with pirated copies or whatever, they work just fine, the problem lies somewhere else, so, anyway, weāre gonna be working with the registry and itās a bit scary, buckle up if you wanna play BeamMP any time soon (or until you reinstall Windows, of course), and listen close and listen carefully.
When youāre installing Windows you are required to set up a user name, if you type something that isnāt ANSI/ASCII, so Cyrillic, Japanese, Chinese, diacritics such as Ƨ, Ć£, Ć”, ĆØ, Ć¢, Ć¼
, etc., basically anything that isnt latin characters (UTF-8? ābUt iTs sUpPosSeD tO fIx AlL tHe isSuEsā - yes, microsoft just cant code), you are unknowingly breaking many things in your system, namely the registry. However, if a program is properly coded (unlike BeamMP), it should work with unicode. Hereās a fun read: Mojibake! Itās definitely not something that your system sees trying to read your corrupted username! Encoding and localisation are not related to this topic, but they also play an important role in file names. So, registry is something that people in the know absolutely despise. Linux and MacOS donāt have them and for a good reason! Itās just the old boomer Windows with its outdated legacy garbage āfeaturesā. To be completely honest with you, even the most nerdiest geekiest Windows āpower usersā donāt understand why such a thing still exists.
Anyway, where was I? Ah, yes. Moreover, when you change your Windows username, be it during migrating your system from HDD to SSD (never copy system files, always reinstall windows!), upgrading from Win7 to Win10/11 or maybe you just simply renamed your user folder because you didnāt like your older nameā¦! Thatās all really great! NOT!!! I have some very bad news for youā¦ All of the aboveā¦ does not work on Windows, my condolences. And itās not your fault, itās just that Microsoft are evil, in a really corrupt way. Sorry, I just really wanted to mention HOW BAD MICROSOFT IS! No, really, itās NOTORIOUS for being a TERRIBLE home use operating system.
Now, letās get serious. If these characters (< > : " / \ | ? *
) corrupt a folder, then what some unicode characters would do? Well, the program will fail to install because the user path cannot be found due to characters it cannot read. Although BeamMPās installer installs successfully, BeamMP launcher itself doesnāt work because it doesnāt support unicode. What is the solution? Well, since the BeamMP launcher reads directly from the AppData
and Local AppData
in HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
, one would think it is sufficient to just rename a user folder in C:\Users\%username%
. No, renaming a user folder does not automatically rename the user profile path in the registry. Besides, you wouldāve probably made a mess with symlinks and security identifiers. So, then one could change the entry in the registry themselves? Correct, one solution is to open run
via Win+R, type regedit
, create a backup, go to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
and edit AppData
with %USERPROFILE%\AppData\Roaming
and Local AppData
with %USERPROFILE%\AppData\Local
and then preferrably everything else which uses the older user profile path. The %USERPROFILE%
is an environment variable, so are %LOCALAPPDATA%
, %APPDATA%
, %SystemDrive%
, %ProgramFiles(x86)%
and %USERNAME%
, these contain critical system resource locations such as special folders (they are built different), if one of these is reading non-existent paths, oi oi oi oi, weāll have a slight problem. If you were to type these into run
, it will open its assigned directory. You might have used these yourself if you were frequently installling mods. However, if your %USERPROFILE%
itself is corrupted, then you could try editing AppData
and Local AppData
paths with your new user folder name. If you are not keen on editing the registry at all, there is another solution. Create a new offline local administrator account. This is not perfect, because if one were to have a domain account or an online microsoft account with a linked first and last name with special characters in it, they would either A) have to change their online name B) not have the option at all, becauseā¦ Microsoft? Thereās many editions of Windows that can and cannot do some things. In enterprise, global address lists and email headers are pretty important, so by changing anything - even one letter, that person might get into trouble (pft not that i care about corporations anyway). So, weāre still gonna have a problem, besides we had to create a new user folder. Nevertheless, MAKE SURE your user folder does not have any special characters in it, everything should be ANSI/ASCII only. Then copy everything from the old user folder to your new one, and - BOOM! - no registry needed. And with that, youāre all set.
USUALLY nowadays software is written with this problem in mind. By āthis problemā I, of course, mean Microsoft and Windows, duh. It just doesnāt happen on Unix thoughā¦ But itās still hard to get it right. Even though BeamMP is an average student project, you canāt really blame them for being not able to handle unicode file names. Even BeamNG devs, a bit more experienced, but not as much as to fix all the 1 string bugs that linger for over 10 years without complaining about āfutureless approachesā, make mistakes. Stuff like input identifiers with unicode or even key input themselves if you are in the non-english locale. Oh, you know what Iām talking about, games that ignore all input until you change your language layout. Sometimes you even have to restart to apply even the littlest changesā¦
Moral of the story? Microsoft - bad, unicode in usernames - bad, make a new local account - good. Cool!
Sorry, what am I even talking about? Iāve solved your problemā¦ I should go nowā¦