Reswitched Weekly 14
Hello and welcome to Reswitched Weekly, a weekly summary of the progress made by the reswitched team and wider community around homebrew development for the Nintendo Switch.
We’re doing two weeks for the price of one this time (again).We got sd card support and full c++ support.
- There have been a number of changes to the build system
IMPORTANT: All libraries and support files are now installed into the
LIBTRANSISTOR_HOMEshould point to this /path/to/libtransistor/dist directory, not the /path/to/libtransistor/ directory anymore.
- @dvdfreitag added rules to prevent building with root - fixing a surprisingly common class of problems…
- @roblabla made MacOS users’ life easier, by removing the requirement to add llvm’s prefix to PATH. Libtransistor will now ask brew for the prefix on it’s own.
- @misson20000 cleaned up the build system for binary packaging.
- @horicon fixed the clean and distclen rules.
- IMPORTANT: All libraries and support files are now installed into the dist/ subfolder.
- @misson20000 fixed C++ a number of bugs for nxodance. In doing so fixed c++ exceptions. Full c++ support has been merged.
- @misson20000 split ace_loader into 2 parts. wk_ace for cleaning up the browser and sysmod_ace for loading the NROs.
- @roblabla overhauled the WIP code generator of SwIPC, which will now stop trying to generate function with types it does not understand.
- @roblabla made some fixes to Mephisto’s fsp-srv emulation. Closed file handles will now get flushed to disk, and you can now call ReadDirectory.he also added support for loading KIPs in Mephisto.
- @Thog added some more BSD socket functions.
- @roblabla added sd card support to libtransistor.
See all the changes at the latest release
What people are working on
- @roblabla is working on a standalone toolchain in rust, Megaton Hammer
- @misson20000 is working on getting binary distributions rolling for libtransistor.
- @misson20000 has started working on a native C++ api for libtransistor. discussion here
Call for participation
Reswitched is always looking for people to work on the various projects. If you want to give a helping hand, hop on the Discord so we can coordinate the work!
In the libtransistor department, a lot of things could be implemented without much requirements beyond “knowing C”. Below are a list of issues, of varying difficulty, that we feel the community could help on. If you’re interested in working on those, but need some help, feel free to reach out to @roblabla on Discord. I’ll be glad to write some mentoring notes on what needs to be done, and to guide you through the process.
- Documentation work!
- Enhancing the libtransistor docs. You can take a look at this issue.
- SwIPC documentation. We need to make it easy for people to know what each function and service does.
- JIT API! The new hbl allows us to call svcMapProcessCodeMemory, meaning we can now JIT. We should make sure we have a proper API for this. Mimicking mprotect would probably be the best past, to be compatible with existing code.
- Joystick support in SDL2! If you want to pick this up, look at this issue.
- Thread Local Storage. Check this issue.
- Implementing more services into libtransistor. We’re lacking a bunch of things like USB support and whatnot.
- Port apps and libraries. Make sure they work! We have graphics and audio, the sky is the limit!
If you’re working on anything fun, please post on next week’s issue on GitHub. This way, I can include your stuff in here :D.