Search found 14 matches

by mebo
18 May 2021, 07:37
Forum: Ask for Help (v1)
Topic: ClassMemory - Best way to processPatternScan several AOBs?
Replies: 10
Views: 909

Re: ClassMemory - Best way to processPatternScan several AOBs?

Hey swagfag, Thanks for replying. These values are loaded into memory the second you load the game up. They're UI elements that display various things. I would love to know the exact placement of these addresses instead as that'd be near instant. You bring up a good point though about them just bein...
by mebo
17 May 2021, 15:44
Forum: Ask for Help (v1)
Topic: ClassMemory - Best way to processPatternScan several AOBs?
Replies: 10
Views: 909

Re: ClassMemory - Best way to processPatternScan several AOBs?

Sorry, I'll try to be as descriptive as possible on what I'm trying to accomplish here. I have a game that's written entirely in Japanese. I don't have access to modify the game's files, but I had the idea of automatically searching for said Japanese and replacing the Japanese text with English. Usi...
by mebo
16 May 2021, 12:29
Forum: Ask for Help (v1)
Topic: ClassMemory - Best way to processPatternScan several AOBs?
Replies: 10
Views: 909

Re: ClassMemory - Best way to processPatternScan several AOBs?

For instance, I have the following What do you need to do with it? I guess my question is this: With the above context, I am converting utf-8 strings to hex, searching for the JP hex and replacing with the EN hex. The actual processPatternScan method that is used to search for the JP hex'd string v...
by mebo
16 May 2021, 10:54
Forum: Ask for Help (v1)
Topic: ClassMemory - Best way to processPatternScan several AOBs?
Replies: 10
Views: 909

Re: ClassMemory - Best way to processPatternScan several AOBs?

Hey teadrinker, Sorry, I didn't share that because it wasn't too relevant, but the json I'm iterating over stores the utf-8 text for both Japanese and English. I'm using a function ( https://www.autohotkey.com/boards/viewtopic.php?t=68782 ) to convert the Japanese to hex and the same for English. I'...
by mebo
15 May 2021, 22:03
Forum: Ask for Help (v1)
Topic: ClassMemory - Best way to processPatternScan several AOBs?
Replies: 10
Views: 909

ClassMemory - Best way to processPatternScan several AOBs?

Hey there! I'm using RHCP's classMemory library and had a question around efficiency. I'm currently using the following code for a function: memWrite(jp, en, loopCount := "1", start:= "0x46000000", end:= "0x50000000") { loop, %loopCount% { AOB:= mem.hexStringToPattern(jp) Address:= mem.processPatter...
by mebo
08 May 2021, 16:10
Forum: Gaming Help (v1)
Topic: Help with porting C# to Autohotkey
Replies: 1
Views: 301

Re: Help with porting C# to Autohotkey

I was able to figure this out using Visual Studio to add debug lines to figure out what the different values are. Here's my finished script: #SingleInstance force #Include <classMemory> if (_ClassMemory.__Class != "_ClassMemory") { msgbox class memory not correctly installed. Or the (global class) v...
by mebo
07 May 2021, 20:44
Forum: Gaming Help (v1)
Topic: Help with porting C# to Autohotkey
Replies: 1
Views: 301

Help with porting C# to Autohotkey

Hello there! I have quite a specific and complex question that I hope someone can volunteer some time to help me with. I have a program that enables western players to be able to play a Japanese game in English (https://github.com/jmctune/ahkmon). An external program strictly reads the game's memory...
by mebo
30 Apr 2021, 16:55
Forum: Ask for Help (v1)
Topic: Input - Joystick keys not working?
Replies: 5
Views: 453

Re: Input - Joystick keys not working?

That did it - amazing! Thanks a bunch for your quick help, boiler. Have a great weekend!
by mebo
30 Apr 2021, 16:31
Forum: Ask for Help (v1)
Topic: Input - Joystick keys not working?
Replies: 5
Views: 453

Re: Input - Joystick keys not working?

I just realized your code is actually different and not just a rewrite. Sorry about that :) I tried your modification just now and it does accept joystick input, but it appears to be skipping through the loop to the very end. In this example, my clipboard could look like the following: "To some peop...
by mebo
30 Apr 2021, 11:55
Forum: Ask for Help (v1)
Topic: Input - Joystick keys not working?
Replies: 5
Views: 453

Re: Input - Joystick keys not working?

Thanks - that does look clean.

Yep, I thought the same. Not sure why {Joy1} or any of the buttons are picking up with Input though.
by mebo
29 Apr 2021, 23:29
Forum: Ask for Help (v1)
Topic: Input - Joystick keys not working?
Replies: 5
Views: 453

Input - Joystick keys not working?

Hey there, I'm trying to have my script detect either a few keyboard keys or any joystick key to trigger the continuation of said script. The script is rather large, but here's a snippet of the problem: if (LineByLineDialog = 1) { for index, sentence in StrSplit(Clipboard, "`n`n") { GuiControl, 2:Te...
by mebo
23 Apr 2021, 15:16
Forum: Scripts and Functions (v1)
Topic: Optical character recognition (OCR) with UWP API
Replies: 157
Views: 65703

Re: Optical character recognition (OCR) with UWP API

The lag is definitely gone, but now it's just extremely choppy when dragging. I ended up changing

Code: Select all

SetTimer, % timer, -10
to

Code: Select all

SetTimer, % timer, -0
and this thing is performant! Much appreciated for the quick assistance. Have a great weekend!
by mebo
23 Apr 2021, 08:41
Forum: Scripts and Functions (v1)
Topic: Optical character recognition (OCR) with UWP API
Replies: 157
Views: 65703

Re: Optical character recognition (OCR) with UWP API

Hey teadrinker! I have quite a powerful machine (i9-7XXX) with no active load on the PC. I stared at task manager while I was moving the rectangle around and load stayed low. There was a clipboard tool linked in this thread that I downloaded and the click+drag is really smooth (almost native to doin...
by mebo
22 Apr 2021, 16:16
Forum: Scripts and Functions (v1)
Topic: Optical character recognition (OCR) with UWP API
Replies: 157
Views: 65703

Re: Optical character recognition (OCR) with UWP API

Hey there! I made an account just to thank you for this wonderful tool. I do have a question though: the left click dragging is REALLY choppy/laggy/slow. When you hold left click down and drag, it is sometimes half a second to a full second behind. Is there a better way to render this rectangle for ...

Go to advanced search