Gaming/pcsx2: refactor, add game config for burnout 3
This commit is contained in:
parent
eb5ebb056c
commit
ed8a6297b7
1 changed files with 91 additions and 83 deletions
|
|
@ -7,6 +7,7 @@
|
|||
url = "https://myrient.erista.me/files/Redump/Sony%20-%20PlayStation%202%20-%20BIOS%20Images%20%28DoM%20Version%29/ps2-0200a-20040614.zip";
|
||||
hash = "sha256-wMvswgmsKl+cJl49VlVW84tvU5Jzd+2dl07SOiUDtwA=";
|
||||
};
|
||||
toPcsx2INI = lib.generators.toINI {listsAsDuplicateKeys = true;};
|
||||
in {
|
||||
home-manager.users.toast = {
|
||||
home.packages = with pkgs; [
|
||||
|
|
@ -15,10 +16,7 @@ in {
|
|||
xdg.configFile = {
|
||||
#PCSX2 silently overwrites the symlink so I need to force it's creation
|
||||
"PCSX2/inis/PCSX2.ini".force = true;
|
||||
"PCSX2/inis/PCSX2.ini".text =
|
||||
lib.generators.toINI {
|
||||
listsAsDuplicateKeys = true;
|
||||
} {
|
||||
"PCSX2/inis/PCSX2.ini".text = toPcsx2INI {
|
||||
UI = {
|
||||
SettingsVersion = 1;
|
||||
# Use the system theme
|
||||
|
|
@ -99,9 +97,19 @@ in {
|
|||
};
|
||||
};
|
||||
# 007 nightfire
|
||||
"PCSX2/gamesettings/SLUS-20579_5B86BB62.ini".text = lib.generators.toINI {} {
|
||||
"PCSX2/gamesettings/SLUS-20579_5B86BB62.ini".text = toPcsx2INI {
|
||||
"EmuCore/GS".AspectRatio = "16:9";
|
||||
};
|
||||
"PCSX2/gamesettings/SLUS-21050_BEBF8793.ini".text = toPcsx2INI {
|
||||
"EmuCore/GS".AspectRatio = "16:9";
|
||||
Patches.Enable = [
|
||||
"60 FPS for Crashes"
|
||||
"60 FPS for Menus"
|
||||
"Progressive Scan"
|
||||
"MPH to KPH"
|
||||
"Extra Particles While Driving"
|
||||
];
|
||||
};
|
||||
};
|
||||
xdg.dataFile = {
|
||||
# I would prefer to use symlinkJoin like I do for the ISOs, but
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue