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

Unity 2019.4.31f1 - unsupported #193

Open
Cr4nkSt4r opened this issue Nov 12, 2021 · 0 comments
Open

Unity 2019.4.31f1 - unsupported #193

Cr4nkSt4r opened this issue Nov 12, 2021 · 0 comments
Labels

Comments

@Cr4nkSt4r
Copy link

Cr4nkSt4r commented Nov 12, 2021

Cmd & Output:

Il2CppInspector.exe -i GameAssembly.dll -m global-metadata.dat

Il2CppInspector Command-Line Edition
Version 2021.1
(c) 2017-2021 Katy Coe - www.djkaty.com - www.github.com/djkaty

Using plugin: IL2CPP API Discovery
Using plugin: Binary metadata field order deobfuscator
Using plugin: Metadata strings XOR decryptor
Using plugin: Binary file XOR decryptor
Detected metadata version 24,4
Container format: PE32+
Container endianness: Little
Architecture word size: 64-bit
Instruction set: x64
Global offset: 0x0000000180000C00
No symbol table present in binary file
No matches via code heuristics
Required structures acquired from data heuristics
CodeRegistration struct found at 0x0000000183730A98 (file offset 0x0372EE98)
MetadataRegistration struct found at 0x00000001837345C0 (file offset 0x037329C0)
The detected Il2CppCodeRegistration / Il2CppMetadataRegistration structs do not pass validation. This may mean that their fields have been re-ordered as a form of obfuscation and Il2CppInspector has not been able to restore the original order automatically. Consider re-ordering the fields in Il2CppBinaryClasses.cs and try again.
Analyze IL2CPP data: 3,78 sec

Files:
GameAssembly.zip
global-metadata.zip

Game:
https://store.steampowered.com/app/739630/Phasmophobia/

Changes made to add the support:

Il2CppBinaryClasses.cs:40 changed
[Version(Min = 24.5, Max = 24.5)]
to
[Version(Min = 24.4, Max = 24.5)]

Il2CppBinaryClasses.cs:89 changed
[Version(Min = 24.5, Max = 24.5)]
to
[Version(Min = 24.4, Max = 24.5)]

Il2CppBinaryClasses.cs:92 changed
[Version(Min = 24.5, Max = 24.5)]
to
[Version(Min = 24.4, Max = 24.5)]

Il2CppBinaryClasses.cs:263 changed
[Version(Min = 24.5, Max = 24.5)]
to
[Version(Min = 24.4, Max = 24.5)]

MetadataClasses.cs:26 added
// Unity 2019.4.31f1 -> v24.4

There prob. was a reason, it was Min = 24.5, maybe another older v24.4 hadn't the same struct, as this file, keep that in mind, to everyone maybe making these changes.

@Cr4nkSt4r Cr4nkSt4r added the bug label Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant