MeltyPlayer / FinModelUtility

Model viewer and command-line tools for extracting models from various GCN/3DS/PC games en-masse.
GNU General Public License v3.0
89 stars 9 forks source link

Add support for NKit ISOs #9

Closed matsmikill closed 1 year ago

matsmikill commented 1 year ago

hi I'm currently trying to extract models from super mario sunshine, or any other gamecube games, but i get this following error, on the Command Prompt,

F:\NINTENDO MODELS EXTRACTION TOOLS\FinModelUtility-main\cli>tools\universal_model_extractor\universal_model_extractor.exe super_mario_sunshine Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. at uni.games.ExtractorUtil.ExtractAll[T](IFileBundleGatherer1 gatherer, IModelLoader1 loader) at uni.games.super_mario_sunshine.SuperMarioSunshineExtractor.ExtractAll() at uni.cli.Cli.<>c.

b__014(SuperMarioSunshineOptions ) at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult1 result, Action1 action) at uni.cli.Cli.Main(String[] args)

F:\NINTENDO MODELS EXTRACTION TOOLS\FinModelUtility-main\cli>pause Press any key to continue . . .

plus I'm using the newest release of the program, Thanks,

MeltyPlayer commented 1 year ago

I'm not able to recreate this, is there any more information in the error message--for example, a line number?

If not, would you be able to put your Super Mario Sunshine in this website to get the MD5 hash, in case you're using a different ROM from me? https://emn178.github.io/online-tools/md5_checksum.html

matsmikill commented 1 year ago

no that's all it is showing on the command prompt,

hash: 17e31424978cf85c558d66c445ea227e

matsmikill commented 1 year ago

And I'm using a .iso file,

MeltyPlayer commented 1 year ago

Based on this thread, it sounds like you might be using an NKit ISO (such as the ones from Vimm’s Lair)? https://www.romhacking.net/forum/index.php?topic=30584.0

If so, I don’t think those are actually compatible with the tools I use to extract the contents of the ROM. That’s something I’ve been meaning to look into at some point, because NKit ISOs are certainly more space efficient.

Can you try downloading another version of Super Mario Sunshine from a different site and give it another try?

matsmikill commented 1 year ago

Ok i will try that, but where do you get them from?, do you use iso files or something different,

MeltyPlayer commented 1 year ago

An ISO should work, as long as it’s not an NKit ISO and you rename it to ‘super_mario_sunshine.gcm’.

I’m probably not allowed to suggest any specific sites here, but if you search for “Super Mario Sunshine ROM” or “Super Mario Sunshine ISO” you should be able to find a download somewhere. A working ROM should be over 1GB.

matsmikill commented 1 year ago

Ok i think i understand it now, thanks for helping me,