Giter VIP home page Giter VIP logo

steamrommanager-manifest-generator's Introduction

steamrommanager-manifest-generator

Python script to generate a Steam Rom Manager manifest file from Windows games installed with itch.io on Linux and optionally a second directory of Windows games from anywhere!

Setup

Firstly you'll want to create a folder to store all your Windows games. This is optional if you are only parsing games installed from the itch.io client. When the script asks for the Windows directory just click cancel.

mkdir -p ~/Games/Windows

Now download and extract all your games to this folder making sure to give each games folder a nice name Steam Rom Manager can parse.

Secondly, we need to install pip

python -m ensurepip --upgrade

And finally clone, install and run the script.

cd ~
git clone https://github.com/SavageCore/steamrommanager-manifest-generator.git
cd steamrommanager-manifest-generator
~/.local/bin/pip3 install -r requirements.txt
python parse.py

You will be asked for the itch.io apps directory which should auto-populate so just click enter, then either choose Windows directory or click close.

Upgrading

cd ~/steamrommanager-manifest-generator
git pull
~/.local/bin/pip3 install -r requirements.txt

On Steam Deck

For this to work on Steam Deck we must trick the itch.io client into thinking we have non-flatpak Wine and thus offering the choice to install Windows games. Run the following commands:

flatpak install -y org.winehq.Wine
mkdir -p ~/.local/bin
cat <<EOF > ~/.local/bin/wine
#!/bin/sh
exec flatpak run org.winehq.Wine $*
EOF
chmod +x ~/.local/bin/wine
sed -i.bak ~/.local/share/applications/io.itch.itch.desktop -e 's!^Exec=\(~/.itch/itch.*\)!Exec=sh -c "PATH=~/.local/bin:$PATH \1"!'

Once that's done create a new parser within Steam Rom Manager of type Manual and set the Manifests Directory to ~/steamrommanager-manifest-generator/manifests

steamrommanager-manifest-generator's People

Contributors

savagecore avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.