just fyi, you can run code that uses ctrulib to run under spider. the main thing is you need to somehow clean up spider (kill threads, close handles) and figure out *where* to put your code (on 9.2 and below you can use rohax to remap everything the way you want, but on 9.3+ you're limited to taking over a CRO).
there's code in ninjhax that cleans up spider's environment, but some of it relies on having rohax.
tbh, i think a better solution than this would be :
- on 9.3+, takeover an existing app from spider so you can just copy code over its .text with gspwn (should be pretty easy, see regionthree for an example of how to do this)
- on 9.2 and below, use the later stages of ninjhax to do rohax, clean up spider and use hb service to run 3dsx files.
neither of those things should be too hard, would just take time basically. i can guarantee that they're better than making a spider-specific "library" though.
in any case, good luck.