Comments (17)
@byzod could you upload your shortcut.vdf
(after taking screenshot, but before saving) in a zip file? I am away from my PC at the moment but I could analyze it in notepad anyway.
from steam-rom-manager.
Config
- Actual Emulator folder:
K:\Game\_Emu\WiiU\Cemu
- Actual Game path:
K:\Game\_Emu\WiiU\ROMS\Xenoblade Chronicles X (USA) [Loadiine]\code\spaceTravel.rpx
K:\Game\_Emu\WiiU\ROMS\Fake\code\fake.rpx
- SRM config:
- Type:
Glob-Regex
- Steam category:
${Exotic}
- Executable:
K:\Game\_Emu\WiiU\Cemu\Cemu.exe
- Roms folder:
K:\Game\_Emu\WiiU\ROMS
- Steam folder:
K:\Game\Steam
- User glob-regex:
${/([^\(]+)/}/code/*.rpx
- Arguments:
-f -g "${filepath}"
- Type:
Shortcut.vdf trace
- Attachment 1: .vdf files
1 shortcuts.vdf
: generated by SRM afterstep 2
of reproduce steps.2 shortcuts.vdf
: generated by Steam afterstep 3
, i.e. after screenshot taken and Steam terminated.3 shortcuts.vdf
: generated by SRM afterstep 4
4 shortcuts.vdf
: generated by Steam after launching it. Exact same as3 shortcuts.vdf
(same hash) so I didn't included it.
- Attachment 2: screenshots
2A.png
: taken instep 3
, before screenshot in Steam.2B.png
: taken instep 3
, after screenshot in Steam.4.png
: taken afterstep 4
, after4 shortcuts.vdf
generated.
a1 vdf.zip
a2 img.zip
from steam-rom-manager.
V1.1.4 should fix it. Technically it should work (doesn't mean it will) with any shortcuts.vdf
, because it was not corrupted. Steam just changed my AppName
to appname
. I wish they would stick to one capitalization style instead of 2. As a result too many entries were added and Steam got "confused". Later this week I will also add option to remove generated and all added entries.
If V1.1.4 fails to fix it, reply here and I'll reopen this Issue.
from steam-rom-manager.
Nope, still not working.
p.s. there's no way to tell the current version of the application when using it, I have to check the file version to make sure it's the latest.
Config
- SRM version:
1.1.4
- Actual Emulator folder:
K:\Game\_Emu\WiiU\Cemu
- Actual Game path:
K:\Game\_Emu\WiiU\ROMS\Xenoblade Chronicles X (USA) [Loadiine]\code\spaceTravel.rpx
K:\Game\_Emu\WiiU\ROMS\Fake\code\fake.rpx
K:\Game\_Emu\WiiU\ROMS\中文\code\fake.rpx
(Make sure UTF-8 is working, just in case)
- SRM config:
- Type:
Glob-Regex
- Steam category:
${Exotic}
- Executable:
K:\Game\_Emu\WiiU\Cemu\Cemu.exe
- Roms folder:
K:\Game\_Emu\WiiU\ROMS
- Steam folder:
K:\Game\Steam
- User glob-regex:
${/([^\(]+)/}/code/*.rpx
- Arguments:
-f -g "${filepath}"
- Type:
- Test steps
- Close steam, delete
shortcuts.vdf
, generate & save list with SRM - Open Steam, check result
- Run
中文
, then take a screenshot, close Steam - Add title prefix
2
, generate & save list again - Open Steam, check result
- Run
中文
, then take a screenshot again, close Steam
- Close steam, delete
Shortcut.vdf trace
- Attachment 1: test files
1 shortcuts.vdf
: generated by SRM afterstep 1
of test steps.1.png
: taken afterstep 2
2 shortcuts.vdf
: generated by Steam afterstep 3
3 shortcuts.vdf
: generated by SRM afterstep 4
4 shortcuts.vdf
: generated by Steam afterstep 6
(I found that steam will never overwrite the shortcut file without actions like screenshot, adding new shortcut)
from steam-rom-manager.
Now that shortcuts.vdf
parser is fixed, I'm giving my VDF manager a total rewrite as I noticed "holes" in my logic. Many of them were fixed but many may still remain.
from steam-rom-manager.
Steam changes utf-8 encoding to something else. Parser changes it back to utf-8. Now, this drives Steam nuts if "LastTimePlayed" is set. Need to figure out what encoding Steam uses.
Edit:
False conclusion once again, but it has something to do with "LastTimePlayed".
Edit2:
It seems to be related to shortcuts.vdf
parser after all. It fails to read or write integer properly.
from steam-rom-manager.
@byzod could you try out the new v1.2.0 pre-release?
from steam-rom-manager.
@FrogTheFrog OK it works now.
Just a small flaw: it overwrites the original Xenoblade Chronicles X
shortcut (same name) created before I notice this project, it's ok since the detailed config is exactly the same.
But all screenshot I taken are "gone": the new Xenoblade Chronicles X
created a new, different folder in \Steam\userdata\{userID}\760\remote\
to store screenshots, so I have to manually move all screenshots images to the new one.
from steam-rom-manager.
@byzod I intentionally disallow same titles as they could mess up appId. For the second problem (even the first one maybe), could you give me full where emulator executable was (for the original title), or are they at the same location?
from steam-rom-manager.
@FrogTheFrog
I have only one Cemu so yes, they (it) are (is) at the same location. But the shortcut entries stored in the shortcuts.vdf
are slightly different, the case: Ceme/cemu
Content of Down.zip
Before SRM edition: shortcuts.backup
After SRM overwrite it: shortcuts.vdf
(Only the XCX part, cut off from the original .vdf)
p.s. about the icon thing, I added it AFTER all things happened, I think it has nothing to do with the issue.
from steam-rom-manager.
@byzod "K:\Game\_Emu\WiiU\cemu\Cemu.exe"
change to "K:\Game\_Emu\WiiU\Cemu\Cemu.exe"
. AppId is generated from "%exe%"%appname%
. Thus even a slightest change changes appId. That's the feature of Steam.
from steam-rom-manager.
@FrogTheFrog OK, linux-friendly, understandable.
Steam create one (same) library shortcut for XCX
(Cemu) and XCX
(cemu), but create two (different) screenshot folder for it (them). That's legit.
from steam-rom-manager.
@byzod Actually, I prevent Steam from creating duplicate title entries (even if appId is different), because at the time of writing it made no sense to me to have 2 identical entries in the library. For that reason I added prefix and suffix options. Sorry :D
from steam-rom-manager.
@byzod If you have no other problems related to this Issues, I'll close it.
from steam-rom-manager.
@FrogTheFrog Correct me if I'm wrong:
When I added a shortcut "%exe%"%appname%
(case sensitive)
Steam:
- create
appId
generated from"%exe%"%appname%
- create a library shortcut from
appId
- create media folder:
\Steam\userdata\{userId}\760\remote\{appId}
- store grid picture if I set one:
\Steam\userdata\{userId}\config\grid\{appId}.png
or.jpg
or.tga
- create other things related to
appId
that I didn't know yet
Steam-Rom-Manager:
- Prevent multiple shortcut that have different
appId
but"%exe1%"%app1name%.toLowerCase() == "%exe2%"%app2name%.toLowerCase()
isTrue
Then I think SRM should prevent other things too, at least the screenshot folder, because it's a little bit confusing, especially all screenshots are "gone" after the list saved. Not every user will check their \Steam\userdata\{userId}\760\remote
folder like me.
from steam-rom-manager.
@byzod
Steam-Rom-Manager:
- Prevents multiple shortcuts when
%app1name% === %app2name%
.%app1name%
's appId is replaced with%app2name%
's appId. Thus replacing images. I could rename media folder to new appId if you want. - Manages (removes, adds) grid pictures to
\Steam\userdata\{userId}\config\grid\{appId}.*
from steam-rom-manager.
Any way, the .vdf
corruption problem is fixed, please close the issue.
If anyone found that "screenshots disappeared" problem is vital they should create an issue themselves :)
from steam-rom-manager.
Related Issues (20)
- [Suggestion] Ignore Hidden Files HOT 3
- Missing /home/deck/Emulation/tools/launchers/ryujinx.sh HOT 2
- Can’t get images for ROMs on SRM HOT 1
- unable to see all my steam games in the steam parser HOT 2
- Creating Or Editing A Custom Steam Game Category, Or Adding A Game To A Steam Category Removes All Games From Custom Categories HOT 2
- `launchOptions` not in steam launch option but at the end of target in manual mode HOT 3
- Use path to found glob as "Start in" directory HOT 1
- CLI throws exception - tries opening file node_modules/yargs/locales/en_US.json HOT 3
- Add our own emulation parsers to Steam ROM Manager? HOT 1
- SRM causes certain games to launch using the x86 version under macOS instead of using the native arm version HOT 1
- Linux: Game won't launch (Steam Play button turns back to "Play" after about a second) HOT 1
- Add `-nogui` argument to PCSX2 preset HOT 1
- Rom Manager doesn't see Atari Jaguar HOT 1
- Crash and blank screen during "doing batch" step (with workaround) HOT 1
- [BUG] HOT 1
- [BUG]Black screen when Parsing or Save to Steam. HOT 4
- [BUG] I can't add the roms > bug in the parse button HOT 2
- [REQUEST] filter by artist HOT 1
- [REQUEST] puNES emulator community preset HOT 1
- [REQUEST] PPSSPP preset: add `--fullscreen` option to arguments by default HOT 1
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 steam-rom-manager.