- Jul 6, 2017
- 127
- 267
Sorry, but I think there is a misunderstanding I didn't have something so complicated in mind.
It was just supposed to be a minimalistic change for the line 349 & 350 to display the actual keys that have been set through the integrated Configuration of UnRen at the very beginning of the script, %quicksavekey% & %quickloadkey% are already defined through that.
Here you can change the hotkeys to something else for example to F10 & F12
But the console will still return that the hotkeys are the defaults F5 & F9
With the little change that I suggested it would then output the keys that have been really set in the config.
I tested the change myself and even though it displays the new defined keys as they are beginning with "K_" I can now Quick Save & Quick Load with the new set hotkeys F10 & F12.
I suppose that the unren-quick.rpy which UnRen.bat creates overrides the default hotkeys if such have even existed before.
It was just supposed to be a minimalistic change for the line 349 & 350 to display the actual keys that have been set through the integrated Configuration of UnRen at the very beginning of the script, %quicksavekey% & %quickloadkey% are already defined through that.
Line 348: echo Default hotkeys: Line 349: echo + Quick Save: F5 Line 350: echo + Quick Load: F9 | Line 348: echo Set hotkeys: Line 349: echo + Quick Save: %quicksavekey% Line 350: echo + Quick Load: %quickloadkey% |
Code:
@echo off
REM --------------------------------------------------------------------------------
REM Configuration:
REM Set a Quick Save and Quick Load hotkey - http://www.pygame.org/docs/ref/key.html
REM --------------------------------------------------------------------------------
set "quicksavekey=K_F5"
set "quickloadkey=K_F9"
REM --------------------------------------------------------------------------------
REM !! END CONFIG !!
REM --------------------------------------------------------------------------------
Code:
set "quicksavekey=K_F10"
set "quickloadkey=K_F12"
With the little change that I suggested it would then output the keys that have been really set in the config.
I tested the change myself and even though it displays the new defined keys as they are beginning with "K_" I can now Quick Save & Quick Load with the new set hotkeys F10 & F12.
I suppose that the unren-quick.rpy which UnRen.bat creates overrides the default hotkeys if such have even existed before.
Last edited: