Previous Thread
Next Thread
Print Thread
Page 109 of 116 1 2 107 108 109 110 111 115 116
Joined: Jul 2010
Posts: 40
P
Member
Offline
Member
P
Joined: Jul 2010
Posts: 40
I don't think it's a renaming issue. Those that lost their Favorites are nes and neogeo.
Thanks for the link. I'm looking forward to tinkering and learning with it smile

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Yeah, just create backup copies before you edit them with any tool smile.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2010
Posts: 40
P
Member
Offline
Member
P
Joined: Jul 2010
Posts: 40
Update: Fixed thanks to your advice smile
What happened and how did I do it?
Opening the existing mame-user-data.db in DB Browser for SQLite was interesting. While it had records for Favorites for most systems, the systems I was having problems with didn't show up at all.
I think the file must have been corrupted or truncated in some way. Possibly connected to some QMC2 crashes that happened last version when I would open the softlist. Incidentally, I didn't report those crashes here because it was intermittant and I wasn't able to predictably reproduce them. Those crashes have stopped now with the latest version, btw.
Back to fixing things. Fortunately I learnt from last time I had some corruption. A few months ago, I have a corrupted mame.fav after some power supply disruption. Since then, I learnt how to mount the image from the Windows 7 image backup. So I did that and retreived a previous copy of mame-user-data.db. Opening this one in DB Browser for SQLite showed that the corruption/data loss must have happened in the last few days because the missing records were there! All I had to do was export some recent additions from the somewhat corrupt copy into this un-corrupted backup file using DB Browser. Then put that file where QMC2 expects it to be and test. And it worked! Everything is appearing the way it should do and nothing is lost. All back to normal now smile

What have I learnt from this?
That clearing cache is the QMC2 equivalent of "turning it off and on again".
That it's a good idea to reguarly save backup copies. That's a process I'll get into the habit of doing!
And it was really interesting seeing how QMC2 stores it's data in SQLite!

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Nice! Glad it works again!


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Nov 2011
Posts: 175
O
Senior Member
Offline
Senior Member
O
Joined: Nov 2011
Posts: 175
Hello Rene, with the last svn r7510 and mame git :
Git SHA-1 : c8ade5d1fcf9195f5bd3485dd7887bebe34a9a93
Revision : 42826
qmc2 stop startig games:
test clean cashes, reset - nothing.
qmc2 report this:

example with few games:
Code:
16:09:27.553: starting emulator #0, command = g:\M.A.М.Е\mame64.exe -bgfx_backend d3d9 -curvature 0.10000000 -hlsl_enable -reflection 0.10000000 -round_corner 0.10000000 -saturation 1.10000000 -yiq_cc 3.57955000 -mouse -multikeyboard -multimouse -cheat -plugin hiscore,cheat,cheatfind,timer -skip_gameinfo -artpath "artwork;g:\MAME\Mame_ARTs\artworks\;g:\MAME\Mame_ARTs\artworks_official" -cheatpath "g:\M.A.М.Е\cheat;g:\M.A.М.Е\cheat_wayder" -hashpath "g:\M.A.М.Е\hash" -rompath "g:\MAME\Mame_CHDs\;g:\MAME\Mame_ROMs\;g:\MAME\Mame_SL_CHDs\;g:\MAME\Mame_SL_ROMs" -samplepath "g:\MAME\Mame_ARTs\samples" -video d3d futari15
16:09:27.631: emulator #0 started, PID = 314876864, running emulators = 1
16:09:28.408: emulator #0 finished, exit code = 6 (invalid configuration), exit status = normal, remaining emulators = 0
16:09:42.395: starting emulator #1, command = g:\M.A.М.Е\mame64.exe -bgfx_backend gles -bgfx_screen_chains hlsl -curvature 0.10000000 -hlsl_enable -reflection 0.10000000 -round_corner 0.10000000 -saturation 1.10000000 -yiq_cc 3.57955000 -mouse -multikeyboard -multimouse -cheat -plugin hiscore,cheat,cheatfind,timer -skip_gameinfo -artpath "artwork;g:\MAME\Mame_ARTs\artworks\;g:\MAME\Mame_ARTs\artworks_official" -cheatpath "g:\M.A.М.Е\cheat;g:\M.A.М.Е\cheat_wayder" -hashpath "g:\M.A.М.Е\hash" -rompath "g:\MAME\Mame_CHDs\;g:\MAME\Mame_ROMs\;g:\MAME\Mame_SL_CHDs\;g:\MAME\Mame_SL_ROMs" -samplepath "g:\MAME\Mame_ARTs\samples" -video d3d dfkbl
16:09:42.443: emulator #1 started, PID = 317163856, running emulators = 1
16:09:42.550: emulator #1 finished, exit code = 6 (invalid configuration), exit status = normal, remaining emulators = 0


Last edited by oddi; 04/24/16 01:13 PM.
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Why are you using "-video d3d"? You're apparently trying some BGFX stuff, so "-video bgfx" would be correct.

What does the emulator log say why it returns 6?


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Nov 2011
Posts: 175
O
Senior Member
Offline
Senior Member
O
Joined: Nov 2011
Posts: 175
in qmc2 settings i enable bgfx and d3d for old crt effect smile
from video menu change or bgfx or d3d.
i dont know why show "-video bgfx" settings if enable d3d mode.

What does the emulator log say why it returns 6?
dont know, but now not starting any game.

btw - now compiling the last mame git and try again,
result after 20-30min

no, same history, qmc2 dont start any game
test with mame:
Git SHA-1 : c2c22570779f69e6921499b7abeb75f6db3d7822
Revision : 42895


Rene, removed all qmc2 seetings folders, cashes
absolutly clean qmc2 :
config only path to mame executables and path to mame roms.

examples : start pang , game not starting , see log:

Code:
17:18:48.536: M.A.M.E. Catalog / Launcher II v0.63, SVN r7510 (Qt 4.8.6, MAME, Windows x86_64-w64-mingw32)
17:18:48.537: Phonon features enabled - using Phonon v4.4.0
17:18:48.537: SDL joystick support enabled - using SDL v2.0.3
17:18:48.538: processing global emulator configuration
17:18:48.538: creating template configuration map
17:18:48.539: template info: emulator = MAME, version = 0.172, format = 0.2.8
17:18:48.836: determining emulator version and supported sets
17:18:48.920: image cache size set to 64 MB
17:18:48.969: shortcut map is clean
17:18:48.970: joystick map is clean
17:18:49.010: please reload machine list for some changes to take effect
17:18:49.010: creating template configuration map
17:18:49.011: template info: emulator = MAME, version = 0.172, format = 0.2.8
17:18:49.709: done (determining emulator version and supported sets, elapsed time = 00:00.873)
17:18:49.710: emulator info: type = MAME, version = 0.172
17:18:49.710: 33429 supported (non-device) sets
17:18:49.711: loading XML data and recreating cache
17:21:00.764: done (loading XML data and recreating cache, elapsed time = 02:11.053)
17:21:00.771: WARNING: can't open ROM state cache, please check ROMs
17:21:00.772: processing machine list
17:21:00.774: pre-caching icons from directory
17:21:01.149: done (pre-caching icons from directory, elapsed time = 00:00.375)
17:21:01.150: 0 icons loaded
17:21:01.150: parsing machine data and recreating machine list cache
17:21:14.800: sorting machine list by machine description in ascending order
17:21:15.080: done (processing machine list, elapsed time = 00:14.308)
17:21:15.081: 33360 machines, 69 BIOS sets and 3025 devices loaded
17:21:15.081: ROM state info: L:36454 C:? M:? I:? N:? U:36454
17:21:15.093: loading favorites and play history
17:21:15.094: done (loading favorites and play history)
17:21:15.094: total start-up time: 02:26.558
17:21:22.373: starting emulator #0, command = G:\M.A.М.Е\mame64.exe -rompath "g:\MAME\Mame_ROMs" -window -nomaximize -keepaspect -rotate -noror -norol pang
17:21:22.479: emulator #0 started, PID = 224138048, running emulators = 1
17:21:22.735: embedding emulator #0, window ID = 0x5085c
17:21:22.980: emulator #0 embedded, window ID = 0x5085c
17:21:28.015: window ID for emulator #0 lost, looking for replacement
17:21:28.031: WARNING: emulator #0 crashed
17:21:28.031: emulator #0 finished, exit code = -1073740940 (unknown error), exit status = crashed, remaining emulators = 0
17:21:28.032: no replacement window ID found for emulator #0, closing embedder
17:21:36.262: starting emulator #1, command = G:\M.A.М.Е\mame64.exe -rompath "g:\MAME\Mame_ROMs" -window -nomaximize -keepaspect -rotate -noror -norol pang
17:21:36.300: emulator #1 started, PID = 268267712, running emulators = 1
17:21:36.550: embedding emulator #1, window ID = 0x6085a
17:21:36.641: emulator #1 embedded, window ID = 0x6085a
17:21:37.167: window ID for emulator #1 lost, looking for replacement
17:21:37.169: WARNING: emulator #1 crashed
17:21:37.170: emulator #1 finished, exit code = -1073740940 (unknown error), exit status = crashed, remaining emulators = 0
17:21:37.170: no replacement window ID found for emulator #1, closing embedder
17:21:43.182: starting emulator #2, command = G:\M.A.М.Е\mame64.exe -rompath "g:\MAME\Mame_ROMs" pang
17:21:43.252: emulator #2 started, PID = 266784512, running emulators = 1
17:21:46.373: WARNING: emulator #2 crashed
17:21:46.373: emulator #2 finished, exit code = -1073740940 (unknown error), exit status = crashed, remaining emulators = 0


btw - with MameUI all it's fine.

Last edited by oddi; 04/24/16 02:24 PM.
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Working fine here. So what does the emulator log say about the issue, probably using -verbose as well?


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Your MAME build is either not clean (likely), or something weird is going on on your side smile...

EDIT: Also, I still want the emulator log, not the front-end log wink.

Last edited by qmc2; 04/24/16 02:30 PM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Nov 2011
Posts: 175
O
Senior Member
Offline
Senior Member
O
Joined: Nov 2011
Posts: 175
Hmmm, absolutly clean mame compiling, qmc2 too.
removed all qmc2 and mame - safe folders, cashes and other stuffs.
with MameUI - all it's fine, game playbale
if start masme with qmc2 - crashed.

hmm , emulator log windows is empty, weird.

Last edited by oddi; 04/24/16 02:32 PM.
Page 109 of 116 1 2 107 108 109 110 111 115 116

Moderated by  qmc2 

Link Copied to Clipboard
Who's Online Now
3 members (Bletch, belegdol, 1 invisible), 29 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,103
Posts119,286
Members5,019
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com