Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Honkai: Star Rail" unable to hook; "Couldn't Inject" #1323

Open
Mogam181 opened this issue Aug 7, 2024 · 4 comments
Open

"Honkai: Star Rail" unable to hook; "Couldn't Inject" #1323

Mogam181 opened this issue Aug 7, 2024 · 4 comments

Comments

@Mogam181
Copy link

Mogam181 commented Aug 7, 2024

Honkai Star Rail (HSR for short) is an action RPG game with high importance on story and writing. It has Japanese language settings and I like to use it as a study source for Japanese. I tried hooking it to Textractor (and LunaHook, an inspired and updated software) and it said "couldn't inject". Please tell me what I should do and whats the cause of this issue
Screenshot (2040)
Screenshot (2041)

@storycoolbro
Copy link

I'm not sure if you'll be able to hook HSR or any game where you have to connect to a server to be able to play that has any sort of anticheat system in place. I would think that the server would see the attempt to hook the games text as an attempt to tamper with the game to cheat in some way and would block the attempt possibly also flag the user in some way. also the fact hoyoverse uses their own engine that was originally designed for android going off that HI3 was their first game and was used as a test for building an open world in there engine before they released genshin (I have the pre-registration emblem in HI3 and still play). I may be wrong but I'm pretty sure all their popular games use the same engine HI3, Genshin, HSR, and ZZZ but I've not looked into that at all so they might not. since it's it's own unique engine someone would likely need to figure out how the engine processes game text and from the little I've seen cheat engine is usually used to do this at least for VNs. mind you this is just all me taking a wild guess as to why this is happening besides the reason that textractor probably doesn't have a single clue on how to hook the text from this games engine and doubt that's going to change anytime soon. there are plenty of other games that textractor can hook which you could use for the purpose of studying Japanese. you could possibly try the guys over in the agent community it's a script based text hooker but I imagine the issue with the game server detecting the script as an attempt to cheat would still be an issue but I could be wrong.

@Mogam181
Copy link
Author

Mogam181 commented Aug 12, 2024 via email

@snappie
Copy link

snappie commented Aug 25, 2024

Hey. I'm just guessing here, but I know Honkai Star Rail requires administrative privileges to run because of anticheat.
But this also means that you need to run your texthooker as an administrator, because else windows will now allow you inject a thread into it.

basically, rightclick your texthooker application, "run as administrator", and windows should allow you to hook into star rail.

Sidenote: the anticheat might not take kindly to you interfering with star rail's memory, I'm not entirely sure how a texthooker works and I think it should be fine since it porbably only reads memory, but use a throwaway account for testing, it might get banned!

@Mogam181
Copy link
Author

Mogam181 commented Aug 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants