Last active
April 18, 2020 13:19
-
-
Save taroxd/d46b1ac69ba77cd068c8df14fc9aa93d to your computer and use it in GitHub Desktop.
Installer scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SET osu_exe=\"%~dp0osu!.exe\" | |
@SET open_command=%osu_exe% \"%%1\" | |
@SET default_icon=%osu_exe%,1 | |
REG add "HKCR\osu" /ve /t REG_SZ /d "osu! url handler" /f | |
REG add "HKCR\osu" /v "URL Protocol" /t REG_SZ /d "" /f | |
REG add "HKCR\osu\DefaultIcon" /ve /t REG_SZ /d "%default_icon%" /f | |
REG add "HKCR\osu\shell\open\command" /ve /t REG_SZ /d "%open_command%" /f | |
REG add "HKCR\osu!" /ve /t REG_SZ /d "osu! beatmap" /f | |
REG add "HKCR\osu!\DefaultIcon" /ve /t REG_SZ /d "%default_icon%" /f | |
REG add "HKCR\osu!\shell\open\command" /ve /t REG_SZ /d "%open_command%" /f | |
REG add "HKCR\.osz" /ve /t REG_SZ /d "osu!" /f | |
REG add "HKCR\.osz2" /ve /t REG_SZ /d "osu!" /f | |
REG add "HKCR\.osr" /ve /t REG_SZ /d "osu!" /f | |
REG add "HKCR\.osk" /ve /t REG_SZ /d "osu!" /f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
REG add "HKCR\.rpgproject" /ve /t REG_SZ /d "RPGMV.Project" /f | |
REG add "HKCR\RPGMV.Project" /ve /t REG_SZ /d "RPGMV Project" /f | |
REG add "HKCR\RPGMV.Project\DefaultIcon" /ve /t REG_SZ /d "\"%~dp0RPGMV.exe\",1" /f | |
REG add "HKCR\RPGMV.Project\shell\open\command" /ve /t REG_SZ /d "\"%~dp0RPGMV.exe\" \"%%1\"" /f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SET "INSTALLDIR=%~dp0" | |
SET "INSTALLDIR=%INSTALLDIR:~0,-1%" | |
REG add "HKLM\SOFTWARE\enterbrain\rgss2\rtp" /v "rpgvx" /t REG_SZ /d "%~dp0rtp" /f /reg:32 | |
REG add "HKLM\SOFTWARE\enterbrain\rpgvx" /v "applicationpath" /t REG_SZ /d "%INSTALLDIR%" /f /reg:32 | |
REG add "HKCR\.rvproj" /ve /t REG_SZ /d "RPGVX.Project" /f | |
REG add "HKCR\.rvdata" /ve /t REG_SZ /d "RPGVX.Data" /f | |
REG add "HKCR\.rgss2a" /ve /t REG_SZ /d "RPGVX.Archive" /f | |
REG add "HKCR\rpgvx.project" /ve /t REG_SZ /d "RPGVX Project" /f | |
REG add "HKCR\rpgvx.project\defaulticon" /ve /t REG_SZ /d "\"%~dp0RPGVX.exe\",1" /f | |
REG add "HKCR\rpgvx.project\shell\open\command" /ve /t REG_SZ /d "\"%~dp0RPGVX.exe\" \"%%1\"" /f | |
REG add "HKCR\rpgvx.archive" /ve /t REG_SZ /d "RGSS Encrypted Archive" /f | |
REG add "HKCR\rpgvx.archive\defaulticon" /ve /t REG_SZ /d "\"%~dp0RPGVX.exe\",3" /f | |
REG add "HKCR\rpgvx.archive\shell\open\command" /ve /t REG_SZ /d "\"%~dp0RPGVX.exe\" /n \"%%1\"" /f | |
REG add "HKCR\rpgvx.data" /ve /t REG_SZ /d "RPGVX Data" /f | |
REG add "HKCR\rpgvx.data\defaulticon" /ve /t REG_SZ /d "\"%~dp0RPGVX.exe\",2" /f | |
REG add "HKCR\rpgvx.data\shell\open\command" /ve /t REG_SZ /d "\"%~dp0RPGVX.exe\" /n \"%%1\"" /f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SET "INSTALLDIR=%~dp0" | |
SET "INSTALLDIR=%INSTALLDIR:~0,-1%" | |
REG add "HKLM\SOFTWARE\enterbrain\rgss3\rtp" /v "rpgvxace" /t REG_SZ /d "%~dp0rtp" /f /reg:32 | |
REG add "HKLM\SOFTWARE\enterbrain\rpgvxace" /v "applicationpath" /t REG_SZ /d "%INSTALLDIR%" /f /reg:32 | |
REG add "HKCR\.rvproj2" /ve /t REG_SZ /d "RPGVXAce.Project" /f | |
REG add "HKCR\.rvdata2" /ve /t REG_SZ /d "RPGVXAce.Data" /f | |
REG add "HKCR\.rgss3a" /ve /t REG_SZ /d "RPGVXAce.Archive" /f | |
REG add "HKCR\rpgvxace.project" /ve /t REG_SZ /d "RPGVXAce Project" /f | |
REG add "HKCR\rpgvxace.project\defaulticon" /ve /t REG_SZ /d "\"%~dp0RPGVXAce.exe\",1" /f | |
REG add "HKCR\rpgvxace.project\shell\open\command" /ve /t REG_SZ /d "\"%~dp0RPGVXAce.exe\" \"%%1\"" /f | |
REG add "HKCR\rpgvxace.archive" /ve /t REG_SZ /d "RGSS Encrypted Archive" /f | |
REG add "HKCR\rpgvxace.archive\defaulticon" /ve /t REG_SZ /d "\"%~dp0RPGVXAce.exe\",3" /f | |
REG add "HKCR\rpgvxace.archive\shell\open\command" /ve /t REG_SZ /d "\"%~dp0RPGVXAce.exe\" /n \"%%1\"" /f | |
REG add "HKCR\rpgvxace.data" /ve /t REG_SZ /d "RPGVXAce Data" /f | |
REG add "HKCR\rpgvxace.data\defaulticon" /ve /t REG_SZ /d "\"%~dp0RPGVXAce.exe\",2" /f | |
REG add "HKCR\rpgvxace.data\shell\open\command" /ve /t REG_SZ /d "\"%~dp0RPGVXAce.exe\" /n \"%%1\"" /f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SET "INSTALLDIR=%~dp0" | |
SET "INSTALLDIR=%INSTALLDIR:~0,-1%" | |
REG add "HKLM\SOFTWARE\enterbrain\RGSS\RTP" /v "Standard" /t REG_SZ /d "%~dp0rtp" /f /reg:32 | |
REG add "HKLM\SOFTWARE\enterbrain\RPGXP" /v "applicationpath" /t REG_SZ /d "%INSTALLDIR%" /f /reg:32 | |
REG add "HKCR\.rxproj" /ve /t REG_SZ /d "RPGXP.Project" /f | |
REG add "HKCR\.rxdata" /ve /t REG_SZ /d "RPGXP.Data" /f | |
REG add "HKCR\.rgssad" /ve /t REG_SZ /d "RPGXP.Archive" /f | |
REG add "HKCR\RPGXP.Project" /ve /t REG_SZ /d "RPGXP Project" /f | |
REG add "HKCR\RPGXP.Project\DefaultIcon" /ve /t REG_SZ /d "\"%~dp0RPGXP.exe\",1" /f | |
REG add "HKCR\RPGXP.Project\shell\open\command" /ve /t REG_SZ /d "\"%~dp0RPGXP.exe\" \"%%1\"" /f | |
REG add "HKCR\RPGXP.Archive" /ve /t REG_SZ /d "RGSS Encrypted Archive" /f | |
REG add "HKCR\RPGXP.Archive\DefaultIcon" /ve /t REG_SZ /d "\"%~dp0RPGXP.exe\",3" /f | |
REG add "HKCR\RPGXP.Archive\shell\open\command" /ve /t REG_SZ /d "\"%~dp0RPGXP.exe\" /n \"%%1\"" /f | |
REG add "HKCR\RPGXP.Data" /ve /t REG_SZ /d "RPGXP Data" /f | |
REG add "HKCR\RPGXP.Data\DefaultIcon" /ve /t REG_SZ /d "\"%~dp0RPGXP.exe\",2" /f | |
REG add "HKCR\RPGXP.Data\shell\open\command" /ve /t REG_SZ /d "\"%~dp0RPGXP.exe\" /n \"%%1\"" /f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment