Comments (3)
I'm going to be doing something similar to this soon, including probably some kind of overhaul to the UI.
I prefer INI files because they are easier to edit by hand
from game_launcher.
INI might be better especially for non developer you're right. Don't hesitate to share your redesign if you want to!
from game_launcher.
Here is a sample config file proposal:
[GAME]
title = "Sample Game Title"
executable = "Chore 4.exe"
capsule = "capsule.png"
background = "bg.png"
description = "Here is a text blurb. \n\n Or use description.txt."
category = ["Tools", "Tests"]
notice = "Coming Soon"
arguments = "--fullscreen --keyboard"
[SETTINGS]
order = 1
visible = true
available = true
pinned = false
[ATTRIBUTES]
singleplayer = false
multiplayer = true
coop = true
pvp = true
The thought here is that the standard executable, capsule, background, and description will be loaded by file. Then, it will also look for a config file. If that is found, any values in the config file will be used instead. I wanted to have customizable Title and more. And maybe there are more than one EXE or certain images that are getting replaced and it would be annoying to keep renaming them "capsule.png" whenever you update. So the config file per game will let this be customized. A bunch of other things here are just ideas for future settings. And if there are a lot of games, to eventually have a category sort at the top.
I have a working version of the configs in my repo, but I'm going to put a lot more work into it for a gamejam coming up end of this month. So I'll come back after that is over with what may be an almost unrecognizable version of your launcher :D
from game_launcher.
Related Issues (10)
- Support Linux
- Games have to be in a subdirectory of the launcher HOT 2
- Support Mac
- Setup github action to build automatically
- Auto relaunch game mode
- Shortcut to kill currently running game HOT 4
- Option to force launch game in bordeless fullscreen HOT 1
- Configuration
- What is the license of this source code? HOT 2
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 game_launcher.