Cemu hook

What Is Cemuhook?

What this is

  • A nearly complete h264 module for cemu, with an implementation similar to what an official one would be
  • GamePad input source override for cemu, including full motion sensing support (requires additional software, see the guide)
  • Think of it like a pcsx2 plugin, implementing something not in the core

Why did you do this?

  • The official devs have deemed h264 module a low-priority. Why not take the opportunity if it's within my abilities?
  • Lots of people were trying to unsuccessfully wrangle the mouse to get gyro orientations that arent possible with just 2d data
  • Experimenting with the emulator internals

How to use

  • Extract contents of zip into Cemu folder
  • Enjoy

Downloads

Current versions

Older versions

Changelog

Changes

  • 0.5.2.2 - Add compatibility with Cemu 1.8.2 (and hopefully any newer versions in the future)
  • 0.5.2.1 - Adds workaround that fixes rendering problems in Mario Tennis Ultra Smash, game runs pretty much perfectly now
  • 0.5.2.0 - Shared Fonts are no longer in the zip file, instead you can download them via the GUI if needed (if you've previously only had the bundled CafeStd.ttf you should delete it as the new one is much better), added -nohook command line option
  • 0.5.1.1 - Implements H264DECCheckDecunitLength (fixes softlock before menu on Mario Tennis Ultra Smash, might improve some other games that use raw 264 streams instead of mp4)
  • 0.5.1.0 - Resizable cemu window! (thanks frognik for demonstrating that this is possible), and the "Keep aspect ratio" option now respects the width/height set in graphics packs (or game profiles, new variable names customARWidth and customARHeight under [Graphics])
  • 0.5.0.1 - Fixed mistake that caused DS4 Gyro deadzones to be unnecessarily high (40deg/sec)
  • 0.5.0.0 - Added alternative GamePad input provider (controller chosen by dropdown menu) with full motion sensor data support ! See the guide on how to set it up
  • 0.4.4.0 - Shared system fonts can now be loaded from ttf files (zip comes with OpenSans-SemiBold, you can supply your own, 4 ttf files in total)
  • 0.4.3.0 - Added much more CPU affinity options that now persist (saved to configuration file)
  • 0.4.2.0 - Added options to force texture uploads for video frames (see included profiles for more info), assigned global hotkeys to hook's menu items
  • 0.4.1.1 - Just a hotfix version to make it compatible with Cemu 1.8.1
  • 0.4.1.0 - Only push out one frame at a time in normal callback, affinity is on by default on non-module CPUs, remove robust context
  • 0.4.0.3 - Slightly more accurate video timestamps, doesn't seem to make any more games run
  • 0.4.0.2 - Fix titlebar crash, make affinity and robust context menu options instead of mandatory
  • 0.4.0.1 - Try fixing Win7 cert-related crash on load, dont use OpenGL robust context anymore since it doesnt do anything
  • 0.4.0.0 - Update for 1.7.4, the GX2SetGPUFence hack menu item now just controls the disableGPUfence option, which has better timing
  • 0.3.3.1 - Fix stutter when some games open videos, another try at fixing Win7 crash on startup
  • 0.3.3.0 - Attempt to correct video timing (HW, Pokken, Sochi 2014 can now get to menus), also fix a bug that crashed some Win7 systems
  • 0.3.2.1 - Add width offset back in because graphics packs cannot otherwise distinguish videos in some games
  • 0.3.2.0 - Remove width offset and actually change 1280 check in Cemu internals (fixes DK:TF, HW, and also softdec games)
  • 0.3.1.0 - Fix MK8, DK:TF, go back to -16 width offset, remove VM check
  • 0.3.0.1 - Fix Cemu stuck on loading dll on Windows 7 systems
  • 0.3.0.0 - Implement GX2SetGPUFence skip hack, set CPU affinity to only physical cores at start, and change h264 output width hack to +16 instead of -16 pixels
  • 0.2.0.0 - Initial release

Donate to rajkosto here!