The DLL just reads the controller and then sends the right input to the program. The rest of the journey is an excellent process of going through the Windows documentation and implementing the features. This crate does much of the heavy lifting involved with injecting a DLL into a target process. He starts by creating a Rust project that uses the DLL-Syringe crate (the rust version of dependency management). It’s a fantastic tutorial that shows the technique. So with a little bit of Rust, he wrote some code that could be injected into the emulator via DLL injection. In the case of, he found a SNES emulator (Snes9X) that didn’t support controllers to showcase the technique. But in many cases, the software is closed-source. Ever been frustrated that a software package was missing a feature you want? In the best-case scenario, the software would be open source and you could just tweak the code and rebuild.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |