Comments (6)
Steam_Shortcuts_VDF_Backup.sh
#!/bin/bash
UserPath=$(echo "/home/""$USER")
Current_DIR="$(dirname "$(readlink -f "$0")")"
SteamID=$(cd $UserPath/.steam/debian-installation/userdata/ ; ls | xargs)
dt=$(date '+%m_%d_%Y__%I_%M_%S_%p_')
zip -j $UserPath/Games/Steam_Shortcuts_Backup/shortcuts_vdf_"$dt".zip $UserPath/.steam/debian-installation/userdata/$SteamID/config/shortcuts.vdf
exit
from steam-rom-manager.
Nothing sucks worse than an error that removes over 100 non steam games and having to re-create the shortcuts!!
That script assumes you have "Games/Steam_Shortcuts_Backup" folders inside your linux home directory. I know I need to add code for (condition: if folder not exist...create).
#!/bin/bash
UserPath=$(echo "/home/""$USER")
Current_DIR="$(dirname "$(readlink -f "$0")")"
SteamID=$(cd $UserPath/.steam/debian-installation/userdata/ ; ls | xargs)
dt=$(date '+%m_%d_%Y__%I_%M_%S_%p_')
mkdir -p $UserPath/Games #Make dir if not exist
mkdir -p $UserPath/Games/Steam_Shortcuts_Backup #Make dir if not exist
zip -j $UserPath/Games/Steam_Shortcuts_Backup/shortcuts_vdf_"$dt".zip $UserPath/.steam/debian-installation/userdata/$SteamID/config/shortcuts.vdf
exit
from steam-rom-manager.
Why not use kodi?
The windorks installer of kodi into steam: You are passing steam rom manager a linux path to executable then would need to pass a windorks path to the executable for media.
The linux version of kodi through steam: It does not like any spaces what so ever in file naming. The file "All You Need.mkv" gets read as "All" and generates an error.
Vlc, you end up having to press the windorks key...no keyboard controls work right.
mpv player doesn't have enough options.
Leaving smplayer the best option and has command line arguments.
from steam-rom-manager.
For kodi: (This is the windorks installer of kodi into a steam prefix on linux)
This won't work. It will load kodi and give you an error and tell you to check the log.
"/home/$LinuxUserName/.steam/debian-installation/steamapps/compatdata/$SteamID/pfx/drive_c/Program Files/Kodi/kodi" "/mnt/0c4adc75-836b-4b6e-bbc3-f4fbbcb6540d/DvD/Movie/10,000 B.C./10,000 BC.mkv"
This will work. Note that my DvD rips are on a seperate drive. By default anything in the prefix is an emulated windorks environment and will be C:
"/home/$LinuxUserName/.steam/debian-installation/steamapps/compatdata/$SteamID/pfx/drive_c/Program Files/Kodi/kodi" "Z:\mnt/0c4adc75-836b-4b6e-bbc3-f4fbbcb6540d\DvD\Movie\10,000 B.C.\10,000 BC.mkv"
(The problem with this is linux uses "/" for a delimiter signifying folders. Windorks uses \ instead. Now when the parser runs it's running in a linux environment (I used the debian installer.)....and can't pull the artwork using the windorks delimiter )
from steam-rom-manager.
Without running natively....your app still needs ability to mass select a custom proton or compatibility layer for linux users. The installer method of kodi into a steam prefix on linux requires steam use proton experimental or other. For each movie and I had 124...I'd have to manually select a custom proton.
from steam-rom-manager.
The proton issue is a duplicate, it will get added eventually. Adding scrapers specifically for movies is way outside of scope for SRM, which is a tool for managing games and game artwork.
from steam-rom-manager.
Related Issues (20)
- [BUG] EA Desktop parser failed with fatal error: TypeError: Cannot read properties of undefined (reading 'tagName') HOT 6
- [BUG] Adding to library via CLI stuck HOT 2
- Questions on start?? HOT 1
- [BUG] test bug please ignore
- [REQUEST] On setup, should suggest steam directory for macOS HOT 1
- [REQUEST] Support for old GOG galaxy HOT 1
- [BUG]Fatal error occurred in Add Games. See event log for details. Error: File Parser Execution: > EA Desktop parser failed with fatal error: TypeError: Cannot read properties of undefined (reading 'tagName')
- [BUG] Shortcut parser non-steam games do not work with Steam overlay HOT 4
- [BUG] Missing EA Games HOT 1
- [REQUEST] Upgrade electron beyond v24 HOT 2
- [BUG] Magic Header unknown in Steam Parser (update binary vdf library to handle appinfo v29) HOT 1
- Missing Games in EA Desktop Parser (EUROPE UTF-16) [BUG] HOT 1
- [BUG] First time turning on a game is very slow on the Deck, works fine after. HOT 2
- [BUG] SRM gets stuck after clicking the search button randomly HOT 3
- [BUG] Steam overlay and status not functioning for EA Desktop and UWP parsers (Windows OS)
- [BUG] SRM fails to stop/start steam
- Errors... HOT 1
- [BUG] Steam parser lists only games that were installed at least once HOT 2
- [REQUEST] Allow for use of `~` or `$HOME` in parsers on Linux
- [REQUEST] Launch Legendary games with Legendary HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steam-rom-manager.