NOSTAIDVDF="$(generateShortcutVDFAppId "${NOSTAPPNAME}${NOSTEXEPATH}")"# signed integer AppID, stored in the VDF as hexidecimal - ex: -598031679
NOSTAIDVDF="$(generateShortcutVDFAppId "${NOSTAPPNAME}${NOSTEXEPATH}")"# signed integer AppID, stored in the VDF as hexidecimal - ex: -598031679
NOSTAIDVDFHEX="$(generateShortcutVDFHexAppId "$NOSTAIDVDF")"# 4byte little-endian hexidecimal of above 32bit signed integer, which we write out to the binary VDF - ex: c1c25adc
NOSTAIDVDFHEX="$(generateShortcutVDFHexAppId "$NOSTAIDVDF")"# 4byte little-endian hexidecimal of above 32bit signed integer, which we write out to the binary VDF - ex: c1c25adc
NOSTAIDGRID="$(extractSteamId32 "$NOSTAIDVDF")"# unsigned 32bit ingeger version of "$NOSTAIDVDF", which is used as the AppID for Steam artwork ("grids"), as well as for our shortcuts
NOSTAPPID="$(extractSteamId32 "$NOSTAIDVDF")"# unsigned 32bit ingeger version of "$NOSTAIDVDF", which is used as the AppID for Steam artwork ("grids"), as well as for our shortcuts
create_new_dir "${STEAM_SCRIPTS}"
create_new_dir "${STEAM_SCRIPTS}"
echo"#!/usr/bin/env bash">"${NOSTSHPATH}"
cat<<-EOF > "${NOSTSHPATH}"
echo"export START_FROM_STEAM=1">>"${NOSTSHPATH}"
#!/usr/bin/env bash
echo"export LD_PRELOAD=">>"${NOSTSHPATH}"
export LD_PRELOAD=
if check_flatpak;then
export START_FROM_STEAM=1
echo"flatpak run ru.linux_gaming.PortProton \"${portwine_exe}\" ">>"${NOSTSHPATH}"