Ludeon Forums

RimWorld => Support => Topic started by: Ser Kitteh on April 11, 2018, 10:23:04 AM

Title: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 11, 2018, 10:23:04 AM
I started up Rimworld only to be told I needed to download something. I do so and get 6.1mb of something before being able to run it. When I run it the game crashes to desktop every 3-5 minutes regardless whether it's the main screen or during normal play.

Everytime I want to start Rimworld up again I need to download this mysterious 6 mb of something. I have done a fresh re-install and removed all my mods. All mods are manually downloaded and I don't rely on Workshop.

I try to start a new colony with no mods at all and it still crashes. Said mods are deactivated, not uninstalled.

Send help.

[attachment deleted due to age]
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 11, 2018, 10:25:05 AM
This is the output log for crash to desktop.

[attachment deleted due to age]
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Calahan on April 11, 2018, 10:54:13 AM
Your log is littered with mod references. So this is either a mod issue, or if as you say even the vanilla game is crashing, then you have some mod residue messing things up. To solve that I would recommend deleting your config folder (step#1 below) and starting a new vanilla game (please don't try to use any mods until the vanilla game is confirmed to be working properly). If the mod references are still in the log then perform a clean reinstall (and repeat step#1). You said you have already reinstalled the game, but you did not say if this was a full clean reinstall or simply uninstalling and reinstalling via Steam, which are not the same things (with the latter often doing nothing in regards solving technical issues).

Edit: And please turn of Steam sync if you have it enabled. As that has been known to cause numerous technical issues.


RimWorld has not been updated, so I do not know what the cause of your mysterious download is. I've heard there have been some changes recently to how Steam handles Workshop mods offline (basically it is now harder to use them offline), so maybe that is the cause. But this is just a guess on my part and an entirely circumstantial one at that.  (Edit: The screenshots seem to indicate that the Steam client is having problems with the RimWorldWin.exe file, and is perhaps having to redownload it each time. But the filesizes don't match. Either way though this is still a Steam issue and a matter for Steam support to sort out).

