USF Player.
Find a file
2026-01-20 18:48:18 +01:00
parallel-n64@4d12f14380 Update to use modern RSP HLE 2026-01-20 18:16:30 +01:00
.gitignore Update to use modern RSP HLE 2026-01-20 18:16:30 +01:00
.gitmodules Update to use modern RSP HLE 2026-01-20 18:16:30 +01:00
audio.c Update to use modern RSP HLE 2026-01-20 18:16:30 +01:00
audio.h minor fixes 2014-12-19 17:53:36 +01:00
audio_hle.h Update to use modern RSP HLE 2026-01-20 18:16:30 +01:00
audio_hle_main.c Remove unnecessary RSP ucodes 2026-01-20 18:48:18 +01:00
CMakeLists.txt Remove unnecessary RSP ucodes 2026-01-20 18:48:18 +01:00
cpu.c Update to use modern RSP HLE 2026-01-20 18:16:30 +01:00
cpu.h Build fixes (#9) 2022-04-29 14:56:16 +02:00
dma.c run astyle 2014-11-24 18:14:01 +01:00
dma.h run astyle 2014-11-24 18:14:01 +01:00
exception.c run astyle 2014-11-24 18:14:01 +01:00
exception.h run astyle 2014-11-24 18:14:01 +01:00
interpreter_cpu.c remove unused code 2015-04-02 18:48:19 +02:00
interpreter_cpu.h run astyle 2014-11-24 18:14:01 +01:00
interpreter_memory.c Update to use modern RSP HLE 2026-01-20 18:16:30 +01:00
interpreter_memory.h removed redundant declarations 2014-11-25 19:43:24 +01:00
interpreter_ops.c fix compiling and a misspelling (#8) 2020-12-25 12:24:26 +01:00
interpreter_ops.h run astyle 2014-11-24 18:14:01 +01:00
main.c Build fixes (#9) 2022-04-29 14:56:16 +02:00
main.h fix build 2015-02-14 09:47:23 +01:00
makefile Remove unnecessary RSP ucodes 2026-01-20 18:48:18 +01:00
memory.c Update to use modern RSP HLE 2026-01-20 18:16:30 +01:00
memory.h removed redundant declarations 2014-11-25 19:43:24 +01:00
opcode.h format 2015-02-01 08:57:30 +01:00
pif.c transform to for loop 2014-11-25 16:59:05 +01:00
pif.h run astyle 2014-11-24 18:14:01 +01:00
psftag.c remove unused code 2015-04-02 18:48:19 +02:00
psftag.h run astyle 2014-11-24 18:14:01 +01:00
README.md Update to use modern RSP HLE 2026-01-20 18:16:30 +01:00
recompiler_cpu.c remove unused code 2015-04-02 18:48:19 +02:00
recompiler_cpu.h run astyle 2014-11-24 18:14:01 +01:00
recompiler_fpu_ops.c remove unused code 2015-04-02 18:48:19 +02:00
recompiler_memory.c Update to use modern RSP HLE 2026-01-20 18:16:30 +01:00
recompiler_memory.h Update to use modern RSP HLE 2026-01-20 18:16:30 +01:00
recompiler_ops.c remove unused code 2015-04-02 18:48:19 +02:00
recompiler_ops.h run astyle 2014-11-24 18:14:01 +01:00
registers.c run astyle 2014-11-24 18:14:01 +01:00
registers.h run astyle 2014-11-24 18:14:01 +01:00
rsp.c Build fixes (#9) 2022-04-29 14:56:16 +02:00
rsp.h Build fixes (#9) 2022-04-29 14:56:16 +02:00
rsp_interpreter_cpu.c remove unused code 2015-04-02 18:48:19 +02:00
rsp_mmx.c run astyle 2014-11-24 18:14:01 +01:00
rsp_recompiler_analysis.c run astyle 2014-11-24 18:14:01 +01:00
rsp_recompiler_cpu.c Build fixes (#9) 2022-04-29 14:56:16 +02:00
rsp_recompiler_cpu.h run astyle 2014-11-24 18:14:01 +01:00
rsp_recompiler_ops.c Build fixes (#9) 2022-04-29 14:56:16 +02:00
rsp_recompiler_ops.h run astyle 2014-11-24 18:14:01 +01:00
rsp_registers.h run astyle 2014-11-24 18:14:01 +01:00
rsp_sse.c run astyle 2014-11-24 18:14:01 +01:00
rsp_x86.c Build fixes (#9) 2022-04-29 14:56:16 +02:00
rsp_x86.h run astyle 2014-11-24 18:14:01 +01:00
tlb.c remove unused code 2015-04-02 18:48:19 +02:00
tlb.h run astyle 2014-11-24 18:14:01 +01:00
types.h run astyle 2014-11-24 18:14:01 +01:00
usf.c remove unused code 2015-04-02 18:48:19 +02:00
usf.h remove unused code 2015-04-02 18:48:19 +02:00
x86.c Build fixes (#9) 2022-04-29 14:56:16 +02:00
x86.h run astyle 2014-11-24 18:14:01 +01:00
x86_fpu.c run astyle 2014-11-24 18:14:01 +01:00

lazyusf

Converter for Ultra 64 Sound Format (usf and miniusf) by Josh W (http://joshw.info) based on 64th Note.

This tool is based on JoshW's audacious plugin "lazyusf". It was rewritten to a standalone commandline tool.

Updated by Okoniri to use modern HLE RSP implementations from parallel-64.

Build

mkdir -p build
cd build
cmake ..
make

OR

make

Build Dependencies

  • cmake
  • make
  • gcc
  • gcc-c++
  • [optional] flac-devel: needed if you wish to write directly to .flac files
  • [optional] libao-devel: needed if you want support for on-the-fly playback

Usage

lazyusf [OPTIONS] "soundtrack name.miniusf"

By default the PCM output is written to "soundtrack name.miniusf.au". For more help run lazyusf without any parameters.

FAQ

Q: The output of Donkey Kong 64 is slower than in the original game.

A: The USF Set for DK64 was ripped from the PAL version, see kode54's comment. Lazyusf only takes care of emulating NTSC Roms, hence timings get wrong and DK64 internally samples at 21617 Hz. To fix that, simply enable rounding the samplerate by using the -r option.

TODO

  • be able to specify multiple files to play sequentially
  • be able to switch between those files
  • adapt usage function
  • adapt SIGINT and SIGTERM