Update to v106r25 release.
byuu says:
Changelog:
- bsnes:
- added full input mapping support (multi-mapping, digital+analog
inputs, rumble, hotkeys, etc)
- can now load multi-part games (eg Super Game Boy) from the
command-line
- added recent games menu with list clear function; supports
multi-part games (sorting logic incomplete)
- added automatic binding of gamepads on new configuration files
- added view scaling support with aspect correction, overscan
cropping, and integral scaling modes
- added video shader support
- added status bar (can be hidden)
- added save states (both menu and hotkeys)
- added fullscreen mode support
- added support for loading compressed (ZIP) archives for any
supported media type (SNES, GB, etc)
- added frame counter
- added auto-memory saving
- added pause / block-input modes when main window loses focus
- added --fullscreen command-line option to start bsnes in
fullscreen mode
- added input settings panel
- added hotkeys settings panel
- added path settings panel (paths aren't actually used set, but
can be assigned)
- higan: fixed macOS install rule [Sintendo]
- higan: minor UI code cleanups
- nall: renamed Processor to Architecture to fix macOS builds
[Sintendo]
Yeah, you read right: recent games menu, path settings. And dynamic rate
control + screensaver suppression is on the todo list. I'm not fucking
around this time. I really want to make something special here.
2018-05-23 03:45:24 +00:00
|
|
|
PathSettings::PathSettings(TabFrame* parent) : TabFrameItem(parent) {
|
|
|
|
setIcon(Icon::Emblem::Folder);
|
|
|
|
setText("Paths");
|
|
|
|
|
|
|
|
layout.setMargin(5);
|
|
|
|
gamesLabel.setText("Games:");
|
|
|
|
gamesPath.setEditable(false);
|
|
|
|
gamesAssign.setText("Assign ...").onActivate([&] {
|
|
|
|
if(auto location = BrowserDialog().setParent(*settingsWindow).selectFolder()) {
|
|
|
|
settings["Path/Games"].setValue(location);
|
|
|
|
refreshPaths();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
gamesReset.setText("Reset").onActivate([&] {
|
|
|
|
settings["Path/Games"].setValue("");
|
|
|
|
refreshPaths();
|
|
|
|
});
|
|
|
|
patchesLabel.setText("Patches:");
|
|
|
|
patchesPath.setEditable(false);
|
|
|
|
patchesAssign.setText("Assign ...").onActivate([&] {
|
|
|
|
if(auto location = BrowserDialog().setParent(*settingsWindow).selectFolder()) {
|
|
|
|
settings["Path/Patches"].setValue(location);
|
|
|
|
refreshPaths();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
patchesReset.setText("Reset").onActivate([&] {
|
|
|
|
settings["Path/Patches"].setValue("");
|
|
|
|
refreshPaths();
|
|
|
|
});
|
|
|
|
savesLabel.setText("Saves:");
|
|
|
|
savesPath.setEditable(false);
|
|
|
|
savesAssign.setText("Assign ...").onActivate([&] {
|
|
|
|
if(auto location = BrowserDialog().setParent(*settingsWindow).selectFolder()) {
|
|
|
|
settings["Path/Saves"].setValue(location);
|
|
|
|
refreshPaths();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
savesReset.setText("Reset").onActivate([&] {
|
|
|
|
settings["Path/Saves"].setValue("");
|
|
|
|
refreshPaths();
|
|
|
|
});
|
|
|
|
cheatsLabel.setText("Cheats:");
|
|
|
|
cheatsPath.setEditable(false);
|
|
|
|
cheatsAssign.setText("Assign ...").onActivate([&] {
|
|
|
|
if(auto location = BrowserDialog().setParent(*settingsWindow).selectFolder()) {
|
|
|
|
settings["Path/Cheats"].setValue(location);
|
|
|
|
refreshPaths();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
cheatsReset.setText("Reset").onActivate([&] {
|
|
|
|
settings["Path/Cheats"].setValue("");
|
|
|
|
refreshPaths();
|
|
|
|
});
|
2018-06-11 04:50:18 +00:00
|
|
|
statesLabel.setText("States:");
|
|
|
|
statesPath.setEditable(false);
|
|
|
|
statesAssign.setText("Assign ...").onActivate([&] {
|
|
|
|
if(auto location = BrowserDialog().setParent(*settingsWindow).selectFolder()) {
|
|
|
|
settings["Path/States"].setValue(location);
|
|
|
|
refreshPaths();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
statesReset.setText("Reset").onActivate([&] {
|
|
|
|
settings["Path/States"].setValue("");
|
|
|
|
refreshPaths();
|
|
|
|
});
|
Update to v106r25 release.
byuu says:
Changelog:
- bsnes:
- added full input mapping support (multi-mapping, digital+analog
inputs, rumble, hotkeys, etc)
- can now load multi-part games (eg Super Game Boy) from the
command-line
- added recent games menu with list clear function; supports
multi-part games (sorting logic incomplete)
- added automatic binding of gamepads on new configuration files
- added view scaling support with aspect correction, overscan
cropping, and integral scaling modes
- added video shader support
- added status bar (can be hidden)
- added save states (both menu and hotkeys)
- added fullscreen mode support
- added support for loading compressed (ZIP) archives for any
supported media type (SNES, GB, etc)
- added frame counter
- added auto-memory saving
- added pause / block-input modes when main window loses focus
- added --fullscreen command-line option to start bsnes in
fullscreen mode
- added input settings panel
- added hotkeys settings panel
- added path settings panel (paths aren't actually used set, but
can be assigned)
- higan: fixed macOS install rule [Sintendo]
- higan: minor UI code cleanups
- nall: renamed Processor to Architecture to fix macOS builds
[Sintendo]
Yeah, you read right: recent games menu, path settings. And dynamic rate
control + screensaver suppression is on the todo list. I'm not fucking
around this time. I really want to make something special here.
2018-05-23 03:45:24 +00:00
|
|
|
|
|
|
|
refreshPaths();
|
|
|
|
}
|
|
|
|
|
|
|
|
auto PathSettings::refreshPaths() -> void {
|
|
|
|
if(auto location = settings["Path/Games"].text()) {
|
|
|
|
gamesPath.setText(location).setForegroundColor();
|
|
|
|
} else {
|
|
|
|
gamesPath.setText("<last recently used>").setForegroundColor({128, 128, 128});
|
|
|
|
}
|
|
|
|
if(auto location = settings["Path/Patches"].text()) {
|
|
|
|
patchesPath.setText(location).setForegroundColor();
|
|
|
|
} else {
|
|
|
|
patchesPath.setText("<same as loaded game>").setForegroundColor({128, 128, 128});
|
|
|
|
}
|
|
|
|
if(auto location = settings["Path/Saves"].text()) {
|
|
|
|
savesPath.setText(location).setForegroundColor();
|
|
|
|
} else {
|
|
|
|
savesPath.setText("<same as loaded game>").setForegroundColor({128, 128, 128});
|
|
|
|
}
|
|
|
|
if(auto location = settings["Path/Cheats"].text()) {
|
|
|
|
cheatsPath.setText(location).setForegroundColor();
|
|
|
|
} else {
|
|
|
|
cheatsPath.setText("<same as loaded game>").setForegroundColor({128, 128, 128});
|
|
|
|
}
|
2018-06-11 04:50:18 +00:00
|
|
|
if(auto location = settings["Path/States"].text()) {
|
|
|
|
statesPath.setText(location).setForegroundColor();
|
|
|
|
} else {
|
|
|
|
statesPath.setText("<same as loaded game>").setForegroundColor({128, 128, 128});
|
|
|
|
}
|
Update to v106r25 release.
byuu says:
Changelog:
- bsnes:
- added full input mapping support (multi-mapping, digital+analog
inputs, rumble, hotkeys, etc)
- can now load multi-part games (eg Super Game Boy) from the
command-line
- added recent games menu with list clear function; supports
multi-part games (sorting logic incomplete)
- added automatic binding of gamepads on new configuration files
- added view scaling support with aspect correction, overscan
cropping, and integral scaling modes
- added video shader support
- added status bar (can be hidden)
- added save states (both menu and hotkeys)
- added fullscreen mode support
- added support for loading compressed (ZIP) archives for any
supported media type (SNES, GB, etc)
- added frame counter
- added auto-memory saving
- added pause / block-input modes when main window loses focus
- added --fullscreen command-line option to start bsnes in
fullscreen mode
- added input settings panel
- added hotkeys settings panel
- added path settings panel (paths aren't actually used set, but
can be assigned)
- higan: fixed macOS install rule [Sintendo]
- higan: minor UI code cleanups
- nall: renamed Processor to Architecture to fix macOS builds
[Sintendo]
Yeah, you read right: recent games menu, path settings. And dynamic rate
control + screensaver suppression is on the todo list. I'm not fucking
around this time. I really want to make something special here.
2018-05-23 03:45:24 +00:00
|
|
|
}
|