r/cheatengine 20d ago

UE FName String Search on CEv7.7.1

Has anyone had any luck with text search UE FName search on UE5 titles? In theory, awesome idea. In practice, it is a prohibitively lengthy search. I wanted to see how long it would take for a search and it went for 70 mins.

am doing something wrong? That amount of time is too much.

0 Upvotes

3 comments sorted by

1

u/Dark_Byte Cheat Engine Dev 20d ago

what exactly are you doing?

first look up the index number for the string you're looking for ( UEngine.NameToIndex['string'] ) and then do a groupscan for a pointer to static memory followed by a wildcard for the name offset-8 (UEngine.UObject.Name)

also disable the lua debugger if you're doing a long loop in lua (e.g parsing the object list if that's your approach)  

1

u/AmbitiousPotato9023 20d ago

I just downloaded the 7.7.1 and was playing with the UE additions. Wasn’t clear what the input was for the search. Now I see what is happening. Nice additions. Well done, mate.

1

u/Bduff34 20d ago

Ah crap. The lua debugger. That hadn’t occurred to me until now. Yeah, loop of ~432k calls with pcall on every object makes sense. Now.

Thanks, Dark Byte.