[REL] PEPatch v0.1a

Old and abandoned stuff goes here...
Locked
User avatar
Crypton
Arronax's Best Friend
Arronax's Best Friend
Posts: 420
Joined: Wed Jul 08, 2009 5:04 am
Location: Abyss
Contact:

[REL] PEPatch v0.1a

Post by Crypton » Thu Dec 31, 2009 1:53 am

I've made this tool back at June 2008 for my 1024x768 resolution patch, but after lack of support from public, and after my idea/offsets were ripped off, I've abandoned it, now I've decided to release it, even its not finished at all... only to show you that it really existed.

So what's that PEPatch? Its tool that simply patches an executable file (.exe) you select, where information about what bytes needs to be patched is written in .eni patch, which you load into PEPatch before actual patching.

Screenshot:
Image

Download:
http://arcanum.game-alive.com/download/PEPatch.zip

This was first version of my resolution patch:

Code: Select all

<Crypton's Patches/>
 /VERSION = 1.0;
 /INFO = A collection of patches made by Crypton;

	<Patch 1024x768/>
	 /NAME = Patch 1024x768;
	 /VERSION = 1.0;
	 /INFO = This patch will update a screen resolution of Arcanum to 1024x768;

		<ENTRY/>
		/INFO = Main resolution;

			<ENTRY/>
			 /INFO = Main resolution - Width;
			 /OFFSET = 00401236; 
			 /PATCH = 00040000;
			</ENTRY>

			<ENTRY/>
			 /INFO = Main resolution - Height;
			 /OFFSET = 0040123E;
			 /PATCH = 00030000;
			</ENTRY>
		</ENTRY>

		<ENTRY/>
		 /INFO = Mouse Area;
			<ENTRY/>
			 /INFO = Mouse Area - Max X;
			 /OFFSET = 00401FA2; 
			 /PATCH = FF030000;
			</ENTRY>

			<ENTRY/>
			 /INFO = Mouse Area - Max Y;
			 /OFFSET = 00401FF3; 
			 /PATCH = FF020000;
			</ENTRY>
		</ENTRY>

		<ENTRY/>
		 /INFO = Redraw Area;

			<ENTRY/>
			 /INFO = Redraw Area - Width;
			 /TODO = Check it properly...;
			 /OFFSET = 00572998; 
			 /PATCH = 00040000;
			</ENTRY>

			<ENTRY/>
			 /INFO = Redraw Area - Height;
			 /TODO = Check it properly...;
			 /OFFSET = 005729A0; 
			 /PATCH = 00030000;
			</ENTRY>
		</ENTRY>

		<ENTRY/>
		/INFO = Redraw Height;
			<ENTRY/>
			 /INFO = Redraw Height - Start Y Position;
			 /OFFSET = 0055783C; 
			 /PATCH = 20000000;
			</ENTRY>

			<ENTRY/>
			 /INFO = Redraw Height - End Y Position;
			 /OFFSET = 00557844; 
			 /PATCH = 58020000;
			</ENTRY>
		</ENTRY>

		<ENTRY/>
		 /INFO = Multiplayer;
		 /ENABLED = NO;
		 /TODO = Check it properly...;
			
			<ENTRY/>
			 /INFO = Multiplayer;

				<ENTRY/>
			 	 /INFO = Called after login to multiplayer;
			 	 /OFFSET = 005837ED; 
			 	 /PATCH = 00040000;
				</ENTRY>

				<ENTRY/>
			 	 /INFO = Called after login to multiplayer;
			 	 /OFFSET = 005837F5; 
			 	 /PATCH = 00030000;
				</ENTRY>
			</ENTRY>

			<ENTRY/>
			 /INFO = Multiplayer;
				<ENTRY/>
			 	 /INFO = Multiplayer - Find game;
			 	 /OFFSET = 00585E75; 
			 	 /PATCH = 00040000;
				</ENTRY>


				<ENTRY/>
			 	 /INFO = Multiplayer - Find game;
			 	 /OFFSET = 005881EF; 
			 	 /PATCH = 00040000;
				</ENTRY>

				<ENTRY/>
			 	 /INFO = Multiplayer - Find game;
			 	 /OFFSET = 00585E7D; 
			 	 /PATCH = 00030000;
				</ENTRY>

				<ENTRY/>
			 	 /INFO = Multiplayer - Find game;
			 	 /OFFSET = 005881F7; 
			 	 /PATCH = 00030000;
				</ENTRY>
			</ENTRY>

			<ENTRY/>
			 /INFO = Multiplayer;
				<ENTRY/>
			 	 /INFO = Multiplayer - Chat;
			 	 /OFFSET = 005827DB; 
			 	 /PATCH = 00040000;
				</ENTRY>

				<ENTRY/>
			 	 /INFO = Multiplayer - Chat;
			 	 /OFFSET = 005827E3; 
			 	 /PATCH = 00030000;
				</ENTRY>
			</ENTRY>

			<ENTRY/>
			 /INFO = Multiplayer;
				<ENTRY/>
			 	 /INFO = Multiplayer - Host Game;
			 	 /OFFSET = 00584C7D; 
			 	 /PATCH = 00040000;
				</ENTRY>

				<ENTRY/>
			 	 /INFO = Multiplayer - Host Game;
			 	 /OFFSET = 0058528A; 
			 	 /PATCH = 00040000;
				</ENTRY>

				<ENTRY/>
			 	 /INFO = Multiplayer - Host Game;
			 	 /OFFSET = 00584C85; 
			 	 /PATCH = 00030000;
				</ENTRY>

				<ENTRY/>
			 	 /INFO = Multiplayer - Host Game;
			 	 /OFFSET = 00585292; 
			 	 /PATCH = 00030000;
				</ENTRY>
			</ENTRY>
		</ENTRY>
	</Patch 1024x768>

	<Patch No-Intro/>
	 /NAME = Patch No-Intro;
	 /VERSION = 1.0;
	 /INFO = This patch will disable intro movies when launching game;
	 /OFFSET = 00402177; 
	 /PATCH = EB11;
	</Patch No-Intro>

</Crypton's Patches>

Locked