GameMaker invalid rundata fix script.

For my first post I thought I would share a script I have been using to fix gamemaker when I use gamemaker with both the script I used on windows and the one I recently made for linux.

For windows I used the following script.
@Echo Off Robocopy "%Userprofile%\AppData\Roaming\fixgm\assetfolder" "%Userprofile%\AppData\Roaming\GameMaker" /it color 02 echo RUNDATA REPLACED timeout 5

How this works is you create a folder called fixgm that you put in Appdata/Roaming with another folder inside fixgm called assetfolder which you copy the contents from the Gamemaker folder located in Roaming when the rundata still works.
As it is in a different folder and not being run the folder stays the same which means you can restore the gamemaker folder to a working state.

Just save the code as a batch file (.bat) after adding the folders.
The folders have to be in the right location but the batch file can run from anywhere.

Now for Linux the code I use is as follows.

cp -r /home/$USER/Games/fixgm/GameMaker /home/$USER/Games/gamemaker/drive_c/users/$USER/AppData/Roaming/

Here I made the linux version of the same code but used the linux cp instead of the windows robocopy.

You can save the code as a text file. After saving the file right click it go to properties permissions and click run as executable.

This code works similar to the windows code except I have a Games folder which holds all my Lutris programs. if you run Lutris but have a different directory setup just change the second directory to go to that folder. (Note it is case sensitive.)

A side note %Userprofile% and $USER are the windows and linux variables for the current user.

Gamers_Mate,

This comment should federate this post with kbin.run.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • LegacyGameMaker
  • ngwrru68w68
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • kavyap
  • cubers
  • megavids
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines