Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aixxe/AfpViewerEx

Repository files navigation

AfpViewerEx

LLVM MinGW (Linux)

A bunch of hooks thrown together to capture frames from AfpViewerScene as transparent PNG files

Needed this for exporting some customizations. I've only tested it with IIDX 32. Your mileage will vary, etc.

Usage

  1. Enable the following patches before starting the game:
    • Increase 'All Factory Settings' Buffer
    • Reroute 'All Factory Settings' Test Menu → AfpViewerScene
  2. Load AfpViewerEx.dll as a hook library in your game command-line arguments
  3. Boot the game and select ALL FACTORY SETTINGS from the test menu to open the viewer
  4. Select the animation you want to capture and press Left or Right to pause it
  5. Press F12 to start capturing, then press Enter to start playing from the beginning

Captured frames are stored in the captures directory next to the AfpViewerEx.dll library

You should be able to convert it to another format now, e.g. .avif which has fairly good browser compatibility

ffmpeg -r 60 -i frame_%05d.png -strict -1 -f yuv4mpegpipe -pix_fmt yuva444p - | avifenc --stdin --fps 60 output.avif

Framerate will vary between animations, so be careful to use the correct value when converting

About

Hook to dump frames from IIDX AFP viewer as transparent PNGs

Resources

License

Stars

Watchers

Forks