Comments (10)
node-glob
has patterns for this purpose and somehow I forgot to implement them. Will try to look at it once I'm free.
from steam-rom-manager.
@HEspoke Check out the new 2.1.0
branch. It has new patterns implemented. Now you can do this: ${title}.@(gdi|cdi)
or ${title}.@([gc]di)
or something similar.
From changelog:
- Proper
node-glob
patterns support forglob
andglob-regex
parsers:*
Matches 0 or more characters in a single path portion.?
Matches 1 character.[...]
Matches a range of characters, similar to a RegExp range. If the first character of the range is!
or^
then it matches any character not in the range.!(pattern|pattern|pattern)
Matches anything that does not match any of the patterns provided.?(pattern|pattern|pattern)
Matches zero or one occurrence of the patterns provided.+(pattern|pattern|pattern)
Matches one or more occurrences of the patterns provided.*(a|b|c)
Matches zero or more occurrences of the patterns provided.@(pattern|pat*|pat?erN)
Matches exactly one of the patterns provided**
If a "globstar" is alone in a path portion, then it matches zero or more directories and subdirectories searching for matches. It does not crawl symlinked directories.
from steam-rom-manager.
I think I am overlooking something here. I am getting "Failed to Match" Errors
Testing "Dreamcast" parser.
Failed to match:
[1/7]: E:\emulation\roms\dreamcast\Daytona USA.CDI
[2/7]: E:\emulation\roms\dreamcast\Jet Grind Radio\Jet Grind Radio.gdi
[3/7]: E:\emulation\roms\dreamcast\San Fransico Rush 2049.CDI
[4/7]: E:\emulation\roms\dreamcast\Soul Calibur\Soul Calibur.gdi
[5/7]: E:\emulation\roms\dreamcast\Star Wars Demolition.CDI
[6/7]: E:\emulation\roms\dreamcast\Star Wars Episode I Racer\Star Wars Episode I Racer.CUE
[7/7]: E:\emulation\roms\dreamcast\Street Fighter Alpha 3\Street Fighter Alpha 3 Dreamcast.gdi
"Dreamcast" parser test is completed.
from steam-rom-manager.
@HEspoke Sorry, had a busy day today so I tried it to push A.S.A.P. and totally forgot about one little bug. Should be working now. Also, Steam directory is incorrect. It must be a Steam directory, not userdata directory. User accounts are optional, but if you want to specify them you must use ${username}
syntax, where username is your name that you use to log in into steam.
from steam-rom-manager.
I noticed that your commit was for a regex bug. Am i supposed to be using Glob Regex instead of Glob for this to work correctly? I updated my directory to match your most recent update and I am still getting the errors. Thanks for working with me. I enjoy troubleshooting
Edit: fixed my error in "Steam Category" . Now is ${Sega Dreamcast}
but problem stated above still persist
from steam-rom-manager.
@HEspoke This is strange. I tried reproducing this error with same directory structure as yours, but it works for me. I have fixed "depth" bug for both parsers, maybe this will fix it? Anyway, what sort of IDE are you using? vscode
perhaps?
from steam-rom-manager.
@FrogTheFrog yes VSCode . Question: Where are the config files saved for each emulator so that I can back them up
from steam-rom-manager.
@HEspoke Should be in AppData\Roaming\Electron\userData
. To debug via Vscode you need to have Debugger for Chrome
installed. Then run watch:renderer
and launch app via Debug Main
. Ctrl+R will reload main app and you will not need to restart debugger in case you change some files. Run Debug Renderer
to enable breakpoints (they are broken after latest vscode update and will only start working after you at least add one breakpoint after renderer has launched. This includes refreshing with Ctrl+R) and debug console
.
Now, can you go to line 247 in glob.parser.ts
and find out why extractTitle
returns undefined
?
from steam-rom-manager.
@FrogTheFrog Honestly, I am not experienced in debugging or actually writing code in this language. I deleted everything and then rebuilt the program from scratch and now it is finding my roms.
I must say, this program is exactly what I hoped ICE would turn into. I hope that I can help you with testing the program and help give you feed back to make it better. GREAT JOB.
I have a lot of experience with ICE and working out all of the command line executable arguments in order to get a seamless experience with running all of these emulators with only a controller from Big Picture Mode. I saw on reddit that you are looking for those arguments so that you can build in those arguments as preset option for different emulators. When I am done testing, I will be happy to gradually pass those along to you.
Right now the only problem I have is that when SRM is building the database it has a big problem with timing out when looking for the Steam Grid image. I dont think it is a problem with your program but rather the website that is serving your program the images. I am not sure what can be done about that but I will post a image of what I am talking about. The message in the bottom right keeps popping up and most of the images never end up populating.
You can close this Enhancement thread whenever you want as a success. Thanks!
from steam-rom-manager.
@HEspoke Thank you. Those arguments for presets would be great! Eventually I will implement some sort of argument wizard, that would help to construct final argument string. Finally, I can't really do anything about retrogaming.cloud, but the owner promised he would create a new API which would reduce the amount of timeouts.
from steam-rom-manager.
Related Issues (20)
- 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
- Fatal error occurred in preview. Windows 10 for PC HOT 1
- [REQUEST] Add support for Dualsense Edge in Steam ROM Manager HOT 2
- [REQUEST] Reword "Please shutdown Steam if it is running" HOT 3
- [REQUEST] Make this program scan subfolders? HOT 1
- Battle.net parser doesn't see Diablo IV or Diablo II HOT 1
- [REQUEST] custom titles HOT 1
- [REQUEST] per parser artwork language options HOT 7
- [REQUEST] option to keep original title when fixing match HOT 2
- [REQUEST] Let us see the file name of a game in the Parse page HOT 1
- [BUG] No games on view games page even after adding to steam and refreshing HOT 2
- [REQUEST] Seperate file for user-defined customVariables 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 steam-rom-manager.