Home > Games, Programming > Red Faction 2 and my helping hand

Red Faction 2 and my helping hand

I just bought Red Faction 2 off of a steam deal and I kept getting this error telling me that I need at least 8MB of video ram, when I have that and more. A little searching around brought me to this sticky on the steam forums:


That was fine and dandy, but I decided to make it a little easier and make a small program to automate this.

Now I must start by saying that I have very little experience with C#, but I have taken classes on java and they’re pretty similar languages.

The instructions are really simple. If you had read the steam post I linked to, they’re about the same.

First right click the program and run as administrator. (I’ll post the source code so you can compile it yourselves if you don’t trust me)

If you want to set up your computer to play Red Faction 2: Press the button on the left (Fix for RF2).

This actually runs a command that’s identical to the first steam step:

bcdedit /set {current} truncatememory 2147483648

where 2147483648 == 2GB in bytes ( Don’t believe me? )

Then restart your computer, using the button on the program or through the start menu.

When you’re done playing RF2, then you can press the button on the right (Go back to normal).

That runs a command that erases the rule that the left button created:

bcdedit /deletevalue {current} truncatememory

After “going back to normal”, you must restart your computer again.

Download links:

This is beta quality software, because I only tested it on my machine. Please give me feedback as beta testers if you try this prog.

Already compiled for your convenience

Source code (feel free to make mirrors, all I ask is that you mention me)

Those instructions again:

1. Left button (Fix for RF2)

2. Restart computer

3. Play Red Faction 2

4. Right button (Go back to normal)

5. Restart computer

Happy gaming.

Categories: Games, Programming
  1. DT
    June 6, 2011 at 9:44 AM

    I saw your post on the Steam forums and then saw the other guy saying someone already made a fix.

    No offense to that guy, but I’ve been trusting people named Prof Oak since I was a little kid. So, I tried your fix and got:

    ERROR: Cannot find bcdedit
    Report back to Oak.

    Reporting, sir.

    • June 7, 2011 at 9:44 AM

      Do you use MinGW?

      I couldn’t get any other language but Python acknowledge the existence of bcdedit from the command line. I’ve tried using C and C# but neither of them want to detect the file, even when I post the absolute location of the file. When I went to an IRC channel for help, they told me that it worked fine for them.

      Thank you for your time. I was just kinda hoping that this only affected me. If you still would like to use my program, all you need to do is search your system32 folder for a file called bcdedit.exe and copy that to the same directory as the Red Faction 2 Fixerer. It’s a crappy solution, I know, but I’ll work to get it fixed.

  2. damon
    February 18, 2012 at 7:44 PM

    any more games?

    • yoyokirby
      March 3, 2012 at 2:11 AM

      It should apply to games that have the same error (for 2GB ram). I just found about this through Red Faction when I bought it on steam.

  3. Remilia Scarlet
    March 2, 2012 at 9:24 PM

  4. Simon G
    October 31, 2012 at 4:54 AM

    Dude! I can’t change my memory maximum back using your app. I’m trying to do it manually but don’t know what my maximum memory size was before…any clues?

    • yoyokirby
      October 31, 2012 at 9:32 PM

      You can type this command into your terminal:

      bcdedit /deletevalue {current} truncatememory

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: