Welcome to the Non-Steam Game Adder project! This application allows you to add your favorite non-Steam games to your Steam library, making it easier to launch and manage all your games from one place.
- Features
- Prerequisites
- Installation
- Configuration
- Running the Application
- Usage
- Troubleshooting
- Contributing
- License
- Add non-Steam games to your Steam library
- Automatically extract and set game icons
- Save and load user configurations
- Simple and user-friendly interface
Before you can run this application, you'll need to have the following installed on your computer:
- Python: You can download and install Python from python.org.
- pip: Python's package installer, which is included with Python installations.
-
Clone the Repository (Requires Git to be installed on the machine, but recommended): Clone the repository from GitHub.
git clone https://github.com/BAXTOR95/non-steam-game-adder.git cd non-steam-game-adder
-
Download the Repository (Optional): You can download the latest stable release (version 1.0) from the Releases page.
-
Download the Source Code:
- Go to the Releases page.
- Download the
Source code (zip)
orSource code (tar.gz)
for version 1.0.
-
Extract the Archive:
- Extract the downloaded zip or tar.gz file to a directory on your computer (ex. non-steam-game-adder).
-
Open a terminal and navigate to the extracted directory
cd non-steam-game-adder
-
-
Set up a Python Virtual Environment (Optional but recommended)
python -m venv .venv source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
-
Install Required Packages: Use pip to install the necessary packages.
pip install -r requirements.txt
-
Get a Steam API Key:
- Visit the Steam API key registration page.
- Log in with your Steam account.
- Follow the instructions to register a domain (you can use
localhost
if you're not sure). - Copy the API key provided.
-
Create a
.env
File:-
In the root directory of the project, create a file named
.env
. -
Add your Steam API key to the file:
STEAM_API_KEY=your_api_key_here
-
-
Launch the Application:
python main.py
This will start the Non-Steam Game Adder application.
-
Add a Game:
- Open the application.
- Enter the game name and your Steam username.
- Browse and select the game directory.
- Browse and select the executable file for the game.
- (Optional) The application will try to extract the game icon. If it fails, you can manually set an icon path.
- Click "Add Game".
-
Manual App ID:
- If the application can't find the app ID for your game, it will open a browser window with SteamDB.
- Find the app ID on SteamDB and enter it in the application when prompted.
- Steam is Running: If Steam is running, the application will prompt you to close it. Make sure to close Steam manually if the application fails to do so.
- Configuration Issues: If the application fails to load or save configurations, check the
config.json
file in the project directory for errors.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
- Thanks to u/filipebranth for the idea.