AurieFramework / YYToolkit

The definitive internal modding tool for GameMaker games
GNU Affero General Public License v3.0
72 stars 10 forks source link

CScript seems corrupted in DR 1.10 #33

Closed Archie-osu closed 2 years ago

Archie-osu commented 2 years ago

The pScript member is always nullptr, so the structure may have been changed. More investigation is needed.

Archie-osu commented 2 years ago

It seems YYG removed the Stream member from the CScript struct. ida_cscript

Archie-osu commented 2 years ago

The way to properly do this might be to use VFuncs instead of accessing the members directly - this is something I wanted to do for a long time, but never made it into reality. Seems like now's the time to do it!

Archie-osu commented 2 years ago

The VFuncs do not exist in the runner, thus I have resorted to a hack. Consider this solved.