Giter VIP home page Giter VIP logo

Comments (6)

Brad7173 avatar Brad7173 commented on August 17, 2024

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.

Brad7173 avatar Brad7173 commented on August 17, 2024

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.

Brad7173 avatar Brad7173 commented on August 17, 2024

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.

Brad7173 avatar Brad7173 commented on August 17, 2024

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.

Brad7173 avatar Brad7173 commented on August 17, 2024

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.

cbartondock avatar cbartondock commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.