Closed NathanaelA closed 2 years ago
Ah that shouldn't be hard to do. If I have some time later today I might add it. Thanks for the suggestion!
I just pushed an update that should let you do what you want. Just pass the -e argument with the list of appIDs you want exported and it should do the job.
steammetadaeditor -e 3123 13545 1223415 4323
Please tell me if it has issues.
What if there was some reg.exe
-like syntax for manipulations from cli?
E.g. REG QUERY, REG ADD and REG DELETE.
I had planned to overhaul the program and it would allow for such a thing by passing json's as arguments. There's no ETA on that tho.
Passing files seems far more involved and less immediate than what I was suggesting (even though sure, it has its occasions).
steammetadaeditor [-a|add] 3123 showcdkeyonlaunch 0
seems as easy as you could get instead.
That alone wouldn't work. How do we know where to drop that key? You would need to provide the full structure of the metadata.
Maybe we can separate each key by dots or something? So:
steammetadaeditor [-a|add] 3123 common.showcdkeyonlaunch 0
Oh, I see sorry. I didn't think there were "parallel sub-sections". That works for me (and it may even make for more clarity when you tinker with stuff outside of appinfo.vdf)
This is like #5 other than I want to have it be "targeted" to a single game id. I'd like to be able to do something like
steammetadataeditor -m <steamid>
and it would create both the original & modified section in the modification.json file just like it does now when you make a change and click the save button. Then I can use something likejq
to make the changes to the json, and finally do asteammetadataeditor -s
to apply them.My objective would be:
showcdkeyonlaunch: 0
to all DLC and the main gameThis would be very useful because certain games on linux the
showcdkeyonlaunch
creates a issue where the game can't run. So if I can easily script a script to export out any of the games that I'm having this issue and the dlc (as the dlc with this flag will also cause the exact same issue). And then havejq
make all the changes, then I could have a simple script:fix_steam_game <id>
and it would apply this fix to everything.So the only feature that is really missing in this whole thing is the cli export of a game entry...