masagrator / UnityGraphicsWarehouse

Storage for offsets files
6 stars 4 forks source link

Disco Elysium (base game and updated) #16

Open cualquiercosa327 opened 2 years ago

cualquiercosa327 commented 2 years ago

Hello, I am trying to see this game files for learning, port cheats and pc mods.. but I am unable to find anything on the main. I have searched the names you post on the Readme but after a long time, IDA Pro says it doesn't exist.

I have also converted it to elf, it does successfully, but when I try IL2CPP, it said it was no build with it, which make me impossible to found any files (as Assembly-CSharp.dll).

It happens the same with the assets but I can open them without issues with Asset Extractor.

I have done with both main : the one of the base game and the one which is installed after update it to the latest version.

I am very interested on this version as the update is able to reduce the loading times a lot. (I am trying to found what code they have changed).

I extracted both files : everything from the base and everything from the update and use windiff to see what files have changed, this way it should be easier.

For finishing it has a nro for streaming the textures. I can decompile it without issues and curiously almost all funcion has their names.

Thanks

masagrator commented 2 years ago

I have also converted it to elf

Don't do that, il2cpp can read only clean main, no conversion is needed

NROs that are used as libraries must have symbols for main to detect where is each function, so it's nothing unusual that it has symbols. Unusual is that Unity game at all has NRO. I never saw an Unity game having NRO.

cualquiercosa327 commented 2 years ago

I have already tried il2cppdumper with the main and I had this error : "can't use auto mode to process file, input offset pointers to try manual mode".

masagrator commented 2 years ago

Then your file is not supported because il2cppdumper code is not up to date. Write issue in their github and wait for update. Which can take months

cualquiercosa327 commented 2 years ago

Hello, fortunately with this version it runs perfectly:

https://github.com/Perfare/Il2CppDumper

How could i extract the codes for adding them to UnityGraphicsWarehouse? Thanks

masagrator commented 2 years ago

You have explained in readme. This is for people who know already how to use Ghidra.

cualquiercosa327 commented 2 years ago

I have tried with IDA Pro but sadly it is unable to find these texts