Meanwhile...
http://code.google.com/p/feos-tas/source/list
Fri, May 10 2013 9:08pm pcsx: Calling menu now resets movie mode.
Fri, May 10 2013 8:01pm now it's possible to switch spu plugin multiple time in a single script
Fri, May 10 2013 3:53pm pcsx: SPU switch looks implemented. State gets passed between pluings. Sound works.
Fri, May 10 2013 5:02am Added string as param for pcsx.switchspu for dll change
Fri, May 10 2013 2:35am pcsx: lua function to switch spu almost done. It loads eternal spu, but it has no sound.
One can use a test script like this:
Download SwitchSPU.luaLanguage: lua
local key = {"V", "B"}
local now = {};
local lastframe = {}
function KeyEvent()
for k, v in pairs(key) do
now[k] = input.get()[v]
now[v] = now[k];
if now[k] and not lastframe[k] then
print(v)
if (v=="V") then
print("load spuTAS")
pcsx.switchspu("spuTAS.dll");
elseif (v=="B") then
print("load spuEternal")
pcsx.switchspu("spuEternal.dll");
end
end
lastframe[k] = now[k]
lastframe[v] = now[k]
end
end
while true do
KeyEvent()
emu.frameadvance()
end