Kain Nobel
Member
Good day to everyone !
I need a tiny bit of help, I'm not familiar with Win32API stuff, and I'm not sure exactly how the game reads the RTP information from the registry, but I know the registry key I need it to look at.
I've got 'Standard' and 'Kain Nobel' as my two RTP folders, and they've both been confirmed in the registry, now how do I have my script look for all of the RTPs the game is using from the registry?
Right now, I specify them in a constant
But how do I auto-detect the RTPs in use, instead of having to specify them by hand?
The reason I need this is because my Extreme Debug Menu allows you to playtest all BGM/BGS/SE/ME, which by default lists all the music in the Game folder only, but I need it to list the audio files in the respective RTPs assigned to the game as well. RPG::Cache handles it with graphics, but not audio.
I need a tiny bit of help, I'm not familiar with Win32API stuff, and I'm not sure exactly how the game reads the RTP information from the registry, but I know the registry key I need it to look at.
Code:
'HKEY_LOCAL_MACHINE\SOFTWARE\Enterbrain\RGSS\RTP\'
I've got 'Standard' and 'Kain Nobel' as my two RTP folders, and they've both been confirmed in the registry, now how do I have my script look for all of the RTPs the game is using from the registry?
Right now, I specify them in a constant
Code:
RTP = []
RTP[0] = 'C/Program Files/RPG Maker XP/'
RTP[1] = 'C/Program Files/RPG Maker XP/Kain Nobel RTP/'
But how do I auto-detect the RTPs in use, instead of having to specify them by hand?
The reason I need this is because my Extreme Debug Menu allows you to playtest all BGM/BGS/SE/ME, which by default lists all the music in the Game folder only, but I need it to list the audio files in the respective RTPs assigned to the game as well. RPG::Cache handles it with graphics, but not audio.