Git Product home page Git Product logo

hook-any-text's People

Contributors

mx-futhark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hook-any-text's Issues

Merged into one multiselection

Instead of having the threads separated by +++++ how about an option that just shows the updated thread?
It shouldn't be too hard since the tool already has a history.

Lua engine error at startup

Hello, I'm trying to use HAT 1.0.0 with Cheat Engine 7.3, and I immediately get this error on startup. When I try to CTRL+B an address and select a region, nothing happens on HAT and it doesn't show up in the selections. I've tried reinstalling everything including Java and tried using HAT 0.9.0 but I still get the same error.

image
Error in native thread called Unnamed::...am Files\Cheat Engine 7.3\autorun\selectionConverter.lua:25: attempt to call a nil value (local 'evaluatedFunction')

new line get hooked only manually

I'm following the wiki page for extracting text with Cheat Engine, but new lines get hooked only if i manually grab hexadecimals value I see in memory viewer window.

Double charset detection

Some games have double charset encoding like ASCII with Shift+JS
Like in this text:

BGMの音量を
調節します

Currently in HAT the BGM gets removed.
It would be nice if we could detect both encodings.

Encoding detection is unreliable

Example:

Game: Fate/Extra CCC
Emulator: PPSSPP v1.0.1
System: Windows 7 x86-64

Input 1: 816381638CBE82C182BD81420A82A282DC81418A6D82A982C992668CBE82B582BD81420000000000000100000002000000030000000400000005000000060000000700000008000000090000000A0000000B0000000C0000000D0000000E0000000F0000001000000B0000000000000000000000000000000000000000001F01000000000000000000000000FFFFFFFF0000394300003C42000000000000604100000000FFFFFFFF0000474300003C42000000000000000000006041FFFFFFFF0000394300007442000000000000604100006041FFFFFFFF00004743000074420000000030F3A248020000006014C908000000000000000000000000FFFFFFFF00000000F8F1A248020000008014C908000000000000000000000000FFFFFFFF0001000060F2A24802000000A014C908000000000000000000000000FFFFFFFF00010000C8F2A24802000000C014C908000000000000000000000000FFFFFFFF0001000030F3A2480200000000000000000000000000000000000000FFFFFFFF0001000098F3A248020000000015C908000000000000000000000000030001000000000000F4A248020000002015C908000000000000000000000000030001000000000068F4A248020000004015C9080000000000000000000000000300010000000000D0F4A248020000006015C908000000000000000000000000030001000000000038F5A248020000008015C9080000000000000000000000000300010000000000A0F5A24802000000A015C908000000000000000000000000030001000000000008F6A24802000000C015C908000000000000000000000000030001000000000070F6A24802000000E015C9080000000000000000000000000300010000000000D8F6A248020000000016C908000000000000000000000000030001000000000040F7A248020000002016C9080000000000000000000000000300010000000000A8F7A248020000004016C90800
Expected 1: 遊ぶ?あの得体の知れない二体と?
Result 1: 靖苔腈腀芠苌鎾里苌鉭苪苈芢鏱里苆腈

Input 2: 93F1906C8163816382A282E2814193F191CC814200000000000000000001000000020000000300000004000000050000000600000007000000080000000900000B0000000000000000000000000000000000000000001F01000000000000000000000000FFFFFFFF00002A430000B841000000000000604100000000FFFFFFFF000038430000B841000000000000000000006041FFFFFFFF00002A4300001442000000000000604100006041FFFFFFFF00003843000014420000000090F0A248020000003814C908000000000000000000000000FFFFFFFF0000000058EFA248020000005814C908000000000000000000000000FFFFFFFF00010000C0EFA248020000007814C908000000000000000000000000FFFFFFFF0001000028F0A248020000009814C908000000000000000000000000FFFFFFFF0001000090F0A2480200000000000000000000000000000000000000FFFFFFFF00010000F8F0A24802000000D814C908000000000000000000000000030001000000000060F1A24802000000F814C9080000000000000000000000000300010000000000C8F1A248020000001815C908000000000000000000000000030001000000000030F2A248020000003815C908000000000000000000000000030001000000000098F2A248020000005815C908000000000000000000000000030001000000000000F3A248020000007815C908000000000000000000000000030001000000000068F3A248020000009815C9080000000000000000000000000300010000000000D0F3A24802000000B815C908000000000000000000000000030001000000000038F4A24802000000D815C9080000000000000000000000000300010000000000A0F4A24802000000F815C908000000000000000000000000030001000000000008F5A248020000001816C908000000000000000000000000030001000000000070F5A248020000003816C908000000000000000000
Expected 2: 二人……いや、二体。
Result 2: 鏱遬腣腣芢苢腁鏱里腂

