Search found 23 matches

by Peixoto
02 Jan 2019, 07:22
Forum: Ask For Help
Topic: Bug when "reusing" objects
Replies: 8
Views: 658

Bug when "reusing" objects

If i do something like this: obj := new TestClass("Object 1") obj := new TestClass("Object 2") The destructor for Object 1 is called after the constructor for object 2 On this exemple: class TestClass { __new(prop) { this.prop := prop msgbox % "Creating object " prop } __delete() { msgbox % " Deleti...
by Peixoto
05 Sep 2017, 20:10
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AhkHook: API hooking with autohotkey

How do I detect when a process LoadLibraryA api is used? Can I see the example code in this regard? something like this(untested): global LoadLibraryA_hook := new Hook("LoadLibraryA", "Kernel32.dll", "LoadLibraryA") LoadLibraryA(dll_name) { dll := strget(dll_name+0, "CP0") msgbox % "Loading :" dll ...
by Peixoto
30 Mar 2017, 21:38
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AhkHook: API hooking with autohotkey

TheDrifter363 wrote:Hi Peixoto,

I have a question about your game patches...
Peixoto in the 1st post wrote:If you came looking for the game patches have created with the program, go here:
http://www.vogons.org/viewtopic.php?f=24&t=53121

OK ? I will e glad to answer
by Peixoto
21 Mar 2017, 22:15
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

Hello, sorry for double posting, but I was able to make Resident Evil work and with AHK Injector, which I have to say, works amazingly. I simply updated my codec pack and media player (MPC-HC), and well, opening a video file in the background and setting a resolution of 1280x960 makes the game run ...
by Peixoto
21 Feb 2017, 22:00
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

SnowFlake wrote:this dropbox link isnt working can someone plz update it?

https://www.dropbox.com/s/spwpqpfdrmz4h ... r.zip?dl=0
Ive posted a new, working link
by Peixoto
13 Feb 2017, 21:09
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

Hello. I saw your post in steam forum. I download your app to use in I am alive. I want to remove grain filter specially. How can I do that? i'm alive is a "stand alone" patch, dowload it from here: https://www.dropbox.com/s/ayebcoa6sqjvc1o/win7.zip?dl=0 Hey man, thanks for these patches. Playing t...
by Peixoto
21 Sep 2016, 14:01
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

tzbenetti wrote:Hello. I saw your post in steam forum. I download your app to use in I am alive. I want to remove grain filter specially. How can I do that?
i'm alive is a "stand alone" patch, dowload it from here:
https://www.dropbox.com/s/ayebcoa6sqjvc1o/win7.zip?dl=0
by Peixoto
23 Aug 2016, 19:51
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

1st of all, so much better to play Tomb Raider II with AHK, while until now. I'm a Windows 10 user on a laptop. That being said, I do have an issue. Every now and then, when I try to load a save file, it crashes on me and I'm left with nothing but a black screen. This black screen is always on top ...
by Peixoto
09 Aug 2016, 09:21
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

Thanks for the reply. What kind of fixing Dino Crisis 2 needs? Dino Crisis 2 uses pre-rendered backgrounds. The game supports widescreen resolutions but it stretches everything to fill the whole screen instead of keeping the 4:3 aspect ratio and adding black bars. Surprisingly the game supports xin...
by Peixoto
07 Aug 2016, 16:20
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

Just wanted to say thank you very much for this! I've been begging for Dino Crisis widescreen patch for quite some time now and you did it! I have a couple questions. In Dino Crisis, why can't you walk forward and turn at the same time when using a controller but when playing with a keyboard you ca...
by Peixoto
07 Jun 2016, 08:11
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

The RE1 patch doesn't work properly long time ago on my Win7x64. In RE1-2 the latest builds launching with initialize error , it launching successfully only after set up custom resolution, but it works without scaling and with displaced video playing. RE1 (latest build) no scaling http://i77.fastpi...
by Peixoto
27 May 2016, 21:44
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

Resident Evil 1: failed to initialize the graphic hardware device. (3) error.log: AHK Injector remote settings: args: /blaster blaster: 1 compatlayer: win95 controller: A=1;B=2;X=3;Y=4;LEFT_SHOULDER=5;RIGHT_SHOULDER=6;bLeftTrigger=3;bRightTrigger=8;start=8;back=9;LEFT_THUMB=10;RIGHT_THUMB=11; d3D: ...
by Peixoto
12 Apr 2016, 15:18
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

Sorry for the late replay, i didn't had internet access (except in my phone) for the last week Good script but i have a small problem. I'm trying to run RE1 on PC with this and since i get the error "Failed to initialize the Graphic Hardware Device.(3)" i need to use the /nocard1 command but -args "...
by Peixoto
28 Oct 2015, 18:43
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

Thanks for the tool. I've want to use it to play TR2 and it starts and everything looks good. The only thing is the controller is not working. I'm using an xbox one controller plugged in via USB. Its set as the main controller. The only buttons that work ingame is the dpad and left analogue stick. ...
by Peixoto
18 Sep 2015, 19:57
Forum: Scripts and Functions
Topic: AhkHook: API hooking with autohotkey
Replies: 50
Views: 39568

Re: AHK Injector: DirectX hooking with autohotkey

I've included a few samples showing how to hook winapi functions or DirectX methods with about 30 lines of code
by Peixoto
13 Sep 2015, 17:39
Forum: Scripts and Functions
Topic: Class Monitor (Brightness, ColorTemperature)
Replies: 44
Views: 18315

Re: Class Monitor (Brightness, Contrast & Gamma)

Great work, here goes my two cents Your small GUI program calls Monitor.SetDeviceGammaRamp() to change the gamma, but that method does not change the gamma, but the brightness. To change the gamma you have to set the gamma ramp using a "gamma function" instead of a linear function and then change th...
by Peixoto
03 Sep 2015, 12:02
Forum: Wish List
Topic: Ahk2Exe ignore error
Replies: 5
Views: 1770

Re: Ahk2Exe ignore error

It doesn't make sense to generate a "compiled script" which can't be run. Why are you "compiling" the script? If it's to pre-process/merge #includes , I think you would be better off taking the Ahk2Exe source code and adapting it to your purpose. Yes, that's why i'm compiling them. Fortunately for ...
by Peixoto
01 Sep 2015, 21:42
Forum: Wish List
Topic: Ahk2Exe ignore error
Replies: 5
Views: 1770

Re: Ahk2Exe ignore error

Could you provide an example of how this could be useful? My injector compiles several scripts like this: LoadResource(resource, module = "") { if not module hModule := dllcall("GetModuleHandle", uint, 0) else FreeLater := hModule := dllcall("LoadLibraryW", str, module) HRSRC := dllcall("FindResour...
by Peixoto
01 Sep 2015, 17:52
Forum: Wish List
Topic: Ahk2Exe ignore error
Replies: 5
Views: 1770

Ahk2Exe ignore error

Would it be possible to have a command line parameter that would instruct Ahk2Exe to compile the script even if it finds syntax errors ?
by Peixoto
01 Sep 2015, 17:50
Forum: Wish List
Topic: Call dll directly without specifying parameter type
Replies: 8
Views: 2192

Re: Call dll directly without specifying parameter type

tmplinshi wrote:#DllImport and DynaCall still needs the type (Int, Str, Ptr...) definition.
So does python

Go to advanced search