Jump to content
Sign in to follow this  

TUTORIAL: How to remove the 3.03 mpgdll.dll dependency

Recommended Posts

If Red Alert 1 is patched to 3.03 it requires mpgdll.dll, this DLL contains MPEG code (MPEG-2 I think?). The game never uses any of the functions it imports from this DLL so this dependency can be safely removed. Here's a method I found to do so.

  1. Download: http://www.softpedia...ownload-28.html
  2. Unextract the files in the ZIP file to a folder.
  3. Run PEditor.exe.
  4. Click the 'browse' button in the top right of the program and select ra95.exe or ra95.dat, whatever contains the actual game binary.
  5. Click the 'directory' button in the center bottom.
  6. In the window that pops up, in the right corner click the 'Imports' button.
  7. Right click the row with 'mpgdll.dll' in it in the new window that pops up.
  8. Click on the option 'delete ImageImportDescriptor' after right clicking.
  9. The row should now disappear. Close the program and test the binary without having a mpgdll.dll file in your folder.

Share this post

Link to post

In the long run it would be interesting to see if we can get the game to read other video formats using the mpgdll interface. For now though, I am sure hifi will be thrilled to removed that one last pesky library from the game. Good work Iran!

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.