Skip to content

Instantly share code, notes, and snippets.

View xAranaktu's full-sized avatar
🎮
INT3

Paweł xAranaktu

🎮
INT3
View GitHub Profile
--- HOW TO USE:
--- https://i.imgur.com/xZMqzTc.gifv
--- 1. Open Cheat table as usuall and enter your career.
--- 2. In Cheat Engine click on "Memory View" button.
--- 3. Press "CTRL + L" to open lua engine
--- 4. Then press "CTRL + O" and open this script
--- 5. Click on 'Execute' button to execute script and wait for 'done' message box.
--- AUTHOR: ARANAKTU
@xAranaktu
xAranaktu / cm_to_ft.py
Created March 24, 2021 14:40
cm to ft
from decimal import *
def dodo():
base_cm = 130
max_cm = 215
getcontext().prec = 2
CM_INCH = Decimal(0.39370079)
INCH_FT = Decimal(0.08333333)
@xAranaktu
xAranaktu / kg_to_lb.py
Last active March 24, 2021 14:41
kg to lb
from decimal import *
def dodo():
base_kg = 30
max_kg = 115
getcontext().prec = 7
kg_LB = Decimal(2.20462262185)
for x in range(0, max_kg-base_kg+1):
import os
import subprocess
def get_strings():
root_dirs = [
"I:\\Gry\\Origin\\FIFA 21\\Data\\Win32",
"I:\\Gry\\Origin\\FIFA 21\\Patch\\Win32",
]
with open("FIFA21_strings.txt", "wb+") as f:
# strings64.exe fifa.cache > output.txt
import re
regex = r"content\/character\/player\/player_[\d]{1,}/([a-z _]{1,})_([\d]{1,})"
already_on_list = []
with open('output.txt') as f:
with open('headmodels.csv', 'w+') as f_out:
lines = f.readlines()
for l in lines:
local addr = 0xA699B138
local offset = 0x3
local startbit = 5
local fsize = 19
local rangelow = 0
local startval = readInteger(addr+offset)
local result = (bAnd(bShr(startval, startbit), (bShl(1, fsize) - 1)) - rangelow)
@xAranaktu
xAranaktu / public_read_do_cdn.py
Created March 5, 2020 14:51
public_read_do_cdn
import boto3
from botocore.client import Config
aws_access_key_id = "XXXXXXXXXXXXXX"
aws_secret_access_key = "XXXXXXXXXXXXXX"
# Initialize a session using DigitalOcean Spaces.
session = boto3.session.Session()
client = session.client('s3',
region_name='fra1',
import mmap
import logging
import xml.etree.ElementTree as ET
class ReadBytesHelper:
"""
Convert bytes helper class
"""
def read_int64(self, x, as_string=False):
n = x[0] | x[1] << 8 | x[2] << 16 | x[3] << 24 | x[4] << 32 | x[5] << 40 | x[6] << 48 | x[7] << 56
import os
import mmap
with open('bloodstone.spr', 'rb') as f:
png_header = b'\x89\x50\x4E\x47\x0D\x0A\x1A'
png_end = b'\x49\x45\x4E\x44\xAE\x42\x60\x82'
mm = mmap.mmap(f.fileno(), length=0, access=mmap.ACCESS_READ)
offset_start = mm.find(png_header)
@xAranaktu
xAranaktu / [FIFA 19] CreatePlayerMax = 999
Created January 1, 2019 11:52
[FIFA 19] CreatePlayerMax = 999
[ENABLE]
aobscanmodule(INJECT_CreatePlayerMax,FIFA19.exe,83 FF 1E 7C 36) // should be unique
alloc(newmem_CreatePlayerMax,$1000,"FIFA19.exe"+316E667)
label(code_CreatePlayerMax)
label(ret_CreatePlayerMax)
newmem_CreatePlayerMax:
code_CreatePlayerMax: