Giter VIP home page Giter VIP logo

Comments (13)

cbartondock avatar cbartondock commented on July 16, 2024 2

Added in 2.3.41

from steam-rom-manager.

FrogTheFrog avatar FrogTheFrog commented on July 16, 2024

I'll include this in 1.3 release. Currently doing some restructurization to Basic and Advanced modes which will include some new features. I'm also kinda busy right now so can't really tell the expected release date.

from steam-rom-manager.

 avatar commented on July 16, 2024

@FrogTheFrog Ok thank you :)

from steam-rom-manager.

FrogTheFrog avatar FrogTheFrog commented on July 16, 2024

@PirhanaPlant The best I can do is to place that vdf file in controller template directory or personal (local) configuration directory. However I can't seem to find a way to actually make steam use said controller configuration. Thus, it makes your suggested option useless, as you would have to select configuration within Steam itself anyway.

I'll try to search files again, but if I can't any solution, I will probably close this as won't fix, because I just can't find a way to make this to work :/

from steam-rom-manager.

kencinder avatar kencinder commented on July 16, 2024

Currently Steam stores controller configurations in Steam\userdata\<userid>\241100\remote and saves each change to a new file.
It then updates Steam\userdata\<userid>\config\localconfig.vdf to point to the newest used config in Steam\userdata\<userid>\241100\remote.

Eg; in Steam\userdata\<userid>\config\localconfig.vdf

            "controller_ps4"
            {
                "DEFAULT_FOR_TYPE"
                {
                    "metal gear solid"
                    {
                        "selected"        "1215928759"
                    }

points to 1215928759_controller_config.vdf in Steam\userdata\<userid>\241100\remote

I tested saving a "Local Only Binding" for the same game and it created Steam\userdata\<userid>\241100\remote\controller_config\metal gear solid\dualshock 4 11_0.vdf with the VDF corresponding to what I had named the config in Steam for the PS1 title. The config was automatically used for the GBA title of the same name, so Steam doesn't have to be told to use it.

There are 2 options here then, and both are "Messy" or "Hackish" in how they would need to be guaranteed unique titles, and that would be to edit Steam\userdata\<userid>\config\localconfig.vdf to add entries for EVERY title added by a parser, OR to create a folder named for every title in Steam\userdata\<userid>\241100\remote\controller_config\.
I think the 2nd option is easier, as with the first you would have to know(or provide an option) for the controller type in use, or at least pull it from a provided config. The 2nd option the user would just provide an already saved controller VDF to apply.

Either option will have to have something added to a Title to make it unique however, or for instance the above example will apply to both the PS1 version of Metal Gear Solid AND the GBA version in my case, as my titles only have the name of the game. Any instance of this will net the same result, and most certainly is not desirable.

I suggest being able to add something like {category} to ones glob or title modifier to accomplish this. Or at least noting if it's implemented, to add something to make the title unique to the system/parser.

from steam-rom-manager.

HEspoke avatar HEspoke commented on July 16, 2024

@FrogTheFrog @kencinder with the latest steam update this issue may no longer be necessary. Steam now allows for a default controller config for non steam games. Example: If you use a Xbox controller (Xbox one or 360) then it will use a Xbox Template for all Non-Steam games.

from steam-rom-manager.

kencinder avatar kencinder commented on July 16, 2024

Possibly, but allowing to change this per-parser would allow you to set defaults per system, for different controllers. Whereas Steam's change still only allows a global default...better, but not good enough IMO
I don't use the same controller for every emulator, so being able to provide a config per-parser would still be nice.

from steam-rom-manager.

HEspoke avatar HEspoke commented on July 16, 2024

from steam-rom-manager.

MrScopi avatar MrScopi commented on July 16, 2024

Looking forward to seeing this implemented, per-game controller config is not a fun experience on the Steam Deck at this time, so being able to make one config per emulator and apply to all games would be wonderful.

from steam-rom-manager.

dragoonDorise avatar dragoonDorise commented on July 16, 2024

Hi! I’m the creator of EmuDeck, first of all I’m really thankful for SRM to even exist :)

We could really use this functionally on EmuDeck since we have special Steam Input templates made for some systems like 3DS to use the back buttons on the Steam Deck so having the possibility to add Steam Input templates when adding the games using SRM would be really really cool and help both our users :)

from steam-rom-manager.

cbartondock avatar cbartondock commented on July 16, 2024

Okay I'll prioritize work on this as soon as I add the last two platform parsers I had planned, Origin and Battle.net. In the meantime if anyone wants to submit a PR on this I will prioritize merging it.

from steam-rom-manager.

KingIzzymon avatar KingIzzymon commented on July 16, 2024

@dragoonDorise @cbartondock

The set controller for each game/application is inside the configset file:

~/.steam/steam/steamapps/common/Steam Controller Configs/<steamuserID>/config/configset_controller_neptune.vdf

The entries are made under each game's steamappID or, if no steamappID exsists, it uses the steam shortcut name in lower case. Includes special characters except :

Example:
Steam Shortcut Name: Xbox Cloud Gaming (xCloud)

	"xbox cloud gaming (xcloud)"
	{
		"template"		"emudeck_cloud_controller_config.vdf"
	}

Note: the lookup name used can be checked while in game mode, access the controller config menu and, without changing the default-selected controller profile, click the settings cog and check the default layout details. The URL will show the lookup name of that game/application.

With the referenced templates being in the steam templates folder:

~/.steam/steam/controller_base/templates

Please note that in steam game mode, the templates shown are ordered based on the template file name and only the templates that match a connected device are shown.

Examples:

  • Steam Deck: "controller_type" "controller_neptune"
  • PS5: "controller_type" "controller_ps5"

from steam-rom-manager.

KingIzzymon avatar KingIzzymon commented on July 16, 2024

So one possible option for adding this feature is:

  • Adding a dropdown menu in the SRM parser options that lists all templates inside the templates folder
  • Seaching through the configset file for an exsisting steamappID or shortcut name:
    • If it does exist, delete the old entry and recreate using selected template
    • If none exists, add the entry w/ template

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.