Skip to content

Instantly share code, notes, and snippets.

View elModo7's full-sized avatar
💻
If necessity is the mother of invention, laziness has to be the father.

Víctor Santiago Martínez Picardo elModo7

💻
If necessity is the mother of invention, laziness has to be the father.
View GitHub Profile
@elModo7
elModo7 / RE1 DoorSkip.ahk
Created May 14, 2024 21:11
Resident Evil 1996 Classic REbirth DoorSkip (elModo7 2024) v0.1
WinWaitActive,ahk_exe Biohazard.exe
WinGet,hWnd,ID,ahk_exe Biohazard.exe
winget,pid,PID,ahk_exe Biohazard.exe
dir:=DllCall(A_PtrSize=4?"GetWindowLong":"GetWindowLongPtr","Ptr",hWnd,"Int",-6,A_Is64bitOS?"Int64":"UInt")+7575072
Loop{
DllCall("WriteProcessMemory","UInt",pHndl:=DllCall("OpenProcess","int",2035711,"char",0,"UInt",PID,"UInt"),"UInt",dir,"Uint*",0,"Uint",1,"Uint*",0)&&DllCall("CloseHandle","int",pHndl)
Sleep,16
}
@elModo7
elModo7 / Pokemon GBC Save size FIX.ahk
Last active May 12, 2024 12:26
Fix save data over 32Kb
; https://discord.com/channels/731899222311567400/731900507844640858/1239045849900646450
; Removes bloat bytes from a Pokemon Crystal save file, maybe containing RTC data. Leaves the file as a pure 32Kb sav file.
;@Ahk2Exe-SetName SAV Size Fix
;@Ahk2Exe-SetDescription Fix save data over 32Kb
;@Ahk2Exe-SetVersion 1.2
;@Ahk2Exe-SetCopyright Copyright (c) 2024`, elModo7
;@Ahk2Exe-SetOrigFilename SAV Fix.exe
#NoEnv
#SingleInstance Force
SetBatchLines, -1