Input 3: 975682D48148814082A082CC93BE91CC82CC926D82EA82C882A293F191CC82C68148000000000000000100000002000000030000000400000005000000060000000700000008000000090000000A0000000B0000000C0000000D0000000E0000000F0000001000000B0000000000000000000000000000000000000000001F01000000000000000000000000FFFFFFFF008089430000B841000000000000604100000000FFFFFFFF008090430000B841000000000000000000006041FFFFFFFF0080894300001442000000000000604100006041FFFFFFFF00809043000014420000000030F3A248020000006014C908000000000000000000000000FFFFFFFF00000000F8F1A248020000008014C908000000000000000000000000FFFFFFFF0001000060F2A24802000000A014C908000000000000000000000000FFFFFFFF00010000C8F2A24802000000C014C908000000000000000000000000FFFFFFFF0001000030F3A2480200000000000000000000000000000000000000FFFFFFFF0001000098F3A248020000000015C908000000000000000000000000030001000000000000F4A248020000002015C908000000000000000000000000030001000000000068F4A248020000004015C9080000000000000000000000000300010000000000D0F4A248020000006015C908000000000000000000000000030001000000000038F5A248020000008015C9080000000000000000000000000300010000000000A0F5A24802000000A015C908000000000000000000000000030001000000000008F6A24802000000C015C908000000000000000000000000030001000000000070F6A24802000000E015C9080000000000000000000000000300010000000000D8F6A248020000000016C908000000000000000000000000030001000000000040F7A248020000002016C9080000000000000000000000000300010000000000A8F7A248020000004016C90800
Expected 3: 遊ぶ?あの得体の知れない二体と?
Result 3: 靖苔腈腀芠苌鎾里苌鉭苪苈芢鏱里苆腈

Filter dumped block of memory

I have a game that dumps lines into one block of memory so the previous text remains while only the new line is refreshed.
The output is something like this:

——悪党だけを狙って盗みを行う義賊。
怪盗トゥエルブだ。
----------
れてしまって……、
私一人だけが取り残されたの。
----------
�=iT

The first text has no problem and if i could filter out everything after ----- it would be perfect but I tried with regex and haven't managed.
What does ----- represent in regex for the tool?

Valid strings may be excluded during Hex to SJIS conversion

Example:

Game: Fate/Extra CCC
Emulator: PPSSPP v1.0.1
System: Windows 7 x86-64
Input: E9 78 82 B3 82 EA 82 C8 82 A2 82 C5 82 B2 8E E5 90 6C 97 6C 81 42 0A 82 A0 82 CC 8F CE 8A E7 81 41 88 AB 8D 49 82 DD 82 AA 82 A4 82 DC 82 AD 82 A2 82 C1 82 BD 8E 9E 82 CC 0A 8F 97 82 CC 8F CE 8A E7 82 C5 82 B7 82 A9 82 E7 81 42 00 FF FF FF 00 00 00 00 00

Occasional StackOverflowError when a previous selection exists

When hooking a new game while a selection from another game is active, the following error may occur:

An unexpected error occured. Please take a screenshot of this dialog an contact the maintainer:
java.util.concurrent.ExecutionException: java.lang.StackOverflowError
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at main.Main.main(Main.java:214)
Caused by: java.lang.StackOverflowError
at java.util.regex.Pattern$LazyLoop.match(Unknown Source)
at java.util.regex.Pattern$GroupTail.match(Unknown Source)
at java.util.regex.Pattern$BranchConn.match(Unknown Source)
at java.util.regex.Pattern$CharProperty.match(Unknown Source)
at java.util.regex.Pattern$BmpCharProperty.match(Unknown Source)
at java.util.regex.Pattern$Branch.match(Unknown Source)
at java.util.regex.Pattern$GroupHead.match(Unknown Source)

The bypass for this is to delete the following file C:\Users\<UserName>\AppData\Roaming\HookAnyText\config.data

Several questions

Hi,
First thank you for the nice work you did on HAT!

I encountered several problem so far:

Impossible to find the text through CE, I tried long and short sentences, it was not a game listed as incompatible
In another game, each team I press a button, the cheat window doesn't follow.
In another game, I had a huge error message coming from HAT when I loaded the game, the message told me to screen it and send it but I don't know if here is the right place.

Is it possible to communicate through a forum or discord?
Thank you and sorry for the bother

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.