thank you so much! really! :)
i just got some problems:
thats with: ./lpatch lpatch.dat cod2_lnxded:
Code:
root@h1747124:/home/temp# ./lpatch lpatch.dat cod2_lnxded
Lame patcher 0.4.4
by Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org
cod2vawo linux test
Alert:
there are no bytes to change in the file
that's with ./lpatch * lpatch.dat cod2_lnxded
Code:
root@h1747124:/home/temp# ./lpatch * lpatch.dat cod2_lnxded
Lame patcher 0.4.4
by Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org
:
# Lame patcher 0.4.4
# by Luigi Auriemma
# e-mail: aluigi@autistici.org
# web: aluigi.org
Main folder .
Data file cod2_lnxded
Filename
Filesize 1317052
Original MD5 7f454c46010101000000000000000000
Patched MD5 0200030001000000c0a6040834000000
Usage:
YES: PATCH (original => patched)
NO: UNPATCH (restore the original)
CANCEL: EXIT
- choice (y/n/c): y
File not found:
The file has not been found in the current directory
Do you want to select this file manually?
- choice (y/n): y
Specify the name of the file (): cod2_lnxded
Error:
Different MD5 checksum, file is not the original
Want you try to force the patching???
The process terminates automatically if finds a byte to modify that is
different than the original so you can recover your original file using
the UNPATCH option of this tool
Anyway I highly suggest to make a temporary BACKUP of your file if you
decide to choose YES and forcing the patching
- choice (y/n): y
Error:
wrong file offset
and that's with ./lpatch -y lpatch.dat cod2_lnxded
Code:
root@h1747124:/home/temp# ./lpatch -y lpatch.dat cod2_lnded
Lame patcher 0.4.4
by Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org
cod2vawo linux test
Error:
No such file or directory
and here my lpatch.dat:
Code:
====================================================================================
#
# this file has been created for the Lame patcher program available for both *nix
# and Windows platforms.
# You need this program for continuing the patching of your files:
#
# http://aluigi.org/mytoolz.htm#lpatch
#
# Quick step-by-step for Windows:
# - launch lpatch.exe
# - select this cod2vawo.lpatch file
# - read the message windows and click yes
# - select the file (usually executables or dlls) to patch
# - read the message windows to know if everything has been patched correctly
# - test your game
#
# Quick step-by-step for Linux:
# - compile lpatch: gcc -c md5.c ; gcc -o lpatch lpatch.c md5.o
# - launch ./lpatch cod2vawo.lpatch
# - read the text messages
# - specify the name of the file to patch
# - read the text messages to know if everything has been patched correctly
# - test your game
TITLE
cod2vawo linux test
FILE
cod2_lnxded
BYTES_ORIGINAL
c7 44 24 04 ?? ?? 14 08 ; mov DWORD PTR [esp+4],0x814f880
c7 04 24 01 00 00 00 begin_of_the_skype_highlighting????????????????????????????04 24 01 00 00 00????????????end_of_the_skype_highlighting begin_of_the_skype_highlighting 04 24 01 00 00 00 end_of_the_skype_highlighting ; mov DWORD PTR [esp],0x1
e8 ?? ?? fa ff ; call 8061124 <strcpy@plt+0x16a80>
BYTES_PATCH
c7 45 f4 00 00 00 00 ; mov DWORD PTR [ebp-12],0x0
31 c0 ; xor eax,eax
90 90 90 90 90 90 90
90 90 90 90
====================================================================================
the used binary is 1.2c
greetings