This is an old revision of the document!
Table of Contents
MBBSEmu SoftPatch
MBBSEmu suppports a method of modifying the original Major BBS/Worldgroup Modules through a process called SoftPatch, which allows users to apply byte level patches to their favorite games without having to modify the underlying DLL file with hex editors or disassemblers.
SoftPatch is enabled and used through the modules.json file, where you specify the SoftPatch information within the Module record under the Patches array.
Properties
Name: Name of the Patch
Description: Brief Description of the Patch and what it does
Address: The “SEGMENT:OFFSET” address where the patch is to be applied
AbsoluteOffset: Absolute Offset within the DLL where to apply the patch
PatchType: Valid values are “Text” for applying ASCII characters to the specified location, or “Hex” to apply hex values to the specified location.
CRC32: The CRC32 of the DLL being patched, to ensure the patch is only applied to the appropriate version of that DLL.
Patch: The value of the patch to be applied. Depending on what you specified for PatchType, this will be handled as an ASCII String or Hex value.
Example
{
"Modules": [
{
"Identifier": "EXAMPLE1",
"Path": "c:\\bbsv6\\",
"Patches": [
{
"Name": "Name To Caps",
"Description": "Changes Displayed name of Module to all caps",
"AbsoluteOffset": 12910,
"PatchType": "Text",
"Patch": "PATCHED"
}
]
}
]
}
