Artikash / Textractor

Extracts text from video games and visual novels. Highly extensible.
GNU General Public License v3.0
2.14k stars 205 forks source link

H-CODES are not being saved #228

Closed FabioManoel1977 closed 5 years ago

FabioManoel1977 commented 5 years ago

Sorry bad English

game: マッチング結婚~アプリで見つける最高の花嫁~ https://vndb.org/v25922 H CODE: /HQ4@63610:matchingm.exe

This not happens only with this game, this happens with all game shat I tried it.

I am using latest version. I am on Windows 10.

The default Textractor Hook comes with the character name together with text. I hate it, then, I use a HCODE that have just text, no name.

Too bad, Textractor not save the HCODE, even clicking the "save Hook " option

I recorded a video on youtube showing it. My capture card not show mouse click, but, I guarantee that I clicked the save hook option.

https://www.youtube.com/watch?v=ToA0tlUr228&feature=youtu.be

Then I am forced every time that I start the game I need to add again the hook.

Is possible to make a way to Textractor save the hook and I never again needs to add it again ?

Thank you very much your had work, I love textractor and I cannot imagine my life without it anymore.

Artikash commented 5 years ago

Try running Textractor as admin. If that doesn't work, please attach/send your SavedHooks.txt file.

FabioManoel1977 commented 5 years ago

SavedHooks.txt

I tried it and not make any difference running it like admin, unfortunately. I attached savedhook.txt. The HCODE is saved in the txt file, but, for some unknown reason it is being disabled when the game start and then I am forced to add it manually... Who know why this is happening... Or maybe textractor is failing in to load savedhook.txt for some reason...

I guess the reason is that textractor is indeed failing in to load savedhook.txt . in old version, when I start a game the latest hook automatically was being loaded, but, this latest version it not happens anymore...

EDITED

Yes, I downloaded "Textractor-4.6.1-Zip-Version-English-Only.zip" and it is working 100% perfect.

Is this really proved that indeed the latest version have a bug that cannot load savedhook.txt, at least in windows 10

I will keep using Textractor-4.6.1 since this version works 100% perfect.

Artikash commented 5 years ago

Try extracting this to the folder with 4.7.0 installed and attaching your game and tell me what the console outputs. Textractor_Debug.zip

FabioManoel1977 commented 5 years ago

I not get it, I used exe file inside Textractor_Debug.zip and it just another textractor version, I not see any debug.

Artikash commented 5 years ago

Attach to matchingm.exe with it and paste the console output.

FabioManoel1977 commented 5 years ago

Is it ?

Textractor x86 v made by me: Artikash (email: akashmozumdar@gmail.com) Project homepage: https://github.com/Artikash/Textractor Tutorial video: https://tinyurl.com/textractor-tutorial Please contact me with any problems, feature requests, or questions relating to Textractor You can do so via the project homepage (issues section) or via email Source code available under GPLv3 at project homepage I'm currently looking for a new job: email me if you know anyone hiring US software engineers If you like this project, please tell everyone about it :) D:/Translation Aggregator/Textractor x86 - 4.7.0/SavedHooks.txt Textractor: pipe connected Textractor: hijacking process located from 0x00400000 to 0x005EF000 Textractor: inserting hook: D3DXCreateTextA Textractor: inserting hook: D3DXCreateTextW Textractor: inserting hook: ID3DXFont::DrawTextA Textractor: inserting hook: ID3DXFont::DrawTextW Textractor: inserting hook: GetTextExtentPoint32A Textractor: inserting hook: GetTextExtentExPointA Textractor: inserting hook: GetCharacterPlacementA Textractor: inserting hook: GetGlyphIndicesA Textractor: inserting hook: GetGlyphOutlineA Textractor: inserting hook: ExtTextOutA Textractor: inserting hook: TextOutA Textractor: inserting hook: GetCharABCWidthsA Textractor: inserting hook: GetCharABCWidthsFloatA Textractor: inserting hook: GetCharWidth32A Textractor: inserting hook: GetCharWidthFloatA Textractor: inserting hook: GetTextExtentPoint32W Textractor: inserting hook: GetTextExtentExPointW Textractor: inserting hook: GetCharacterPlacementW Textractor: inserting hook: GetGlyphIndicesW Textractor: inserting hook: GetGlyphOutlineW Textractor: inserting hook: ExtTextOutW Textractor: inserting hook: TextOutW Textractor: inserting hook: GetCharABCWidthsW Textractor: inserting hook: GetCharABCWidthsFloatW Textractor: inserting hook: GetCharWidth32W Textractor: inserting hook: GetCharWidthFloatW Textractor: inserting hook: DrawTextA Textractor: inserting hook: DrawTextExA Textractor: inserting hook: TabbedTextOutA Textractor: inserting hook: GetTabbedTextExtentA Textractor: inserting hook: DrawTextW Textractor: inserting hook: DrawTextExW Textractor: inserting hook: TabbedTextOutW Textractor: inserting hook: GetTabbedTextExtentW Textractor: inserting hook: GdipAddPathString Textractor: inserting hook: GdipAddPathStringI Textractor: inserting hook: GdipMeasureCharacterRanges Textractor: inserting hook: GdipDrawString Textractor: inserting hook: GdipMeasureString Textractor: inserting hook: GdipDrawDriverString Textractor: inserting hook: GdipMeasureDriverString Textractor: inserting hook: lstrlenA Textractor: inserting hook: lstrcpyA Textractor: inserting hook: lstrcpynA Textractor: inserting hook: lstrlenW Textractor: inserting hook: lstrcpyW Textractor: inserting hook: lstrcpynW Textractor: inserting hook: MultiByteToWideChar Textractor: inserting hook: WideCharToMultiByte Textractor: inserting hook: CharNextA Textractor: inserting hook: CharNextW Textractor: inserting hook: CharPrevA Textractor: inserting hook: CharPrevW Textractor: inserting hook: CharNextExA Textractor: inserting hook: CharPrevExA Textractor: inserting hook: SysAllocString Textractor: inserting hook: SysAllocStringLen vnreng: INSERT SystemC#2 Textractor: inserting hook: SystemC Textractor: Send ERROR (likely an incorrect H-code) Textractor: Send ERROR (likely an incorrect H-code) Textractor: inserting hook: UserHook1

FabioManoel1977 commented 5 years ago

It is funny, using Textractor_Debug.exe the h-code is loading perfect fine. Can I keep using Textractor_Debug.exe instead of the normal Textractor.exe file ?

EDITED:

Now I tested normal exe file and it is now as well working nicely... I not understand what happened wrong before, but, now is working everything perfect...

Sorry to take your time, I guess is everything ok now.