RazTools/Studio

[request] have AssetMap include MonoBehaviour entries

modusc896d352 opened this issue · 4 comments

imagine if you're trying to sort dozens and dozens of baked-in C# code through dozens and dozens of unity asset files. that may include files like "level0", "globalgamemanagers" and/or even a single file that ends with the "bundle" file extension.

AssetMap building is great but it can only gather tons of animations, models, materials, sounds, textures and videos. but not MonoBehaviour entries. despite them being basically the "proteins" of an entire Unity game. despite tons of them existing in all of these asset files.

trying to preview an MonoBehaviour entry has you lose minds over which "FileID" (if that) and PathID this entry is referencing, so if possible (big if) i need to see AssetMap build include MonoBehaviour entries as well, thanks in advance.

try disabling minimal assetmap if that doesnt include it then just edit the code

OK, i don't really know how to disable minimal assetmap but i'll see what i can do

the problem i'm having here is the game has like dozens of MonoBehaviour entries spread across various packed files, and though i could just edit the code sure, i don't know which code i would really need to edit here given that, again, there are so many of them to choose from.

actually i don't even want to edit it, i just want to see it instead. but i just want to see them sorted out into a somewhat-comprehensive list to get myself some piece of mind instead of going through each and every bundle file to see which package has this one piece of code or something.

by editing i meant studio code

switch (objectReader.type)

also can just use cli and dummypath option to extract all monobehavior

ok, i understand now. just use CLI, set dummypath option to extract all C# code. got it.

closing this issue now, though would be nice if AssetMap building included MonoBehaviour as well.