This project has moved and is read-only. For the latest updates, please go here.
Project Description
Takes an EXE file and a DLL file as input and embeds the DLL into the EXE file, creating a new EXE file.

By merging an EXE and a DLL their two address spaces become one. As a result there is no more API distinction between them. The DLL code is initialized just before the EXE entry point is called. Imports of the DLL are embedded into the import descriptors of the original executable while exports are discarded. When the original executable is relocatable then the relocation information of the DLL is kept aswell.

This tool can be used to inject loader code into games which you do not have the source code for. Said minimal code would then proceed to load other dependency DLLs.

Recommended Compiler: Visual Studio 2017

Merging has been tested with 32bit DLL and 32bit EXE. The 64bit case does not work yet due to PE compilation differences.

Important: This repository uses svn:externals. To successfully compile consider using SVN for checkout.

Last edited Mar 11, 2017 at 12:43 PM by quiret, version 4