wheremyfoodat / Panda3DS

HLE 3DS emulator
https://panda3ds.com/
GNU General Public License v3.0
882 stars 61 forks source link

[Feature Request] Extract exefs from games #295

Open SuperTavor opened 11 months ago

SuperTavor commented 11 months ago

citra skill issue, would appreciate if you could add it.

wheremyfoodat commented 11 months ago

The code to do this is already there pretty much, need a UI to actually do it though.

SuperTavor commented 11 months ago

epic! can't wait. btw, thanks for the literal godspeed response

wheremyfoodat commented 11 months ago

:rpog:

wheremyfoodat commented 11 months ago

You can hack ExeFS dumping into the source code real quick if you'd like too

SuperTavor commented 11 months ago

my cpp is not nearly good enough 😭

SuperTavor commented 11 months ago

guess I gotta watch another 6 hour course

wheremyfoodat commented 11 months ago

https://github.com/wheremyfoodat/Panda3DS/blob/26bb05bd8ea1b24df793a4853e9c47b8da96caf8/src/core/loader/ncch.cpp#L176-L214

This is the code that enumerates ExeFS files. You can use the same code used for reading the .code file to load the other ExeFS files, and dump them like this https://stackoverflow.com/a/14089675

SuperTavor commented 11 months ago

I'll try, thanks