Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit 5517f2f

Browse files
committed
Add config tool for portable release
This replaces that three *.bat files that are currently in the portable release.
1 parent 0750bbe commit 5517f2f

File tree

6 files changed

+1112
-0
lines changed

6 files changed

+1112
-0
lines changed

tools/oscr_tool/apply_config.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#define HW5
2+
#define ENABLE_FLASH
3+
#define ENABLE_FLASH8
4+
#define OPTION_REVERSE_SORT
5+
#define OPTION_CLOCKGEN_USE_CALIBRATION
6+
//#define ENABLE_NES

tools/oscr_tool/icon.ico

98.3 KB
Binary file not shown.

tools/oscr_tool/make.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
powershell Install-Module -Name ps2exe -Scope CurrentUser
3+
powershell Invoke-ps2exe -inputFile "oscr_tool.ps1" -outputFile "oscr_tool.exe" -iconFile "icon.ico"
4+
pause

tools/oscr_tool/oscr_tool.exe

183 KB
Binary file not shown.

tools/oscr_tool/oscr_tool.ps1

Lines changed: 1098 additions & 0 deletions
Large diffs are not rendered by default.

tools/oscr_tool/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Copy oscr_tool.exe to the root directory of the portable release.
2+
You can also create an apply_config.txt with the settings you always want to have applied, see example apply_config.txt.
3+
4+
This tool was made by ChatGPT, Claude AI and Github Copilot. Console descriptions are taken from the respective Wikipedia sites.

0 commit comments

Comments
 (0)