subprocess call to open game
#1
Hi, I have scriped a little one-liner addon to launch the N64-Emulator "Project64" with MarioKart64 ROM.

to open the Emulator, I use

Code:
subprocess (['path/to/exe', 'path to ROM'], cwd=r'Path/to/emulatorDir', shell=False)

The emulator starts with the ROM loaded, but the sound is missing and it seems to run really slowly. (even the ingame menu lags)

The emulator is correctly installed on my System (Windows 7) and works just fine with the ROM (including sound), when launched from the explorer or the cmd.
Can you tell me, what I am doing wrong? A similar addon for a karaoke game works just fine, (though without
Code:
cwd
parameter.

How can I solve this?

Thank you in advance.

LuigiEd
Reply

Logout Mark Read Team Forum Stats Members Help
subprocess call to open game0