# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/turtlebeach-firmware/turtlebeach-firmware.conf # Copyright (C) 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- autoextract=0 runmake=0 tb_install() { unzip `match_source_file -p 'msn'` unzip `match_source_file -p 'pnd'` unzip MsndFiles.zip mkdir -p $root/lib/firmware/turtlebeach/ install DSPCODE/MSNDINIT.BIN $root/lib/firmware/turtlebeach/msndinit.bin install DSPCODE/MSNDPERM.REB $root/lib/firmware/turtlebeach/msndperm.bin for f in pndspini pndsperm; do sed -n '/.*DB[[:space:]]*/{s///; s/0\(..\)H/\1/g; s/,//gp}' \ PINNDDK/dspcode/$f.asm | xxd -r -p > $root/lib/firmware/turtlebeach/$f.bin done } hook_add postmake 5 tb_install