Making mods MMod compatible

Making mods MMod compatible

FYI

If any of the files or folders are not in the mod you're converting, you can create a new file or folder with the proper name and continue the guide.

Fixing Crash On Launch


Making mods MMod compatible image 3

This is the only mandatory task to run any mods. Without this, MMod will crash with this error when trying to load the mod:

Go to

{MMod folder}\{mod folder}

Open "liblist.gam" in a text editor.

Add a new line and paste this text on the new line.

fallback_dir "HL1MMod"

Save the file and try running the mod. You should now at least be able to make it to the main menu.

At this point, it's possible to play the mod like normal assuming you ignore the chapter buttons (they will still start their respective Half-Life level).

If you can't make it to the main menu, check that "fallback_dir" is set properly in "liblist.gam". If the mod still doesn't work, the configuration file could be improperly set (this happens when using Half-Life's config with MMod) or another reason.

Restoring The Main Menu

By default, the main menu used by the mod will be identical to the MMod menu (unless the mod creator used a custom menu). Restoring the original menus will remove the chapter buttons and the MMod options tab.

To restore the original menus, go to

{MMod folder}\valve\resource

Copy the file

GameMenu.resand paste the file in

{MMod folder}\{mod folder}\resource

Optional: to restore the entire menu, including the background, copy

{MMod folder}\valve\resourceand paste the folder in

{MMod folder}\{mod folder}Do not overwrite any existing files.

Optional: to change/disable the main menu music, place your sound file (must be named "Gamestartup.mp3") in

{MMod folder}\{mod folder}\mediaCreating a blank text file and renaming it will prevent music from playing on the main menu.

If you want to implement your own chapter buttons, then you'll have to modify these files which work together.

chapters.txt GameMenu.res gameui_english.txt

Source: https://steamcommunity.com/sharedfiles/filedetails/?id=2989902614					

More Half-Life: MMod guilds