Affinity

Replaces the reference to the nickname-/actortitle-text (#65256) from the EXE's string-table which is used in the default menu's status-screen with a string burned into code which contains the word "Affinity". The reason for this is unclear as the text could've also been easily changed by using a PE-resource-editing-software.

Sourcecode on this page resembles a revised variant of the patch that allows a few more (up to 11) letters.

Originally made and first released by bugmenot.

RPG2003
1.00UNKNOWN1UNKNOWN21.0.2.1
1.0.2.1
1.0.3.0
1.0.4.0
1.0.5.0
1.0.5.0
1.0.6.0
1.0.6.0
1.0.7.0
1.0.7.0
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
1.101.111.12mp210414

Segment 1/2

Offsets

RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
0049F9A9h
0009EDA9h
0049ECDDh
0009E0DDh

Sourcecode

			JMP __0049F9BFh
			dd -1					; ReferenceCounter
			dd 8					; StringLength
__0049F9B3h:
			db 'Affinity'
			db 0					; Strings need at least one 0-Byte
			db 0
			db 0
			db 0
__0049F9BFh:
			(...)
			JMP __0049ECF3h
			dd -1					; ReferenceCounter
			dd 8					; StringLength
__0049ECE7h:
			db 'Affinity'
			db 0					; Strings need at least one 0-Byte
			db 0
			db 0
			db 0
__0049ECF3h:
			(...)

Bytes

EB14
FFFFFFFF 08000000
416666696E697479 00 00 00 00
EB14
FFFFFFFF 08000000
416666696E697479 00 00 00 00

Segment 2/2

Offsets

RPG2003
1.0.8.0
1.0.8.0
1.0.9.1
1.0.9.1
0049F9F8h
0009EDF8h
0049ED2Ch
0009E12Ch

Sourcecode

			PUSH __0049F9B3h
			PUSH 1
			PUSH 1
			JMP __0049FA0Dh
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			PUSH __0049ECE7h
			PUSH 1
			PUSH 1
			JMP __0049ED41h
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP
			NOP

Bytes

68B3F94900 6A01 6A01 EB0A
90 90 90 90 90 90 90 90 90 90
68E7EC4900 6A01 6A01 EB0A
90 90 90 90 90 90 90 90 90 90