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

Access violation at ObjectArray::GetByIndex, Octopath Traveler 1 #248

Open
RossyDoubleUnderscore opened this issue Oct 8, 2024 · 6 comments

Comments

@RossyDoubleUnderscore
Copy link

Game crashing upon injecting built .dll into Octopath Traveler 1. Tried different injectors, debug/release solutions, running shipped .exe directly, and opening .exe as admin; no changes.

DLL's console window right before crash:
image

VS window when attaching to OT and injecting .dll. Call Stack in bottom left, VS's Output in bottom right:
image

@Fischsalat
Copy link
Collaborator

It didn't find GObjects, that's usually because they either changed the layout of the class, or it's encrypted. Look at the game in IDA.

@RossyDoubleUnderscore
Copy link
Author

RossyDoubleUnderscore commented Oct 8, 2024

Probably changed the layout of the class then. As far as I know Square's UE games use a modified UE engine. I know at least the .pak file is unencrypted. I'll try to figure out GObjects using Ghidra and manually add it then.

@xVoidie
Copy link

xVoidie commented Oct 15, 2024

Setting the GObjects offsets yourself will fix the issue, also set chunked to false "0x29E5C20"
image

@Fischsalat
Copy link
Collaborator

Strange, it should be found if it's using the default layout without encryption.

@xVoidie
Copy link

xVoidie commented Oct 15, 2024

Strange, it should be found if it's using the default layout without encryption.

Couple games I've dumped can't recall the names off my head but they have had the same issue too where I had to manually import GObjects

@Fischsalat
Copy link
Collaborator

Hm, I guess I should take a look at that.

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