r/howdidtheycodeit • u/1vertical • May 30 '23
Question How are unofficial modding software made without access to code bases?
Modding software that typically takes protected assets (like Valves's .vpk files), extracts them to textures, models, other random files that are usuable. These files are then modified and then reinjected (probably the opposite of the extract functions) into the protected files.
40
Upvotes
View all comments
Show parent comment
18
u/AdarTan May 30 '23
That's not really the case. What is actually happening is that the Common Intermediate Language (CIL) that Unity C# code gets compiled to has some very good decompilers and that the C# code plugs into the rest of Unity in well understood ways.