Coder Social home page Coder Social logo

Comments (3)

naturally-intelligent avatar naturally-intelligent commented on July 30, 2024

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.

MrEliptik avatar MrEliptik commented on July 30, 2024

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.

naturally-intelligent avatar naturally-intelligent commented on July 30, 2024

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)

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.