If the mysterious download continues even after a clean reinstall then try reinstalling the Steam client. If that fails to solve it then please contact Steam support (because this is a problem at Valve's end and not something Ludeon Studios can do anything about or control).

I've also moved this to support because this is not a bug in the vanilla game.


How to Perform a Clean Reinstall

1. Reset RimWorld's configuration data by deleting all the RimWorld configuration files. You'll find them in one of the following folders (depending on your operation system):





Windows        C:/Users/[username]/AppData/LocalLow/Ludeon Studios/RimWorld/Config
C:/Users/[username]/AppData/LocalLow/Ludeon Studios/RimWorld by Ludeon Studios/Config
Note 1: the AppData folder may be hidden.
Note 2: the RimWorld folder within LocalLow may differ for various users, see this thread (https://ludeon.com/forums/index.php?topic=34758.0)
MacUsers/[username]/library/Application Support/Ludeon Studios/RimWorld/Config
Users/[username]/library/Caches/RimWorld/Config
Linux/home/[username]/.config/unity3d/Ludeon Studios/RimWorld/Config

2. Uninstall the game and delete the game files.
-If you ARE on Steam:
  A: Unsubscribe from all mods in the Workshop (http://steamcommunity.com/workshop/browse/?appid=294100).
  B: In Steam library, right-click RimWorld and select Uninstall.
  C: Shut down Steam.
  D: Delete this folder (if it's there): Steam\SteamApps\common\RimWorld
  E: Delete this folder (if it's there): Steam\SteamApps\workshop\content\294100
  F: Restart your PC.

3. [Windows only] Download and run Delete_RimWorld_Registry_entries.reg (https://ludeon.com/rimworld/Delete_RimWorld_Registry_entries.reg) (right click the link and use Save Target As) and double-click it to delete all registry entries related to RimWorld.

5. Open Steam, install RimWorld and play.

If the game still doesn't work then please repeat the above, inserting the following two steps.

4. Disable virus protection programs (they occasionally flag RimWorld as a virus and kill it, since it was downloaded from the Internet).

6. Remember to re-enable your virus protection.
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 11, 2018, 12:29:28 PM
Hello Calahan, thank you for replying to my mess.

1. I cannot for the life of me find the Rimworld config. I have two folders called appdata:

C:\Users\Application Data

and

C:\Users\Default\AppData\Local

I assume the location you are referring is the latter, however both are missing any sort of config files from Ludeon. This folder called LocalLow is strangely missing. Therefore I cannot delete any sort of config files. I also looked into the weird file thread and for whatever reason cannot find anything related to deleting the config.

Regardless I have gone on to step 2 and deleted my Rimworld folder in E:\Steam Games\SteamApps\common (I keep my games in E:) and backed up my save files, screenshots and mods. I let the game run for a good 30 minutes in the main menu and it seems that the problem has indeed be fixed! There was not even any needed 6 mb file download.  :D

In other (related) events, my Steam program suddenly disappeared though it has since been re-downloaded. Idk why this happened, but if you can point to a few possible reasons and ways to ensure this doesn't happen, I will be very greatful.

Thank you for being patient with me.
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 11, 2018, 12:30:25 PM
Scratch that, this download is happening again.

[attachment deleted due to age]
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: BlackSmokeDMax on April 11, 2018, 12:38:43 PM
When you launch the game, go into options, then look in middle column. Third button down (or so) should be something like "Open save data location" Press that and it should bring you to the correct folder area, just delete the config folder.
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 11, 2018, 07:12:35 PM
Scratch that. Delete this?

Should I do another clean reinstall? I skipped step 1 because I couldn't find it. Should I repeat step 1?

[attachment deleted due to age]
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Calahan on April 11, 2018, 08:44:31 PM
Yes delete that config folder and then try starting a new vanilla game.

If you still get problems or that downloading thing is happening then delete that config folder again (it would have got recreated when you launched the game), and then continue with the subsequent steps of the clean reinstall. Don't forget to make sure Steam sync is disabled.

You may or may not want to consider reinstalling the Steam client before reinstalling RimWorld as well. As I said I have no idea what is causing that download thing, but historically reinstalling the Steam client has solved some of Steam's various hiccups for other users (so maybe it'll solve yours as well).
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 12, 2018, 09:00:14 AM
Good news: Vanilla Rimworld runs very well!

Bad news: Modded Rimworld is not.

https://gist.github.com/HugsLibRecordKeeper/9c8c57ac0a5ed0db40b5451230cb0b67

Should this be moved to mod problems?
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Canute on April 12, 2018, 09:25:15 AM
Your problem is now to idenfity the mod which cause some download.
Try to deactivate/unsubscribe
RimQuest
RimStory
And look if there is still a download.

If you still got a download, you should go with the 50% methode.
Deactivate half of your mod, and check if something change, ...
Until you can narrow down the mod.

After you identify the mod, which cause the download, you should ask at the proper discussion why there is a constant download.


Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 12, 2018, 09:27:37 AM
Thank you. I'll get right on it.
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 12, 2018, 11:26:40 AM
So I had to another clean reinstall by deleting all config + deleting the Steam folder + reinstalling Rimworld for the third time.

The game runs for 10 or so minutes before crashing for no apparent reason. The game is clean. The only thing in the mod folders is Core. Game data is verified. When I start it again, it keeps downloading the 6 mb of data.

It's not a memory leak problem as far as I can tell. It hasn't been a problem until yesterday when I posted this thread.

[attachment deleted due to age]
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 12, 2018, 11:58:28 AM
So I might have found the problem:

It wasn't just Rimworld that had this problem. EVERY game I had on Steam has a missing executable problem. It must have been because of malwarebytes so I got rid of it. Now Rimworld's files have been successfully validated. All of them.

I'll need to run more tests in the morning so hopefully I have no issue when it comes to playing again.
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Calahan on April 12, 2018, 04:56:11 PM
Thanks for keeping us update on the situation / progress.

AV's deleting game executables is certainly far from unheard of (hence why it's one of the clean reinstall steps). But can't say I've heard of an AV deleting all game executables before. And is it just Steam games? (have any games on GoG you can test?) Or does is it affecting all executables? (have your tried running anything else? Media software, image editors, office programs etc. I assume your browser's executable is still working fine, unless you're posting via another device).

And is Malwarebytes a recent addition or have you been using it for a while? If it's recent then maybe you used a rogue installer that's caused it to screw up somehow (IIRC the official CCleaner installer got hacked a while back and hijacked to install a Trojan alongside CC. That's less likely to have happened to Malwarebytes but possible with rogue installer. But if you've been using it a while then this longshot theory doesn't fit).
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: harpo99999 on April 12, 2018, 06:57:09 PM
it might have been that malware bytes 'saw' steam update itself, then 'touch' the exe and becasue it had been 'touched', malware bytes deleted the 'touched' (possibly assumed to be infected file) file, so it would be from steam AND a very high sensitivity anti-malware tool
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 13, 2018, 01:05:09 AM
Yeah, it's most very likely a Steam thing. I am 90% sure this is no longer just a Rimworld problem considering it's affecting ALL my games.

I've gone to Steam support, checked all their guides, but every game I boot up, they all crash within 3-5 minutes. Each game is completely clean, brand new save files and all. There are only 3 games installed out of my 81 (Rimworld, Star Wars Battlefront II - 2005 and Homeworld Remastered).

I am at my wits ends here. Barring a clean wipe, something I can't really afford considering my limited time, money and abundance of assignments, Idk what else to do. I spent 3 years yesternight with troubleshooting on Rimworld's Discord server and another 2 hours this morning. If there's anything that can be done, please help.

[attachment deleted due to age]
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Calahan on April 13, 2018, 04:21:09 AM
Okay we're going to need some more info and test info here I think to help determine what's causing the issue. So firstly what are your system specs? CPU, RAM, GPU, O/S, laptop or desktop?

Then some test data is needed:

1 - Have you tried uninstalling your AV completely? If you haven't tried it yet then please do (if you are using Windows 10 then it won't allow you to remove AV protection from your system completely, and will revert to using Defender if it can't detect any other active protection. But that's fine for the purposes of this test).
1a - If you have tried it then was the problem still the same? Or were there some differences you could detect? (see next)
1b - Related to 1a, what nature are these crashes taking? Is an error message popping up when a game crashes? Or are you just being thrown back to the desktop with no message at all? Or is the computer shutting down? Or... ?? And is the nature consistent? (ie. Do you always get an error message? Or do you get one sometimes, but other times not).
1c - If any sort of error message appears then please post a screenshot of it.


Tbh I'm not sure this is AV related because you say your games (or RimWorld at least) are running for a few minutes before crashing (still do test 1 though). And any AV (worth anything) wouldn't allow a suspect executable to launch in the first place (since your system would be compromised the moment it was). It's possible that *something* is happening after a few minutes into a game with Steam and in relation to its internet connection, and the AV is detecting this *something* and shutting down Steam and the game. So...


2 - Try launching any non-Steam game. If you have no GoG games (or the like), then try a free game or a demo. I spent some time playing BoW (Battle of Wesnoth) years ago so try downloading, installing, and playing that game for an hour to see if it crashes or not.  https://www.wesnoth.org/

It's vital from a troubleshooting PoV to establish if these crashes are Steam related or not, as otherwise it's going to be impossible to determine what's causing the problem. Maybe you have already confirmed that Steam is the cause (just not sure why), but if you have then you haven't relayed that information here yet, so I am assuming Steam is just a suspect right now (and not confirmed as the cause)

2a - If BoW* crashes then try again but make sure you are disconnected from the internet this time (and make sure to turn off auto-connect).

Whether or not BoW* works or not should help narrow down the cause, and likewise should help determine how to proceed with pinpointing it.
(*or whatever non-Steam, non-internet dependent game your tried)

Although you can still try #3 in relation to (at least) RimWorld.


3 - Make sure RimWorld is properly installed (either by checking file integrity or performing another clean reinstall), exit Steam completely, then navigate to the RimWorld install directory and then run the RimWorldWin.exe directly from the install folder. You will get a "Steam is not running" error when the main menu loads, but you can just click ignore (or close, can't remember which) and access the main menu as usual (but Steam related services and mods etc won't work for obvious reasons).

3a - If it crashes then as with 2a, disconnect from the internet and try again.

If RimWorld still crashes when launched this way then I can't see how it's a Steam problem. And if an AV issue is ruled out as well then I'm afraid it's starting to look like a hardware issue (I think defective RAM can cause random crashes, but other things can as well).


But lets try to rule out software related possibilities before assuming it's hardware related.
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 13, 2018, 05:23:36 AM
OS Name   Microsoft Windows 7 Professional
Version   6.1.7600 Build 7600
Other OS Description    Not Available
OS Manufacturer   Microsoft Corporation
System Name   USER-PC
System Manufacturer   ASUSTeK COMPUTER INC.
System Model   K55VD
System Type   x64-based PC
Processor   Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz, 2500 Mhz, 2 Core(s), 4 Logical Processor(s)
BIOS Version/Date   American Megatrends Inc. K55VD.408, 31/1/2013
SMBIOS Version   2.7
Windows Directory   C:\Windows
System Directory   C:\Windows\system32
Boot Device   \Device\HarddiskVolume1
Locale   (removed)
Hardware Abstraction Layer   Version = "6.1.7600.16385"
User Name   user-PC\user
Time Zone   (removed)
Installed Physical Memory (RAM)   8.00 GB
Total Physical Memory   7.89 GB
Available Physical Memory   4.12 GB
Total Virtual Memory   7.89 GB
Available Virtual Memory   3.87 GB
Page File Space   0 bytes

My laptop is an Asus A55V. It's about six years old. It's pretty old and beat up.

I have no AV installed other than basic Windows Defender. I'm a sitting duck atm but that's okay as long as the problem is fixed.

Steps 1:

Nature of crashes:

Here's how it goes, I boot up a game via my Steam library, it loads normally but shows at as updating as seen in the attachment below plus the mysterious 6 mb. I quit or the game crashes and there's no need to download the 6 mb again until I need to do it again. So basically it happens every second boot up.

I leave the game running for a while before it crashes after a few minutes. There are no pop-up messages of any kind. It just goes kaput. This happens with the other two games as well (SWBF II and Homeworld). I leave the game running to get a drink and sees it's crashed to desktop without even saying why.

All my drivers are up to date.

Yes, I reinstalled Steam from what I can only assume is the 7th time.

Steps 2:

I booted up the Fight Knight beta and let it running for ten minutes. I downloaded Paths of Exile and it also works fine. I left both games running in the main menu, I'm not actually playing them.

I can only assume this is a Steam thing. Steams says "missing executable" for all my games despite the fact the games boot up just fine.

Question:

I put my Steam client/launcher in E. However, when I install a new game, the new games and files goes to: E:\Program Files (x86)\Steam\steamapps\common

My old uninstalled files (games I haven't played in a while but still have saved games of) I put in: E:\Steam\steamapps\common

Could this be the cause of the problem or are program files (x86) a completely different beast?

[attachment deleted due to age]
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Calahan on April 13, 2018, 06:19:39 AM
Thanks for the info. It's certainly sounding a lot more like a purely Steam based issue (to me) now than it was before.

If you haven't tried installing Steam and/or Steam games on your c:drive (boot/system) drive yet then I'd certainly try that, since not everything is happy to work from locations away from the c:drive. I know a lot of people do install Steam and run Steam games on non c:drives, but perhaps Steam changed *something* recently while fiddling with their client (as they regularly do), and this has caused (I assume unintentionally) a problem for non c:drive installation.


And did RimWorld work when run outside of Steam? (test #3). I can't see where you answered that (apologies for my blindness if you did).


But if this is a Steam issue them I'm afraid you'll have to rely on Steam support to sort it out, not least because I don't have to know how to help with a purely Steam technical issue (others here might, but I can only speak for myself in this regard).

Only other things I can think of:

1 - You're using a laptop, so have you altered your power management settings at all recently? And/or check your power management options to make sure everything is set to max power / max performance (note I'm assuming your laptop is plugged in).

This would more likely apply if you had a dedicated GPU, since they have idling options that can cause issues. AFAIK there are no such options with the Intel HD4000 GPU

1a - Maybe there's a faulty (or genuine) low power report being flagged due to a failing laptop battery, and this is causing a partial system shutdown to save power. Which can happen even if it's plugged in (ie. faulty). So try shutting your computer down, removing the battery, plugging in the power lead and trying again. Most (all?) laptops don't actually require the battery to work, and will function as normal when directly plugged in (but obviously without the failsafe in the event of a power cut).

But this is a long long long shot, and tbh I can't see how it's the cause of the issue based on the info you've provided (and I'm only mentioning it in relation to "list all non-Steam causes that could, in theory, even if it's a wild theory, be causing this problem")


2 - Check the Windows Event Viewer and see what's being reported at the time the game crashes. It should be accessible via Control Panel>Administrative Tools, but my Windows history skipped 7, so the former is based on how to access it in Win8 (but of course Google will be able to tell you if you can't access it this way).

If you haven't used Event Viewer before then FYI it can take quite a while to populate the list after you click on an entry under Windows Logs. It doesn't always tell you it's populating the list either, so at first it might seem like there are no logs at all. But they are there, but you might have to wait several minutes for them to appear.
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 13, 2018, 10:08:39 AM
So I think I just found out what was that mysterious 6 mb.

It was RimworldWin. Aka the missing executable. And I have proof in the attachments below.

That was the BEFORE and AFTER. I booted the game outside of Steam. I didn't do step #3, I forgot about it. My apologies. I didn't use Steam, I launched it from the folder, but the problem repeated.

So I booted up the game. I let it run in the background and it disappeared 4-5 minutes later. It just went kaput. That's why there's no error message. The executable literally deleted itself and honestly I have no idea where it went.

I repeated the same thing with SWBF II and the same thing occurred. The win.exe for the game deleted itself.

So this isn't Rimworld, it's Homeworld. I took it off from event viewer as you told me to, and this is the result:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
+ <System>
  <Provider Name="Application Hang" />
  <EventID Qualifiers="0">1002</EventID>
  <Level>2</Level>
  <Task>101</Task>
  <Keywords>0x80000000000000</Keywords>
  <TimeCreated SystemTime="2018-04-13T00:29:37.000000000Z" />
  <EventRecordID>110262</EventRecordID>
  <Channel>Application</Channel>
  <Computer>user-PC</Computer>
  <Security />
  </System>
- <EventData>
  <Data>HomeworldRM.exe</Data>
  <Data>0.0.0.0</Data>
  <Data>ae4</Data>
  <Data>01d3d2be6161613f</Data>
  <Data>232</Data>
  <Data>C:\Steam\steamapps\common\Homeworld\HomeworldRM\bin\Release\HomeworldRM.exe</Data>
  <Data>ba140979-3eb1-11e8-8ef3-60a44c0b08ec</Data>
  <Binary>55006E006B006E006F0077006E0000000000</Binary>
  </EventData>
  </Event>

I can only assume all the red application hangs are the same thing for Rimworld. Idk what to do with the information, but I assume it's of some importance.

My power issue however, is thankfully at no fault. My battery is in tip top shape despite its six years and I have issues with it. I say this while typing without battery plugged into the wall.

I followed some other Steam advice in regards to "repairing my library folder" but that doesn't seem to fix the issue. Something else that occurred to me is that two weeks ago is that I installed Advanced System Care. I got rid of that too.

I've followed the whole "delete steamapps advice" as well but I've done it numerous ways. I've done it before re-downloading my games and done it after re-downloading my games. Same thing for the Steam client itself.

I also have two folders for steamapps,

in C:\Program Files (x86)\Steam\steamapps\common

and in E:\Steam\steamapps\common

I wonder if this part of the reason this conflict happens. The C: part does not contain the executables for any games however.

Lastly, the third attachment is my output log for the crash.


[attachment deleted due to age]
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 13, 2018, 11:13:50 AM
So I just downloaded a fresh install of Microsoft Security Essentials and found a bunch of Hacktools and Trojans. Got it all quarantined and removed. I'm not 100% sure if that'll fix the issue.
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Calahan on April 13, 2018, 11:28:25 AM
Okay...

Firstly, your log file does contain some info about the crash. Which is a good thing since at least it's something to go on, and confirms the game is crashing (rather than the O/S or AV or something else randomly shutting it down). Unfortunately the errors are not ones I've seen before, and Googling them brings up a handful of results, but not one of the people encountering this error got any sort of reply.

0x0533EB48 ((<unknown>))
ERROR: SymGetSymFromAddr64, GetLastError: 'The specified module could not be found.' (Address: 0533EA39)
ERROR: SymGetModuleInfo64, GetLastError: 'A dynamic link library (DLL) initialization routine failed.' (Address: 0533EA39)


The error suggests that the game is failing to find a dll, which could be consistent with you having two install locations for Steam.

So my advice would be to tidy up your Steam installation and put everything on the c:drive. I don't know if having them split is causing problems, but right now it's by far the #1 most likely cause IMO. Even if you've had them split before, and it always worked fine, don't rule out a Steam update suddenly deciding it's no longer fine. If you don't have the space on your c:drive to install all your games then personally I'd say worry about that later, since that's less of a concern than getting to the bottom of what's causing these crashes. RimWorld needs very little space (not sure how much the Steam client uses though, and I don't have it installed to check).

I'd also advise using Revo Uninstaller to uninstall Steam (if you don't use it already) https://www.revouninstaller.com/revo_uninstaller_free_download.html. Since if I were experiencing this problem I'd be trying to clean up every trace of Steam I could before reinstalling, since otherwise some residual reference to the e:drive paths could mess everything up after the reinstall and negate the point of the whole endeavour.


Secondly, something I just noticed is that there are two references to your GPU(s) in the log. I have never seen this before and I can't see how it's a good thing. My immediate thinking is that Steam is launching two instances of RimWorld and these two instances are both writing to the same log file. Which doesn't make any sense at all, but I can't think of any other way for there to be two GPU references. Plus two instances could explain the crashing, since perhaps the game is trying to use a dll that is being used by the other instance. I don't know to be honest, since two GPU references just doesn't make any sense.

Plus it appears you have a dual GPU laptop with a Nvidia GPU. You didn't mention this when I asked for your system specs. I don't think this crash is related to that, but it does provide another troubleshooting option.


Thirdly, the event viewer is registering the crash (for HomeWorld at least). The crash info doesn't contain any useful info (for me at least), but I wouldn't rule out you wanting to contact Microsoft support about this issue if it can't be figured out (and Microsoft support might well be able to use such crash info).


So, to summarise the plan:

1 - Uninstall Steam completely. Use Revo (and maybe CCleaner) to remove as many Steam references as possible.
1a - Once that is done install Steam to the c:drive.
1b - Then install RimWorld to the c:drive. Don't put anything on the e:drive (or any other drive) at all. Only use the c:drive.
1c - Exit Steam, goto the RimWorld installation directory and copy the entire RimWorld folder to somewhere else on your harddrive. But not to a Windows controlled folder (so not documents or downloads etc). So just copy the folder to the root drive or something.
1d - Launch Steam and then launch RimWorld and play it until it crashes (or hopefully not).

2 - If it crashes then exit Steam completely and check to see if the RimWorldWin.exe has been deleted again or not. No action is required either way, but make sure to make a note of whether the .exe is still there or not.
2a - Go to wherever you copied the RimWorld installation to in 1c and launch the RimWorldWin.exe from there (remember not to have Steam running).
2b - If it crashes again then check the copy of the installation folder to see if the RimWorldWin.exe has been deleted or not. Again no action required, but it's important to know if the .exe is still there or not.


If the .exe is being deleted in both cases, then it must be getting deleted by either Windows itself, Windows Defender, or by a virus. The game wouldn't delete it's own .exe (for any reason at all), and 2b should rule out any Steam involvement. You still have Windows Defender activated, so AV can't be ruled out yet.

One test you can to rule that out is:

3 - Reinstall RimWorld again (you must be sick of doing this by now but troubleshooting mysterious problems is rarely quick, and always involves laborious repetition),
3a - Exit Steam and copy the RimWorld installation directory somewhere else again (same place as last time should be fine).
3b - Disconnect from the internet completely (make sure you disable auto-connect).
3c- Disable Windows Defender (Win7 should allow you to disable it, as it's nanny bot settings aren't as nannying as Win10)
3d- Run RimWorldWin.exe from the copy of the installation directory again.

If Steam isn't running, and if you have no AV running, and the .exe still gets deleted, then... ?!? it's either Windows itself, a virus, or a total mystery.


I'll leave it there for now and wait for you to report back. There's another test you can try involving disabling your Nvidia GPU, and with the aim of trying to get rid of those two GPU references in the log file (which as I said can't be a good thing). But better to rule out other stuff first (as I don't know your computer know-how, so I'm not sure how comfortable you are with disabling devices).
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 13, 2018, 11:34:37 AM
Quick question as I am not very well versed in this:

Does that mean programfilesx86 should be put in Steam and only Steamin C:? Because for as long as I can remember, Steam and program files have been two seperate folders.
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Calahan on April 13, 2018, 11:35:51 AM
Ah, just seen your post (the one above my lengthy one). I hadn't ruled out this being caused by a virus, but I had pushed it down the list because you said you were running Malwarebytes, which I assume meant you were using Malwarebytes active protection, and so in theory couldn't or shouldn't, have picked any unwanted crap.

So before anything else, and if Microsoft Security Essentials doesn't fix it, then I'd recommend downloading and running Rogue Killer https://www.adlice.com/download/roguekiller/ . I've been using this together with Malwarebytes for several years and as yet I haven't come across anything that they haven't been able to detect and remove.
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Calahan on April 13, 2018, 11:46:49 AM
Quote from: Ser Kitteh on April 13, 2018, 11:34:37 AMDoes that mean programfilesx86 should be put in Steam and only Steamin C:?
Not entirely sure what you mean here (have you written these two folders the wrong way around? Since you can't put the Program Files (x86) folder in the Steam folder, but you can put the Steam folder inside Program Files (x86) fodler).

The Program Files and/or Program Files (x86) folder(s) is always located at the base/root of the c:drive. ie. c:\Program Files. I don't know if Win7 has one or both of these folders. Win8 and Win10 have both, but I don't know if Win7 does.

But the installation directory that Steam defaults to should be one of these folders, so just install it to whatever the default installation path is. Note, this is assuming it defaults to the c:drive (since I do not know if you have altered your Windows setting and selected another default path for programs or not).

Quote from: Ser Kitteh on April 13, 2018, 11:34:37 AMBecause for as long as I can remember, Steam and program files have been two seperate folders.
They are separate folders, with the Steam folder usually being located inside the Program Files folder. So for example C:\Program Files\Steam .
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 14, 2018, 08:03:44 AM
So Idk how it's done, but Rimworld is running just fine. I left it running for 20 or so minutes and it worked just fine. I haven't extensively played it due to my workload, but as far as I can tell, Rimworld is fixed!

Granted my C: drive can only hold like, 4 games, but that's a small cost to get Rimworld working again. I've no clue how mods would work as well. But no more 6 mb downloads, no more missing RimworldWin. It works.

I guess I could go on another 3 pages on how to put games in E: and see how that works but I don't game much other than a few sessions of Rimworld. I truly appreciate your assistance, Calahan!

(As a minor aside, you advised me to get rid of everything Steam related via RevoUninstaller. Thank God I didn't, I almost erased every single save file on my older games. I was ONE click away from wiping away my hundreds of hours in Pillars of Eternity and other RPGs. Basically, I uninstalled Steam but didn't wipe out its traces which included my save files)

I can only assume the reasons of my problems, were as you said, having Steam in E: and maybe Steam client updated and went haywire. That and the dozens or so viruses which I removed via RogueKiller and Microsoft Security Essentials.
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Calahan on April 14, 2018, 08:20:43 AM
Great to hear everything is working again. The split installation locations was the most likely cause (as I said maybe Steam changed something that now causes problems or such setups), although those viruses / malware certainly weren't helping in general.

And many apologies for almost costing you your hard earned collection of save games. Your shooting skill just increase by +2 due to you keen sense perception to danger. I thought (quite mistakenly it seems) that save data from SuchAndSuch game would always be stored in their own LocalLow folders (like RimWorld's), and that Steam's footprint wouldn't be tagged as having association with the folders for individual games, and so removing all traces of Steam wouldn't also mean all traces of every game installed via Steam. My lack of knowledge and experience with Steam was certainly on full display for this one :-[
Title: Re: Game keeps crashing, downloads 6mb of something and has missing executable
Post by: Ser Kitteh on April 14, 2018, 08:29:19 AM
Nah man, thank YOU. The fact I was able to do this on a weekend at my home with my superfast Internet ensured I didn't pull my hair out like crazy if I were doing it on campus. It would have taken thrice as long if I did it on campus.

As I've said, I wouldn't 100% know until I put a few hours into Rimworld, something I'm afraid I won't be able to do this week. BUT afterwards, when things calm down, I'm gonna play a long session and mess around with mods. Again, thank you for your amazing assist.:)