You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
I have been playing around with this tool for a few weeks and have finally gotten good results, using a slightly modified version based off of the SDK-New-Features branch since it produces much more usable results with a few minor fixes.
I have been able to inject (internal) and call many different functions successfully, but I have hit a road block in the area of FText, since many fields in this particular game use FTexts instead of FStrings.
As part of the UKismetTextLibrary class, I get many utility functions, including these:
While STATIC_Conv_TextToString works perfectly, STATIC_Conv_StringToText instantly Fatal Errors.
SDK::FString str = SDK::UKismetTextLibrary::STATIC_Conv_TextToString(whateverFText); <--- works fine
SDK::FText txt = SDK::UKismetTextLibrary::STATIC_Conv_StringToText(L"Gamer Time"); <--- Fatal Error
This appears to be the same for (at least some) other functions in UKismetTextLibrary that return FText as well, including FText->FText ones like STATIC_TextToUpper.
Doing some debugging, the error occurs inside ProcessEvent (the call to fn crashes):
(note that ProcessEvent does work for many other functions)
Additionally, without full FText support, I'm missing FText::FromString (and FText::AsCultureInvariant), which would serve the same purpose as STATIC_Conv_StringToText.
I'm not sure why FText is hardcoded like it is; do we not know the format of the UnknownData?
Am I just misunderstanding something? (I'm an experienced programmer but new to UE4)
Does this work with other games?
Otherwise, do we know of another way to create an instance of an FText from a string?
Any info would be appreciated!
The text was updated successfully, but these errors were encountered:
I have been playing around with this tool for a few weeks and have finally gotten good results, using a slightly modified version based off of the
SDK-New-Features
branch since it produces much more usable results with a few minor fixes.I have been able to inject (internal) and call many different functions successfully, but I have hit a road block in the area of
FText
, since many fields in this particular game useFText
s instead ofFString
s.As part of the
UKismetTextLibrary
class, I get many utility functions, including these:While
STATIC_Conv_TextToString
works perfectly,STATIC_Conv_StringToText
instantly Fatal Errors.This appears to be the same for (at least some) other functions in
UKismetTextLibrary
that return FText as well, includingFText
->FText
ones likeSTATIC_TextToUpper
.Doing some debugging, the error occurs inside ProcessEvent (the call to fn crashes):
(note that ProcessEvent does work for many other functions)
Additionally, without full
FText
support, I'm missingFText::FromString
(andFText::AsCultureInvariant
), which would serve the same purpose asSTATIC_Conv_StringToText
.I'm not sure why
FText
is hardcoded like it is; do we not know the format of the UnknownData?Am I just misunderstanding something? (I'm an experienced programmer but new to UE4)
Does this work with other games?
Otherwise, do we know of another way to create an instance of an
FText
from a string?Any info would be appreciated!
The text was updated successfully, but these errors were encountered: