Skip to content

Commit 6f7e43f

Browse files
authored
Added UNDERTALE and Pillars of Eternity (native linux) to database.json (#48)
* Added UNDERTALE and Pillars of Eternity (native linux) to database.json Note that Pillars behaves oddly on launch; it opens and closes a few times due to how it handles the intro video. This is fixable by delaying the usage of fix-wm-class.sh. I achieved this by changing the launch options to `%command% & sleep 5 && fix-wm-class.sh "Pillars of Eternity";` If this is not acceptable, I can perhaps find a way to work that into the actual sif.sh script. Just let me know. * Check if Pillars of Eternity If so, add & `sleep 5` && to Launch Options, after existing commands but before fix-wm-class.sh * Sorted database.json
1 parent cf832f1 commit 6f7e43f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

database.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,14 @@
108108
"282070": "This War of Mine",
109109
"286690": "Metro: Redux",
110110
"287390": "Metro: Redux=Metro: Last Light Redux",
111+
"291650": "Pillars of Eternity",
111112
"317400": "Portal Stories: Mel - OpenGL",
112113
"322680": "BLACKHOLE",
113114
"323320": "Grow Home",
114115
"368230": "Kingdom",
115116
"375320": "Colortone",
116117
"378610": "Valley",
118+
"391540": "UNDERTALE",
117119
"391720": "Layers of Fear",
118120
"415200": "Motorsport Manager",
119121
"441670": "Jelly Killer",

sif.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ def fix_launch_option(app_id, wm_name, wm_name_alt=""):
210210
wm_name,
211211
wm_name_alt,
212212
)
213+
elif wm_name == "Pillars of Eternity":
214+
app["LaunchOptions"] += '& sleep 5 && %s "%s";' % (script, wm_name)
213215
else:
214216
app["LaunchOptions"] += '& %s "%s";' % (script, wm_name)
215217
vdf.dump(loaded, open(conf_file, "w"), pretty=True)

0 commit comments

Comments
 (0)