This is a reminder of 3 IMPORTANT RULES:
1- External self-promotion websites or apps are NOT allowed here, like Discord/Twitter/Patreon/etc.
2- Do NOT post in other languages. English-only.
3- Crack/Warez/Piracy talk is NOT allowed.
Breaking any of the above rules will result in your messages being deleted and you will be banned upon repetition.
Please, stop by this thread SoccerGaming Forum Rules And Guidelines and make sure you read and understand our policies.
Thank you!
import sys, struct, binascii, msvcrt
OPTION_FILE='PES2008_OPTION01.bin'
def fixcrc(file=OPTION_FILE):
f = open(file,"r+b")
f.seek(0x100)
data = f.read()
data1 = data[:8] + '\0\0\0\0' + data[12:]
crc = binascii.crc32(data1)
f.seek(0x108)
f.write(struct.pack('<i',crc))
f.close()
def quit(code):
sys.stdout.write('\nPress any key to exit')
msvcrt.getch()
sys.exit(code)
if __name__ == '__main__':
sys.stdout.write('Enter camera angle (0-9): ')
try: angle = int(sys.stdin.readline()[:-1])
except ValueError: angle = -1
if angle<0 or angle>9:
print 'Bad angle. No changes made.'
quit(1)
f = open(OPTION_FILE,"r+b")
f.seek(0x148)
f.write(struct.pack('<i',angle)[0])
f.close()
fixcrc()
print 'Camera angle succesfully changed to %d' % angle
quit(0)
juce_66;2529345 said:cameraTweak 1.2
Now correctly identifies non-English PES2008_OPTION01.bin files. Also added some meaningful error messages. Also, now if the checksum of system data file is incorrect, the program treats it as a WARNING, not ERROR, and will automatically correct the checksum when you hit [Save] button.
DOWNLOAD:
http://files.filefront.com/cameraTweakexe/;10361737;/fileinfo.html
http://slil.ru/25831508