Home Page

Questions, suggestions or requests topic

Posted By: Shideravan

Questions, suggestions or requests topic - 10/09/12 02:57 PM

I think that it will be a good place to put all of them smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/09/12 03:02 PM

Ren, It's possible to get info from MAME/MESS such CPUs and Resolution from the system?

The idea: create these new macros for show that information for the user in the templates, and plus, show system snapshots with proportionally of the same resolution from the real system smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/09/12 08:25 PM

Yeah, basically everything that's in the XML data (-listxml) could be made available... however, with slot-devices things may look different, so I tend to say it's not very useful (at least wrt screen resolutions).
Posted By: jake74

Re: Questions, suggestions or requests topic - 10/09/12 09:09 PM

I seem to have disabled in-game sound.
The MP3 player runs ok, but no game plays with sound. I can't find an option that I've deselected to turn back on, and have tried restoring defaults and selecting paths again, but the sound is still non-existant.

It was working earlier today, and I don't know what's changed. Sound is certainly working in other apps.

Any pointers?
Posted By: jake74

Re: Questions, suggestions or requests topic - 10/09/12 09:20 PM

Nevermind, found it. Managed to move the SDL audio driver off 'auto'

Anyway, next question how do I utilise scanline/crt PNG files as overlays?

thanks!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/10/12 12:47 PM

Could you do a function for don't show [?] when a web image is not found in template notes (or link for the image is broken)?

EDIT: Or better. A function to see when it will show the [?] and we have a way to try to do something different (try to call another image source or show ghost image, or even change all the layout, for example) smile
Posted By: remax

Re: Questions, suggestions or requests topic - 10/10/12 04:00 PM

Is there a way to easily erase the nvram in QMC2?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/10/12 09:13 PM

@remax: simple answer: no smile! But if that seems useful it could be added...

@Shideravan: the ghost image is automatically presented as the fall-back image (path), so I really don't get your point wink. As I said before, use something like this in the template:

Code:
<script>
  if ( "$PREVIEW_IMAGE$" == "$GHOST_IMAGE$" )
    document.write("<img src=\"/alternate/image.png\">");
</script>

@jake74: in the same way as you would with command-line MAME... that is, I'm actually not sure what has to be done to accomplish that, but you'd have to set the exact same options in QMC2.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/10/12 09:50 PM

@QMC2: I'm not talking about Ghost Image, but about broken image itself.
For example, I check if user have a cabinet in default path, if don't it will try to get from ProjectMESS or ArcadeHits.
But I can't say if the system have a image entry in one of the websites.
If don't, QMC2 don't show a ghost image, but a [?] simbol of a broken image.
Maybe I can send the template for you to see the point of problem...
Posted By: remax

Re: Questions, suggestions or requests topic - 10/10/12 09:59 PM

Originally Posted By qmc2
@remax: simple answer: no smile! But if that seems useful it could be added...


Well, it's not that i use that a lot, but for driver a bit instable (like the PCW16) where a simple mistake leads to having to start from scratch, it may be handful.

... but only if doesn't mean too much work.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/10/12 11:24 PM

With so many improvements in note templates area, I'll be happy if note manu bar could have a option to hide itself smile (and could be reabilited in right-button menu for example)
smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/11/12 07:01 AM

Originally Posted By Shideravan
But I can't say if the system have a image entry in one of the websites.

The point is: QMC2 doesn't know either smile! It's all up to QtWebKit...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/11/12 10:56 AM

I tried using this simple JavaScript function in the template to check if an image URL exists / is valid:

Code:
<script language="JavaScript">
function imageExists(url) 
{
        var img = new Image();
        img.src = url;
        return img.height != 0;
}
</script>

Then do something like this to react on the result of the check:

Code:
<script>
if ( imageExists("http://some.domain.net/snaps/$ID$.png") )
        document.write("<img src=\"http://some.domain.net/snaps/$ID$.png\">");
else
        document.write("<img src=\"$GHOST_IMAGE$\">");
</script>

Works nicely here!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/13/12 01:43 PM

I've been asked to add a PDF viewer several times in the past, and though it's basically not too difficult with libraries like poppler or MuPDF, the common issue with all of them is that they have many library-dependencies. Now I found a nice Mozilla pet-project (PDF.js) which allows me to do it with QtWebKit smile!

This is the outcome from my tests:


(It's exactly what's available on their demo-page, just integrated into QMC2's source tree.)

It's a bit slow at the moment and has some obvious bugs (mostly known to the developers), however, it's still already doing a nice job and I think it's probably the best alternative I have! What do you think?
Posted By: remax

Re: Questions, suggestions or requests topic - 10/13/12 01:48 PM

Nice, that could be a good way to include the manual archive from progettosnaps.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/13/12 01:55 PM

Right, that's what it's meant for in the first place smile! I will actually not use it in the MiniWebBrowser itself (that was just to do a basic integration test), but I will create a new "manuals" game/machine detail-widget which will use the same technique (and also allow you to select the PDFs and probably other files like image- and text-files). The idea is to have a folder for each game/machine with one or more documents in it...
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/13/12 05:17 PM

I'll add manual support for pdf in the templates soon smile

Just for curiosity, new versions of QMC2 already have support for open new windows in notes, like it does in MiniWebBrowser?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/13/12 06:00 PM

Originally Posted By Shideravan
I'll add manual support for pdf in the templates soon smile

That wouldn't work smile.

Originally Posted By Shideravan
Just for curiosity, new versions of QMC2 already have support for open new windows in notes, like it does in MiniWebBrowser?

Yes, but it depends on how you do it (normal link works). It doesn't work through a button with JavaScript, though, because I can only support JS while loading from a template, not when editing (nearly all editing functions are JS based, so that's used internally).
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/13/12 06:16 PM

Originally Posted By qmc2

Originally Posted By Shideravan
Just for curiosity, new versions of QMC2 already have support for open new windows in notes, like it does in MiniWebBrowser?

Yes, but it depends on how you do it (normal link works). It doesn't work through a button with JavaScript, though, because I can only support JS while loading from a template, not when editing (nearly all editing functions are JS based, so that's used internally).

That means that maybe QMC2 notes never will support buttons that open windows (just normal links) or maybe that could come someday?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/13/12 06:20 PM

It means right now this isn't supported. I know what I'd have to do to make it work, but the HTML editor doesn't support this in the same way as the browser right now (simply because it was never meant to be used like a browser wink ).
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/13/12 11:36 PM

Originally Posted By qmc2
It means right now this isn't supported. I know what I'd have to do to make it work, but the HTML editor doesn't support this in the same way as the browser right now (simply because it was never meant to be used like a browser wink ).


Ahhh, Ok...
I'd knew that, hehe... (btw, I think that I already suggested a way to use templates like a browser without using in the editor :p)
About templates, I want to finish that soon, and so long I reach the best that I can do for that, it will be very rare to receive future updates. That's why I want to put features that only will be avaliable in future (such .pdf support and javascript full support wink - if you're plannig more things that affect templates and are coming, but don't are supported yet, you can tell me that I try to give support for new things if that improve the templates use experience)
Just don't look for this as a pressure for implementation of these features in any way, just take your time smile

Ps.: Even we know that everyone have a real life, I have to say that you dedication for the project it's so inspiring smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/14/12 08:05 PM

Ren, I think that rather use notes area for show templates, a better aproach is to creating a new tab area called, for example "templates" that in truth show the MiniWebBrowser, but with full custom QMC2 macro compatibility (if that's possible, opf course). A few arguments that corroborate this opinion:

1) The "note area", have a some toolbars, such "Standard toolbar", "Formating toolbar" (showed by default), and plus menubar and "WYSUWYG/HTML" tabs (that cant't be hide), that in fact, don't contribute for template use experience and plus spend a lot of precious area that could be used for templates itself. Some people can call them "trollbars". I think that they are useful. Of course if used ONLY for note edition (and not for templates use). And, at less in my view point, the big dificulty for template creation is to show more information possible in smallest space possible, without creating a visual pollution. Since just a <br> could ruin a visual experience of template, imagine with all those bars.

2) Everytime that a new feature are add in "notes", that's are very celebrated, since a new feature create a possibility of brand new options for template creation. But wait: miniWebBrowser already have full html,css, javascript, ajax, etc. etc. support. Sometimes the work spend in note support are only reinventing the wheel. And plus note that approaching not only make easier for templates creation (since the the user can use full use of all the features and languages supported in MiniWebBrowser), but that also make easier for all the QMC2 support. smile

3) As was said long time before in somewhere, a exclusive template area are a lot more intuitive for new users. Well, note that "notes" stand for a place for user create "notes", and not for template use. Btw, new users usually try to open template in "File->Load" until discover that the right place to choose a template are in options menu. With a "Template tab" the users will know that him have to choose a template in and they will eventually find the place in options menu (since don't will have a no more any other option that can confuse him).

4) A place for exclusive use of template avoid for user accidental edition.

5) Some people can clain that use a new detail area for use of templates can take away the possibility for write user his own comments. But:
i) if it's really imprencidible, it will be possible to use the macro $ID$ for save each system templates in a default folder using a script.
ii) User Comments are a good adiction, but we already have the "notes" tab, that, since his creation could be used for this. And plus, without a template competing for space, user can have all of his space for create his system notes.
iii) Unfortunatelly, the idea of edit comments never worked well. For exemple, if user want to edit a coment inside a cell of a table, [ENTER] don't skip for next line, but that create a new cell.

Well, that's my opinion wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/15/12 04:16 PM

The notes features were actually made to allow the user to make his personal comments (or notes). The template stuff just went in additionally since it makes it easier to fill the notes with data that's already available, and optionally add comments at the same time, but it's never been the main intention to use it ONLY with templates -- though it's a nice use case smile.

The two editing tool-bars can be hidden, BTW. The menu bar can't right now, simply because I have not yet found a nice way to re-enable it (other than in a more or less unrelated dialog). But since this is still a WYSIWYG editor, it actually makes sense to have the menu and its actions available at all times wink... the tool-bars are just alternative places to trigger some of the menu actions and can thus be seen as optional.

You're not forced to use it as a notes editor, though, and can use it as a read only detail through templates...

I'm not sure what I should answer to your comment about the setup of notes-templates... it would actually make no difference if this feature were 'specialized' or 'doubled' for your suggested use case or not smile. Also, there has been ONE question about where to configure templates in the past (at least only one that I know of) and that doesn't convince me that new users really have trouble setting this up.

The editing capabilities are limited, I'm aware of this, but they still allow everything you need (and will sooner or later be improved anyway).
Posted By: Rayman

Re: Questions, suggestions or requests topic - 10/15/12 05:20 PM

Just for curiosity: it's technically possible (even its improvable) to make the embedded browser compatible with the qmc2 templates?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/15/12 05:29 PM

Sure it is.
Posted By: B2K24

Re: Questions, suggestions or requests topic - 10/16/12 05:52 AM

I notice when loading games from software list, tab information such as name, year, publisher, etc is displayed which I assume is parsed from the system XML.

Is there any chance an extra pane could be added that displays supported = yes, partial, or no, so I could see that information in real time before I load a game?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/16/12 06:59 AM

Yes, it could be added... I'll do it soon smile!

EDIT: added in SVN r4356 wink.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/16/12 09:21 AM

Originally Posted By qmc2
The two editing tool-bars can be hidden, BTW. The menu bar can't right now, simply because I have not yet found a nice way to re-enable it (other than in a more or less unrelated dialog).

I've added a "hide menu" check-box as the 'corner-widget' of the editor's tab-widget (where you can switch between WYSIWYG and HTML, see bottom-right corner). SVN r4357.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/16/12 10:03 AM

... and you'll also find a new option in that area to make the editor's contents read-only (SVN r4358).
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/16/12 04:20 PM

All those new things will be very welcome for template use for display informations smile
Posted By: B2K24

Re: Questions, suggestions or requests topic - 10/16/12 04:36 PM

Originally Posted By qmc2
Yes, it could be added... I'll do it soon smile!

EDIT: added in SVN r4356 wink.


Thank you very much for adding that smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/16/12 06:02 PM

smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/17/12 10:21 AM

It was no big deal, otherwise it would've been postponed (aka put on the TODO list smile ).
Posted By: RColtrane

Re: Questions, suggestions or requests topic - 10/24/12 05:47 PM

I think I've already suggested it before but I cannot remember, so I'm going to request it again... smile

Is there any way to make those 3D models to work inside QMC2? Such as the 3Darcade website 'flash' previews, that displays the cabinet rotating. This would be a kickass feature in QMC2!!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/24/12 05:56 PM

Yes, you did smile! It's on the TODO list... well, doing it natively would require QtDeclarative / QML, something I'm gonna start with real soon anyway for the long-awaited 'Arcade Mode' (which will be re-done in QML)... this has a higher priority right now and is a major task wink.

BUT: yes, when you've installed the Flash plugin, you could also run it in the browser... the notes-template feature is a good place for that smile! I'll perhaps add something like that to my example template soon...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/24/12 09:24 PM

The Shockwave Player works in QtWebKit, but only for the 32-bit version... the plugin doesn't work in non-IE 64-bit browsers. That's a known issue, but Adobe probably doesn't care.



Apart from that the main problem is that the 3D preview URLs aren't easy to 'guess' wink...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/25/12 08:05 AM

Regarding native support for 3D arcade models through QML / Qt 3D (which is definitely desirable because of Shockwave's platform restrictions, see above), the currently supported mesh format plugins are listed here (Qt 5):

http://doc-snapshot.qt-project.org/5.0/qt3d-index.html#asset-loading

This limits the models QMC2 will be able to render to the 3D Studio Max format (which is also available in Qt 4.8, but requires Qt 3D as an add-on). Not all models are available in 3ds max format, but most of them... and there are probably/hopefully converters for some of the other formats.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/25/12 08:13 PM

Originally Posted By qmc2
this has a higher priority right now and is a major task wink


Please, rise the priority of this item too:

Quote:

Add a nicer 'quick-search' function (replacing the default keyboard-search implementation inherited from QAbstractItemView) to all 4 game/machine list views and the software-list views including a pop-up editor to display and customize the search string


smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/26/12 07:52 AM

The priority is not very high because there already IS a nice search function... however, it will be done, sooner or later smile.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/31/12 03:19 PM

How I can show icons?
Both in bar and in default template?

Ps.: When I click in clean all caches of the emulator, nothing happens frown
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/31/12 04:10 PM

What? The default template just shows the icons (when they are available), and what do you mean with "bar" here?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/31/12 04:24 PM

Originally Posted By Shideravan
Ps.: When I click in clean all caches of the emulator, nothing happens frown

What do you expect to happen? Take a look at the front-end log... and when you reload or restart it WILL change something wink.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/31/12 04:30 PM

Originally Posted By qmc2
What do you mean with "bar" here?

Oops, I meant column...
Icon column :p
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/31/12 04:34 PM

I give basically the same answer: when they are available, they are shown in the icon column wink.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/31/12 06:07 PM

Problem fixed here!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 10/31/12 06:58 PM

Looking for new versions of our templates I had a idea: it's possible to create a configuration menu for templates (similar to 'options menu' of QMC2)?
With so many options for new versions of templates, I think that would be the better idea ^^ ).

Ps.: I thought in a wrench icon, like Chrome older versions, to open config. menu.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/31/12 07:54 PM

Well, that's up to the template... QMC2 cannot know beforehand what settings a template needs. It can only provide helper functions.
Posted By: ASH

Re: Questions, suggestions or requests topic - 10/31/12 08:00 PM


Could the favourite's page have a view option with a grid of LARGE icons with that nifty drop shadow effect thats on your templates folder (and the round edges is pretty cool too)

also could the grid be customisable I.E. 3x4 or 5x8 or 20x10 etc

options for just icons , icons with names (above , below) coloured text, text size , icon size , show a picture or an icon etc

something like this....(I mocked this up)



and if you really want to go mad have a favourites game's tab with large pictures/icons the same way.
so if you wanted a game of 'The Legend of Zelda' you would start up qmc2, goto 'Game Favourite's' and launch the cover box of 'Zelda II' for NES , the cover box of Zelda (A link to the past) for the snes or the cover box of 'Majora's Mask' for the N64 and qmc2 would load the correct emulator and software

you having previously made them a favourite game.

so a mix of games for all the consoles in a tab on the machine list side.

again something like this...



Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/01/12 10:25 AM

Hmmm, the idea of changing the favorites-tab was meant differently, to be honest, but I've not yet decided 100% which way to go, so suggestions are welcome... however, games in case of MESS are actually part of software-lists or device-configurations, which is completely different than in case of MAME (for 99% of all cases -- I know there are a few MAME soft-lists as well), and I don't want to implement that differently depending upon the emulator. Really, that's why there's a "favorites page" in the software-list module, and the ability to store device-configurations in the device-mapper module.
Posted By: ASH

Re: Questions, suggestions or requests topic - 11/02/12 02:22 PM

Yeah I expected the game favourite to be a non starter. smile

but the Machine Favourites could look ace with pictures/Larger icons

I suppose something like those 3D cabinets for Mame etc.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/05/12 01:57 PM

Sorry for not showing up earlier... I've been sick laying in bed during the last 4-5 days, but start feeling better now wink.

@ASH: I didn't say your idea is a non starter smile... it's just not what I was planning to do. However, as I haven't started changing anything with regard to it yet, I think I could take this into account, i.e. by providing sub-categories and different views within favorites. That is, on one page you would add your favorite games/machines and be able to setup your personal categories for them (that's basically what I originally intended), on a second page you could add device- or software-favorites... and both could be provided in at least two different views: in a "tree" and in a "grid". How about that?
Posted By: ASH

Re: Questions, suggestions or requests topic - 11/05/12 06:08 PM

Originally Posted By qmc2
How about that?


Sounds good to me. Thanks.
Posted By: ASH

Re: Questions, suggestions or requests topic - 11/17/12 10:20 AM

I don't know if this is possible but I think there should be an option to run a script with the software list that will load software on computers automatically.

for E.G.
I grew up with a ZX81,Spectrum,Sam Cupe,Amiga,PC then consoles (snes,n64 etc)

so for me loading software into the ZX Spectrum is a breeze press 'J' then 'Symbol Shift' and 'P' twice <enter>....this would give LOAD "" <enter>

BUT to load a game off a microdrive needed 'RUN' which was the 'R' key (and that was the boot option) if you needed a different file loading it would require something like this...

LOAD *"m";1;"program name"

even I had to look that up and I had a ZX Spectrum with Microdive (26 years ago)

so a script that would know what software needed which commands to get it running.

Running software on a system that I have never seen would be impossible if there is no help

and most people will give up if LOAD "" fails.

people could contribute scripts for system software and over time any game could be automatically loaded and used without knowing about every system in MESS.

of course this option could be disabled for people that like the old way of doing things.


Even if Mess has to change to accept this. I think it will be a step forward.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/17/12 08:17 PM

Hmmm, that would require to (first record, then) playback an input file... it's theoretically also possible to do simulated input, but despite its peculiarities it's a platform dependent thing (which I want to avoid). I do this on X11 platforms in one case, namely to auto-pause embedded emulators, but it's not nice.

EDIT: perhaps a better idea would be to somehow (optionally) include the required inputs to start the software in software-lists, and adding an option to MAME/MESS to execute it?!
Posted By: ASH

Re: Questions, suggestions or requests topic - 11/18/12 11:19 AM

Quote:
perhaps a better idea would be to somehow (optionally) include the required inputs to start the software in software-lists, and adding an option to MAME/MESS to execute it?!


Yes, that might be better and QMC2 can then send this info to MESS if needed (or turn the option on in MESS if needed)
I suppose it would be like the copy paste function with a few delays for the system to start up.


Do you think the team would accept this?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/18/12 11:33 AM

If 'someone' made a clean patch, perhaps smile. However, inp files contain binary data, which may be terrible to include in the XML...

Hmmm, reviving my long-standing idea of adding some IPC functionality to MAME/MESS, i.e. in the form of a telnet-like console (connection), it would even be possible to add a 'simulate-key' command or so... this would allow doing this stuff in a platform independent way. I actually talked to Micko a while back about the 'console server' idea, offering to add a patch at some point, and his answer basically was: as long as it doesn't cause any slowdowns or other issues to the emulation and doesn't impose any additional requirements, well, why not smile?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/30/12 09:02 AM

BTW, before someone asks... work has been started in the background to eventually also support emulator embedding on Mac OS X! Thanks go to our new development team member Mario Sergio.
Posted By: ASH

Re: Questions, suggestions or requests topic - 12/02/12 09:36 AM

Are there plans to add some HLSL templates (preset's) in qmc2?

Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/02/12 10:46 AM

Not really, but when you have those presets in the form of .ini files they can already easily be imported (loaded) wink!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/02/12 11:14 AM

Also, regarding HLSL presets themselves I think that the MAME/MESS/UME source distribution is a better place.
Posted By: remax

Re: Questions, suggestions or requests topic - 12/09/12 05:18 PM

Is there a way to enforce 64 bits build in mingw?

Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/09/12 05:37 PM

When you're using the 64 bit MinGW it will produce a 64 bit build.
Posted By: remax

Re: Questions, suggestions or requests topic - 12/09/12 07:04 PM

ok... cause when i do make config, MACHINE is set to x86_64-w64-mingw32 and i have never understood if that is a 64 or 32bits build environement (and i see some -lmingw32 switches when building).
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 12/09/12 07:34 PM

Just a question, you don't have plans to improve the system search anymore?
The current, even a much better since the use of dinamic search it's a little annoying for don't perform searchs in the "game list" tab...
I think that it's one of the most useful things that could be done for QMC2 today smile
And don't need a "pop up screen". Just perform a quick search inside the machine list it's a lot useful smile
(I know that this conversation accidentelly started in another topic, but I'm sure that this a better place for it).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/10/12 09:31 AM

Who said I wouldn't want to improve the search features?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/10/12 09:38 AM

@remax: the MACHINE variable is automatically set from 'gcc -dumpmachine' on Windows (MinGW), and x86_64 is the correct architecture for 64-bit on x86, also commonly called x64 on Windows, or w64 in case of MinGW (probably just to confuse the Russians... oh, that's from a different time smile ).
Posted By: remax

Re: Questions, suggestions or requests topic - 12/10/12 04:04 PM

ok so the mingw32 part has no signification smile

Fine!
Posted By: saturn5

Re: Questions, suggestions or requests topic - 12/19/12 02:16 PM

Is it possible to apply filters to the Game list window ?

I suppose what I am asking about is whether it would be possible to add something like the Smart Playlist functionality of iTunes where you can customise the view depending on the results of particular fields you want to see. So for instance you could have a playlist/view that only showed those games where the Driver Status = Good.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/19/12 02:36 PM

It's not possible at the moment, but already planned.
Posted By: B2K24

Re: Questions, suggestions or requests topic - 12/21/12 06:11 PM

You can click Driver status then the Game list aligns alphabetically with good being scrollable first smile
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 12/21/12 06:43 PM

Originally Posted By B2K24
You can click Driver status then the Game list aligns alphabetically with good being scrollable first smile


You reminded me of what. smile Keyword: Arcade mode thing
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/21/12 06:44 PM

???
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 12/21/12 06:53 PM

Originally Posted By qmc2
???


I like to have a scrollbar for the game title buttons.
So a faster movement is possible. Maybe with mouse wheel support?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/21/12 06:53 PM

@B2K24: yeah, I wanted to answer that myself in the first place, but it's not the same as what the OP requested. It's OK as a work-around until there's an advanced filter mechanism though smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/21/12 06:54 PM

Anna: mouse wheel / mouse dragging is already supported... but a scroll-bar would actually hurt.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 12/21/12 07:00 PM

Originally Posted By qmc2
Anna: mouse wheel / mouse dragging is already supported... but a scroll-bar would actually hurt.


You are right. It seems my wheel is broken or contaminated. Just another mouse tested. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/21/12 07:01 PM

Ah, OK smile!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/03/13 04:47 PM

Just a small question:
QMC2 could know the information that is show in "System information" from MAME/MESS?
If the answer is true, its possible to create macro for use them this info in templates?
I have some ideas for use for example, inform to use if the drive needs Sample, don't search preview images if Video is none (for example, Pinball or Fruit machines, or drivers like Merlin, etc.), create a link for source of a drive online (example: http://mamedev.org/source/src/mame/drivers/sms.c.html)
And of couse, create a new column with drive informations (Audio, Video, Driver, etc.)
These would be very useful and flexible macros laugh
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/03/13 05:48 PM

What do you mean? System information is a synonym for game-/machine-information, which is supported as you know smile.

Also, you can look up the supported macros in the wiki!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/03/13 07:44 PM

OK, you're apparently asking for some not-yet-available data from -listxml... mapping those to system-notes macros is possible, though the data would have to be treated specifically, and that means an even bigger memory footprint and processing overhead. However, some of it may sooner or later be supported as separate game/machine data columns in the views, and at that point made available to system-notes macros as well.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/03/13 08:25 PM

Also, there are plans to use a database for things like these and other stuff, meaning that the data could be queried on demand w/o uselessly filling up memory... but that's not yet on the road map smile.

Note that all the "missing" data from -listxml is basically already there, it's just usually not fully processed. It is, however, already "queried on demand" and displayed in a tree below each game/machine item (in the "full-detail" view only). This process is currently very expensive because the data is searched for in the "raw" -listxml output, and given the many new systems added to MAME within the last year or so, it's no longer "the best approach" to be honest. Anyway, that's the main reason why I can't provide this data as system-notes macros right now.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/03/13 10:57 PM

No.
I'm talking about CPU, Video, Sound and driver information (which I thought that are available for frontends since MESSUI use for create some filters).
Not EmuInfo nor MachineInfo (nor xml new info).
Just open MESS/MAME and [TAB] and choose System/Game Info laugh
These kind of information, hehe
laugh
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/03/13 11:16 PM

Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/03/13 11:21 PM

Not only to sho this information, but for example, wioth this information, I know that the source code for this system can be found in http://mamedev.org/source/src/mess/drivers/snes.c.html
Also, System that use Samples show "Sample" in sound information.
Also, system that don't use screen show Video: none.
Etc. etc. etc.

Also, these informations are very interesting too laugh
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 01/03/13 11:52 PM

People go to a lot of effort to make sure they never learn any of that information while playing MAME smile

Regardless, I think everything on that screen is in -listxml and should be available to QMC2.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/04/13 02:27 AM

Right, all of this is available, just right now not in a way suitable for what Shideravan wants it for...
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/04/13 01:49 PM

Ok, if isn't possible to separate the informations in blocks for use that way, at less have this info to show at same way thats in System Info could be very useful too!

Also, if it's possible the show the status of flags like "GAME_SUPPORTS_SAVE", "GAME_IMPERFECT_GRAPHICS", "GAME_IMPERFECT_SOUND", etc. could be very useful also, for all the users smile
That will mean, for example, that some messages like:

# "THIS GAME DOES NOT WORK PROPERLY"
# "THE SOUND EMULATION IS NOT 100% ACCURATE"
# "THE VIDEO EMULATION IS NOT 100% ACCURATE"
# "THIS GAME LACKS SOUND"

WILL appear on the screen, and can avoid the users get a ROM or CHD for a game that don't work properly...
ALSO means that project member already know that these problems exist!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/04/13 01:55 PM

I agree, but it will take a bit of time... once the database mentioned above works, you should be able to "SQL-query" any information you'd want directly from JavaScript smile.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/04/13 02:05 PM

Quote:
I agree, but it will take a bit of time... once the database mentioned above works, you should be able to "SQL-query" any information you'd want directly from JavaScript .


Don't need to hurry, take your time smile
All time that you take reveals a great work in final smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/04/13 02:11 PM

Sure smile.

The first step will be to "design" the data model and create/update the DB seamlessly in the background (whenever the XML cache changes)... then I'll use it internally in the areas where searching the data currently hurts... and when that's working it's time to allow DB access through JavaScript in system-notes templates.
Posted By: ASH

Re: Questions, suggestions or requests topic - 01/05/13 11:19 AM

could you add the file counter that is shown in devices to the software list as well.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/05/13 11:27 AM

Yes, and you would be surprised how big some of software-lists are smile.
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 01/10/13 08:14 AM

Quote:
10:11:55.183: checking template configuration map against selected emulator
10:11:55.293: emulator uses a different default value for option 'multithreading' ('false' vs. '1'); assumed option type is 'bool'
10:11:55.293: done (checking template configuration map against selected emulator)
10:11:55.293: check results: 1 difference


With MESS SNV r20173 And QMC2 SVN 4646
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/10/13 08:29 AM

Thanks for the info, Kaylee! Guess that changed for MAME & MESS on all platforms then (?)...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/10/13 10:37 AM

Hmmm, I see no difference in case of (SDL)MAME/MESS on Linux (SVN r20175)... would've expected it to be a core / global change.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/10/13 12:40 PM

OK, I checked the sources. It only changed in the Windows OSD... updated in SVN r4661.

Oh, and seeing that you're at SVN rev. 4646, I hope you saw this post. Seems you're still using the old repo smile.
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 01/11/13 08:24 PM

Thanx Rene

Another request. In qchdman, is there a way to make the screen you get when you press new, open maximized. see screenshot

Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/14/13 09:43 AM

See Project -> Preferences and activate "Maximize project windows" on the GUI tab smile. There's also a tabbed view (see Window -> View mode) which will create "maximized" tabs in any case.
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 01/14/13 10:44 AM

Originally Posted By qmc2
See Project -> Preferences and activate "Maximize project windows" on the GUI tab smile. There's also a tabbed view (see Window -> View mode) which will create "maximized" tabs in any case.


Thanx Rene
Posted By: Rayman

Re: Questions, suggestions or requests topic - 01/16/13 06:06 AM

Question:
After lauch a system with a software, how it's the procedure for launching only the system (to run bios, without software)?
Ex.: I play Wonder Boy in Master System and after I want to run built in Alex Kidd from system ROM itself (no cartridge).

The only way after select a software a first time is editing device configuration?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/16/13 08:06 AM

Well, yes, as long as a software-list entry is selected and the software-list detail is the active one, QMC2 will stubbornly launch the emulator with the selected software's parts mounted -- unless you change the mount options (see below), switch to a different detail or change the machine itself (which will clear the software selection). There's no need for a new device setup, though.

If you want to avoid a software's parts being mounted, you can expand the software entry (click the arrow or + symbol in front of the selected entry to expand the tree), then select "don't mount" on one of the parts (all should switch to "don't mount" at once when there are multiple parts).
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/16/13 01:24 PM

Ren, I had the same problem and tried here...
For me, "don't mount" don't working in windows...
(tried to launch a software in Master System and after that choose "don't mount" again, but the same software was launched)...

Ps.: I want to suggest a option (as launch/launch embedded) called "launch without software". It's simple launch emulator without the commands for the software, I think that would be a good and simple solution and maybe not too hard to implement...
Thank you! smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/16/13 01:35 PM

I tested that on Windows when we discussed it and it worked like a charm... I tried it again this morning on Linux, and it still works nicely smile. Dunno what you did, but surely not "the right thing" (TM).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/16/13 02:45 PM

Also, I've just added a "clear selection" menu item to the software-list's context-menu (SVN r4684), which results in what you desire.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/16/13 03:05 PM

Originally Posted By qmc2
Also, I've just added a "clear selection" menu item to the software-list's context-menu (SVN r4684), which results in what you desire.

Thank you, Ren smile
Posted By: ASH

Re: Questions, suggestions or requests topic - 01/19/13 10:03 AM

A couple of suggestions....

1.could qmc2 remember the window size's for each tab
I.E.
with the 'notes' tab I like the whole right side to be visible
but with the 'software list' I like half 'list' and half 'Project Mess'

so when each tab is selected the windows adjust's automatically to how I set them up.


2.Don't know if this has been mentioned but a tab for a PDF,TXT reader called 'Manuals'
This would be a bit like the 'software list' except when you double click on an item (in the list) it would open a PDF,txt or picture viewer window (depending on the extension) (good way of storing docs)

EDIT:you would then have a folder called 'Docs' or whatever...point qmc2 to this folder and it would search for a subfolder with the machine rom name (like n64,psj,32x) and this would contain all your docs,extra pics,books for that system
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 10:08 AM

Originally Posted By ASH
A couple of suggestions....

1.could qmc2 remember the window size's for each tab
I.E.
with the 'notes' tab I like the whole right side to be visible
but with the 'software list' I like half 'list' and half 'Project Mess'

so when each tab is selected the windows adjust's automatically to how I set them up.

I'm not sure I get it... actually all the widgets are organized in tabs, and nearly every aspect is restored... or are you talking about notes templates?

Originally Posted By ASH
2.Don't know if this has been mentioned but a tab for a PDF,TXT reader called 'Manuals'
This would be a bit like the 'software list' except when you double click on an item (in the list) it would open a PDF,txt or picture viewer window (depending on the extension) (good way of storing docs)

It's on the TODO list and regarding the PDF reader, there's already a JavaScript PDF renderer in the source, just not yet hooked up to some sort of "file-picker".
Posted By: ASH

Re: Questions, suggestions or requests topic - 01/19/13 10:15 AM

Originally Posted By qmc2

I'm not sure I get it... actually all the widgets are organized in tabs, and nearly every aspect is restored... or are you talking about notes templates?


like this







Quote:
It's on the TODO list and regarding the PDF reader, there's already a JavaScript PDF renderer in the source, just not yet hooked up to some sort of "file-picker".


Ah great, ignore that then blush
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 10:25 AM

So when I understand you correctly, you would like the software-notes template from Shideravan to also display the corresponding ProjectMESS page?! Well, the notes editor/viewer is no fully fledged browser, but it could perhaps be done as the internal browser now allows asynchronous loading of URLs (and not just "static" HTML). No guarantees.

However, that's actually what the ProjectMESS tab is for smile.
Posted By: remax

Re: Questions, suggestions or requests topic - 01/19/13 10:34 AM

No he just want a stored setting for windows size per tab.

So that you don't always have to move the middle bar according to the tab you are
Posted By: ASH

Re: Questions, suggestions or requests topic - 01/19/13 10:36 AM

Originally Posted By remax
No he just want a stored setting for windows size per tab.

So that you don't always have to move the middle bar according to the tab you are


this ^^^^^ smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 10:37 AM

Ah, OK, but in that case it's the responsibility of the template to save/restore its settings. QMC2 itself doesn't do that but allows the template to use 'HTML5 localStorage' for its settings.
Posted By: remax

Re: Questions, suggestions or requests topic - 01/19/13 10:39 AM

I'm not sure it has something to do with the template as we talk about QMC2 windows, not what is inside.

I feel it's more QT related.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 10:41 AM

BTW, Shideravan's templates already use this method for the other options they support...
Posted By: ASH

Re: Questions, suggestions or requests topic - 01/19/13 10:42 AM

Originally Posted By qmc2
Ah, OK, but in that case it's the responsibility of the template to save/restore its settings. QMC2 itself doesn't do that but allows the template to use 'HTML5 localStorage' for its settings.


So could qmc2 be modified to remember the localstorage (middle bar) settings (or an on/off option)?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 10:42 AM

How is it QMC2 related?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 10:43 AM

Originally Posted By ASH
So could qmc2 be modified to remember the localstorage (middle bar) settings (or an on/off option)?

Not QMC2 but the template must do it in THIS case!
Posted By: remax

Re: Questions, suggestions or requests topic - 01/19/13 10:43 AM

I'm not sure you have understood what he want. We talk of the middle bar of the right side of QMC2 windows, not what is inside.
Posted By: remax

Re: Questions, suggestions or requests topic - 01/19/13 10:45 AM

The limit beetwen the upper tabs and the lower tabs, that you can move to show more or less of the upper window and lower window
Posted By: ASH

Re: Questions, suggestions or requests topic - 01/19/13 10:49 AM

Originally Posted By qmc2
BTW, Shideravan's templates already use this method for the other options they support...


no.....

forget templates.

it's the middle bar seperator that seperates the tabs from the emulator log sections

on some tabs I would like the emulator log window to be (not shown)
and on other I would like it to be visible.

now if I am on a 'notes' tab I move the centre bar all the way down to the bottom of the screen so I can see a large section

and when I go to the software list I have to move the centre bar up so I can see the 'Project Mess' or 'Software notes'

could you get qmc2 to remember the centre bar position for each tab?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 10:51 AM

Yeah, seems I don't understand wink... because there's only one vertical bar that's controlled by QMC2 (or Qt), and that "splitter" has nothing to do with the template's internal positioning / sizing of its own widgets. There's no such splitter on the right side...
Posted By: remax

Re: Questions, suggestions or requests topic - 01/19/13 10:54 AM

Okay, i'm going to my other PC to make clear screenshot of it
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 10:55 AM

Originally Posted By ASH
now if I am on a 'notes' tab I move the centre bar all the way down to the bottom of the screen so I can see a large section

and when I go to the software list I have to move the centre bar up so I can see the 'Project Mess' or 'Software notes'

could you get qmc2 to remember the centre bar position for each tab?

Ah, that's a completely different story... well, the "software-detail widget" reuses the space that's otherwise used by the logs etc. If the space is not sufficient, you can "undock" the widget so it's an independent window and freely resizable!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 11:00 AM

It's already a complex thing to switch between both "views", taking into account if the widget is docked or not etc... but it should be possible to also save/restore the splitter's relative sizes in both situations (when the widget is docked).
Posted By: remax

Re: Questions, suggestions or requests topic - 01/19/13 11:01 AM

This one :



With this cursor, you can move this splitter. He wants that it is stored by tab.
Posted By: ASH

Re: Questions, suggestions or requests topic - 01/19/13 11:01 AM

Quote:
the "software-detail widget" reuses the space that's otherwise used by the logs etc. If the space is not sufficient, you can "undock" the widget so it's an independent window and freely resizable!


yes and this is the problem. if I have moved the centre bar all the way down there is nothing to undock

so the suggestion was could qmc2 remember the 'notes','software list' widget size independently of each tab

and have this as an option (on/off)
Posted By: ASH

Re: Questions, suggestions or requests topic - 01/19/13 11:03 AM

Originally Posted By qmc2
It's already a complex thing to switch between both "views", taking into account if the widget is docked or not etc... but it should be possible to also save/restore the splitter's relative sizes in both situations (when the widget is docked).


Yes...Yes phew smile

we got there thanks

p.s. we are all cross posting so I will stop.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 11:06 AM

Yeah, I meanwhile understand, partially smile!

Undock the widget once and it will stay undocked, regardless of the splitter's position. I can also change the splitter's position based on if the software-detail widget is shown or hidden, but it's simply not feasible to save/restore it based on which tab is currently active (*).

(*) EDIT: that's not because it's impossible but because of the main widget's complexity.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 11:14 AM

Also, just in case you haven't noticed this yet, you can also change both splitter's orientations and swap the widgets/sub-layouts they "split"! See wiki.

I'm just telling you this because things might look different/unexpected when the orientation is flipped and the position is restored in the way you want it!
Posted By: ASH

Re: Questions, suggestions or requests topic - 01/19/13 11:22 AM

Quote:
Yeah, I meanwhile understand, partially ! smile


well when I use qmc2 I have it set to the 'Notes' tab and I browse the systems with the Machine list

now I have no need to see the 'emulator log','front end log' when doing this so I move the widgets separator all the way down so I can see as much as the 'notes' as possible

pic1



So I find a system I wish to try and go to the 'software list' tab to see if there is any games

now when I highlight a game , I know it shows up in the 'software notes' tab but this has been hidden by me so I now have to move the separator up to see this widget.

I do this all the time so was wondering if the widget windows could remember there sizes when moving between them.

undocking is not something I do.

is it just me that does this?



Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 11:26 AM

@ASH: no, I think it's not unusual what you do, and that's why I do accept the request smile! I'll add it soon, may take a few days though as I'm quite busy at the weekend...
Posted By: ASH

Re: Questions, suggestions or requests topic - 01/19/13 11:27 AM

Originally Posted By qmc2
Also, just in case you haven't noticed this yet, you can also change both splitter's orientations and swap the widgets/sub-layouts they "split"! See wiki.

I'm just telling you this because things might look different/unexpected when the orientation is flipped and the position is restored in the way you want it!


yes if I could put the 'Front end log' on the machine list (left) side and keep the 'notes','software list' on the right side that would work is that possible?

EDIT:

Quote:
I'll add it soon, may take a few days though as I'm quite busy at the weekend...


Thanks
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/19/13 11:36 AM

Last post for today (I'll be out soon)... well, you can change the layout like so for example:



The formerly vertical splitter is now a horizontal one (and vice versa)... and the positions are interpreted accordingly.
Posted By: Rayman

Re: Questions, suggestions or requests topic - 01/19/13 02:48 PM

I have a request, could you create anyway to "filter" the systems and softwares to show only those which are marked as "driver good"/ "software supported".
Also, another "filter" to show only systems and software which the ROMS are correct?
Thank you a lot, qmc2!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/20/13 03:31 PM

Originally Posted By Rayman
I have a request, could you create anyway to "filter" the systems and softwares to show only those which are marked as "driver good"/ "software supported".

Also, another "filter" to show only systems and software which the ROMS are correct?
Thank you a lot, qmc2!

Advanced filtering is already on the TODO list, including all of the data columns (and ROM states). This doesn't include the software-lists yet.

ROM status filtering itself is supported since many years, though wink.
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 01/22/13 09:07 AM

One for the not so mainline app

QCHDman: would be nice if it could do mass work. Like copying from one format to the other. Like converting from V4 to V5, or converting from bin/cue to chd
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/22/13 09:21 AM

Are you referring to the already planned "script" or "job" mode? Also, qchdman is far from "complete"... and that's why I don't even release it with my packages yet smile.
Posted By: Dullaron

Re: Questions, suggestions or requests topic - 01/25/13 08:44 AM

OK I think I'm missing something here. I added the ROM's folder. But how I add the softwarelist games ROM's on each of the systems? I'm confused about this. Also how I save the ini on each one? Not saving here in the ini folder.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/25/13 08:50 AM

Regarding software-list ROMs... add them to one or more of your "rompath"'s, just as you'd usually do this with MESS alone. That is, all games for a2600 for example should go to <rompath>/a2600/...

Regarding ini's... I assume you're talking about each machine's MESS ini file here!? If so, please read this FAQ carefully! That should clarify most of your questions.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 01/25/13 07:21 PM

Originally Posted By qmc2
Are you referring to the already planned "script" or "job" mode? Also, qchdman is far from "complete"... and that's why I don't even release it with my packages yet smile.


In the interest of full disclosure, at moment I use QCHDman more times than QMC2. ; )
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/25/13 08:43 PM

Yeah, I'll add the scripting stuff as soon as I find the time wink.
Posted By: Dullaron

Re: Questions, suggestions or requests topic - 01/26/13 10:11 PM

I can't load the softwarelist ROM because of the 7z. I get a black screen on each one. Can you add the 7z support?

Using mess64 without the qmc2 works fine.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 01/26/13 10:43 PM

MESS itself doesn't support 7z for software lists, it's not qmc2's problem.

7z is experimental. It's highly recommended not to convert your ROMs to it.
Posted By: remax

Re: Questions, suggestions or requests topic - 01/26/13 10:48 PM

I have all my software lists in 7z, it works fine with Mess and QMC2. Check your configuration.
Posted By: Dullaron

Re: Questions, suggestions or requests topic - 01/27/13 04:56 AM

Where did you add the 7z at? Only saw zip.

R. Belmont I been using 7z ever since someone told me about it being supported. Some front ends won't load it. I have no problem to use the qmc2 to make the ini files. I just can't stand of me not knowing on how set things up right.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 01/27/13 07:01 AM

I still prefer the standard zip by using older and slower hardware.
The compression rate is not so high but the decompression is faster and the CPU/memory consumption is better.
Posted By: etabeta78

Re: Questions, suggestions or requests topic - 01/27/13 07:12 AM

Originally Posted By Anna Wu
I still prefer the standard zip by using older and slower hardware.
The compression rate is not so high but the decompression is faster and the CPU/memory consumption is better.


me too. and cmpro was definitely faster dealing with zips than 7zips last time I tried, which gives me one more reason not to switch.
Posted By: Dullaron

Re: Questions, suggestions or requests topic - 01/27/13 09:41 AM

Alright I will go back to zip then.

7z really does shrink the size of packing down to save more free space with the merging sets.
Posted By: remax

Re: Questions, suggestions or requests topic - 01/27/13 11:03 AM

Originally Posted By Dullaron
Where did you add the 7z at? Only saw zip.

R. Belmont I been using 7z ever since someone told me about it being supported. Some front ends won't load it. I have no problem to use the qmc2 to make the ini files. I just can't stand of me not knowing on how set things up right.


I don't know what you mean. Perhaps you forgot to setup the software folder.

By the way, everyone, i don't know how your PC are powerful, but mine would be on the top of the lowest range if i'd buy it today, i have no speed problem at all with 7z, neither in CMP nor in MESS.

But that's true, for people with an old computer, zip might still be the way to go.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 01/27/13 01:13 PM

remax: My PC is 4.7 GHz overclocked and 7z is noticably slower on large ROMs. Also, 7zip lacks the 20 year history of not corrupting or losing data that zip has.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/27/13 02:44 PM

Yeah, I prefer zip as well... it's fast and reliable.

@Dullaron: to clarify, QMC2 doesn't require support for 7z to play the games as it's all up to the emulator (to support 7z ROMs)... the only area where it counts is the "ROMAlyzer" within QMC2 which doesn't support 7z (yet) and would tell you that the ROMs weren't found instead. However, the ROMAlyzer doesn't even support software-list ROMs (yet), only game/machine/device ROMs, so it actually doesn't matter at all.
Posted By: remax

Re: Questions, suggestions or requests topic - 01/27/13 03:44 PM

Originally Posted By R. Belmont
remax: My PC is 4.7 GHz overclocked


Wow nice rig laugh

Originally Posted By R. Belmont
and 7z is noticably slower on large ROMs.


Not to the point it can be qualified as a speed problem i guess

Originally Posted By R. Belmont
Also, 7zip lacks the 20 year history of not corrupting or losing data that zip has.


Of course, but some people needs to beta test sometimes. Without it, there would be no progress at all wink
Posted By: Dullaron

Re: Questions, suggestions or requests topic - 01/27/13 07:46 PM

qmc2 no problem. I'm stopping using the 7z at this time. Right now moving ROM's from 7z to zip. Will take some time to it do all. Very slow on moving. lol
Posted By: Dullaron

Re: Questions, suggestions or requests topic - 01/30/13 07:51 AM

OK all done. All moved to zip. =)
Posted By: ASH

Re: Questions, suggestions or requests topic - 02/15/13 07:30 PM

Any chance of having a filter on the software lists so that the user can tell QMC2 what not to display

like a blacklist

E.G.
I would select the 'Filter' and type in the word 'PROTOTYPE' and qmc2 would not show any software with that word in the title.

I could then also add 'NTSC' and all those titles would also not be displayed.

this would help with large software list that have multiple titles of the same game and bloody shed loads of useless prototypes,demo's,PD,etc (well, useless to me smile )
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/15/13 07:35 PM

Ever tried using the search page/feature smile? It's not exactly the same as a filter but would do what you want to do...
Posted By: ASH

Re: Questions, suggestions or requests topic - 02/15/13 08:08 PM

Originally Posted By qmc2
Ever tried using the search page/feature smile? It's not exactly the same as a filter but would do what you want to do...


no it doesn't

how would I get qmc2 to NOT show the 'prototype' and show everything else in the search?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/15/13 08:13 PM

Ah, OK... well, I should then allow switching the pattern-syntax to a regular expression where you can negate matches. I actually used wildcard-matching to make this easier to use smile. But a switch for this wouldn't hurt.
Posted By: ASH

Re: Questions, suggestions or requests topic - 02/15/13 08:22 PM

Originally Posted By qmc2
Ah, OK... well, I should then allow switching the pattern-syntax to a regular expression where you can negate matches. I actually used wildcard-matching to make this easier to use smile. But a switch for this wouldn't hurt.


yes that would work E.G. *.* -prototype
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/15/13 08:29 PM

See here for regular expression syntax in Qt: http://qt-project.org/doc/qt-4.8/qregexp.html

The key here is the "negative look-ahead"...

Also, I could just add a switch to negate the pattern match, regardless of the pattern syntax (so include what's matched / not matched).

I'll get back to this soon.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 02/16/13 11:28 PM

queryXML is very a nice function!
I already implementing in templates for get new informations!
But it's make a new call for every new system refresh....
It's possible to create a new cache for this?
For every $ID$ loaded or for a load for all systems (a new call when QMC2 is started)
That can speed the things up wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/17/13 11:53 AM

The XML query is already operating on the cached data, there's few you can do to speed this up, unfortunately. I could only restrict the XML query to the data relevant for the current system (ID), which should be faster, but the data still needs to be searched first. (EDIT: this has been implemented now, see below!)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/17/13 12:37 PM

OK, that's in SVN r4716 smile! You can use 'qmc2NEO.queryLocalXml(id, query)' now to restrict the XQuery (query) to a single game/machine (id)... everything else is the same as in the global query.

Example:

Code:
<script>
        if ( "$EMULATOR_TYPE$" == "MESS" ) {
                document.write("<h3>" + tr('Software lists') + "</h3>");
                if ( qmc2NEO.queryLocalXml("$ID$", "doc($xmlDocument)//machine/softwarelist/@name/string()") ) {
                        var result = qmc2NEO.getXmlResult();
                        if ( result.length > 0 ) {
                                document.write("<p>" +  tr('Associated software-lists:'));
                                for (var i = 0; i < result.length; i++)
                                        document.write((i > 0 ? ", " : " ") + result[i]);
                                document.write("</p>");
                        } else
                                document.write("<p>" + tr('This system has no associated software-lists.') +"</p>");
                } else
                        document.write(tr('XML query error!'));
        }
</script>

I'm reusing a slightly modified function from the ROMAlyzer to accomplish this. There's implicit internal indexing whenever a game/machine is queried, so subsequent queries of the same game's/machine's XML data will be faster. This is much faster than a global query and should thus also be usable for bigger data as in MAME and UME.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/17/13 03:37 PM

Originally Posted By qmc2
Also, I could just add a switch to negate the pattern match, regardless of the pattern syntax (so include what's matched / not matched).

This has been added in SVN r4719 (see here). I'll add support for switching the pattern-syntax later.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 02/18/13 08:18 PM

Thanks for this!
I just having some troubles with that yet :p...
Originally Posted By qmc2
OK, that's in SVN r4716 smile! You can use 'qmc2NEO.queryLocalXml(id, query)' now to restrict the XQuery (query) to a single game/machine (id)... everything else is the same as in the global query.

Example:

Code:
<script>
        if ( "$EMULATOR_TYPE$" == "MESS" ) {
                document.write("<h3>" + tr('Software lists') + "</h3>");
                if ( qmc2NEO.queryLocalXml("$ID$", "doc($xmlDocument)//machine/softwarelist/@name/string()") ) {
                        var result = qmc2NEO.getXmlResult();
                        if ( result.length > 0 ) {
                                document.write("<p>" +  tr('Associated software-lists:'));
                                for (var i = 0; i < result.length; i++)
                                        document.write((i > 0 ? ", " : " ") + result[i]);
                                document.write("</p>");
                        } else
                                document.write("<p>" + tr('This system has no associated software-lists.') +"</p>");
                } else
                        document.write(tr('XML query error!'));
        }
</script>

I'm reusing a slightly modified function from the ROMAlyzer to accomplish this. There's implicit internal indexing whenever a game/machine is queried, so subsequent queries of the same game's/machine's XML data will be faster. This is much faster than a global query and should thus also be usable for bigger data as in MAME and UME.


I tried:
Code:
   if (qmc2NEO.queryLocalXml("$ID$", "doc($xmlDocument)//machine/driver/@emulation/string()") ) 
   {
      tdCor("Emulation", qmc2NEO.getXmlResult());         
   } 
   
   else
      document.write(tr('XML query error!'));

But I don't know why, it's giving me a runtime error in Windows7 x86 :p
I'm doing something wrong?

but:
Code:
if (qmc2NEO.queryXml("doc($xmlDocument)//machine[@name = \"$ID$\"]/driver/@emulation/string()") ) 
   {
      tdCor("Emulation", qmc2NEO.getXmlResult());         
   } 
   
   else
      document.write(tr('XML query error!'));

Works :p

If I don't did nothing wrong, I suspect that may the new LocalXml have a bug on windows...

Ps.: r4723
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/19/13 06:04 AM

Well, the example shown above as used in the default / example template works fine (tried it?), so I'm not sure why it should be causing a run-time error for you...

EDIT: also, the driver's emulation status is already available through macros smile ($DRIVER_STATUS$ and $DRIVER_STATUS_UT$).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/19/13 10:06 AM

I've now also tried it on Windows 7 x64, which works fine. However, it seems that you're probably working with the old XML cache which didn't include the DTD. If that's the case, I can imagine that queryLocalXml() may crash (which I should try to avoid, of course).

So please make sure that the XML cache gets recreated before you try again! Either start QMC2 with the -cc command line switch or clear the cache through the menu (Tools -> Clean up -> Clear ALL emulator caches) and reload/restart.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/19/13 10:26 AM

PS: It's really important that you prefer to use the "local" query since it's so much faster than the "global" one. That's why I'm insisting smile.

The global XML query may still be useful if you would like to add some functionality that's not in QMC2 yet, like certain queries you may offer to be executed on-demand (things like remax's request to get a list of games/machines that have software-lists associated with them, for example). But you should only use global queries in case of MESS!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 02/19/13 09:23 PM

Originally Posted By qmc2
Well, the example shown above as used in the default / example template works fine (tried it?), so I'm not sure why it should be causing a run-time error for you...

EDIT: also, the driver's emulation status is already available through macros smile ($DRIVER_STATUS$ and $DRIVER_STATUS_UT$).

Emulation status is different than Driver status for MESS/MAME/UME (driver is general. sometimes, Emulation is good and Driver impefect, for example).
The problem, I fixed.
I forget to clean the caches before use the new features :p

Ps.: LocalXML is much faster! I liked a lot!!! Thanks!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 02/19/13 11:38 PM

The QueryXML and QueryLocalXML functions are very good.
But they have just a little problem: it returns a result listed in alphabetically order.

And that's a big problem for me.
I'll show why!

Please, look the normal result for a hypothetical search with -listxml:


Ok!

To show that information, I create a function:
Code:
      /*CPU*/   
      if (qmc2NEO.queryLocalXml("$ID$", "doc($xmlDocument)//machine/chip/@name/string()")) 
      {
         var result = qmc2NEO.getXmlResult(); 
         var len = result.length;        

         qmc2NEO.queryLocalXml("$ID$", "doc($xmlDocument)//machine/chip/@tag/string()");  
         var tag = qmc2NEO.getXmlResult();      
      
         qmc2NEO.queryLocalXml("$ID$", "doc($xmlDocument)//machine/chip/@type/string()");  
         var type = qmc2NEO.getXmlResult();
      
         qmc2NEO.queryLocalXml("$ID$", "doc($xmlDocument)//machine/chip/@clock/string()");
         var clock = qmc2NEO.getXmlResult(); 
      
         document.write("<td max-width=\"25%\" align=\"center\"><b><u>"+len+" "+tr('PROCESSORS')+": </u></b>"); 
      
         if (len > 0) 
         {
            var i=0;
            
   				  while (i<len)
		   		  {
					     document.write("<br><b>"+tag[i]+" ("+type[i]+"):</b> "+result[i]);
					     if (clock[i])
					     {
					        c = (clock[i] / 1048576);
					        
					        c=Math.round(c*100)/100;
                 
					        document.write(" ("+c+" MHz)");
					     }   
					     i++;
				    }	
				    document.write("</td>");
			   } 
			   else
				    document.write("<td max-width=\"25%\" align=\"center\"><br><b>"+tr('PROCESSORS')+": </b>"+tr('None')+"</td>");                    
      } 
      else
         document.write(tr('XML query error!'));

As you can see, it only get the length of the processors and, assuming that the result will come in the same order from -listxml it will draw in the screen.
But unfortunatelly, qmc2NEO.queryLocalXml combined with qmc2NEO.getXmlResult will sort every value in the own alphabetical order, and mess up with the order, and draw a weird result, as you can see in the next photo:



Probably, these functions are doing any sorting to list in alphabetical order. That surely takes some performance, but the problem with the order it's big too.
I don't know if this a Query problem from Qt itself, but if there way to solve this problem, be creating a new function or modifing the existent, surely that will be very welcome and this problem can be solved wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/20/13 08:22 AM

Yes, both functions sort the result list before it's returned... that's problematic in your use case of course. I will make sorting (or not sorting) an option in the next update. Probably tonight (CET).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/20/13 08:34 AM

OK, changed that in SVN as described in the wiki. Will create new Windows binaries tonight (I'm out now).
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 02/22/13 10:33 PM

The pages with images resources now is improving little by little their library about software titles.
Maybe is a good time to start to giving support in QMC2, don't is?
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 02/22/13 10:34 PM

Look progettosnaps, for example: http://www.progettosnaps.net/mess/softwaresnaps.html
Posted By: A. Viloria

Re: Questions, suggestions or requests topic - 02/22/13 11:53 PM

Originally Posted By Shideravan
The pages with images resources now is improving little by little their library about software titles.
Maybe is a good time to start to giving support in QMC2, don't is?


In fact, QMC2 does a good job with all these resources. Just unpack them all under the "snap" directory (one folder per SL) and if you have configured the "snap" directory as you QMC2 image resource folder, you can access them in the "Software list" tab...



Edit: Sorry, but I am awaiting your amazing template to make it look prettier.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/23/13 12:28 PM

@Shideravan: I'm not sure I understand what you're talking about... those software-snaps are supported since they first appeared on AntoPISA's site smile.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 02/24/13 08:19 PM

Err...
I was talking about software TITLES not about software SNAPS :p
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/24/13 09:12 PM

Ah, didn't notice there are some machines with "snaps" and "titles". Will do!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 02/25/13 12:25 AM

Ok!
I'll support that in my templates too wink
Posted By: abelenki

Re: Questions, suggestions or requests topic - 03/06/13 06:58 PM

many thanks for Windows 8 fixes in qmc2-win32-x64-0.39-SVN-r4748!!

just a quick question: is it possible to set a background color in QMC2?

i couldn't find it in the options.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/06/13 07:15 PM

Originally Posted By abelenki
many thanks for Windows 8 fixes in qmc2-win32-x64-0.39-SVN-r4748!!

You're welcome smile!

Originally Posted By abelenki
just a quick question: is it possible to set a background color in QMC2?

Well, yes, either through a Qt style-sheet (they may need updates though!), or through qtconfig and disabling the 'Standard color palette' option in QMC2 (see wiki).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/06/13 07:35 PM

The 'qtconfig' solution wouldn't work for you since the tool is not included in the official Win32 package, but I will add that with the next update...
Posted By: abelenki

Re: Questions, suggestions or requests topic - 03/06/13 07:38 PM

Originally Posted By qmc2
The 'qtconfig' solution wouldn't work for you since the tool is not included in the official Win32 package, but I will add that with the next update...


thank you, i will wait for the next update. no hurry. wink the most important thing, that QMC2 is not fragile anymore, and very stable now.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/06/13 07:41 PM

At the very least I can offer a download link to the tool in the meantime, but I'm currently not at my dev-system, so I don't have access to my Qt build tree right now smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/07/13 08:57 AM

Well, I tried qtconfig on Windows... wasn't aware that it's actually not supported (not even built) on that platform, but I was able to patch it in order to get the binary on Windows... however, the result is not very promising.

So I recommend to use a style-sheet instead. If you don't like my examples from http://qmc2.arcadehits.net/wordpress/style-sheets/ you could easily change them to your needs... it's not very complicated (see Qt style-sheet documentation), similar to CSS for HTML, but it's a bit of work to make it "good" (not that I made good ones myself, they are more like experiments wink ).

Think I should add a palette-editor to QMC2's TODO list, though smile.
Posted By: abelenki

Re: Questions, suggestions or requests topic - 03/07/13 09:00 AM

Originally Posted By qmc2
So I recommend to use a style-sheet instead. If you don't like my examples from http://qmc2.arcadehits.net/wordpress/style-sheets/ you could easily change them to your needs... it's not very complicated (see Qt style-sheet documentation), similar to CSS for HTML, but it's a bit of work to make it "good" (not that I made good ones myself, they are more like experiments wink ).


thanks, i'll try that.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/07/13 04:00 PM

Originally Posted By qmc2
Think I should add a palette-editor to QMC2's TODO list, though smile.

I've actually started working on this... but it will take a bit until it's complete wink.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/09/13 11:39 AM

Originally Posted By qmc2
Originally Posted By qmc2
Think I should add a palette-editor to QMC2's TODO list, though smile.

I've actually started working on this... but it will take a bit until it's complete wink.

Now that's it's working, here's a screen shot of the new feature in action:


(I'm a boy, yes, so it's light blue smile )
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 03/09/13 12:14 PM

Cool, hehe!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 03/09/13 12:15 PM

Did it affects the templates too?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/09/13 12:31 PM

Originally Posted By Shideravan
Did it affects the templates too?

Yes and no - the system- and software-notes templates are loaded inside a QWebView (browser), so the page's colors are usually specified in the HTML... but if nothing is given there, the colors from a custom palette would be used, of course. However, buttons, combo-boxes, check-boxes etc. will always use the palette settings unless a (CSS) style-sheet has been set on them.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/09/13 12:49 PM

Also, note the check-able tool button in the bottom/right corner... it allows you to preview the coloring (live) while you're editing the palette, w/o applying it (when it's activated). When deactivated, the current style's default palette will be shown while the dialog is in use.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/11/13 02:39 PM

Originally Posted By qmc2
Also, note the check-able tool button in the bottom/right corner... it allows you to preview the coloring (live) while you're editing the palette, w/o applying it (when it's activated). When deactivated, the current style's default palette will be shown while the dialog is in use.

I've changed this in SVN r4766 to show the currently active palette (instead of the style's default palette) when the preview-mode is disabled, and the current custom palette when it's enabled (as before). The old behavior was a bit confusing (and the code was slightly buggy, too wink ).
Posted By: abelenki

Re: Questions, suggestions or requests topic - 03/16/13 08:48 AM

just wanted to say big THANK YOU for qmc2-win32-x64-0.39-SVN-r4772!!

now i could finally change background color via new Edit Color Palette option.

awesome!!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/18/13 12:46 PM

I'm glad you like it smile. There's actually more being worked on that will allow you to alternatively specify a "brush" (a pattern, an image or a color-gradient) instead of just a color.
Posted By: ICEknight

Re: Questions, suggestions or requests topic - 03/20/13 07:24 AM

Here's a couple of suggestions for the UME side of QMC2.



The first one would be something like this:


This would allow for filtering the MESS games the same way the MAME games can be filtered, further merging both sides of UME.




Also, since the available home systems are mixed with different arcade games of all kinds, perhaps things could get a bit more organized by allowing to have both arcades and home systems classified by source file?

This way, for example, the Neo-Geo arcade games could be grouped just like the Genesis games in the screenshot above, and the same would happen with other arcade games of the same kind (games running on Pac-Man hardware, System 32 arcades, etc).

Also, Mega Drive and Genesis, Famicom and NES, etc, would be grouped under the same "folder", as well, which would be somewhat handy.





And that's it. Not sure if you'll find these as useful as I do. =|
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 03/20/13 07:40 AM

If that will be realized, I hope as optional function to enable/disable it.
I dont like more slowdowns by loading datas after the start.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/13 08:52 AM

Due to design decisions that were made 6-7 years ago from now, I will never implement it this way smile (as shown in your collage). Also, it's not handy to use and gets slower as more systems are supported, even if that would be added on demand. And last but not least it couldn't be implemented for all 4 "views", so it's actually not feasible.

With "classified by source file" you probably just mean to add a driver column to the game/machine lists that you can use to sort (or "filter" in the future). That's already planned. Adding another "view" that classifies the sets by the driver source is a major task, though.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 03/20/13 11:51 AM

Originally Posted By ICEknight
Here's a couple of suggestions for the UME side of QMC2.



The first one would be something like this:


This would allow for filtering the MESS games the same way the MAME games can be filtered, further merging both sides of UME.




Also, since the available home systems are mixed with different arcade games of all kinds, perhaps things could get a bit more organized by allowing to have both arcades and home systems classified by source file?

This way, for example, the Neo-Geo arcade games could be grouped just like the Genesis games in the screenshot above, and the same would happen with other arcade games of the same kind (games running on Pac-Man hardware, System 32 arcades, etc).

Also, Mega Drive and Genesis, Famicom and NES, etc, would be grouped under the same "folder", as well, which would be somewhat handy.





And that's it. Not sure if you'll find these as useful as I do. =|


ICEKnight: You can use Shideravan software templates, that already have support for showing all of that information smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/13 11:53 AM

@Shideravan: no, it does not (show software-list details in that way), and the first part of ICEKnight's collage is actually from QMC2 and included there since ages smile.
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 03/20/13 01:04 PM

One I would like (more behind the scenes). Is that the fevice configs being saved into a device.ini instead of the base qmc2.ini.

Would make live a lot easier when you "have to clean" the config files. or saving it into a /device sub-folder with each driver getting it's own device.ini (psx.ini or a2600.ini) which get's loaded when you select that driver, should speed up the first loading of qmc2 by a few nanoseconds
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 03/20/13 01:11 PM

I like the idea.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/13 01:21 PM

It's not simple to change that completely, that is, the device-configurations are in qmc2.ini for good reasons and will stay there, but as I already said earlier I'm planning to add an import/export function for this, which would basically work the same way (the export could be automated whenever you change something, so you don't lose new entries).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/13 01:23 PM

Also, the initial loading time has nothing to do with the stored device-configurations but is due to the loading of slot-information. And nanoseconds do not count anyway wink.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 03/20/13 01:27 PM

Thats right, to load the slot-information consumed a lot of time.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/13 01:30 PM

Not "a lot of time", just about 600 milli-seconds here:

Code:
14:28:39.412: loading available system slots
14:28:40.046: done (loading available system slots, elapsed time = 00:00.633)

It's basically "mess -listslots" that's run here...
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 03/20/13 01:33 PM

Its subjective, dependent which hardware performance do you have.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/13 01:36 PM

And which OS... but it's something I can't change. I need the information, so when should I load it? I could, however, try to make that a "cached" operation as well, which may still be slow for some people with the "wrong" hardware (esp. disk I/O performance counts in the latter case).
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 03/20/13 01:42 PM

Maybe a good idea will be to choose between 2 basic settings:
Fast for user which have a less performance (Hardware/OS) and Nice for user which have a good performance.
Dependent of the basic setting, QMC2 works with more caching or not as example.
Or some functions are disabled or enabled dependent of the basic setting too.
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 03/20/13 02:13 PM

Originally Posted By qmc2
Not "a lot of time", just about 600 milli-seconds here:

Code:
14:28:39.412: loading available system slots
14:28:40.046: done (loading available system slots, elapsed time = 00:00.633)

It's basically "mess -listslots" that's run here...
frown
Code:
16:10:53.546: loading available system slots
16:10:54.968: done (loading available system slots, elapsed time = 00:01.422)
:p

But I found that disabling ROM state filter makes QMC2 load a lot faster
Code:
16:13:07.735: done (applying ROM state filter, elapsed time = 00:02.625)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/13 03:03 PM

@Anna: I use caching whenever it makes sense, and that's usually always faster (for everyone) than loading the data from the emulator every time... however, older laptops may have markedly slower disks, so it depends on that and on the OS / file-system if caching is actually faster or not. Anyway, I don't intend to make that an option, simply because if it's faster for me it should be faster for everyone (note: fastER, not fast wink ).

@Kaylee: I guess I should be able to beat the 1.4 seconds for slot-info loading with a cache, but ROM state filtering is way too slow on your end if it's MESS (here: <= 100 mecs in case of MESS, and <= 2.4 seconds in case of MAME).
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 03/20/13 03:15 PM

Originally Posted By qmc2
@Kaylee: I guess I should be able to beat the 1.4 seconds for slot-info loading with a cache, but ROM state filtering is way too slow on your end if it's MESS (here: <= 100 mecs in case of MESS, and <= 2.4 seconds in case of MAME).
I only really use MESS My mame hasn't been updated in almost a year crazy
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/13 03:20 PM

Well, that's the issue... old hardware and additionally the wrong OS (please don't get me wrong, but it's the truth).
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 03/20/13 04:43 PM

Originally Posted By qmc2
Well, that's the issue... old hardware and additionally the wrong OS (please don't get me wrong, but it's the truth).


You should make a note about it on your webpage.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/13 06:04 PM

Why? If your computer is fast enough to run MAME/MESS/UME it's more than fast enough for QMC2. And especially the MESS variant is not "slow" in any way. So I'm a bit surprised about your statement.

Anyway, SVN r4792 adds slot-info caching which loads about 4 times faster (here) smile. So instead of ~600 ms it's now ~150 ms during the initial slot-info loading. Whenever the cache has to be (re-)created, it takes the same time as before, of course.

All rules apply as with the other caches, that is, whenever you change the underlying emulator binary and it's not indicating a new version (i.e. from SVN), you have to remove the cache and reload the game/machine list (it's also included in "remove all caches", or -cc on the command line).
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 03/20/13 06:13 PM

My comment was meant cynical. ; )
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/13 06:15 PM

OK wink.
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 03/21/13 06:09 AM

Originally Posted By qmc2
Anyway, SVN r4792 adds slot-info caching which loads about 4 times faster (here) smile. So instead of ~600 ms it's now ~150 ms during the initial slot-info loading. Whenever the cache has to be (re-)created, it takes the same time as before, of course.

Thanx. Makes qmc2 loads 1000% faster laugh

Instead of
Quote:
done (loading available system slots, elapsed time = 00:01.422)
it's
Quote:
done (loading available system slots from cache, elapsed time = 00:00.344)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/21/13 06:50 AM

Great, glad to hear that!

BTW, all from the right side is gone, the shout-box et al... did I miss something while I was asleep smile?
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 03/21/13 06:56 AM

Richard is working on this issue. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/22/13 12:10 PM

Regarding an earlier topic...

Originally Posted By qmc2
There's actually more being worked on that will allow you to alternatively specify a "brush" (a pattern, an image or a color-gradient) instead of just a color.

Here's a preview of the upcoming brush-editor (gradient-editor in this case):





The brush-editor itself is more or less working fine now, but QMC2 isn't yet able to use the "brushes"... so it's only available when built with WIP=1.
Posted By: ASH

Re: Questions, suggestions or requests topic - 03/23/13 11:48 AM

In the 'Take Snapshot' area...

When playing a game (from the softlist) and I wish to take a snapshot and save it as a softlist picture (depending on what the snapshot save settings are I have no idea what the machine is called or the softlist game name) so could you add the softlist,machine name options in the snapshot tools area

so with a click of an icon the picture I wish to save is automatically renamed and saved in my softlist folder or preview folder etc smile

the save location's are taken from the settings and if a folder for that system is needed qmc2 would create one and pop the snapshot in there.

Also

zoom options for the little snapshots that are displayed along the top of the screen (bigger not smaller smile )

and a little border around the selected picture smile as the current blur is hard to see (well it is for me)


SO to clarify

a couple of icon's near the 'Native Resolution' that allow instant-

'Save Snapshot For Softlist Game' this would create a folder (if the folder is not there) with the machine name and save the selected snapshot renamed to the softlist title into it.

with an overwrite prompt if the snapshot already exists

And

'Save Snapshot To Preview Folder' as above but to the 'notes' Preview folder.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/23/13 11:56 AM

I'm not sure if I really get all of what you want wink (please try to make one clear request at a time), but you DID notice the "automatic snap-name adjustment" feature in QMC2's software-list support?! From the wiki:

Quote:
The third toggle-button (camera icon, new since v0.38) will enable/disable the so called automatic snap-name adjustment. When this feature is enabled, QMC2 will launch the emulator with a suitable value for the '-snapname' parameter so that it creates clean path-names for snapshot files (F12). Per default, they are chosen in a way so that the image files can directly be used with the software-list feature, without the hassle of renaming / reorganizing images afterwards (but you may still have to move them to a different folder perhaps, depends on your setup). You can also configure the exact naming pattern, if you will -- hold the button down for its menu and select Adjust pattern.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/23/13 12:26 PM

Regarding snapshot zoom & frame size: that should both be possible, but the faint frame is there to not distort the image but to still have a frame if there's little contrast with the background.
Posted By: ASH

Re: Questions, suggestions or requests topic - 03/23/13 12:42 PM

In the 'Take Snapshot' area...





zoom options for the little snapshots that are displayed along the top of the screen (bigger not smaller smile )

and a little border around the selected picture smile as the current blur is hard to see (well it is for me)
The Green box (Arrow) is an example



a couple of icon's near the 'Native Resolution' that allow instant-

'Save Snapshot For Softlist Game' this would create a folder (if the folder is not there) with the machine name and save the selected snapshot renamed to the softlist title into it.

with an overwrite prompt if the snapshot already exists

And

'Save Snapshot To Preview Folder' as above but to the 'notes' Preview folder.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/23/13 12:48 PM

AHHHH! I didn't think anyone was using this embedder feature, but there is a "save image" item in the context menu of the (big) image which gets displayed when you click the (small) image in the "taken-snapshots-viewer". Where you save it is up to you smile. The frame around the selected item is a different thing... I'll see what I can do.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/23/13 12:53 PM

Also, please do not use these snapshots for posting things here... use the emulator's built-in function (F12)! The "native resolution" is calculated from the initial size the embedder sees before the widget is re-parented, but the aspect ratio / resolution doesn't necessarily fit the *current* dimensions, so there are some expected bugs with this which I won't fix wink.
Posted By: ASH

Re: Questions, suggestions or requests topic - 03/23/13 01:00 PM

well the icon's would help for instant faster save's

(I know about the save as.. in the large snapshot)

as qmc2 would know the machine name and softlist name so with a click of an icon a fresh snapshot or preview image is save to the correct folder.
Posted By: etabeta78

Re: Questions, suggestions or requests topic - 03/23/13 01:27 PM

erm, even without qmc2 help, you can setup snapname to save to a system folder (not a softlist folder, though), named after the soft shortname

so e.g.

Code:
-snapname %g/%d_flop1


will save snaps for a foo_game taken from c64_flop.xml and run in c64, to c64/foo_game.png

and

Code:
-snapname %g/%d_cdrm


will save snaps for snaps for a foo_game taken from psx.xml and run in psj, to psj/foo_game.png
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/23/13 01:50 PM

Eta: yeah, QMC2 is just "helping" the user in adjusting the -snapname parameter automatically on a per soft-list / software basis, it's no rocket-science smile.

EDIT: and what ASH is requesting has nothing to do with it... I recommend using the emulator's built-in snapshot feature (thus the automatic snapname adjustment thing), not the one from QMC2's embedder, but if it's there it's true that it could be made more handy for users...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/23/13 04:39 PM

@ASH: The "zooming" part of your wish-list should be fulfilled with SVN r4803 wink. I've added it to the software-list's snapshot viewer as well as to the embedder's snapshot item-list and its viewer.
Posted By: ASH

Re: Questions, suggestions or requests topic - 03/23/13 04:44 PM

Originally Posted By qmc2
@ASH: The "zooming" part of your wish-list should be fulfilled with SVN r4803 wink. I've added it to the software-list's snapshot viewer as well as to the embedder's snapshot item-list and its viewer.


smile Thanks
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/23/13 05:09 PM

Better indication of the item-selection is in SVN r4804. The only (quick) solution I found was setting a style-sheet on the QListWidget, using 'palette(dark)' for the item's background:

Code:
rene@thunder:~/src/qmc2> svn diff -r 4803:4804
Index: embedderopt.cpp
===================================================================
--- embedderopt.cpp     (revision 4803)
+++ embedderopt.cpp     (revision 4804)
@@ -33,6 +33,8 @@
   checkBoxNativeSnapshotResolution->setChecked(qmc2Config->value(QMC2_FRONTEND_PREFIX + "Embedder/NativeSnapshotResolution", true).toBool());
   spinBoxZoom->setValue(qmc2Config->value(QMC2_FRONTEND_PREFIX + "Embedder/ItemZoom", 100).toInt());
 
+  listWidgetSnapshots->setStyleSheet(listWidgetSnapshots->styleSheet() + " QListView::item:selected { background-color: palette(dark); }");
+
   adjustIconSizes();
 }

Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/23/13 05:28 PM

Here's a screen shot of this:

Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/23/13 05:47 PM

This also works with a dark style-sheet (or color-palette) where the 'dark' color is usually swapped with the 'light' color:

Posted By: remax

Re: Questions, suggestions or requests topic - 03/23/13 08:12 PM

Originally Posted By qmc2
Here's a screen shot of this:



What is this horrible game gear artwork ?

Don't you use mine, available on projetto snaps? laugh
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/23/13 08:17 PM

Hehe... sorry -- will update it soon smile!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/25/13 04:45 PM

@ASH: the last part of your wish-list - using snapshots taken by the embedder directly for "any" image type and storing it to the "appropriate place" (see below) - is now mostly done in SVN r4807. Only support for software-snapshots is currently missing.

I've added a "Use as" sub-menu (as part of the image-viewer's context-menu) which offers the available actions as menu-items.

Note that this is only supported for unzipped images (= images stored in folders) because saving a file in a ZIP means to completely recreate the ZIP, which is too expensive.

"Appropriate place" means the primary image folder, that is the first one that QMC2 uses when there are multiple. When a file of that name already exists a backup (*.bak) will be created first.
Posted By: ASH

Re: Questions, suggestions or requests topic - 03/25/13 06:30 PM

WOW that was fast, Thank You this will come in very handy. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/25/13 07:01 PM

Yes, it is wink! As soon as the software-snapshot support is also working I'll create another Win32 binary for you to test... probably tomorrow.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/26/13 02:51 PM

Originally Posted By qmc2
As soon as the software-snapshot support is also working I'll create another Win32 binary for you to test... probably tomorrow.

OK, that's also working in SVN r4809 now. I'm currently building new Win32 packages...

Note that when you mount software-parts from multiple software-entries (manually) the suggested image path will be the one for the *first* software-entry. I'm generally prepared to let the user choose which one to use, but that's not fully implemented (I'm unsure if it's really worth it, though).
Posted By: etabeta78

Re: Questions, suggestions or requests topic - 03/26/13 03:01 PM

Originally Posted By qmc2
Note that when you mount software-parts from multiple software-entries (manually) the suggested image path will be the one for the *first* software-entry. I'm generally prepared to let the user choose which one to use, but that's not fully implemented (I'm unsure if it's really worth it, though).


so you keep track of the order of parameters if someone e.g. loads both a System 6 HD from mac_hdd.xml and a couple of floppy disks from mac_flop.xml, right?

I guess that once you try c64 with floppy + cart + tape you will start to understand why we decided to move the choice on users' shoulders with the -snapname parameters %d_cart and %d_flop2 etc. wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/26/13 03:22 PM

No, I don't keep track of the order in which the software entries are *selected*. The "first entry" in this regard just means the first one in the list (from top to bottom, honoring the current sort order). It's only about the suggested path/name for the snapshot created by QMC2's embedder, but as with the snapname adjustment (where this works!) QMC2 should let the user choose which one to use if this is unclear.

Yes, I DO understand your motivations regarding -snapname wink.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/26/13 04:16 PM

Originally Posted By qmc2
Note that when you mount software-parts from multiple software-entries (manually) the suggested image path will be the one for the *first* software-entry. I'm generally prepared to let the user choose which one to use, but that's not fully implemented (I'm unsure if it's really worth it, though).

I've added clean support for this in SVN r4811. I just don't feel like I want to build the Win32 binaries again wink...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/26/13 04:32 PM

This screen shot shows what I mean exactly (and how it's done now since SVN r4811):



You'll only get a menu when there are multiple SW entries in use, otherwise it's shown as a single menu-item (like the others).

Before you ask: no it doesn't really make sense to store those images as flyers, PCBs or whatever else wink , and that's why those items are separated from the more useful ones at the top of the menu. But then again, those are just generic "image types" and who knows what the user might want to use them for smile.
Posted By: ASH

Re: Questions, suggestions or requests topic - 03/26/13 05:56 PM

Brilliant, Exactly what I wanted. smile Thank's again.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/26/13 06:13 PM

Well, I actually wanted it myself wink... I've meanwhile also added two tool-buttons (right of the "Clear" button) which replicate the same functionality as "save as" and "use as" in the image-viewer's context-menu for the currently selected thumbnail (a QMenu can gladly be reused as the menu attached to a tool-button, because it doesn't take ownership of the menu object).
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/27/13 10:53 AM

Hi Rene, have any variant for speedup fix start qmc mame ?
I test the last your qmc build , work very good btw.
With this build qmc mess start for 2-3 sec., qmc-mame - about 20 sec .
Tnx
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/27/13 11:15 AM

Well, MAME currently has more than 12x as much sets as MESS (i.e. 28495 vs. 2276 in MAME SVN r22104). Taking that fact into account it's actually quite fast.

I can't change this basically, but there are some ways to speed things up by disabling ROM state filtering, additional DAT sources etc. However, with all that enabled it takes just about 18 seconds here (~14 seconds when QMC2's caches are already cached by the file-system, ext4 here).

Note that if you only want to "play the games", there's also "QMC2 Arcade" which loads in less than a second. Only because it doesn't process all the data...

That said, there are probably ways to speed things up a bit here and there, but I doubt that it's really worth the hassle. Whenever I find a way to do things faster I usually revise relevant code if possible, but I'm pretty sure that the initial loading is already mostly optimized. Don't forget that all the data has to be inserted in the views which is a major act. Only Qt itself can speed this up (and there are some areas where Qt 5 actually DOES this, for instance QMap's which are implemented differently in Qt 4 vs. Qt 5, and QMC2 makes great use of them).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/27/13 12:28 PM

I've anyway checked to see if there are possible ways to speed up loading and found at least one that gets me about 2 seconds here wink. I can probably reuse this approach at other places...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/27/13 01:06 PM

Guess I was a bit too optimistic there... it's more like 500 ms, but it's at least something smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/27/13 01:42 PM

Someone on Windows self-compiling QMC2 (from SVN) could perhaps do me a favor and experiment with the QMC2_FILE_BUFFER_SIZE value in macros.h:

Code:
rene@thunder:~/src/qmc2> grep QMC2_FILE_BUFFER_SIZE macros.h
#define QMC2_FILE_BUFFER_SIZE                   QMC2_64K

This value seems to be perfect on Linux/ext4, but depending on the OS and file-system it could make a difference to use a smaller/larger read buffer.

Measurements you should compare (this is from QMC2 MAME / triggered a reload after the initial start-up):

Code:
...
14:56:37.617: done (loading XML game list data from cache, elapsed time = 00:02.777)
...
14:56:39.113: done (loading game data from game list cache, elapsed time = 00:01.385)
...
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/27/13 04:50 PM

Many tnx Rene, later test....
Posted By: ASH

Re: Questions, suggestions or requests topic - 03/27/13 06:57 PM

Rene?

when Qmc2 takes a snapshot, does it apply the in game filter?

even when switched off by the user.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/27/13 07:01 PM

No, but it scales the image smoothly if "native resolution" is turned on (which has a similar effect). It actually just grabs the window contents (QPixmap::grabWindow()).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/28/13 12:00 PM

@oddi: For reference, here's my full start-up log:

Code:
12:57:04.320: M.A.M.E. Catalog / Launcher II v0.39, SVN r4818 (Qt 4.8.4, SDLMAME, us)
12:57:04.321: Phonon features enabled - using Phonon v4.4.0
12:57:04.321: SDL joystick support enabled - using SDL v1.2.14
12:57:04.321: processing global emulator configuration
12:57:04.322: creating template configuration map
12:57:04.322: template info: emulator = SDLMAME, version = 0.148u2, format = 0.2.6
12:57:04.469: image cache size set to 128 MB
12:57:04.472: shortcut map is clean
12:57:04.472: joystick map is clean
12:57:04.511: SDLMAME output notifier FIFO created
12:57:04.646: loading game info DB
12:57:06.041: done (loading game info DB, elapsed time = 00:01.395)
12:57:06.041: 25922 game info records loaded
12:57:06.042: loading emulator info DB
12:57:07.302: done (loading emulator info DB, elapsed time = 00:01.259)
12:57:07.303: 8766 emulator info records loaded
12:57:07.304: loading software info DB
12:57:08.556: done (loading software info DB, elapsed time = 00:01.251)
12:57:08.556: 6336 software info records loaded
12:57:08.561: determining emulator version and supported sets
12:57:08.699: done (determining emulator version and supported sets, elapsed time = 00:00.135)
12:57:08.700: emulator info: type = MAME, version = 0.148u2
12:57:08.700: 28472 supported (non-device) sets
12:57:08.700: loading catver.ini
12:57:08.822: done (loading catver.ini, elapsed time = 00:00.122)
12:57:08.823: 19534 category / 19534 version records loaded
12:57:08.823: loading XML game list data from cache
12:57:11.648: done (loading XML game list data from cache, elapsed time = 00:02.825)
12:57:11.659: loading ROM state from cache
12:57:11.765: done (loading ROM state from cache, elapsed time = 00:00.106)
12:57:11.765: 28495 cached ROM states loaded
12:57:11.766: processing game list
12:57:11.767: loading game data from game list cache
12:57:11.774: pre-caching icons from ZIP archive
12:57:12.922: done (pre-caching icons from ZIP archive, elapsed time = 00:01.148)
12:57:12.923: 9932 icons loaded
12:57:14.209: done (loading game data from game list cache, elapsed time = 00:02.436)
12:57:15.506: sorting game list by game description in ascending order
12:57:16.032: restoring game selection
12:57:16.045: done (processing game list, elapsed time = 00:04.279)
12:57:16.046: 28406 games, 66 BIOS sets and 23 devices loaded
12:57:16.046: ROM state info: L:28495 C:25906 M:2589 I:0 N:0 U:0
12:57:16.048: applying ROM state filter
12:57:16.523: done (applying ROM state filter, elapsed time = 00:00.475)
12:57:16.524: loading favorites
12:57:16.525: done (loading favorites)
12:57:16.525: loading play history
12:57:16.525: done (loading play history)

So it takes just about 12 seconds now (here smile ).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/28/13 12:35 PM

@ASH: I've replaced the "native resolution" option with a drop-down menu (SVN r4819) to allow for the selection of the scale-mode. Options are: "no scaling", "original size - no filter" and "original size - filtered".
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/28/13 05:40 PM

Rene, plss post new svn, Tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/28/13 05:43 PM

Well, I thought someone might wanna play with the QMC2_FILE_BUFFER_SIZE value first, but OK...
Posted By: remax

Re: Questions, suggestions or requests topic - 03/28/13 07:52 PM

Originally Posted By qmc2
Well, I thought someone might wanna play with the QMC2_FILE_BUFFER_SIZE value first, but OK...


I would have, but have really no time at the moment frown
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/28/13 08:07 PM

Originally Posted By remax
Originally Posted By qmc2
Well, I thought someone might wanna play with the QMC2_FILE_BUFFER_SIZE value first, but OK...

I would have, but have really no time at the moment frown

We lose nothing... I actually don't think it makes such a big difference anyway, but I haven't checked thoroughly, only on Linux with ext4.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/29/13 04:14 PM

BTW, I'm currently adding support for software-status checking & caching, and I want to use different icons than the system ones to indicate software-states.

Here's my current set of icons for software-states (correct, incorrect, mostly correct, not found and unknown):



What do you think? Or perhaps someone wants to post different ones (appreciated).
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/29/13 04:31 PM

I like new icons, good idea smile
Posted By: ASH

Re: Questions, suggestions or requests topic - 03/29/13 05:28 PM


wink

Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/29/13 07:45 PM

Well, I need to represent all 5 states as mentioned above... red/green is not enough smile.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 03/29/13 07:50 PM

I would suggest that by default 2 states ("will run"/"won't run") is probably what most users are looking for.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/29/13 07:54 PM

Yeah, but the "yellow" state is for software sets which are "best available". It should actually be more yellow-green as in the game/machine list case. Grey and blue have their uses as well wink... I also want to use/keep the same color-coding.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 03/29/13 07:56 PM

I agree, but I think the top-level game list should just be green/red and you can get properties on a specific set to see more details. Would be easier for new users I think smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/29/13 07:59 PM

OK, I could perhaps add an option for that called "simple states" or "advanced states". Anyway, I need those 5 colors for advanced states at least smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/29/13 08:06 PM

On the other hand, there are rare cases where an incorrect (red) set still runs... using red for incorrect *and* not found sets would thus be a problem. Also, when the user prematurely stops the ROM check, or the data is not available for whatever reason, there would be no way to indicate that (unknown state / blue).
Posted By: ASH

Re: Questions, suggestions or requests topic - 03/29/13 08:37 PM

Correct , Incorrect , Good Luck

Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/29/13 08:41 PM

Mission Impossible and Who knows?:



smile
Posted By: ASH

Re: Questions, suggestions or requests topic - 03/29/13 08:43 PM

Originally Posted By qmc2
Mission Impossible and Who knows?:



smile


smile

The five colours will be fine smile I just look for green (GOOD) , Red (BAD)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/29/13 08:46 PM

You should also look for the yellow ones (BEST AVAILABLE) wink , that's why I'll make them yellow-green (as with the system sets).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/30/13 01:51 PM

So this is how it would look like (SVN r4831 WIP build):



That's basically working fine now, "only" the caching of the states and the replication of the info in the favorites- and search-lists aren't working yet. Regarding caching, I'll use a directory for this and store individual cache files for each software-list there.
Posted By: remax

Re: Questions, suggestions or requests topic - 03/30/13 02:05 PM

Nice smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/30/13 02:14 PM

I've also updated the icons for "mostly correct" (yellow-green) and "unknown" (blue):

Posted By: Kaylee

Re: Questions, suggestions or requests topic - 03/30/13 03:55 PM

Hi. A question:

Would there be an option to show thses:

Originally Posted By qmc2
I've also updated the icons for "mostly correct" (yellow-green) and "unknown" (blue):


But not these:

Quote:


For The Software lists?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/30/13 04:50 PM

You mean a customizable "software-state filter" just like with ROM states... yeah, I plan to also add that, however it will not be done in the first place but when everything else is working wink.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 03/30/13 10:09 PM

Originally Posted By qmc2
I've also updated the icons for "mostly correct" (yellow-green) and "unknown" (blue):


Long time waiting this!
Very very welcome, thanks!
smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 03/30/13 10:10 PM

Is there a macro for Sofware States too?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/31/13 12:51 AM

Originally Posted By Shideravan
Is there a macro for Sofware States too?

Not yet, but there'll be one or two of course wink.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/31/13 01:15 PM

Support for software-state checking & caching has been promoted to non-WIP in SVN r4836 wink! It might not be "perfect" yet and it has so far only been tested on Linux, but I think it's ready for general use now. However, I'd appreciate tests by others esp. on Windows!
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 03/31/13 03:15 PM

Originally Posted By qmc2
Support for software-state checking & caching has been promoted to non-WIP in SVN r4836 wink! It might not be "perfect" yet and it has so far only been tested on Linux, but I think it's ready for general use now. However, I'd appreciate tests by others esp. on Windows!


One thing that I found is, that it'll mark a entry incorrect, yet when you run it, mess doesn't complain
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/31/13 03:32 PM

I know there are such cases but that's the result of what MESS returns when running "mess -verifysoftlist <software-list>"... (which BTW is one reason NOT to combine states to just green/red)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/31/13 03:45 PM

An example for this is:

Code:
rene@thunder:~/src/mame-svn> ./mess64 -rp "/home/games/mess/roms;/home/games/mame/roms" -verifysoftlist neogeo 2>&1 | grep pbobblenb
pbobblenb   : us1 (131072 bytes) - NOT FOUND
pbobblenb   : um1 (131072 bytes) - NOT FOUND
pbobblenb   : u8 (1048576 bytes) - NOT FOUND
pbobblenb   : u9 (524288 bytes) - NOT FOUND
pbobblenb   : uc5 (524288 bytes) - NOT FOUND
pbobblenb   : uc6 (524288 bytes) - NOT FOUND
romset neogeo:pbobblenb is bad

But it still runs:

Code:
rene@thunder:~/src/mame-svn> ./mess64 -rp "/home/games/mess/roms;/home/games/mame/roms" -verbose aes -cart neogeo:pbobblenb
Build version:      0.148u2 (Mar 28 2013)
Build architecure:  SDLMAME_ARCH= 
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1 
Build defines 1:    LSB_FIRST=1 PTR64=1 DISTRO=generic SYNC_IMPLEMENTATION=tc 
SDL/OpenGL defines: SDL_COMPILEDVERSION=1214 USE_OPENGL=1 USE_DISPATCH_GL=1 
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=5 __GNUC_PATCHLEVEL__=0 __VERSION__="4.5.1 20101208 [gcc-4_5-branch revision 167585]" 
Compiler defines B: __amd64__=1 __x86_64__=1 __unix__=1 
Compiler defines C: __USE_FORTIFY_LEVEL=0 
SDL Device Driver     : x11
SDL Monitor Dimensions: 1920 x 1080
Enter sdlwindow_init
Using SDL single-window soft driver (SDL 1.2)
Leave sdlwindow_init
Keyboard: Start initialization
Input: Adding Kbd #0: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #0: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Joystick: Start initialization
Input: Adding Joy #0: Logitech Logitech Extreme 3D
Joystick: Logitech Logitech Extreme 3D
Joystick:   ...  4 axes, 12 buttons 1 hats 0 balls
Joystick:   ...  Physical id 0 mapped to logical id 0
Joystick: End initialization
Audio: Start initialization
Audio: Driver is alsa
Audio: frequency: 48000, channels: 2, samples: 1024
sdl_create_buffers: creating stream buffer of 76800 bytes
Audio: End initialization
output: opened output notifier file /tmp/sdlmame_out
Region ':mainbios' created
Searching font Liberation Sans in -fontpath
Matching font: /usr/share/fonts/truetype/LiberationSans-Regular.ttf
Region ':maincpu' created
Region ':audiobios' created
Region ':audiocpu' created
Region ':zoomy' created
Region ':fixedbios' created
Region ':fixed' created
Region ':ymsnd' created
Region ':ymsnd.deltat' created
Region ':sprites' created
Region ':cart:maincpu' created
Region ':cart:fixed' created
Region ':cart:audiocpu' created
Region ':cart:ymsnd' created
Region ':cart:sprites' created
Starting Neo-Geo AES ':'
Optional device 'tempcdc' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
  (missing dependencies; rescheduling)
Starting 68000 ':maincpu'
Starting Z80 ':audiocpu'
Starting Video Screen ':screen'
Starting Speaker ':lspeaker'
  (missing dependencies; rescheduling)
Starting Speaker ':rspeaker'
  (missing dependencies; rescheduling)
Starting YM2610 ':ymsnd'
Starting NEC uPD4990A ':upd4990a'
Starting Cartslot ':cart'
Starting Software list ':cart_list'
Starting Neo-Geo AES ':'
Optional device 'tempcdc' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
  (missing dependencies; rescheduling)
Starting Speaker ':lspeaker'
Starting Speaker ':rspeaker'
Starting Neo-Geo AES ':'
Optional device 'tempcdc' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Region ':maincpu' created
Region ':fixed' created
Region ':audiocpu' created
Region ':ymsnd' created
Region ':sprites' created
output: closed output notifier file
sdl_kill: closing audio
Joystick: Start deinitialization
Joystick: End deinitialization
Enter sdlwindow_exit
Leave sdlwindow_exit

Dunno if it's a bug in MESS or the software-list(s)... or wanted behavior.
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 03/31/13 03:59 PM

Methinks me might know why. Could it be that QMC2 checks every rom in a set like pbobblenb, when most of the roms is in pbobblen, thus not really taking into account, split roms. where the main set has most of the roms, and the clones only have the roms needed for that set, and taking the rest from the parent?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/31/13 04:02 PM

Well, -verifysoftlist shouldn't tell me 'bad' then... and QMC2 only interprets what this command returns. It does nothing else.
Posted By: ASH

Re: Questions, suggestions or requests topic - 04/01/13 12:21 PM

Originally Posted By qmc2
BTW, I'm currently adding support for software-status checking & caching, and I want to use different icons than the system ones to indicate software-states.

Here's my current set of icons for software-states (correct, incorrect, mostly correct, not found and unknown):



What do you think? Or perhaps someone wants to post different ones (appreciated).


On the NES I get a couple of red (incorrect) icons but the game runs fine ?

see screenshot

Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/01/13 12:39 PM

Originally Posted By ASH
On the NES I get a couple of red (incorrect) icons but the game runs fine ?

Yeah, I've posted the reason above smile!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/01/13 01:41 PM

I've found and fixed a number of minor UI synchronization issues related to software-lists when switching systems very quickly (SVN r4842)... I guess and hope it's all sorted out now. I've also added a customizable short-cut for the "check software-states" action (default: F10) which makes it easier to check software-states while "browsing the systems".
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/01/13 02:50 PM

Originally Posted By qmc2
Originally Posted By Shideravan
Is there a macro for Sofware States too?

Not yet, but there'll be one or two of course wink.

Two new software-notes template macros have been added in SVN r4843: $SOFTWARE_STATUS$ (translated) and $SOFTWARE_STATUS_UT$ (untranslated).
Posted By: etabeta78

Re: Questions, suggestions or requests topic - 04/03/13 07:36 AM

well, the problem with -verifysoftware is that it does not take into account at all the parent sets, at the moment.
hence, if a clone shares roms with its parent and you have a split set, the audit complains

I will poke judge about the issue (he wrote the audit code for verifysoftware and verifysoftlist)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/03/13 08:02 AM

Thanks, eta, for the heads up!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/03/13 02:42 PM

Originally Posted By qmc2
You mean a customizable "software-state filter" just like with ROM states... yeah, I plan to also add that, however it will not be done in the first place but when everything else is working wink.

A filter mechanism for software-states has now also been added in SVN r4853 smile!

Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/04/13 01:24 AM

Originally Posted By qmc2
Originally Posted By qmc2
You mean a customizable "software-state filter" just like with ROM states... yeah, I plan to also add that, however it will not be done in the first place but when everything else is working wink.

A filter mechanism for software-states has now also been added in SVN r4853 smile!


That's all that I wanted from a long time (well, along with some itens already in todo list, of course)
Thank you!
Posted By: judge

Re: Questions, suggestions or requests topic - 04/04/13 05:39 PM

Originally Posted By etabeta78
well, the problem with -verifysoftware is that it does not take into account at all the parent sets, at the moment.
hence, if a clone shares roms with its parent and you have a split set, the audit complains

I will poke judge about the issue (he wrote the audit code for verifysoftware and verifysoftlist)


Fixed
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/04/13 06:25 PM

Cool, thanks judge! EDIT: confirmed!
Posted By: ASH

Re: Questions, suggestions or requests topic - 04/06/13 09:00 AM

Excellent work on qmc2

This post has been modified after some test's

when you select a software game (in the software list widget) the snapshot picture's stop popping up if you hover over other games.

but if you move your mouse out of the software list widget window and then back into the software list widget window , snapshot poppup's start to work again. ?

SO :could you somehow keep it working without having to move the mouse out of the software list widget.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/06/13 12:45 PM

Hmmm, when the mouse pointer leaves the software-list widget (leaveEvent()), the "floating" snapshot-viewer is hidden... when you click an item (or move the cursor with the keys), it's shown again (provided there's a snapshot for the selected software), regardless if you "left the GUI" in between or not... perhaps I'm misunderstanding you, but that's how it's supposed to work and it does that here.
Posted By: ASH

Re: Questions, suggestions or requests topic - 04/06/13 02:59 PM

yes that is correct behavior

now once you have a selected snapshot , if you then move the mouse pointer up/down it DOESN'T show any more snapshots from other games unless you leave the widget window.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/06/13 03:14 PM

Ah, you have "SW snaps on mouse hover" turned on... well, I still don't see your problem, because when you click an item it's entering a "different mode" than when you're just hovering the list with the mouse pointer... as soon as it leaves the viewer-widget it enters "hovering mode" again. I wouldn't like to change that a) because I remember it was hard to make it work cleanly in both modes wink and b) because it's consistent with the way it works when "SW snaps on mouse hover" is turned off.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/06/13 03:22 PM

Also, when entering a different item would change the snapshot, it would be nearly impossible to reach the viewer's context-menu (only when the mouse position stays on the item!), so that's not really practicable.
Posted By: ASH

Re: Questions, suggestions or requests topic - 04/06/13 03:33 PM

ahh ok no problem smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/06/13 03:39 PM

Yeah... another reason is that is has to work together with keyboard input... so selecting an item always has precedence over hovering an item.
Posted By: Keil

Re: Questions, suggestions or requests topic - 04/07/13 07:48 PM

Hello! I love the qmc2. It allows me to manage my roms, as well as providing a front end. Best of all, it is for multiple operating systems!

As a novice to this app, as well as mame in general, I may be able to provide a different perspective for suggestions to this awesome app.

qmc2-sdlmame
  • Appling stylesheets to the app seems useless to me. Just focus on a simple, native looking design.
  • Icon bar duplicate functions within the apps menu bar. DRY - Don't Repeat Yourself! You could easily do without the icon bar.
  • Top-right quadrant has too many tabs. Text when fullscreen on my 27" iMac still get cut off. Text and icons are not necessary. This area needs to be thought out and redesigned. It isn't working well.
  • MP3 player is pointless. A similar function could possibly be added to the qmc2-arcade.
  • Logs could be displayed in a seperate window upon request. There is no need to have so much information displayed in one window all the time. Keep it simple.
  • Create option to exclude bios from game list.
  • Demo mode should be an option within qmc2-arcade, with zero pause, activated on preset time of inactivity, and cancelled on keystroke. It should function similar to a screen saver.


qmc2-arcade
  • Keep the theme as simple as possible. A background image and floating bubbles is unnecessary. Simply a black background will do.
  • When there is only a few games, moving down the list removes previous games off the screen.
  • Clicking or selecting a game launches it. A player one icon that duplicates this function is unnecessary. Don't Repeat Yourself!
  • I can't see how the search feature would work with an iPac. I would look into designing your app with the simplicity seen with the apple tv. It's GUI is clean and intuitive with its limited controls. It simply works.
  • mp3 player could be an alternative to demo mode for qmc2-arcade, or it could be played until a preset amount of time when demo mode would kick in.


These are just my ideas. Keep of the great work. I hope to see qmc2 continue to grow! Myself using mac and linux leaves my options limited.

Thank you!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/08/13 05:00 AM

Many/most of the things you mention are optional in QMC2 / QMC2 Arcade, that is you can switch them on or off just as you like...
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 04/15/13 01:11 PM

Me wonder if the option to change from non-filtered to filtered softlists can be moved from the button, to an option, as per mock-up done:





(since it's easy to miss click the arrow, and have QMC2 reload the whole list again)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/15/13 01:16 PM

It *IS* an option, and when it's disabled it will make the filter-buttons unavailable. So... what? smile
Posted By: Pernod

Re: Questions, suggestions or requests topic - 05/07/13 03:08 PM

All my machine/game states in both MESS/MAME are grey. I've cleared caches and used Check ROMS but doesn't seem to be looking in the right location for them.

I definitely have the correct roms in c:/MAME/roms, and the working directory is set to c:/MAME in QMC2. Starting any game with a grey state works perfectly so mess knows where to get the roms but QMC2 doesn't. With MESS this also means that QMC2 doesn't read the software lists.

They were all green a few days ago but obviously some configuration option has changed but have been unable to find what it is. Help!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/07/13 03:32 PM

Well, that's probably because there's a bug in the verification code in that it doesn't (seem to) honor the working directory... you could work around this by setting the 'rompath' option's value to 'c:/MAME/roms'.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/07/13 03:40 PM

Should be fixed in SVN r4882! Thanks for reporting!
Posted By: Pernod

Re: Questions, suggestions or requests topic - 05/07/13 03:54 PM

Originally Posted By qmc2
Well, that's probably because there's a bug in the verification code in that it doesn't (seem to) honor the working directory... you could work around this by setting the 'rompath' option's value to 'c:/MAME/roms'.

Thanks, I'm seeing green again. Did the same for MESS, specified both rompath and hashpath, machines are green but can't find software lists:
WARNING: software list 'a5200' not found
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/07/13 03:57 PM

But you did recreate the software-list cache?
Posted By: Pernod

Re: Questions, suggestions or requests topic - 05/07/13 04:03 PM

Originally Posted By qmc2
But you did recreate the software-list cache?

Seems not blush All good now smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/07/13 04:06 PM

Ah, nice smile!
Posted By: remax

Re: Questions, suggestions or requests topic - 05/07/13 04:11 PM

two dumb questions : what the "data directory" option in the config menu is for?

same question with "Mess variant exe" and "UME variant exe" in qmc2-mame...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/07/13 04:21 PM

Originally Posted By remax
two dumb questions : what the "data directory" option in the config menu is for?

You're on Windows, so it doesn't "hurt" you so much, but POSIX OSs often use different folders for data and binaries of a package... and the data directory option represents the base location of QMC2's data files (there's a bit more to it with regard to package creation scripts, but I guess that's enough for an explanation wink ).

Originally Posted By remax
same question with "Mess variant exe" and "UME variant exe" in qmc2-mame...

Those are Windows-specific options, BTW... Anna, Kaylee (and others) wanted the freedom to put the different QMC2 variants in separate folders... as per default, QMC2's "variant launcher" on Windows assumes that all three variants are installed in the same folder (which is recommended, BTW), but if not, you have to specify their locations through these options (only if you're even going to use the "variant launcher", of course).
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/07/13 04:25 PM

Quote:
all three variants are installed in the same folder (which is recommended, BTW)


They are already in the same folder by default (check my Installer).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/07/13 04:25 PM

Originally Posted By Anna Wu
They are already in the same folder by default (check my Installer).

I didn't doubt that smile!
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/07/13 04:29 PM

For my personal use I like to have the different launcher variants in different folder(s) + own config path(s). smile
Posted By: remax

Re: Questions, suggestions or requests topic - 05/07/13 04:29 PM

Originally Posted By qmc2
You're on Windows, so it doesn't "hurt" you so much, but POSIX OSs often use different folders for data and binaries of a package... and the data directory option represents the base location of QMC2's data files (there's a bit more to it with regard to package creation scripts, but I guess that's enough for an explanation wink ).


Yeah, but as every subfolder is specified in the config menu, i don't see the point of having a "general folder setting"... I am under the impression that it would make no difference if i specify any folder.

Originally Posted By qmc2

Those are Windows-specific options, BTW... Anna, Kaylee (and others) wanted the freedom to put the different QMC2 variants in separate folders... as per default, QMC2's "variant launcher" on Windows assumes that all three variants are installed in the same folder (which is recommended, BTW), but if not, you have to specify their locations through these options (only if you're even going to use the "variant launcher", of course).


Okay, so that's qmc2 related... I thought it was Mame/Mess/UME related and didn't understood.
Posted By: remax

Re: Questions, suggestions or requests topic - 05/07/13 04:32 PM

Originally Posted By Anna Wu
For my personal use I like to have the different launcher variants in different folder + own config path. smile


Well, to check data with Clrmame, it's better to already have separated Mame and Mess data folders... so i really see the point of having separated launcher variants folder...

... even if it's not how i have QMC2 configurated at the moment.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/07/13 04:39 PM

The QMC2 installation can live completely independent from the MAME and MESS installations, so there's actually no use in separating the variants, but it's also a matter of taste...

Regarding the data dir option... well, you're not completely wrong with what you're saying wink , but I recall there's been a reason for an individual option, at least on UNIX/Linux and/or in the past... will check if it's still required, I've forgotten the details (it's a rather old option, and QMC2 meanwhile is 7 years old smile!).
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/07/13 04:41 PM

Originally Posted By qmc2
...(it's a rather old option, and QMC2 meanwhile is 7 years old smile!).


The Seven Year Itch ; )
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/07/13 04:42 PM

LOL -- or it's the "magical number seven" smile!
Posted By: remax

Re: Questions, suggestions or requests topic - 05/07/13 04:45 PM

Originally Posted By qmc2
The QMC2 installation can live completely independent from the MAME and MESS installations, so there's actually no use in separating the variants, but it's also a matter of taste...


Yeah, but i am not talking about MAME/MESS installations, but about their data folder in QMC2 where you store flyers, snaps and co.

I really like the idea to store everything frontend related in this folder, but if you want to be able to easily check files with Clrmame, you can't mix MESS and MAME files in one folder (even if i think it wouldn't be a problem from the QMC2 POV), so you have to create separate data folders for mess and mame. And when you are at this point, it's not illogical to consider having completely separate QMC-Mame and QMC-Mess folders (that way you can keep the QMC2 folder settings at defaut instead of having to change them for each variant).

That was my point. But having the variants in the same folder is what i have now and it works well. It only asks for a little bit of configuration at first start (or when like me, you have to start over cause you have formatted your drive by mystake :p)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/07/13 04:50 PM

Well, I keep my MAME and MESS "data" installations (ROMs, samples, images etc.) in separate folders, not even near QMC2 itself... the data/* folders are just defaults, and probably not suitable for sources from multiple emulators... so again, you're free to do it the way you prefer.

Regarding your harddisk: @$#! -- glad you got it all set up again smile
Posted By: Pernod

Re: Questions, suggestions or requests topic - 05/08/13 09:22 AM

When on the Configuration tab of a machine that supports multiple bios the dropdown contains the internal names of each biosset. Wouldn't it be more user friendly to use description in the list rather than name?

An example in MESS is ZX Spectrum, many biosset including 'plus4' with description 'ZX Spectrum +4'.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/08/13 10:21 AM

Yes, that should be possible...

EDIT: it's actually more complicated than expected, but I'm nearly there smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/08/13 01:00 PM

OK, that's now working in SVN r4883 -- see here for details!
Posted By: Pernod

Re: Questions, suggestions or requests topic - 05/08/13 01:47 PM

Originally Posted By qmc2
OK, that's now working in SVN r4883 -- see here for details!

Many thanks for the quick changes.
Posted By: B2K24

Re: Questions, suggestions or requests topic - 05/09/13 09:26 PM

Can we get a driver column added that's click-able so the game list can be sorted alphabetically and by driver please?

http://i.imgur.com/Lyb6WFo.png
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/09/13 10:55 PM

Yes, that's even on the TODO list for quite some time now... I have no time this weekend, but I'll add it soon!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/14/13 04:10 PM

SVN r4885 has a new 'source file' column wink.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/16/13 07:28 AM

Originally Posted By qmc2
Regarding the data dir option... well, you're not completely wrong with what you're saying wink , but I recall there's been a reason for an individual option, at least on UNIX/Linux and/or in the past... will check if it's still required, I've forgotten the details (it's a rather old option, and QMC2 meanwhile is 7 years old smile!).

@remax: I've checked if the individual data directory option is still required... and yes, besides the installation related stuff on Linux/UNIX and Mac OS X (make option DATADIR, which also directly presets the DataDirectory option system-wide on these OSs), the option's value is required internally to automatically find the documentation/help files in 'data/doc/html/<lang>/' and all dynamically loaded (but nevertheless "static") images from 'data/img/' -- most, but not all, "static" images & icons are embedded in the binary.
Posted By: remax

Re: Questions, suggestions or requests topic - 05/16/13 12:40 PM

Ok, thanks for searching!

Good to know. Thanksfully, that's the file i leave in the data directory and don't need to move in specific QMC2MAME/QMC2MESS subdirectory
Posted By: B2K24

Re: Questions, suggestions or requests topic - 05/17/13 05:05 PM

Originally Posted By qmc2
SVN r4885 has a new 'source file' column wink.


Thanks so much smile

I will really enjoy and appreciate that when a new build becomes available.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/17/13 05:09 PM

I'll create another one at this long weekend, probably on Monday (holiday here)... but you're building MAME/MESS yourself, right? Then it's also not too complicated to build QMC2 using MinGW smile.
Posted By: B2K24

Re: Questions, suggestions or requests topic - 05/17/13 05:34 PM

I will give that a go. Thanks again smile
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/17/13 05:39 PM

Originally Posted By qmc2
I'll create another one at this long weekend, probably on Monday (holiday here)... but you're building MAME/MESS yourself, right? Then it's also not too complicated to build QMC2 using MinGW smile.


In this timeframe Ill release new MinGW 32-bit builds too. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/17/13 05:40 PM

Yeah, and take care not to mix any of the DLLs from the official VC++ based package and the ones from the MAME dev-tools!

I'll be away tomorrow (25th graduation anniversary / class reunion... oh, I feel old now smile ), so I can't answer possible questions before Sunday (that is, when my head does not explode wink ).
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/17/13 05:46 PM

Originally Posted By qmc2
Yeah, and take care not to mix any of the DLLs from the official VC++ based package and the ones from the MAME dev-tools!


I guess this message was for B2K24. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/17/13 05:47 PM

Right.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/17/13 05:51 PM

Ren, have a nice time with your former mates and teacher. smile
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/18/13 03:20 PM

Hello, why i not view SVN build number in about window:

http://www.picbg.net/img.php?file=586133f2bf79fce8.JPG

i test with mingw32 and x64 versions, not luck.
Compiling the last svn 4890, tnx smile
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/18/13 04:41 PM

I guess the "subwcrev" command can not be found.
Maybe this discussion can be helpful?
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 05/18/13 05:32 PM

Something I found when "setting up" filtered softlist view. There is a softlist that throws a curveball for qmc2. the C64_cart softlist has three "dummy" entries to
Quote:

<!-- Dummy cartridge entries to allow requirement mappings from c64_flop -->


It consist of
Quote:
<software name="cpm">
<description>CP/M</description>
<year>1982</year>
<publisher>Commodore</publisher>

<part name="cart" interface="c64_cart">
<feature name="slot" value="cpm" />
<dataarea name="roml" size="0x2000">
</dataarea>
</part>
</software>


QMC2 says it doesn't find these, but there is nothing to find :P (aldo the iq128 softlist has no roms)
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/18/13 05:50 PM

many tnx AnnaWu :)))

set PATH=%MINGW_HOME%;%QT_PLUGIN_PATH%;%QT_BIN_PATH%;%Tortoise_SVN_BIN%

work perfect, now have svn build number smile
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 05/19/13 07:11 AM

Originally Posted By Kaylee
Something I found when "setting up" filtered softlist view. There is a softlist that throws a curveball for qmc2. the C64_cart softlist has three "dummy" entries to
Quote:

<!-- Dummy cartridge entries to allow requirement mappings from c64_flop -->


It consist of
Quote:
<software name="cpm">
<description>CP/M</description>
<year>1982</year>
<publisher>Commodore</publisher>

<part name="cart" interface="c64_cart">
<feature name="slot" value="cpm" />
<dataarea name="roml" size="0x2000">
</dataarea>
</part>
</software>


QMC2 says it doesn't find these, but there is nothing to find :P (aldo the iq128 softlist has no roms)

Also stuff like Mac_hdd qmc2 doesn't pick up
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/19/13 11:38 AM

@Kaylee: I'm not sure I understand your problem, actually. What does QMC2 "not find"? Yes, there is a cpm software entry, be it a dummy or not, it is there... and when it's there but -verifysoftlist doesn't report it as "something" it's assumed to be in "not found" state. What's wrong with that?
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 05/20/13 07:12 AM

Originally Posted By qmc2
it's assumed to be in "not found" state. What's wrong with that?
I thought I highlight it.

But why wouldn't qmc2 pick up chds? mac_hdd is an example, I tried it first with the chd's in separate dir's (a dir for every entry) and then all in the main dir and it can't find the chd's
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/20/13 09:08 AM

Originally Posted By Kaylee
Originally Posted By qmc2
it's assumed to be in "not found" state. What's wrong with that?
I thought I highlight it.

But why wouldn't qmc2 pick up chds? mac_hdd is an example, I tried it first with the chd's in separate dir's (a dir for every entry) and then all in the main dir and it can't find the chd's


I doesnt use the mac_hdd softlist.
Does it work if you start MESS on the command line (without QMC2)?
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 05/20/13 09:16 AM

Originally Posted By Anna Wu

I doesnt use the mac_hdd softlist.
Does it work if you start MESS on the command line (without QMC2)?
Yes it works without qmc2 (running it from cammand-line)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/20/13 10:24 AM

Well, I have no idea where CHDs for software-lists are supposed to be stored (though I think it's the same as with ROMs), but QMC2 doesn't pick up anything... it's probably just a wrong working directory and/or missing ROM path set for the emulator?!
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 05/20/13 01:34 PM

CHDs for software lists are stored identically to ROMs, folder named after the list with zips of the chds inside (yes, really).
Posted By: remax

Re: Questions, suggestions or requests topic - 05/20/13 05:01 PM

Originally Posted By R. Belmont
CHDs for software lists are stored identically to ROMs, folder named after the list with zips of the chds inside (yes, really).

Whaaaat... I thought zipping a CHD was a really bad idea.

Moreover, isn't putting in a zip file the same thing as putting in a folder, so that putting in a zip file in a folder is like putting in ./folder/folder and so doesn't work?

BY the way, mac_hdd works perfectly here with the last SVN build.

I have my hdd in software/mac_hdd/nameofthehdd/whatever.chd
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 05/20/13 05:07 PM

The mac_hdd CHDs are compressed and not writable, so zipping them does relatively little harm. You're intended to make your own working CHD and copy the stuff over from them to make working sets.

Also, I'm saying that's how I have them arranged and it works and that anything even slightly deviating from that doesn't work. In particular, any variation without zipping the CHDs didn't work.
Posted By: remax

Re: Questions, suggestions or requests topic - 05/20/13 05:10 PM

Like i said in my edit in previous post : i don't need to zip my chd (that would be a lost of time and space by the way).

Just having them in software/mac_hdd/nameoftheset/nameofthehdd.chd with software in the rom path in mess.ini

(e.g software/mac_hdd/mac608/mac608.chd )
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 05/20/13 05:15 PM

And I'm saying that doesn't work for me, and I created the mac_hdd list. As distributed by major torrent sites it's got the CHDs zipped, because that's how I shipped it.
Posted By: remax

Re: Questions, suggestions or requests topic - 05/20/13 05:21 PM

That's perhaps a platform specific bug...

For me what you have to do doesn't make sense according to the rom naming philosophy of MAME/MESS (which doesn't mean i think you made a configuration mistake, hence me thinking of a bug).

Anyway, Kaylee's problem is different as it works fine with MESS and not with QMC2.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/20/13 05:29 PM

Hello Ren, just a question.
The new file open dialog is not my favorite.
I miss the old file open dialog.

Is it possible to make it selectable between the new and old dialog?
Posted By: etabeta78

Re: Questions, suggestions or requests topic - 05/20/13 05:48 PM

Originally Posted By R. Belmont
And I'm saying that doesn't work for me, and I created the mac_hdd list. As distributed by major torrent sites it's got the CHDs zipped, because that's how I shipped it.


I've just tried and here

Code:
./mess macclasc -hard1 mac608


works perfectly fine without any zipfile involved. it loads and boots fine both if I put mac608.chd in roms/mac_hdd/mac608/, in roms/mac_hdd/ and directly in roms/
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/20/13 06:01 PM

Originally Posted By Anna Wu
Hello Ren, just a question.
The new file open dialog is not my favorite.
I miss the old file open dialog.

The file-dialogs are now the Qt built-in ones because the platform-specific ones are different from platform to platform and desktop system... and the ones from Windows 8 even caused crashes when certain permissions were not met... so I've decided to only use the Qt built-in ones. Actually, that change is not so new smile.

Originally Posted By Anna Wu
Is it possible to make it selectable between the new and old dialog?

It's possible, but I'd need to add support for it at many places...
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/20/13 06:05 PM

Originally Posted By qmc2
Originally Posted By Anna Wu
Hello Ren, just a question.
The new file open dialog is not my favorite.
I miss the old file open dialog.

The file-dialogs are now the Qt built-in ones because the platform-specific ones are different from platform to platform and desktop system... and the ones from Windows 8 even caused crashes when certain permissions were not met... so I've decided to only use the Qt built-in ones. Actually, that change is not so new smile.

Originally Posted By Anna Wu
Is it possible to make it selectable between the new and old dialog?

It's possible, but I'd need to add support for it at many places...


Thanks for your answer. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/20/13 06:08 PM

Yeah, you've got it -- I'll add it when time permits smile! The problem remains though that users may see unusual behavior just because of the system's own dialogs (which are supposed to be "better", but it's actually more of a problem than a solution wink ).
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 05/21/13 02:50 AM

Originally Posted By remax

Anyway, Kaylee's problem is different as it works fine with MESS and not with QMC2.


Yip MESS sees it, as it's set up correctly, only qmc2 doesn't see the chd files
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/21/13 06:25 AM

Originally Posted By Kaylee
Yip MESS sees it, as it's set up correctly, only qmc2 doesn't see the chd files

No, QMC2 doesn't "see" anything, it's just the set up of the emulator that counts! Please check working directory and ROM path.

EDIT: the working directory should be the same that you use (implicitly) when you run MESS from the command line!
Posted By: remax

Re: Questions, suggestions or requests topic - 05/21/13 07:24 AM

On a nearly topic, and perhaps you already know it, but i just realized that even if the chds are launched without a problem from QMC2, the softlist checker doesn't see them (grey icon).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/21/13 07:28 AM

What does "mess64 -verifysoftlist <related_soft_list>" return for those entries?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/21/13 07:35 AM

OK, I just saw that QMC2 doesn't set the working directory for the actual "-verifysoftlist" process, so that might cause it to "not see" certain entries... however, the ROM path should be enough, and I don't see why/how that's different than with non-CHD software entries.

EDIT: SVN r4893 has a fix for this... could you please check if it makes any difference (it can only make a difference when the emulator's working directory has even been set, though)?
Posted By: remax

Re: Questions, suggestions or requests topic - 05/21/13 07:45 AM

i'll check as soon as i get back home smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/21/13 08:56 AM

@Anna: an option to switch back to using "native file dialogs" has just been added (SVN r4894). See GUI tab... note that it's not generally recommended, though, so its default is "false".
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 05/21/13 09:29 AM

Originally Posted By qmc2
What does "mess64 -verifysoftlist <related_soft_list>" return for those entries?

Thanx:

Seems -verifysoftlist is broken :P.

I can run mess macii mac700 without problem, But mess -verifysoftlist mac_hdd
Throws
Quote:

no romsets found for software list "mac_hdd"!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/21/13 09:39 AM

Thanks for testing this, Kaylee smile! So we're (hopefully) on the right track now...
Posted By: LoganB

Re: Questions, suggestions or requests topic - 05/21/13 10:24 AM

From what I know, it broke sometime between approx. r22920 and r22983, judging from my clean daily builds. Think this may help, then again may not.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/21/13 02:19 PM

Originally Posted By qmc2
@Anna: an option to switch back to using "native file dialogs" has just been added (SVN r4894). See GUI tab... note that it's not generally recommended, though, so its default is "false".


Nice, thanks! smile
Posted By: remax

Re: Questions, suggestions or requests topic - 05/21/13 04:53 PM

Originally Posted By qmc2
OK, I just saw that QMC2 doesn't set the working directory for the actual "-verifysoftlist" process, so that might cause it to "not see" certain entries... however, the ROM path should be enough, and I don't see why/how that's different than with non-CHD software entries.

EDIT: SVN r4893 has a fix for this... could you please check if it makes any difference (it can only make a difference when the emulator's working directory has even been set, though)?


Sadly no progress and i have a working directory set (in Emulator>Files/Directory). But if -verifysoftware is broken, that might be the problem so i'll test again when it'll be fixed.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/21/13 05:06 PM

Yeah, we'd have to wait for -verifysoftlist to be fixed...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/22/13 09:05 AM

Also, thanks Kaylee for filing a related MT bug: http://mametesters.org/view.php?id=5200
Posted By: remax

Re: Questions, suggestions or requests topic - 05/22/13 12:28 PM

According to the Tafoid's answer, i'm affraid it ain't gonna be fixed frown
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/22/13 12:30 PM

Well, I talked to Micko if someone's working on it (he said "not that he's aware") and will give it a try... I actually don't think it's "impossible" smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/22/13 12:51 PM

The problem seems to be that the audit is searching the files not as software-list parts but as "system parts". For example, putting any of the software-list CHDs in one of the ROM paths will make the verification happy smile. However, that wouldn't work with software-lists when starting the entries...
Posted By: etabeta78

Re: Questions, suggestions or requests topic - 05/22/13 12:52 PM

but if you -verifyroms a MAME game with chd, like kinst, what is the result? is the chd verified or not?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/22/13 12:54 PM

It IS verified, of course... but for software-lists those need to be searched for (also) in "<rompath>/<software-list>/<software-entry>[/|.zip|.7z]".
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/22/13 12:59 PM

Here's an excerpt from an strace on Linux for "mess64 -rp /home/games/mess/roms -verifysoftlist mac_hdd":

Code:
...
open("/home/games/mess/roms/mac2fdhd.zip", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0664, st_size=153840, ...}) = 0
pread(5, "\207U\2233\355\374\354\242U\223G\315\214\233\10\26\327y\253\306vu\217\232\311b\2624rl,\375"..., 1024, 152816) = 1024
pread(5, "PK\1\2\0\0\24\0\2\0\10\0\22]\203Bo\226;\316CX\2\0\0\0\4\0\f\0\0\0"..., 58, 153721) = 58
close(5)                                = 0
open("/home/games/mess/roms.zip", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/games/mess.zip", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/home/games.zip", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/home.zip", O_RDONLY)             = -1 ENOENT (No such file or directory)
open(".zip", O_RDONLY)                  = -1 ENOENT (No such file or directory)
open("/home/games/mess/roms/mac608.chd", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/games/mess/roms.7z", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/games/mess.7z", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/home/games.7z", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/home.7z", O_RDONLY)              = -1 ENOENT (No such file or directory)
open(".7z", O_RDONLY)                   = -1 ENOENT (No such file or directory)
open("/home/games/mess/roms.zip", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/games/mess.zip", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/home/games.zip", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/home.zip", O_RDONLY)             = -1 ENOENT (No such file or directory)
open(".zip", O_RDONLY)                  = -1 ENOENT (No such file or directory)
...

So, it's simply not searching where it's supposed to be searching!

As opposed to starting an actual software-list entry, where it finally finds the CHD in "/home/games/mess/roms/mac_hdd/mac750/mac750.chd" (strace excerpt from "mess64 -rp /home/games/mess/roms macclas2 -hard1 mac_hdd:mac750:hdd"):

Code:
...
open("/home/games/mess/roms/macclas2/mac750.chd", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/games/mess/roms/macclas2.7z", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/games/mess/roms.7z", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/games/mess.7z", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/home/games.7z", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/home.7z", O_RDONLY)              = -1 ENOENT (No such file or directory)
open(".7z", O_RDONLY)                   = -1 ENOENT (No such file or directory)
open("/home/games/mess/roms.zip", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/games/mess.zip", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/home/games.zip", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/home.zip", O_RDONLY)             = -1 ENOENT (No such file or directory)
open(".zip", O_RDONLY)                  = -1 ENOENT (No such file or directory)
open("/home/games/mess/roms/mac750.chd", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/games/mess/roms.7z", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/games/mess.7z", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/home/games.7z", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/home.7z", O_RDONLY)              = -1 ENOENT (No such file or directory)
open(".7z", O_RDONLY)                   = -1 ENOENT (No such file or directory)
open("/home/games/mess/roms.zip", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/games/mess.zip", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/home/games.zip", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/home.zip", O_RDONLY)             = -1 ENOENT (No such file or directory)
open(".zip", O_RDONLY)                  = -1 ENOENT (No such file or directory)
open("/home/games/mess/roms/mac_hdd/mac750/mac750.chd", O_RDONLY) = 12
...
Posted By: etabeta78

Re: Questions, suggestions or requests topic - 05/22/13 01:06 PM

well, by adding a few printfs to audit.c, I was able to see that the code properly calls audit_one_disk (emu/audit.c line 475) for each item but it fails the (err == CHDERR_NONE) at line 482, i.e. something goes wrong when the code attempts to open the chd...

I have failed to find the reason though
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/22/13 01:08 PM

Yes, that's what I did first too (adding printf's in audit.c) to find out that the file wasn't found... then I checked with strace where it looks for it.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/22/13 01:33 PM

@eta, for clarification: it's not even trying to open the CHD, it just doesn't find it because it's not searching in the right place(s)!

As I said above, when I put the software-list CHD (i.e. mac750.chd) in one of the ROM paths it will be found and verified successfully!! So it's not that software-list CHDs can't be verified at all.
Posted By: etabeta78

Re: Questions, suggestions or requests topic - 05/22/13 02:24 PM

not finding the file because it's searching the wrong place is indeed a special case of "something goes wrong when the code attempts to open the chd" :P

the problem is the last NULL parameter of the open_disk_image call at line 486, which is the "locationtag" that it is used properly when you load from softlist
it shall be in the format "swlist % clonename % parentname" to allow the various places to be properly scanned

as is audit_one_disk has no way to retrieve the proper locationtag, and hence there is no easy way to fix this. I will see if I have any smart idea for a solution, or if Micko or you or anyone else beats me to it...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/22/13 02:42 PM

Thanks for the info about 'locationtag'... I was already wondering how that's meant to be used smile.

How is the location actually found in the case when the software is started? There's this "extra" open() with the correct location at the end of the second strace above...

Anyway, I'd be happy when you try to fix it... I'm surely not going to beat you here anyway smile. But if you should give up, I'd give it another try! Thanks.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/22/13 03:40 PM

Well, I have a patch here that has been tested successfully with mac_hdd at least: http://qmc2.arcadehits.net/patches/audit.diff
Posted By: etabeta78

Re: Questions, suggestions or requests topic - 05/22/13 03:51 PM

I've been busy at home so I had no time to investigate, but your solution appears fine. send it to Micko smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/22/13 03:51 PM

Already sent to him in parallel smile!
Posted By: Sunbeam

Re: Questions, suggestions or requests topic - 05/22/13 06:07 PM

Suggestion: Implementation of media artwork. Probably in conjunction with a XML file/db to assign different pictures to a single softlist entry.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/22/13 06:13 PM

Sunbeam: I've already started working on this, called "additional artwork classes" (currently WIP). It will allow you to freely define whatever image-types (or classes) you'd want to add... however, the current way of finding images will not change basically, that is, no XMLs will be required but images in respective folders or ZIPs, containing PNGs named after the game/machine or software.
Posted By: ASH

Re: Questions, suggestions or requests topic - 05/27/13 07:43 AM

Could it be possible to add an option so if another game is selected in the software list the current emulated machine is automatically closed (killed) and a new one with the new game opened? (ATM it opens an extra window and then another etc)

I.E. only allow one emulated machine to run at a time.

or an option to show the Kill Emulator button in the tab smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/27/13 07:54 AM

ASH: There's no such feature yet... it could be done, of course, should actually be quite simple to implement. I think that a global option for this would suffice, though.
Posted By: ASH

Re: Questions, suggestions or requests topic - 05/27/13 08:00 AM

Thanks

and another idea....could be a bit harder

if the emulator widget loses focus could mess be automatically paused...until the widget is clicked on again (back in focus)

Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/27/13 08:24 AM

Originally Posted By ASH
if the emulator widget loses focus could mess be automatically paused...until the widget is clicked on again (back in focus)

It's nearly impossible to do that platform-independently, so most likely the answer here is 'no, it won't be done'.

There's a similar automatic pause/resume thing for embedded emulators on X11 platforms, but it requires synthetic key-presses/releases which are not portable.

The right way to go here would be through the OSD of the emulator (which is able to get informed when it loses/gains focus) and an additional option to enable auto-pause/resume.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/27/13 08:49 AM

Originally Posted By qmc2
ASH: There's no such feature yet... it could be done, of course, should actually be quite simple to implement. I think that a global option for this would suffice, though.

That's in SVN r4902 now!
Posted By: ASH

Re: Questions, suggestions or requests topic - 05/27/13 08:50 AM

Originally Posted By qmc2

It's nearly impossible to do that platform-independently, so most likely the answer here is 'no, it won't be done'.

There's a similar automatic pause/resume thing for embedded emulators on X11 platforms, but it requires synthetic key-presses/releases which are not portable.

The right way to go here would be through the OSD of the emulator (which is able to get informed when it loses focus) and an additional option to enable auto-pause/resume.


Yeah thought not smile

most stand alone emulators have this so I might suggest adding it to Mame/Mess.....wish me luck. smile

EDIT: Thanks for the Very quick feature add. :0 smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/27/13 09:06 AM

Fingers crossed smile!

The only reason I did that in case of embedded emulators (and only in case of X11) is that I have control over the 'embed-container widget' from QMC2, so it's quite simple to be informed when the widget loses/gains focus. However, the 'P' press/release simulation for the external X window is still a bit hacky and timing dependent, so I would really not like to try an equivalent approach on Windows or even Mac OS X smile.

Another thing that's actually required for this is support for MAME notifiers so QMC2 has info about the current emulator status (running / paused), and that's only available on Linux / UNIX / Mac OS X right now. But that feature will be added to the Windows port as well, sooner or later at least.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/09/13 02:16 AM

I have a issue here...
My software list isn't showing no titles anymore...



The hash files is set and as you can see, for system that use software list they are already active (but show no file). Wht it could be?
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/09/13 02:17 AM

Ps.: Not a state filter problem...
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/09/13 02:35 AM

Ps.2: Cache clean!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/09/13 02:35 AM

Ps.3: Paths ok!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/09/13 02:59 AM

Originally Posted By Shideravan
I have a issue here...
My software list isn't showing no titles anymore...



The hash files is set and as you can see, for system that use software list they are already active (but show no file). Wht it could be?


Ok, internal issue, fixed smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/09/13 11:28 PM

Hmmm, how will work the additional artwork classes?
The user can create his own images classes?
A macro for this will be great for use in system/software templates wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/10/13 06:49 AM

Yes, the user will be able to create his/her own image classes... the rest will be decided on later when this works smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/10/13 02:55 PM

Originally Posted By Shideravan
A macro for this will be great for use in system/software templates wink

I don't think we can solve this with just macros (other than user-definable ones, but you wouldn't know them beforehand) because the notes templates and QMC2 Arcade's QML themes will need to be able to query what the user has set up and react on that dynamically. So there will most likely be additional JS functions exposed to both notes templates and QML themes.
Posted By: solstar82

Re: Questions, suggestions or requests topic - 06/11/13 09:26 PM

could it be possible to add a background image on the game list (and also on the adjacent window)like MAMEUI does?staring at all that white,especially in full screen,hurts my eyes frown
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/11/13 09:47 PM

You can edit the color palette (see Front end -> GUI in the setup dialog), or use a style-sheet for that.
Posted By: solstar82

Re: Questions, suggestions or requests topic - 06/13/13 09:43 AM

style sheets works fine thanks.how can i create one myself?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/13/13 09:58 AM

The style-sheets are actually text-files (*.qss), similar to HTML/CSS, but not exactly the same...

Detailed Qt style-sheet documentation is here: http://qt-project.org/doc/qt-4.8/stylesheet.html

Take the existing style-sheets for QMC2 as examples to create your own. When done, please post it here so I can add your sheet on the QMC2 homepage smile.

Note that some of the example style-sheets contain statements that directly address objects in QMC2 (Qt has a concept of an 'object-name' which relates to the instance's variable name). Example:

Code:
QLabel#labelGamelistStatus {
    background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 34, 255, 128), stop:1 rgba(255, 255, 255, 128));
}

This would tell the style-sheet system to use a semi-transparent (alpha=128), diagonal (0,0 => 1,1), linear gradient as the background of any QLabel instance called 'labelGamelistStatus'. You can obviously only know those object names by reading the QMC2 source code, so when unsure just ask wink. In this specific case that's the label used in the bottom-left corner of the main widget to display the game/machine-list statistics.
Posted By: B2K24

Re: Questions, suggestions or requests topic - 06/14/13 01:23 AM

Wonderful work on getting 39 released and I really appreciate this work. The Dark theme for Arcade mode looks wonderful smile

I'm curious though why I can't select Good + Imperfect

http://i.imgur.com/PcJTSG5.png

I would think Good + Imperfect would be the most optimal rather than Good + preliminary or am I missing something?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/14/13 05:56 AM

@B2K24: good catch! I somehow mixed up preliminary and imperfect. I'll change it soon...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/14/13 07:45 AM

That's fixed in SVN r4994, for both the QMC2 Arcade setup and the demo-mode dialog.
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 06/17/13 03:02 PM

Hi Rene

Is it possible to make qmc2-mame load from cache like qmc2-mess. I've received more than a few question on irc about slow load times.
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/17/13 03:15 PM

@Rene i agreed with Kaylee, today i compare for start
qmc2-mame and mameuiFX64
qmc2-mame full load about 30-40 sec , various - 40-50 too
mameuiFX witl full configuration - icons, snaps, samples, roms , chds and etct etc - load for 5-10sec.

qmc2-mess load too for 5 sec .
Where is problem with qmc2-mame for slow loading ?

see qmc2-mame: 47 sec
qmc2-mame

qmc2-mess: 14 sec.
qmc2-mess

MameUIFX - about 5-10 sec.


Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/17/13 03:21 PM

There is no "slow loading" just a lot of data smile.

I. e., with all dat-sources enabled, it takes about 15 seconds from cached data in case of latest MAME, and less than 4 seconds in case of MESS (Linux x64, and the hardware is meanwhile a few years old).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/17/13 03:25 PM

And you can't compare "MAMEUIxxyy" with QMC2 because it has the data "already compiled in" and is no front-end.
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/17/13 03:30 PM

tnx Rene for fast answer, but i edit my post with logs from qmc-mame and mess.

I test qmc2-mame on my wife notebook with disable antivirus:
she machine is i3/ 8 GB dd3 and GT 525

my desktop is Phenom II X4 with 4 GB DDR3, for test i too disable antivirus ( used Kaspersky) - same results , slow loading .
Btw test too under virtual machine with winxp sp3 +last updates - tragedy , full load for 2min. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/17/13 03:35 PM

Well, here's my log with QMC2-MAME:

Code:
17:30:05.200: M.A.M.E. Catalog / Launcher II v0.40, SVN r5013 (Qt 4.8.4, SDLMAME, us)
17:30:05.201: Phonon features enabled - using Phonon v4.4.0
17:30:05.201: SDL joystick support enabled - using SDL v1.2.14
17:30:05.201: processing global emulator configuration
17:30:05.201: creating template configuration map
17:30:05.202: template info: emulator = SDLMAME, version = 0.149, format = 0.2.6
17:30:05.354: image cache size set to 128 MB
17:30:05.383: shortcut map is clean
17:30:05.384: joystick map is clean
17:30:05.392: SDLMAME output notifier FIFO created
17:30:05.539: loading game info DB
17:30:07.283: done (loading game info DB, elapsed time = 00:01.744)
17:30:07.283: 28257 game info records loaded
17:30:07.284: loading emulator info DB
17:30:08.611: done (loading emulator info DB, elapsed time = 00:01.326)
17:30:08.612: 8766 emulator info records loaded
17:30:08.613: loading software info DB
17:30:10.769: done (loading software info DB, elapsed time = 00:02.155)
17:30:10.770: 26886 software info records loaded
17:30:10.774: determining emulator version and supported sets
17:30:10.918: done (determining emulator version and supported sets, elapsed time = 00:00.141)
17:30:10.919: emulator info: type = MAME, version = 0.149
17:30:10.919: 28627 supported (non-device) sets
17:30:10.919: loading catver.ini
17:30:11.104: done (loading catver.ini, elapsed time = 00:00.185)
17:30:11.105: 28487 category / 28613 version records loaded
17:30:11.105: loading XML data from cache
17:30:13.953: done (loading XML data from cache, elapsed time = 00:02.848)
17:30:13.964: loading ROM state from cache
17:30:14.031: done (loading ROM state from cache, elapsed time = 00:00.067)
17:30:14.034: 28661 cached ROM states loaded
17:30:14.035: processing game list
17:30:14.038: loading game data from game list cache
17:30:14.041: pre-caching icons from ZIP archive
17:30:15.219: done (pre-caching icons from ZIP archive, elapsed time = 00:01.178)
17:30:15.219: 9932 icons loaded
17:30:16.587: done (loading game data from game list cache, elapsed time = 00:02.547)
17:30:17.955: sorting game list by ROM types in ascending order
17:30:18.246: restoring game selection
17:30:19.985: done (processing game list, elapsed time = 00:05.950)
17:30:19.985: 28560 games, 67 BIOS sets and 34 devices loaded
17:30:19.987: ROM state info: L:28661 C:25748 M:2911 I:2 N:0 U:0
17:30:19.988: applying ROM state filter
17:30:20.489: done (applying ROM state filter, elapsed time = 00:00.501)
17:30:20.490: loading favorites
17:30:20.491: done (loading favorites)
17:30:20.491: loading play history
17:30:20.491: done (loading play history)

About 15 seconds, as I said... I see not many ways to make that faster, but I'll still try optimizing whatever I can. The fact remains though that I can't "fix" OS or system restrictions (however, on Win 7 x64 the numbers are similar for me).
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/17/13 03:37 PM

pfiyyy! , your:

17:30:20.489: done (applying ROM state filter, elapsed time = 00:00.501)

my is 12 sec.!!! Ok, Rene, tnx for understand
Now i know : Windows hate me smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/17/13 03:38 PM

@oddi: what takes the longest time for you according to your log is the "ROM state filter". Disable it!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/17/13 03:43 PM

Originally Posted By oddi
my is 12 sec.!!!

Yeah, that difference makes me wonder why you're not using Win 7 x64, or better, Linux smile...
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/17/13 03:52 PM

Heheh smile Linux is good choice but i used only for routers smile
Rene from where disable "roms state filer" ?

Opss, found it smile
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/17/13 04:04 PM

Rene, reduce speed to 24 sec !!!!!!!
I found the hot water and the wheel smile
Ok gang, uncle oddi is here ! need new qmc2 builds for testing smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/17/13 05:19 PM

Oh, and BTW, for those who are only interested in "playing the games", there's also QMC2 Arcade which loads/analyzes a lot less data and starts faster because of this smile.

And yes, Linux is one of the nicest OSs for routers :), but it's much more than "just" that.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/17/13 06:31 PM

Well, I found a corner case where ROM state filtering isn't necessary: whenever the game list is reloaded and no states (or BIOS / device sets) have been disabled, the filter run is actually a useless overhead... this will be changed in SVN soon, just need a little more testing.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/17/13 07:27 PM

OK, that's in SVN r5014 now... plus the additional corner case when an individual set's ROM state is checked and doesn't change, then running the filter is also useless. Anyway, the above mentioned change will speed up many cases because ROM state filtering is activated by default, but many users don't really change the filter settings.
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/17/13 07:58 PM

@Rene i dont take your time for my problem with speed , sorry
now with 5014 : "Rom state filer" on- off, time it's same - 31-32 sec.
I think that is good, many tnx for whole smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/17/13 08:29 PM

I've just committed a few more optimizations regarding the filter and hope they work fine for all... good night smile!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/18/13 11:01 AM

Loading of cached XML data has been optimized a bit as well in SVN r5017. For me this saves between 15% and 20% of time spent on this job.

Overall I'm down to "less than 13 seconds" start-up time now with MAME SVN r23765 and all current dat-sources:

Code:
13:02:41.421: M.A.M.E. Catalog / Launcher II v0.40, SVN r5017 (Qt 4.8.4, SDLMAME, us)
13:02:41.422: Phonon features enabled - using Phonon v4.4.0
13:02:41.422: SDL joystick support enabled - using SDL v1.2.14
13:02:41.422: processing global emulator configuration
13:02:41.422: creating template configuration map
13:02:41.423: template info: emulator = SDLMAME, version = 0.149, format = 0.2.6
13:02:41.574: image cache size set to 128 MB
13:02:41.577: shortcut map is clean
13:02:41.578: joystick map is clean
13:02:41.622: SDLMAME output notifier FIFO created
13:02:41.774: loading game info DB
13:02:43.512: done (loading game info DB, elapsed time = 00:01.737)
13:02:43.513: 28257 game info records loaded
13:02:43.514: loading emulator info DB
13:02:44.875: done (loading emulator info DB, elapsed time = 00:01.361)
13:02:44.875: 8766 emulator info records loaded
13:02:44.876: loading software info DB
13:02:47.060: done (loading software info DB, elapsed time = 00:02.178)
13:02:47.064: 26886 software info records loaded
13:02:47.069: determining emulator version and supported sets
13:02:47.208: done (determining emulator version and supported sets, elapsed time = 00:00.137)
13:02:47.210: emulator info: type = MAME, version = 0.149
13:02:47.210: 28628 supported (non-device) sets
13:02:47.210: loading catver.ini
13:02:47.396: done (loading catver.ini, elapsed time = 00:00.186)
13:02:47.398: 28487 category / 28613 version records loaded
13:02:47.398: loading XML data from cache
13:02:49.639: done (loading XML data from cache, elapsed time = 00:02.241)
13:02:49.655: loading ROM state from cache
13:02:49.725: done (loading ROM state from cache, elapsed time = 00:00.070)
13:02:49.726: 28662 cached ROM states loaded
13:02:49.727: processing game list
13:02:49.729: loading game data from game list cache
13:02:49.733: pre-caching icons from ZIP archive
13:02:50.930: done (pre-caching icons from ZIP archive, elapsed time = 00:01.197)
13:02:50.930: 9932 icons loaded
13:02:52.295: done (loading game data from game list cache, elapsed time = 00:02.565)
13:02:53.663: sorting game list by game description in ascending order
13:02:54.202: restoring game selection
13:02:54.347: done (processing game list, elapsed time = 00:04.620)
13:02:54.347: 28561 games, 67 BIOS sets and 34 devices loaded
13:02:54.347: ROM state info: L:28662 C:25748 M:2911 I:2 N:1 U:0
13:02:54.350: loading favorites
13:02:54.355: done (loading favorites)
13:02:54.355: loading play history
13:02:54.355: done (loading play history)
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/18/13 11:57 AM

I think that is enought with disable "Rom state filter": 25 sec.

Code:
14:47:36.122: M.A.M.E. Catalog / Launcher II v0.40, SVN r5017 (Qt 4.8.4, MAME, us)
14:47:36.123: Phonon features enabled - using Phonon v4.4.0
14:47:36.124: SDL joystick support enabled - using SDL v1.2.15
14:47:36.124: processing global emulator configuration
14:47:36.126: creating template configuration map
14:47:36.126: template info: emulator = MAME, version = 0.149, format = 0.2.6
14:47:36.526: image cache size set to 64 MB
14:47:36.533: shortcut map is clean
14:47:36.534: joystick map is clean
14:47:36.810: loading game info DB
14:47:38.672: done (loading game info DB, elapsed time = 00:01.861)
14:47:38.673: 28340 game info records loaded
14:47:38.677: loading emulator info DB
14:47:40.182: done (loading emulator info DB, elapsed time = 00:01.504)
14:47:40.183: 8843 emulator info records loaded
14:47:40.187: loading software info DB
14:47:42.844: done (loading software info DB, elapsed time = 00:02.656)
14:47:42.845: 27308 software info records loaded
14:47:42.863: determining emulator version and supported sets
14:47:43.134: done (determining emulator version and supported sets, elapsed time = 00:00.270)
14:47:43.135: emulator info: type = MAME, version = 0.149
14:47:43.136: 28627 supported (non-device) sets
14:47:43.136: loading catver.ini
14:47:43.378: done (loading catver.ini, elapsed time = 00:00.242)
14:47:43.379: 28661 category / 28661 version records loaded
14:47:43.380: loading XML data from cache
14:47:47.876: done (loading XML data from cache, elapsed time = 00:04.496)
14:47:47.891: loading ROM state from cache
14:47:48.002: done (loading ROM state from cache, elapsed time = 00:00.111)
14:47:48.003: 28661 cached ROM states loaded
14:47:48.006: processing game list
14:47:48.009: loading game data from game list cache
14:47:48.017: pre-caching icons from ZIP archive
14:47:48.654: done (pre-caching icons from ZIP archive, elapsed time = 00:00.637)
14:47:48.655: 3927 icons loaded
14:47:50.552: done (loading game data from game list cache, elapsed time = 00:02.542)
14:47:58.247: sorting game list by year in descending order
14:47:58.652: restoring game selection
14:48:01.274: done (processing game list, elapsed time = 00:13.269)
14:48:01.275: 28560 games, 67 BIOS sets and 34 devices loaded
14:48:01.276: ROM state info: L:28661 C:25747 M:2914 I:0 N:0 U:0
14:48:01.281: loading favorites
14:48:01.282: done (loading favorites)
14:48:01.283: loading play history
14:48:01.286: done (loading play history)


Many tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/18/13 12:01 PM

It's getting better smile... software-info DB loading has been slightly improved as well in r5018. The difference is just about 100ms here in case of MAME, and 300ms in case of MESS.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 06/18/13 01:37 PM

Is there some reason you don't just store the cache in a binary format? You could start up almost instantly then.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/18/13 01:51 PM

Depends on which "cache" you mean... but the general answer is "not really" because I have to load the list-views with all these items and can't do this instantly anyway. The XML data is required on-demand (mostly) later in the game, and the game/machine list itself is cached in an already parsed way so that takes just a second to load... and the dat-sources are in varying formats smile.

However, I plan to store the game/machine list data in a database which I could then use as the base for a Qt model/view approach. But for the XML itself I can't really do this.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/18/13 02:00 PM

Originally Posted By qmc2
However, I plan to store the game/machine list data in a database which I could then use as the base for a Qt model/view approach.

This is mainly to save memory, but as a side effect it should also contribute to drastically faster loading times. That's such a major change that it actually scares me a bit smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/19/13 02:25 PM

I've just committed a few more performance improvements in r5027 so I'm down to about 12 seconds for MAME (and 3 seconds for MESS) at the moment:

Code:
16:19:52.918: M.A.M.E. Catalog / Launcher II v0.40, SVN r5027 (Qt 4.8.4, SDLMAME, us)
16:19:52.918: Phonon features enabled - using Phonon v4.4.0
16:19:52.919: SDL joystick support enabled - using SDL v1.2.14
16:19:52.919: processing global emulator configuration
16:19:52.919: creating template configuration map
16:19:52.919: template info: emulator = SDLMAME, version = 0.149, format = 0.2.6
16:19:53.071: image cache size set to 128 MB
16:19:53.099: shortcut map is clean
16:19:53.100: joystick map is clean
16:19:53.115: SDLMAME output notifier FIFO created
16:19:53.260: loading game info DB
16:19:54.723: done (loading game info DB, elapsed time = 00:01.463)
16:19:54.723: 28257 game info records loaded
16:19:54.724: loading emulator info DB
16:19:55.808: done (loading emulator info DB, elapsed time = 00:01.084)
16:19:55.809: 8766 emulator info records loaded
16:19:55.812: loading software info DB
16:19:57.730: done (loading software info DB, elapsed time = 00:01.912)
16:19:57.730: 26886 software info records loaded
16:19:57.735: determining emulator version and supported sets
16:19:57.871: done (determining emulator version and supported sets, elapsed time = 00:00.133)
16:19:57.874: emulator info: type = MAME, version = 0.149
16:19:57.874: 28628 supported (non-device) sets
16:19:57.874: loading catver.ini
16:19:58.180: done (loading catver.ini, elapsed time = 00:00.306)
16:19:58.196: 28487 category / 28613 version records loaded
16:19:58.197: loading XML data from cache
16:20:00.412: done (loading XML data from cache, elapsed time = 00:02.215)
16:20:00.422: loading ROM state from cache
16:20:00.488: done (loading ROM state from cache, elapsed time = 00:00.066)
16:20:00.489: 28662 cached ROM states loaded
16:20:00.489: processing game list
16:20:00.491: loading game data from game list cache
16:20:00.496: pre-caching icons from ZIP archive
16:20:01.401: done (pre-caching icons from ZIP archive, elapsed time = 00:00.905)
16:20:01.402: 9932 icons loaded
16:20:02.773: done (loading game data from game list cache, elapsed time = 00:02.280)
16:20:04.133: sorting game list by game description in ascending order
16:20:04.667: restoring game selection
16:20:05.007: done (processing game list, elapsed time = 00:04.518)
16:20:05.008: 28561 games, 67 BIOS sets and 34 devices loaded
16:20:05.008: ROM state info: L:28662 C:25748 M:2911 I:2 N:1 U:0
16:20:05.010: loading favorites
16:20:05.016: done (loading favorites)
16:20:05.016: loading play history
16:20:05.017: done (loading play history)

Gimme time and I'll surely find even more ways to make things faster smile... however, the number of possibilities is narrowing (with the current design), so don't expect too much.
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/19/13 04:09 PM

Linux vs Win7 = 1:0 smile
Rene, my seconds is constant , about 29 sec
Code:
19:07:14.456: M.A.M.E. Catalog / Launcher II v0.40, SVN r5027 (Qt 4.8.4, MAME, us)
19:07:14.458: Phonon features enabled - using Phonon v4.4.0
19:07:14.458: SDL joystick support enabled - using SDL v1.2.15
19:07:14.459: processing global emulator configuration
19:07:14.460: creating template configuration map
19:07:14.461: template info: emulator = MAME, version = 0.149, format = 0.2.6
19:07:14.799: image cache size set to 64 MB
19:07:14.807: shortcut map is clean
19:07:14.808: joystick map is clean
19:07:14.972: loading game info DB
19:07:16.538: done (loading game info DB, elapsed time = 00:01.565)
19:07:16.538: 28340 game info records loaded
19:07:16.541: loading emulator info DB
19:07:17.722: done (loading emulator info DB, elapsed time = 00:01.180)
19:07:17.723: 8843 emulator info records loaded
19:07:17.725: loading software info DB
19:07:20.165: done (loading software info DB, elapsed time = 00:02.439)
19:07:20.166: 27308 software info records loaded
19:07:20.175: determining emulator version and supported sets
19:07:20.480: done (determining emulator version and supported sets, elapsed time = 00:00.304)
19:07:20.482: emulator info: type = MAME, version = 0.149
19:07:20.482: 28627 supported (non-device) sets
19:07:20.483: loading catver.ini
19:07:20.815: done (loading catver.ini, elapsed time = 00:00.332)
19:07:20.816: 28661 category / 28661 version records loaded
19:07:20.828: loading XML data from cache
19:07:25.218: done (loading XML data from cache, elapsed time = 00:04.390)
19:07:25.232: loading ROM state from cache
19:07:25.340: done (loading ROM state from cache, elapsed time = 00:00.108)
19:07:25.341: 28661 cached ROM states loaded
19:07:25.343: processing game list
19:07:25.354: loading game data from game list cache
19:07:25.361: pre-caching icons from ZIP archive
19:07:26.354: done (pre-caching icons from ZIP archive, elapsed time = 00:00.993)
19:07:26.355: 3927 icons loaded
19:07:28.150: done (loading game data from game list cache, elapsed time = 00:02.795)
19:07:35.712: sorting game list by year in descending order
19:07:36.123: restoring game selection
19:07:43.293: done (processing game list, elapsed time = 00:17.950)
19:07:43.293: 28560 games, 67 BIOS sets and 34 devices loaded
19:07:43.294: ROM state info: L:28661 C:25747 M:2914 I:0 N:0 U:0
19:07:43.298: loading favorites
19:07:43.299: done (loading favorites)
19:07:43.300: loading play history
19:07:43.303: done (loading play history)


but I noticed that qmc2 became a little more nimble when it clicks through menus
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/19/13 04:11 PM

Originally Posted By oddi
Linux vs Win7 = 1:0 smile

Sure, though I think that's more like 3:1 smile!
Posted By: Kaylee

Re: Questions, suggestions or requests topic - 06/19/13 04:42 PM

Originally Posted By qmc2
I've just committed a few more performance improvements in r5027 so I'm down to about 3 seconds for MESS at the moment:


I'm down to 9 sec
Code:
18:39:24.907: M.E.S.S. Catalog / Launcher II v0.40, SVN r5027 (Qt 4.8.4, MESS, us)
18:39:24.907: Phonon features enabled - using Phonon v4.4.0
18:39:24.907: SDL joystick support enabled - using SDL v1.2.15
18:39:24.907: processing global emulator configuration
18:39:24.923: creating template configuration map
18:39:24.923: template info: emulator = MESS, version = 0.149, format = 0.2.6
18:39:25.360: image cache size set to 128 MB
18:39:25.391: shortcut map is clean
18:39:25.391: joystick map is clean
18:39:25.798: loading machine info DB
18:39:26.110: done (loading machine info DB, elapsed time = 00:00.312)
18:39:26.110: 751 machine info records loaded
18:39:26.141: loading emulator info DB
18:39:26.438: done (loading emulator info DB, elapsed time = 00:00.297)
18:39:26.438: 1771 emulator info records loaded
18:39:26.438: loading software info DB
18:39:29.563: done (loading software info DB, elapsed time = 00:03.125)
18:39:29.563: 27308 software info records loaded
18:39:29.579: determining emulator version and supported sets
18:39:30.298: done (determining emulator version and supported sets, elapsed time = 00:00.719)
18:39:30.298: emulator info: type = MESS, version = 0.149
18:39:30.298: 1774 supported (non-device) sets
18:39:30.298: loading XML data from cache
18:39:30.673: done (loading XML data from cache, elapsed time = 00:00.375)
18:39:30.704: loading ROM state from cache
18:39:30.719: done (loading ROM state from cache, elapsed time = 00:00.015)
18:39:30.719: 2622 cached ROM states loaded
18:39:30.719: processing machine list
18:39:30.735: loading machine data from machine list cache
18:39:30.735: pre-caching icons from directory
18:39:30.751: done (pre-caching icons from directory, elapsed time = 00:00.016)
18:39:30.751: 0 icons loaded
18:39:30.954: done (loading machine data from machine list cache, elapsed time = 00:00.219)
18:39:31.219: sorting machine list by machine description in ascending order
18:39:31.313: restoring machine selection
18:39:31.751: done (processing machine list, elapsed time = 00:01.032)
18:39:31.751: 1774 machines, 0 BIOS sets and 848 devices loaded
18:39:31.751: ROM state info: L:2622 C:2090 M:530 I:0 N:2 U:0
18:39:31.751: applying ROM state filter
18:39:31.969: loading available system slots from cache
18:39:32.344: done (loading available system slots from cache, elapsed time = 00:00.375)
18:39:32.813: done (applying ROM state filter, elapsed time = 00:01.062)
18:39:33.188: loading favorites
18:39:33.188: done (loading favorites)
18:39:33.188: loading play history
18:39:33.204: done (loading play history)

and
18:41:11.236: done (loading XML software list data and (re)creating cache, elapsed time = 00:23.688) :P

on me slow machine laugh
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/19/13 04:49 PM

Hey, that's at least something smile!
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/21/13 07:36 AM

Rene, compare speeds with your VC++ builds:

my build:
r5033 x64 MINGW - 29 sec.

your builds :
r5033 x32 VC++ - 18 sec.
r5033 x64 VC++ - 18 sec.

strange job, why mingw build load slowly , that normal ?
Tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/21/13 07:46 AM

Interesting... I'm not sure if that's "normal" but I always (*) felt (subjectively) that VC++ creates faster code, or maybe it's caused by the different run-time libs. That's one of the reasons why I stay with it for the official builds, the others are that the Qt Project is still recommending it and that support is only really guaranteed for VC++. However, building with MinGW is a lot easier since it's basically the same as on Linux / UNIX / Mac OS X then smile.

(*): "always" means "within the past decade" here... I recall a simple test case in 1992 when MSVC was compiling significantly slower code than the Watcom compiler I preferred to use on Windows at the time smile.
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/21/13 08:08 AM

Tnx for fast answers , i'm resign smile

"No woman no cryyyyyyyyyy" :)))
Posted By: ASH

Re: Questions, suggestions or requests topic - 06/21/13 12:38 PM

The helpful text in the bottom left hand corner (that changes depending where your mouse is)

could this be moved to the icon bar (maybe make the search bar a lot smaller smile )

it's very handy for showing what the mouse is pointing at but it's not in the eye line for seeing (If you see what I mean)

It's not intuitive to be bottom left.

now I know there is a pop up help when you hover the mouse but seeing as you have it in the bottom corner instantly it should be easier to see (I have only just noticed it....)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/21/13 12:42 PM

Well, I know what you mean, but that's just a typical "status-bar" placed to where it's supposed to be, and it's generally good practice to follow the "common user interface" design rules for desktop-based GUIs.

Also, the pop-up texts are actually called tool-tips, and they are set for nearly everything, the status-texts are not.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/21/13 12:56 PM

And technically speaking, I can't really change the status-bar's position, at least not easily... mainly because it contains a resize-grip in the lower-right corner which wouldn't work in case of being part of the tool-bar. Another issue then would be how to cope with tool-bar repositioning... that's all handled by the QMainWindow class and it's always hard to work against it. I'm already doing some things that are actually said to be "unsupported", and those tricks caused serious headaches in the past smile.
Posted By: ASH

Re: Questions, suggestions or requests topic - 06/21/13 01:00 PM

Fair enough. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/21/13 01:06 PM

Yeah, and I hope these tricks will survive all future Qt versions smile. But even if you follow what's officially supported, there's no 100% guarantee...

EDIT: Speaking of which, I'd really love to see Qt 5's QMap implementation back-ported to Qt 4.8 (benchmark), but I fear this will not happen...
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/01/13 04:36 PM

@Rene, have problem with start any game with when hlsl is enable, where i mistake?
My mame64.exe inside this folder "g:\qmc2\working". If start directly from console "mame64.exe game blabla" all is ok, hlsl work.

see my settings :
http://www.picbg.net/img.php?file=989775536e0ab499.JPG

http://www.picbg.net/img.php?file=0392eaa6d152f55c.JPG

log from qmc2:

Code:
19:25:43.747: stderr[#3]: -----------------------------------------------------
19:25:43.747: stderr[#3]: Exception at EIP=0000000001677ED3 (not found): INTEGER DIVIDE BY ZERO
19:25:43.748: stderr[#3]: -----------------------------------------------------
19:25:43.749: stderr[#3]: RAX=0000000000000001 RBX=000000000FF65C20 RCX=000000000FF65F10 RDX=0000000000000000
19:25:43.749: stderr[#3]: RSI=0000000015496D70 RDI=000000000EAE0040 RBP=000000000EAE0150 RSP=000000000D51F950
19:25:43.750: stderr[#3]: R8=00000000146791B8 R9=0000000000000000 R10=0000000011D8A980 R11=000000000D51F780
19:25:43.750: stderr[#3]: R12=000000000000000E R13=00000000145EED40 R14=0000000000000001 R15=000000000D51FA00
19:25:43.751: stderr[#3]: -----------------------------------------------------
19:25:43.752: stderr[#3]: Stack crawl:
19:25:43.752: stderr[#3]: 000000000D51FB00: 0000000001677ED3 (not found)
19:25:43.753: stderr[#3]: 000000000D51FB70: 0000000001680A65 (not found)
19:25:43.753: stderr[#3]: 000000000D51FBB0: 0000000001681997 (not found)
19:25:43.754: stderr[#3]: 000000000D51FBE0: 0000000001687298 (not found)
19:25:43.754: stderr[#3]: 000000000D51FC30: 000000000165D868 (not found)
19:25:43.755: stderr[#3]: 000000000D51FD20: 0000000001660514 (not found)
19:25:43.756: stderr[#3]: 000000000D51FDE0: 00000000769C9BD1 (TranslateMessageEx+0x02a1)
19:25:43.756: stderr[#3]: 000000000D51FE60: 00000000769C98DA (TranslateMessage+0x01ea)
19:25:43.757: stderr[#3]: 000000000D51FEF0: 000000000165E90E (not found)
19:25:43.757: stderr[#3]: 000000000D51FF20: 000007FEFEEB415F (srand+0x0093)
19:25:43.758: stderr[#3]: 000000000D51FF50: 000007FEFEEB6EBD (ftime64_s+0x01dd)
19:25:43.758: stderr[#3]: 000000000D51FF80: 0000000076CD652D (BaseThreadInitThunk+0x000d)
19:25:43.759: stderr[#3]: 000000000D51FFD0: 0000000076E0C521 (RtlUserThreadStart+0x0021)



Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/01/13 04:54 PM

Well, apparently some of your HLSL settings are different when you start it through QMC2 or from the command line... I'm not using it myself (there's no HLSL on Linux), so I can't really test myself, but in any case it's an emulator crash caused by some weird option combinations resulting in a division by zero. What should I do about it?

Also, please post the front-end log (it tells me which options were passed) and qmc2.ini.
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/01/13 05:03 PM

Hmmm, have any problem with settings, i removed .qmc2 folder and start configuration from zero, now hlsl work with qmc2. Tnx smile
Posted By: oboewan

Re: Questions, suggestions or requests topic - 07/30/13 11:06 PM

Sorry if this isn't the right time/place to ask, but are there still plans to allow for multiple favorites lists, or arbitrary folder INIs like in MAMEUI?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/31/13 09:54 AM

There's this entry in the TODO list:
  • Morph game/machine favorites, play-history and search results into tree-widgets (like the game/machine list views) and let the user categorize his/her favorites freely
However, there's no real plan to support those folder-ini's... but I will have a look when I get to it. There are more pressing things right now, though, in particular the Qt 5 support for QMC2 Arcade will need more time to complete (though it basically works now), and I plan to port all Phonon features to QtMultimedia or even QML for Qt 5 in the near future. Free time is a rare resource though smile.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 07/31/13 11:53 AM

Rene: does it help your priorities if I mention I steered him here because he needs those features to ditch *UI? smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/31/13 12:04 PM

LOL - yes, it does smile.
Posted By: RColtrane

Re: Questions, suggestions or requests topic - 08/01/13 01:50 PM

Where's the 3D Sketchup models support!???

Hehe... just kidding people. But i'm looking forward to it. I would love to see my 3d cabinets rotating on the pictures panel while selecting a game to play. How far is this feature from the current QMC2MAME version?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/01/13 02:21 PM

The idea was (and still is) to use Qt3D / QtQuick3D... after having learned how to use QML for QMC2 Arcade, it shouldn't be too far away actually, but Qt3D is still not part of Qt 5 as it was expected, but it looks as if it could be in 5.2... see here for example: http://lemirep.wordpress.com/2013/03/24/what-happened-to-qt3d/

That's why I postponed it for now...
Posted By: RColtrane

Re: Questions, suggestions or requests topic - 08/02/13 12:28 PM

Oh man, hope they implement that in the next version. Fingers crossed smile

And do you have plansto include .jpeg support to the artwork files, instead of .png only?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/02/13 12:38 PM

Originally Posted By RColtrane
And do you have plansto include .jpeg support to the artwork files, instead of .png only?

Well, there are two main reasons for using PNG only: performance and the openness of the format. I may change this in the future to allow for additional formats optionally, but the more formats there are the longer it may take to find images in the file-system or ZIP. The actual loading of images is not the problem since Qt has simple/generalized APIs for this... but when the first load fails, it will have to search and load the next possible format... I don't really see a big win by this. Every image manipulation program can create / convert to PNGs nowadays, and it's what's created by MAME/MESS anyway, too smile. So what do you need JPEG for (or whatever format)?

EDIT: Qt supports these formats, BTW.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 08/02/13 12:55 PM

The PNG format is fine and support lossless data compression.
I see no benefits to use the JPEG format.
Posted By: RColtrane

Re: Questions, suggestions or requests topic - 08/09/13 05:58 PM

Originally Posted By Anna Wu
The PNG format is fine and support lossless data compression.
I see no benefits to use the JPEG format.


Well, I have an explanation for this:

Example: Flyers. When you download flyers from ArcadeFlyers (thousands of them) they are all in JPG format already. If you begin converting them one by one in PNG, it would take forever and the resulting files would be much larger. Unless you know a tool that make the conversion automatically, with no quality loss and no big difference in size. Then I would ask you to point it to me asap please wink

Another example: Picures you collect around the internet (Cabinets, marquees, CPOs, etc...) are all in JPG too.

See what I mean? When you have just a few games, you can convert it easily, but when you are talking about thousands of files, it makes sense to let them in their original format (jpeg). Much more spreaded than PNG and if well done, the compression loss is really insignificant.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 08/09/13 06:02 PM

Quote:
When you have just a few games, you can convert it easily, but when you are talking about thousands of files, it makes sense.


It is not a problem, it exist enough tools with a batch function, so you can convert a bunch of pictures at once.
Posted By: RColtrane

Re: Questions, suggestions or requests topic - 08/09/13 06:04 PM

Originally Posted By Anna Wu
It is not a problem, it exist enough tools with a batch function, so you can convert a bunch of pictures at once.


You are quick... Please read my edited post above wink

I agree that space is no longer a problem these days, where larger HDDs are quite cheap. I just would like to know which program is the best to do such conversion automatically. Tell me which one you guys are using and I will give it a try.

Thanks
Posted By: Stiletto

Re: Questions, suggestions or requests topic - 08/09/13 06:56 PM

I use Irfanview with the plugins pack on Windows...
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 08/09/13 07:08 PM

I would tend to agree that jpeg support is probably helpful, especially for flyers.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 08/09/13 07:29 PM

Very easy to use is this small Windows tool.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/10/13 09:41 AM

Well, let's end this discussion... I'll add optional support for additional formats in the future, but I can't promise by when (given the many things on the TODO list and the limited time I have right now). Until then, please convert your images to PNGs smile.

On Linux/UNIX I'd suggest ImageMagick's 'convert' for this, which is easily scriptable. And Anna gave an example for Windows.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/12/13 11:52 AM

I've actually started adding support for this (WIP)... mainly preparations and a dialog-framework to set up the "active image formats" and their priorities per artwork class.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/12/13 11:55 AM

This will include support for SVG, BTW. Packagers should thus start adding the QtSvg module (QtSvg4.dll).
Posted By: B2K24

Re: Questions, suggestions or requests topic - 08/14/13 03:48 PM

FastStone Image Viewer has a nice batch convert feature which can be accessed by clicking tools

http://i.imgur.com/Bib5Fuc.png
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/14/13 05:53 PM

Yeah, looks like a nice tool for Windows!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/16/13 12:28 PM

Originally Posted By qmc2
I've actually started adding support for this (WIP)... mainly preparations and a dialog-framework to set up the "active image formats" and their priorities per artwork class.

That's mostly working now in SVN r5110 (not for software-snapshots yet, but soon as well, and the image checker needs an update too). It's still WIP-ified and may have bugs, but it seems to work fine... if someone wants to try it, build with "WIP=1" on the make command line. You'll find a button called "Select image formats" on the Front-end -> Files / Directories tab. Click it to set up active formats and their priorities.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/16/13 01:48 PM

Some updates (SVN r5112): The image checker should work correctly now as well, honoring the format settings you've made.

Next up is software-snaps and QMC2 Arcade...
Posted By: oddi

Re: Questions, suggestions or requests topic - 08/18/13 08:09 AM

@Rene, in qmc2 have any filter for exclude or include games from game list, i wanna exclude pinmame, gambling games and etc etc smile
Ask for qmc-mame smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/18/13 06:58 PM

Well, there's a category filter you could use for QMC2 Arcade... for QMC2's main GUI, there's a plan for a reg-exp filter which will allow you to filter whatever you'd want (provided the data is part of the game/machine list). But that's not implemented yet.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/19/13 10:35 AM

Software snapshots support additional image formats as well now, and the whole feature has been "un-WIP-ified" in SVN r5113. QMC2 Arcade's support for this is still missing, but I suppose to have it ready later this afternoon...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/19/13 12:01 PM

OK, QMC2 Arcade supports this as well now (SVN r5115) smile.
Posted By: oddi

Re: Questions, suggestions or requests topic - 02/23/14 09:28 AM

Hello Rene, sorry for wakeup old topic, but me have 2 tiny request about qmc-mame.
When tab "Preview" is active me not view game title in bottom of image. Option "Show game/software titles" is ticket but not working.
Please add option in search for search manufacture.
Tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/23/14 10:01 AM

There's an option next to it called "Only when required". Disable it and the title will always be rendered into the image.

EDIT: I changed the default value for this option to 'false' in SVN r5678 wink.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 03/15/14 12:06 PM

[Version 0.43 SVN r5719 x64]
First use in this computer, default directories.
Don't pass verification (freezes after this).
What can I do?

Code:
09:02:51.464: loading favorites
09:02:51.465: done (loading favorites)
09:02:51.465: loading play history
09:02:51.465: done (loading play history)



Posted By: Shideravan

Re: Questions, suggestions or requests topic - 03/15/14 12:09 PM

PS.: already cleaned up ALL emulators caches.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/15/14 04:12 PM

I'm currently not at home, but please post the complete log and tell me how you built it / from where you got the binary (same for the emulator binary). I'll check back tomorrow or later tonight.

EDIT: "SVN latest" works fine for me (r5745).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/16/14 02:50 PM

Please try the latest official Win32 (VC++) build from today.

If it doesn't work, please post the complete log and details about the MAME, MESS or UME (?) build you're using.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 03/22/14 12:07 PM

I made a clean built of MAME and MESS and I'm used the last x64 Win32 VC++ QMC2 built and now everything is working ok!
Thank you, Ren!
Posted By: B2K24

Re: Questions, suggestions or requests topic - 04/18/14 12:20 AM

I noticed today after connecting another PC to a display that's wall mounted that the game listing is incredibly difficult to read if I'm sitting relativity far away from the display.

Is there a way to zoom larger the left pane (the game/machine list) in similar fashion to the right pane (the game/machine specific details)

http://imgur.com/1DhPrHu
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/18/14 09:05 AM

The "right pane" shown on your screen shot is a browser window that supports "zooming" (QWebView / QtWebKit), the "left pane" is a standard Qt widget (a QTreeWidget) which uses the application font given. So if you want to make that larger you'd have to change the app font.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/18/14 09:30 AM

And note that the browser's font and its "base size" (zoom = 100%) is set from the application font.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/18/14 10:23 AM

Also, it's basically possible to zoom/scale a "normal" QWidget's contents as well (see here for example), but that would mean to always use derived widget classes in order to overwrite their paintEvent()'s (and wheelEvent()'s). I don't think that's worth the hassle since setting the GUI font has (nearly) the same effect.
Posted By: B2K24

Re: Questions, suggestions or requests topic - 04/18/14 04:15 PM

Originally Posted By qmc2
The "right pane" shown on your screen shot is a browser window that supports "zooming" (QWebView / QtWebKit), the "left pane" is a standard Qt widget (a QTreeWidget) which uses the application font given. So if you want to make that larger you'd have to change the app font.


Wow! I'm not sure how I missed that.

That's some awesome customization right there. Thank You!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/19/14 02:26 PM

Even when "Show device sets" and "Show BIOS set" are unchecked, they are loaded in list if has been using a custom .ini category.

Could be possible to add a feature to not show the BIOS and Devices sets in machine list if user uncheck these options?

Thanks, Ren!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/19/14 02:31 PM

What "custom .ini category"? And they shouldn't be shown in any list, only when you search for them.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/19/14 02:44 PM

Aren't they?
There any kind of "error" of .ini?
Well, I will test with others category .ini then and see if are a error and if the the behavior are happening to others .ini too and about reproducibility or if are errors in my own .ini file.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/19/14 02:57 PM

Well, I just tried it, and it works fine for me. With and without category.ini from QMC2.

EDIT: I'd be surprised if a "syntax error" in category.ini would cause it to not work, but as the parser assumes clean syntax, behavior is undefined otherwise.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/19/14 03:12 PM

Well,"show device set" and "show BIOS set" unchecked, but they appear when using a category (ASH category in example)

QMC2 0.43 SVN r5806



EDIT: forget to mention. I already cleanup ALL the emulator caches after uncheck and replace the .ini and reboot the aplication after it.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/19/14 03:22 PM

OK, I can reproduce this for the "full-detail" list when ROM state filtering is deactivated (that's where it goes wrong somehow, but it has nothing to do with category.ini).

Will check and try fixing... thanks for the report!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/19/14 03:31 PM

Also, there's a way in QMC2 to filter the listing to just some pre-selected categories?
For example, I'll use ASH MESS category and just only system with tags "Game console" and "Handheld Game Console" to be displayed.
If not possible now, here goes my suggestion smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/19/14 03:47 PM

Originally Posted By qmc2
OK, I can reproduce this for the "full-detail" list when ROM state filtering is deactivated (that's where it goes wrong somehow, but it has nothing to do with category.ini).

Will check and try fixing... thanks for the report!

Fixed in SVN r5822 smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/19/14 03:48 PM

Originally Posted By Shideravan
Also, there's a way in QMC2 to filter the listing to just some pre-selected categories?
For example, I'll use ASH MESS category and just only system with tags "Game console" and "Handheld Game Console" to be displayed.
If not possible now, here goes my suggestion smile

We've had that before... it will be possible in the "reg-exp filtered view" when that's available wink.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/19/14 04:02 PM

Originally Posted By qmc2
We've had that before... it will be possible in the "reg-exp filtered view" when that's available wink.

Oh, that's will be a very a nice feature when be released. I'll anxiously waiting for this feature release smile
And maybe I use more UME builds after that!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/20/14 01:25 AM

Another bug reporting.
There's a strange formating bug when using UME version of QMC2:


Left is Machine info tab for MESS QMC2 and Right one is the same Machine info tab, for the same sysinfo.dat file

The same problem happen when displaying the templates...

Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/20/14 07:28 AM

That's no bug but expected behavior because the UME variant uses the MAME history.dat formatting... only the MESS variant uses its own sysinfo.dat formatting. That's what UME brings us because there's no way to find out if a set is from MAME or MESS, that is, I decided for the formatting of the majority of sets (which are the ones from MAME, of course)... so get used to it or use the MAME/MESS variants separately, which is what I recommend to everyone.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/20/14 08:23 AM

I'm currently trying to change the respective code in order to keep an info where the data came from (history.dat / sysinfo.dat) and to act accordingly before displaying the data.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/20/14 10:20 AM

Originally Posted By qmc2
I'm currently trying to change the respective code in order to keep an info where the data came from (history.dat / sysinfo.dat) and to act accordingly before displaying the data.

That's now supported in SVN r5825 wink.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/20/14 10:35 AM

Thank you, Ren smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/20/14 03:54 PM

I think that I never asked, but why qmc2NEO queries it's necessary to be especified differently for MAME/UME and MESS? For example:
Code:
doc($xmlDocument)//game/driver/@emulation/string()
for MAME/UME

and
Code:
doc($xmlDocument)//machine/driver/@emulation/string()
for MESS.

The best part is even when using a MESS driver in UME, "game" behaves as a MAME driver, don't being necessary for MESS its necessary to especify as "machine" nowdays. In other words, that's mean that a standarization may be possible smile


A little test of mine. I changed all "//machine" for "//game" and tested.

Well, I don't know if this is up your or MAME/MESS/UME scope, but if you can do this, such stadization are very welcome, because there's a lot of comparisions just for this thing (at less in my templates), and I'm sure that if it's been standardized, not only the template code can become simpler (and easy to maintain) as also will occupies less memory and require less processing for a fast scrolling between systems (yup, it will gain a perceptible speedup). smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/20/14 04:17 PM

The XML data come directly from MAME/MESS/UME and they are as they are... I'll not "standardize" it in any way. That's one of the many reasons why there are separate variants, BTW.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/20/14 04:26 PM

That's what I thought...
Well, then let's wait that the MAMETeam make this standardization.

This would not change the viability of making different builds for MESS, MAME or UME. But I imagine that would facilitate the work of those who develop software compatible with more than one variant.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/20/14 06:11 PM

I changed queryLocalXml() in SVN (see wiki).

This is all you need for simpler JS smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/20/14 06:17 PM

Example (turns <game> / <machine> entities into <system> entities before the query is executed):

Code:
qmc2NEO.queryLocalXml("$ID$", "doc($xmlDocument)//system/softwarelist/@name/string()", true, "system")
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/20/14 06:31 PM

Thank you for update, Ren!
So long I get hands in new QMC2 versions with this, I'll update the templates laugh
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/20/14 07:14 PM

Learn building it yourself and you're always able to smile...
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/20/14 07:51 PM

You're right!
I tried more than one time to compile QMC2 by myself, but ever the results was a failure.
Then I think that I can wait a little longer, hahaha
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/21/14 07:38 AM

What's your exact problem with the MinGW build instructions in our wiki? I mean when you follow them step by step it will work (unless I'm leaving out important information that I assume to be well-known or something). The only thing you have to take care of yourself is setting up the environment (including environment variables).

Another option would be installing an OS that's better suited for development like some Linux distribution (everything you need can simply be installed through packages). Some of them already have ready-made build rules in QMC2 and tested instructions exist in the FAQ. Why don't you simply prepare a virtual machine for that (using VirtualBox or whatever)? Of course, you can also stay with Windows here, even though that wouldn't be my personal favorite wink... I keep a number of VMs myself to test/support the different OSs and distributions.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/25/14 04:08 PM

PS.: Attention, the following text is full of sarcasm. Take a little breath before read it!
And never take nothing of the following text as pessoal!
I really admire your work and know that is not easy to maintain, most of this made by yourself alone.
Let's start!

[sarcasm]
I follow step by step of the instructions, with the help of my girlfriend, to see if in that 17231 time that I try to follow each step from your tutorial teaching how to compile QMC2 using MinGW, I'm missing something. We are using Windows 8.1 Update 1 X64.

That's what we did:

1 - We get and extract the QMC2 source code from the download page to a local directory. Note that we used "C:\MAMECode" directory to extract the files. Since the files are protected, we had to run WinRAR in administrator mode (not so simple in windows, but let's do this).
After all did, let's extract (remember, we are using the smaller possible name for the path and we are running WinRAR in administrator mode)...
Holy shit:



2- Let's go for next step in this simple tutorial: "We also assume that all other requirements are met (i. e. that the right Qt, Xlib, SDL, ..., whatever libraries / headers are installed).

This FAQ lists a few examples of what packages have to be installed on which platform or distribution.".
Let's take a look. A lot of manuals separeted and all too long and we have to search specific information there.
You can say: "Read the F@!#$!ing Manual!!!". Well, ok... Because we don't have a real life, right?
Well, we don't work, we don't study, we don't need to sleep, we don't need to lunch isn't it?
No problem to read a lot of pages and pages just to find some specific information regarding how to compile a front-end unnoficially, right? wink
I just don't know why it's considered user friendly :p
Let's also remember that English is not my first language and although I can read english looking for information on a lots of texts that are about a subject I'm not familiar with is complicated.
But as a normal user, we can go only where the text say to us go, ok?

Well, in the "Build and installation instructions for specific distributions" there's sections for:
-Ubuntu
-openSUSE
-Fedora
-Mac OS X
Ohhh... That's sad...
No Windows section on this specific topic of QMC2 FAQ.
Let's assume we don't need anything more (look, we lost time looking for it) smile
Or maybe is not that important to talk about Windows version. After all, why bother... It's just share a little piece of about of 90% of the desktop Operational system used in the world, right?

3- Let's get back for original "Building and installing QMC2 from source" from that another document.
Well, this time we have a Windows section at least smile
Let's skip the "Building QMC2 with Visual Studio C++ 2010" part because we'll use MinGW for this compilation.
"Building QMC2 with MinGW (GCC)"...
...
...
No information about how to update the SVN in this specific section, but as a tortoise SVN user and knowing the code don't update itself in Windows, I went back to one of the

"Linux" sections and see that the SVN page to get the code is "svn://svn.code.sf.net/p/qmc2/code/trunk" I put this path in my tortoise SVN when I selected "MAMECode"

directory and updated well my source code smile

4- "Get and install the MAME dev-tools for your platform (32- and/or 64-bit)." Ok, this is already done, since I compile MAME/MESS/UME by myself. Maybe you could ask, but yes.

It's in "C:\mingw64-w64" folder and I'm using x64 version of this dev-tools.

5-"Call make as usual, that is like on UNIX or Mac OS X (you can add MINGW=1 to the make command if you want to force the use of MinGW, but this is usually auto-detected). For

example:
make EMU=mess".
Well, where I do this?
Which directory?
Let's assume that is from "C:\MAMECode\qmc2" directory, ok?
Well, to help this compilation, I did a .bat file, with the following content inside:
Code:

set path=c:\mingw64-w64\bin

make EMU=mess


With the path for the mingw already set!
Let's try to compile QMC2 for MESS with this .bat


Ohh, boy smirk

Originally Posted By qmc2
What's your exact problem with the MinGW build instructions in our wiki?

Maybe, I don't know... Maybe some little issues for a normal user to read, but that's not that important in RTFM world, right?

Originally Posted By qmc2
Another option would be installing an OS that's better suited for development like some Linux distribution (everything you need can simply be installed through

packages).


Install a new OS just to do a new built?
Ohh, that's so practical! smile

Well, let's go and repartition my HD and install another SO and deal with other problems such driver and apps incompabilities just to run a self compiled version of QMC2.
Also, there's a lot of sense to run it in a Virtual Machine and deal with performance issues...
[/sarcasm]

Anyway, I'll wait. Thank you for your time!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/25/14 04:14 PM

I think that I can wait the necessary time for someone with more skills to buid this sometime!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/25/14 04:15 PM

I still don't know what your issues are, but they are certainly not from this planet laugh.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/25/14 04:20 PM

Originally Posted By qmc2
I still don't know what your issues are, but they are certainly not from this planet laugh.

Maybe, maybe it's not...
But that doesn't matter!

I'll not try to compile by myself anymore. I can wait the necessary time for a new built and continue my work from there smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/25/14 04:40 PM

Now that I tried everything and give up...
Maybe I'll need some post deleting tips to help me deleting some files from the source code that aren't been deleted, even after I reboot my system and even tried to use third-party application to delete it (IoBit ASC 7).
I think that some files loved me so much, that can't go away smirk


Maybe changing the registry?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/25/14 05:47 PM

Originally Posted By Shideravan
Maybe changing the registry?

There's nothing in the registry referring any file from the source tree (how should it?)... if I could read Portuguese I might be able to help, but then again, it's a Windows (usage) problem that you have, it has nothing to do with QMC2('s source code).

Also, unpacking/building 0.43 won't help you much since that version has an official build. What you'd need is the "SVN trunk"...
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/25/14 05:57 PM

You're right, sorry to forget to translate...
It says "you can't find this item", "It's not located in <path>"
But as you see in the picture, it's there yet.

Not a problem with admin mode (I'm with a administrator account).
The file behaves as been deleted (0 bytes), but the file and the path to it already there - and can't be deleted.
I just think it's strange it's there yet...
It's problem occured before too, I can move the file everywhere, but I can't delete it :p
Well, maybe a windows problem to deal with eclipse files...
Maybe another person see this and help with this issue..
Just think that's strange...
Posted By: oddi

Re: Questions, suggestions or requests topic - 04/25/14 07:22 PM

Hmmm @Shideravan, strange problem u have !. Me too used win8.1.upd1.x64 and no problem with compiling.

See fragment from my bat: if maybe help u something:
Code:
:QMC2-MAME

echo -------------------------------
set start_time=%time%
echo Begining at: %start_time%
echo Runing compiling..
echo.
start timer
set MINGW_HOME=g:\compile_mame\mingw64-w64\bin\
set QT_PLUGIN_PATH=g:\compile_mame\mingw64-w64\Qt\plugins\
set QT_BIN_PATH=g:\compile_mame\mingw64-w64\Qt\Bin\
set Tortoise_SVN_BIN=%programfiles%\TortoiseSVN\bin\
set x86_64-w64-mingw32=g:\compile_mame\mingw64-w64\x86_64-w64-mingw32\bin\
set TEMP=g:\compile_mame\temp\
set TMP=g:\compile_mame\temp\
set PATH=%MINGW_HOME%;%QT_PLUGIN_PATH%;%QT_BIN_PATH%;%Tortoise_SVN_BIN%;%x86_64-w64-mingw32%;%TEMP%;%TMP%
set PROMPT=MameEnv-%PROMPT%
echo MAME Enviroment Ready!                           
echo To Build MAME type:                           
echo make
make clean MINGW=1
make EMULATOR=mame WIP=1 MINGW=1 -j5
set end_time=%time%
echo Finish at: %end_time%
echo --------------------------------
echo Start at: %start_time%
echo Finish at: %end_time%
echo --------------------------------
timer /s /nologo 
GOTO MENU

Now download qmc2-0.43.tar.bz2 and test with winrar5.01 x64, 7zip 9.32 x64 + Total Commander and internal zip plugins - no problem with decompress.
Posted By: remax

Re: Questions, suggestions or requests topic - 04/25/14 10:29 PM

First Option : Use F5. Obvious but... I have a strange behavior in Windows that makes somes of the directory without auto refresh... So the file seems to be here but does not and of course produce an error when trying to delete.

Second Option : After F5, the file is still here, you might try Unlocker (http://www.clubic.com/telecharger-fiche20237-unlocker.html). That works well to erase files that don't want to be erased.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/26/14 12:38 AM

Originally Posted By remax

After F5, the file is still here, you might try Unlocker (http://www.clubic.com/telecharger-fiche20237-unlocker.html). That works well to erase files that don't want to be erased.

Oh, thank you!
It works like magic!
smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/26/14 02:01 AM

Oddi, I'll try your .dat file...
But I'll need help with setting up the enviroments for Qt...
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/26/14 12:16 PM

Oh, wait...
Now Qt Enviroment already with minGW packages?
That's cool!

I have a new question: It's really necessary to begin with the code from last stable release (and deal with the problems with the compacted file), or I can use the code directly from SVN ("svn://svn.code.sf.net/p/qmc2/code/trunk")?
I mean, when I do the first SVN update, I get all the code, don't I?
Or I'll need something more from the source file "qmc2-0.43.tar.bz2" or "qmc2-0.43.tar.gz"?
Because these files don't are extracting correctly in my computer...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/26/14 12:39 PM

As I said, you should be using the SVN trunk, yes... install TortoiseSVN (http://sourceforge.net/projects/tortoise....8.msi/download) and use "svn://svn.code.sf.net/p/qmc2/code/trunk" for the SVN URL ("SVN Checkout").
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/26/14 03:10 PM

Ok, then this part is alright!
Later I'll give a report of my compiling errors when using the PATHs from Oddi's .bat file
^^
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/26/14 03:49 PM

smile
Posted By: eris23

Re: Questions, suggestions or requests topic - 04/26/14 07:09 PM

Building rev 5866 on Ubuntu Trusty amd64 I get the following error (which seems not to matter, but I'm relating it anyway):

scripts/os-detect.sh: 12: [: Ubuntu: unexpected operator
scripts/os-detect.sh: 12: [: Ubuntu: unexpected operator
Configuring build of QMC2 v0.44
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/26/14 08:01 PM

Yeah, I changed the os-detect.sh script today for Fedora, this works also on openSUSE... I wonder why it doesn't on Ubuntu?! Anyway, will check later or tomorrow... thanks for the info!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/27/14 12:58 AM

That's the .bat that I used:
Code:
set MINGW_HOME=c:\mingw64-w64\bin\
set QT_PLUGIN_PATH=c:\mingw64-w64\Qt\plugins\
set QT_BIN_PATH=c:\mingw64-w64\Qt\Bin\
set x86_64-w64-mingw32=c:\mingw64-w64\x86_64-w64-mingw32\bin\
set TEMP=c:\temp\
set TMP=c:\temp\
set PATH=%MINGW_HOME%;%QT_PLUGIN_PATH%;%QT_BIN_PATH%;%x86_64-w64-mingw32%;%TEMP%;%TMP%
set PROMPT=QMC2_Env-%PROMPT%
echo QMC2 Enviroment Ready!                           
echo To Build QMC2-MAME type:                           
echo make
make clean MINGW=1
make EMULATOR=mame WIP=1 MINGW=1 -j5
PAUSE

note that my tools to building MAME are in root "c:\mingw64-w64"

I have this errors in output:
Posted By: oddi

Re: Questions, suggestions or requests topic - 04/27/14 01:15 AM

Me think u not have right config of QT. When decompress mamedev tools in root folder have 3 bat files - setup-Qt.bat, setup-Python.bat. May Rene help u:)
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/27/14 01:29 AM

I have these .bat files in my compiling tools, oddi.

You say that I need to execute these .bat before start the compilation?
There's a order to do this?
Posted By: oddi

Re: Questions, suggestions or requests topic - 04/27/14 05:08 AM

Yes, execute before compiling smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/27/14 07:32 AM

@eris23: fixed in SVN r5868!

@Shideravan: Yes, 'setup-Python.bat' and 'setup-Qt.bat' need to be run *once* (from that directory!) in order to adapt some paths to your local installation path. And unless you want to use your own script for this, 'setenv.bat' must be run (in the cmd.exe prompt) each time before you want to actually *use* the tool-chain to compile MAME/MESS/UME, QMC2 or anything else.
Posted By: MASH

Re: Questions, suggestions or requests topic - 04/27/14 11:14 AM

I hope i'm here at the right place. My first bug report:
QMC2 don't show my "Preview" snaps if i disabled "Show splash screen" in GUI.

Specs: Windows XP, Dual Core frown
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/27/14 11:46 AM

Huh, you're right... I can reproduce this with 7-zipped previews at least (works with a folder, though). I'll have a look... thanks for reporting this!
Posted By: oddi

Re: Questions, suggestions or requests topic - 04/27/14 11:48 AM

MASH, no problem here with "Preview" snaps, test with enable-disable "show splash screen".
Win8.1 x64, QMC2 svn5860
[edit] opss, Rene is fast smile
my snaps is not zipped
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/27/14 12:07 PM

Yeah, it also happens with zipped images (and not only previews)... this brought me to the probable root cause (I'm currently testing my fix).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/27/14 12:47 PM

OK, I have a working fix in my local copy, but "svn commit" currently doesn't work (temp. lock by the server, happens from time to time on sf.net smile ), so I'll commit it later tonight b/c I'm out now...
Posted By: MASH

Re: Questions, suggestions or requests topic - 04/27/14 12:58 PM

Thx for fixing this so quick smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/27/14 04:46 PM

OK, fix is in SVN r5872 now smile!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/27/14 05:46 PM

Finally I compiled QMC2-MAME.exe and it's .exe already in /release directory...
But I can't open it frown

-If I try to open right in the directory, it says that is missing Phonon4.dll

-If I paste it in the directory, where I already using QMC2, it says that is missing a procedure _ZN6Phinin10createPathEPNS_9MediaNodeES1_ in the dinamic link library.

-If I download a build from Anna in http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=81938&page=2 that have all .dll and copy all the files, except QMC2-MAME.exe, it says that the application cannot open corectly (0xc000007b).

What do I need to compile and open it properly?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/27/14 05:55 PM

You can't mix the DLLs from different sources / built with different compilers (that's not a general rule but the VC++ / MinGW compiled Qt DLLs use different run-time libraries)... anyway, you have to start it from the build directory with the same environment as for the compile, so enter "release\qmc2-mame.exe" from there and it should work fine. If you want to "deploy" it to some directory, see here.
Posted By: remax

Re: Questions, suggestions or requests topic - 04/27/14 05:57 PM

If you did compile with x64 librairies, try the dll from my builds
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/27/14 06:03 PM

Originally Posted By remax
If you did compile with x64 librairies, try the dll from my builds

He already has the DLLs as part of the MinGW installation (i.e. in c:\mingw64-w64\Qt\bin)...
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/27/14 06:23 PM

Remax: your builds are off... frown
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/27/14 06:28 PM

Ren: I tried to run from "release\qmc2-mame.exe" and it says that is missing Phonon4.dll.
If I paste all content from "c:\mingw64-w64\Qt\bin" it says that the application cannot open corectly (0xc000007b).
Posted By: remax

Re: Questions, suggestions or requests topic - 04/27/14 06:52 PM

I'll upload a fresh one this evening wink
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/27/14 06:56 PM

Originally Posted By remax
I'll upload a fresh one this evening wink

hmm, your last upload post in "QMC2 SVN / 'unofficial' Win64 MinGW builds" was from March 10.
Where do you post them?
Posted By: remax

Re: Questions, suggestions or requests topic - 04/27/14 06:56 PM

In this topic exactly.

Wait 30 minutes and you'll get another one wink
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/27/14 07:04 PM

Ok, I'll return here later smile
Also, I can't wait for posting my own builds too...
Maybe don't take too much to finally understood how to compile QMC2 properly!
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/27/14 09:16 PM

I found a little problem when using the new queryLocalXml()...

For example, if using a universal qmc2NEO.queryLocalXml("$ID$", "doc($xmlDocument)//system/softwarelist/@name/string()", false, "system"), it's working for MAME/UME but give "Unsupported" status for MESS, even when that field gives another answer.

Example:

Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/28/14 05:09 AM

Well, I'm pretty sure it works for all variants, at least I tried it for MESS and it worked when I implemented it, but I'll have a look when I get to it (not before tonight).
Posted By: oddi

Re: Questions, suggestions or requests topic - 04/28/14 07:28 AM

@Shideravan: Whole ok with compiling ?
If not tell me, i try help u smile
Have a nice day
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/28/14 07:36 AM

Originally Posted By qmc2
Well, I'm pretty sure it works for all variants, at least I tried it for MESS and it worked when I implemented it, but I'll have a look when I get to it (not before tonight).


That's fair!
It isn't weekend anymore, and you have a life too.
Thank you for looking in this issue smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/28/14 07:39 AM

Originally Posted By oddi
@Shideravan: Whole ok with compiling ?
If not tell me, i try help u smile
Have a nice day

Thank you, oddi!

Well, no... My compilation have problems with .dll
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/28/14 07:47 AM

That's the .exe from QMC2-MAME that I compiled.
https://www.mediafire.com/?jotervau49817z8

It's usually clains for some .dll, but if I provide content from "c:\mingw64-w64\Qt\bin", in the same directory where QMC2-MAME.exe is, another error appears saying that the application cannot open corectly (0xc000007b).
At less in my computer.
Posted By: oddi

Re: Questions, suggestions or requests topic - 04/28/14 08:42 AM

your exe it's worked !, now test with my qmc2 folder, x64 build smile
now:
1.copy exe in any empty folder, example "QMC2"
2. from qmc compile folder take "data" folder and copy in qmc2 folder
3. copy from your mingw64-w64\Qt\bin\, only dlls to QMC2 folder
4. copy from your \mingw64-w64\Qt\plugins\ folder -"sqldrivers" to QMC2
5.copy from same folder "phonon_backend" to QMC2
6. copy from your \mingw64-w64\x86_64-w64-mingw32\bin\SDL.dll to QMC2.
and check again from wiki link:
here
Rene explain all again smile

copy paste from link:
imageformats\*.dll
imports\* (recursively, only *.dll and qmldir files)
phonon4.dll
QtCore4.dll
QtDeclarative4.dll
QtGui4.dll
QtNetwork4.dll
QtOpenGL4.dll
QtScript4.dll
QtSql4.dll
QtTest4.dll
QtXml4.dll
QtXmlPatterns4.dll
QtWebKit4.dll
sqldrivers\qsqlite4.
Hope u understand me smile

Here upload my QMC2 folder:
QMC2
ready for use smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/28/14 03:37 PM

Originally Posted By Shideravan
Originally Posted By qmc2
Well, I'm pretty sure it works for all variants, at least I tried it for MESS and it worked when I implemented it, but I'll have a look when I get to it (not before tonight).


That's fair!
It isn't weekend anymore, and you have a life too.
Thank you for looking in this issue smile

There's no issue! Works fine / as it should with MAME and MESS using this JS snippet:

Code:
<script>
        if ( qmc2NEO.queryLocalXml("$ID$", "doc($xmlDocument)//system/softwarelist/@name/string()", true, "system") ) {
                var result = qmc2NEO.getXmlResult();
                if ( result.length > 0 ) {
                        document.write("<p>" + tr('Associated software-lists:'));
                        for (var i = 0; i < result.length; i++)
                                document.write((i > 0 ? ", " : " ") + result[i]);
                        document.write("</p>");
                } else
                        document.write("<p>" + tr('This system has no associated software-lists.') + "</p>");
        } else
                document.write(tr('XML query error!'));
</script>

(that's the example from our wiki)
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 04/28/14 08:53 PM

Thank you for all the help, Oddi!

With the help of you, Rene and remax, I *finally* could could compile QMC2 by myself!

Maybe I can now help other users that have compiling problems smile
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/30/14 05:48 PM

Hello Rene, i have many errors with the last svn 5951, clear cache for test, same result, tnx:)

20:44:28.090: QtWarningMsg: QPainter::begin: Paint device returned engine == 0, type: 2
20:44:28.090: QtWarningMsg: QPainter::setRenderHint: Painter must be active to set rendering hints
20:44:28.091: QtWarningMsg: QPainter::setFont: Painter not active
20:44:28.091: QtWarningMsg: QPainter::fillPath: Painter not active
20:44:28.091: QtWarningMsg: QPainter::setPen: Painter not active
20:44:28.092: QtWarningMsg: QPainter::end: Painter not active, aborted
20:44:28.095: loading XML data and recreating cache
20:44:46.782: QtWarningMsg: QPainter::begin: Paint device returned engine == 0, type: 2
20:44:46.783: QtWarningMsg: QPainter::setRenderHint: Painter must be active to set rendering hints
20:44:46.784: QtWarningMsg: QPainter::setFont: Painter not active
20:44:46.785: QtWarningMsg: QPainter::fillPath: Painter not active
20:44:46.785: QtWarningMsg: QPainter::setPen: Painter not active
20:44:46.786: QtWarningMsg: QPainter::end: Painter not active, aborted
20:44:52.510: QtWarningMsg: QPainter::begin: Paint device returned engine == 0, type: 2
20:44:52.510: QtWarningMsg: QPainter::setRenderHint: Painter must be active to set rendering hints
20:44:52.510: QtWarningMsg: QPainter::setFont: Painter not active
20:44:52.511: QtWarningMsg: QPainter::fillPath: Painter not active
20:44:52.511: QtWarningMsg: QPainter::setPen: Painter not active
20:44:52.511: QtWarningMsg: QPainter::end: Painter not active, aborted
20:44:52.521: QtWarningMsg: QPainter::begin: Paint device returned engine == 0, type: 2
20:44:52.522: QtWarningMsg: QPainter::setRenderHint: Painter must be active to set rendering hints
20:44:52.522: QtWarningMsg: QPainter::setFont: Painter not active
20:44:52.523: QtWarningMsg: QPainter::fillPath: Painter not active
20:44:52.523: QtWarningMsg: QPainter::setPen: Painter not active
20:44:52.523: QtWarningMsg: QPainter::end: Painter not active, aborted
20:45:06.780: QtWarningMsg: QPainter::begin: Paint device returned engine == 0, type: 2
20:45:06.781: QtWarningMsg: QPainter::setRenderHint: Painter must be active to set rendering hints
20:45:06.781: QtWarningMsg: QPainter::setFont: Painter not active
20:45:06.782: QtWarningMsg: QPainter::fillPath: Painter not active
20:45:06.782: QtWarningMsg: QPainter::setPen: Painter not active
20:45:06.782: QtWarningMsg: QPainter::end: Painter not active, aborted
20:45:06.794: QtWarningMsg: QPainter::begin: Paint device returned engine == 0, type: 2
20:45:06.795: QtWarningMsg: QPainter::setRenderHint: Painter must be active to set rendering hints
20:45:06.795: QtWarningMsg: QPainter::setFont: Painter not active
20:45:06.795: QtWarningMsg: QPainter::fillPath: Painter not active
20:45:06.796: QtWarningMsg: QPainter::setPen: Painter not active
20:45:06.796: QtWarningMsg: QPainter::end: Painter not active, aborted
20:45:37.390: QtWarningMsg: QPainter::begin: Paint device returned engine == 0, type: 2
20:45:37.390: QtWarningMsg: QPainter::setRenderHint: Painter must be active to set rendering hints
20:45:37.390: QtWarningMsg: QPainter::setFont: Painter not active
20:45:37.391: QtWarningMsg: QPainter::fillPath: Painter not active
20:45:37.391: QtWarningMsg: QPainter::setPen: Painter not active
20:45:37.391: QtWarningMsg: QPainter::end: Painter not active, aborted
20:45:37.401: QtWarningMsg: QPainter::begin: Paint device returned engine == 0, type: 2
20:45:37.401: QtWarningMsg: QPainter::setRenderHint: Painter must be active to set rendering hints
20:45:37.402: QtWarningMsg: QPainter::setFont: Painter not active
20:45:37.402: QtWarningMsg: QPainter::fillPath: Painter not active
20:45:37.402: QtWarningMsg: QPainter::setPen: Painter not active
20:45:37.403: QtWarningMsg: QPainter::end: Painter not active, aborted

----------
edit:

after full cleanup cache:
only few errors:

20:49:15.959: QtWarningMsg: QPainter::begin: Paint device returned engine == 0, type: 2
20:49:15.960: QtWarningMsg: QPainter::setRenderHint: Painter must be active to set rendering hints
20:49:15.960: QtWarningMsg: QPainter::setFont: Painter not active
20:49:15.961: QtWarningMsg: QPainter::fillPath: Painter not active
20:49:15.962: QtWarningMsg: QPainter::setPen: Painter not active
20:49:15.963: QtWarningMsg: QPainter::end: Painter not active, aborted
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/30/14 09:35 PM

Hmmm, that's odd... this is with MinGW on Windows 7/8/8.1? May be due to the loading animation. Please try the VC++ version I released today. I'll look into MinGW builds tomorrow.

Oh, and please always post the full log (in [code] blocks).
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/31/14 08:14 AM

Hi Rene, sorry for block, my mistake.
Me used mingw+qt 4.8.4 / win8.1upd.1/x64.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/31/14 09:02 AM

Originally Posted By oddi
Me used mingw+qt 4.8.4 / win8.1upd.1/x64.

Yep, I can confirm that MinGW + Qt 4.8.4 (MAME dev-tools) on Win 7 x64 has an issue with MNG videos... oh man... the VC++ builds don't show this problem.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/31/14 03:53 PM

Originally Posted By qmc2
Originally Posted By oddi
Me used mingw+qt 4.8.4 / win8.1upd.1/x64.

Yep, I can confirm that MinGW + Qt 4.8.4 (MAME dev-tools) on Win 7 x64 has an issue with MNG videos... oh man... the VC++ builds don't show this problem.

I just replaced the big MNG loading animation with a (much smaller) GIF animation in r5952 in the hope this would work with MinGW, but it doesn't... strange.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/31/14 04:34 PM

It still doesn't show the animation in case of MinGW builds (and I don't know why, may be related to how Qt 4.8.4 in the MAME dev-tools was built), but I fixed the QPainter warnings in r5955, and the text is rendered now at least...
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/01/14 05:37 AM

r5955 - no warnings, many tnx smile
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/04/14 06:56 AM

Hello Rene , how load 7z roms in mess file chooser ?
Where me mistake, because now try load neogeo roms in 7z archive.
Me test with the last Messsvn and QMC2 r6001.
QMC2 say:

Code:
09:54:47.637: starting emulator #4, command = G:\QMC2\Working\mess64.exe <snipped> aes -cartridge "<snipped>"
09:54:47.700: emulator #4 started, PID = 529470400, running emulators = 1
09:54:51.282: WARNING: no matching window for emulator #4 found
09:54:55.988: embedding emulator #4, window ID = 0x21027e
09:54:56.317: emulator #4 embedded, window ID = 0x21027e
09:54:56.953: emulator #4 finished, exit code = 4 (device initialization error), exit status = normal, remaining emulators = 0


tnx smile

P.S.
If load game from software list - all it's ok
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/04/14 07:09 AM

I'm not sure if the software in question will even run from "full path", but you can enable the "process ZIP and 7z contents" switch in the top-bar of the file-chooser (PkZip icon). With this set, you can open the contents by double-clicking the archive (Right or Enter do the same) and directly select the ZIP or 7z member file.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/04/14 09:49 AM

FWIW, starting any AES game with "full path" using the ROMs from MAME doesn't seem to work (tried some, but I don't have b2b)... even from ZIPs, although I don't get a device initialization error in this case (the screen just stays blue). So apparently you have to use the SW-list here.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 07/04/14 10:18 AM

AES games cannot work from full path, that's correct.
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/09/14 06:10 PM

Rene, qmc2-Mame r6015 have bug , game not start in full embedded screen , when start in embedded must click 2 times in archer in up right corner for full embedded screen. Tnx
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/09/14 06:26 PM

Last time I checked it worked on Windows... I see nothing I changed recently that could cause it to not work. Can someone else on Windows confirm this?

And what's a "full embedded screen"? Do you mean "maximized within the embedder's viewport"?
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/10/14 01:46 AM

Yes, same
Originally Posted By qmc2

And what's a "full embedded screen"? Do you mean "maximized within the embedder's viewport"?

Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/10/14 03:59 AM

Hi QMC2

Thank for continuing to develop and improve this awesome program. I just grabbed the latest SVN and playing around with it now.

I have several questions but I'll start with just three:

1)I've done a fresh install of UME64 and of QMC2. Where does QMC2 create the UME.ini file? It does not seem to create an ini file for UME64, I've looked in both the QMC2 installation folder as well as the QMC2 folder placed in the Administrator parent folder. Same with the UME install folder. No ini file or even a folder.


2)The reason I asked about #1, is because I'd like to know why UME64 is not recognizing the changes I'm making to my HLSL settings within the QMC2 options menu? Every time I start a game all HLSL settings are default despite the changes I made in the QMC2 options menu. I'd like to take a look at the UME64.ini file, where ever it might be, and try to make the changes there.

3)Is it possible to apply and write HLSL changes to each *separate* individual game using QMC2? Rather than opening up and editing the ini file for each game, is it possible QMC2 can save the HLSL settings I make from within each game, and write them automatically to their respective ini file? If so, how can I accomplish this?

Thanks and keep up the good work!

You too R. Belmont smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/10/14 05:55 AM

I suggest you first read this FAQ smile... in short: QMC2 doesn't use ANY ini's, but CAN be used to export to them. All is done via the command line in QMC2.
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/10/14 07:41 AM

Excellent. Thank you my friend. The FAQ clears thing up and sheds some light on how I can accomplish some of these things.

Another question please if you don't mind...Why does QMC2 crash when I open it sometimes? It's random but sometimes when launching it, it will load the software list and maybe about 15 seconds later, if I try to select a game or go into a menu the whole program crashes.

The other thing is that when it crashes, and I reopen it, sometimes I'll get a message saying that QMC2 can't open because another instance of it is already running. But when I check windows task manager>processes, there's no instance of it running at all.

Is this a common bug?

I'm running windows 7 64bit

Thanks and keep up the good work smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/10/14 07:49 AM

Which version of QMC2 are you using here? In any case, if you could please try with "SVN latest" and let me know the steps to reproduce this I'd be happy to try fixing it if it's still present.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/10/14 08:00 AM

Originally Posted By Isamu
The other thing is that when it crashes, and I reopen it, sometimes I'll get a message saying that QMC2 can't open because another instance of it is already running. But when I check windows task manager>processes, there's no instance of it running at all.

Is this a common bug?

This is no bug but expected behavior smile. See here! There's a "flag" in qmc2.ini that tells it that "an instance is currently running" (similar to a mount flag in U**X file-systems), and it doesn't get cleared when QMC2 crashes (that's why you *can* ignore it, but it's not recommended).
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/10/14 08:32 AM

I'm using version 0.44(SVN 5988)

Is there a crash.log somewhere that I can look for then upload it here?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/10/14 08:32 AM

Originally Posted By qmc2
Which version of QMC2 are you using here? In any case, if you could please try with "SVN latest" and let me know the steps to reproduce this I'd be happy to try fixing it if it's still present.

I'm currently creating a new VC++ build from r6016 and will publish it when it's done... if you can still reproduce it with this version, we have something to fix smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/10/14 08:34 AM

Originally Posted By Isamu
I'm using version 0.44(SVN 5988)

Is there a crash.log somewhere that I can look for then upload it here?

Hmm, that version is fairly current, yes... there's no crash-log or something. And the front-end log will likely not tell us much here.
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/10/14 08:36 AM

Originally Posted By oddi
Hello Rene , how load 7z roms in mess file chooser ?
Where me mistake, because now try load neogeo roms in 7z archive.
Me test with the last Messsvn and QMC2 r6001.
QMC2 say:

[code]<snip ridiculously long code>/code]

tnx smile

P.S.
If load game from software list - all it's ok


oddi, for the love of god can you PLEASE edit this post(post 94930)? The quote you posted contains so many characters it's requiring us to scroll or browser horizontally to read anything.
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/10/14 08:37 AM

OK I'll try that new version when you publish it.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/10/14 08:39 AM

Originally Posted By Isamu
oddi, for the love of god can you PLEASE edit this post(post 94930)? The quote you posted contains so many characters it's requiring us to scroll or browser horizontally to read anything.

I did, he can't (after an hour or so).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/10/14 09:23 AM

Originally Posted By oddi
Rene, qmc2-Mame r6015 have bug , game not start in full embedded screen , when start in embedded must click 2 times in archer in up right corner for full embedded screen. Tnx

Hmm, I can't reproduce this in my Win 7 x64 VBox VM.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/10/14 09:29 AM

Originally Posted By Isamu
OK I'll try that new version when you publish it.

The new version has been posted. I couldn't make it crash with software-lists.
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/10/14 10:29 AM

Originally Posted By qmc2
Originally Posted By Isamu
OK I'll try that new version when you publish it.

The new version has been posted. I couldn't make it crash with software-lists.


OK cool. But first I'm gonna continue testing this 59xx version. I just did another fresh install and wiped the QMC2 folder that's in my libraries clean. So far no crashes but we'll see.

Quick question....is it recommended to delete the contents of an older qmc2 admin/libraries folder before installing and running a newer version? And just out of curiosity, why do you have QMC2 place it in that location by default?
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/10/14 10:59 AM

Oh yeah I almost forgot to ask....when I deleted the QMC2 folder in the Libraries/Admin folder, I noticed that my software list favorites were no longer there. Not the main favorites mind you(I made a back up smile ) but the favorites for the consoles like snes, gba, etc. Which qmc2 file in the recycle bin do I need to restore, in order to salvage the favorites I had for my "console" games?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/10/14 11:04 AM

Originally Posted By Isamu
Quick question....is it recommended to delete the contents of an older qmc2 admin/libraries folder before installing and running a newer version?

No. I try to keep all new features backward-compatible to old settings, upgrading it more or less seamlessly. However, settings or cache files that are somehow "unclean" (but still compatible format-wise) will likely cause the same results in a newer version.

This is currently supported back to version 0.37. I regularly remove code for "ancient" versions to keep it clean.

Originally Posted By Isamu
And just out of curiosity, why do you have QMC2 place it in that location by default?

Because QMC2 has a UNIX background smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/10/14 11:15 AM

But... when you upgrade MAME/MESS/UME from SVN fairly often, and the version number doesn't change (lately also when the output from -listfull doesn't change), all emulator caches must be cleared "manually"! And since QMC2 has no way to find out if software-lists changed, it's the same here. To do so, either use the -cc (cache clear) command line switch or "Tools" -> "Clean up" -> "Clear ALL emulator caches" from the menu (and reload the game/machine list afterwards).

When any caches are not up to date, everything can happen smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/10/14 11:28 AM

Originally Posted By Isamu
Oh yeah I almost forgot to ask....when I deleted the QMC2 folder in the Libraries/Admin folder, I noticed that my software list favorites were no longer there. Not the main favorites mind you(I made a back up smile ) but the favorites for the consoles like snes, gba, etc. Which qmc2 file in the recycle bin do I need to restore, in order to salvage the favorites I had for my "console" games?

Software-list favorites are stored in qmc2.ini.

Search for "Favorites\<system>\SoftwareNames" and "Favorites\<system>\DeviceConfigs" and copy all you find to the new qmc2.ini (below the respective [MAME], [MESS] or [UME] section).
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/10/14 11:41 AM

Got it. Thanks mayne smile
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/11/14 11:38 AM

Welp I've been using QMC2 for quite a while on and off throughout the day and knock on wood, no crashes yet. smile

Maybe deleting those old files in the qmc2 folder did the trick. Let's hope so.

Anyway, loving the program. I love the fact that it allows you to import and export your config settings to any ini file you want. That rocks!

But here's the thing though, Q....

Remember a couple years ago and many many MAME builds back, MAME had this feature where it was smart enough to save whatever changes we made to the *IN-GAME* HLSL settings to that game's respective ini file. It was cool, because we could make those changes on the fly, and they would save and be there the next time we start the game. I realize that QMC2 does allow per game HLSL read/write functionality via its own menu, but wouldn't it be nice if it brought this function back, and somehow hooked into MAME/UME, and took the changes we make in the in-game HLSL settings, then save them directly to the game's ini file upon exit, just like MAME used to do all those builds ago?

Q, is this something you think you could maybe work on? I really don't understand why the devs took this awesome feature out of MAME/HLSL.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/11/14 01:12 PM

Originally Posted By Isamu
Q, is this something you think you could maybe work on?

There's even a feature request for it, so yes, it will eventually be done... however, since the HLSL settings are just normal configuration options, they are still passed on the command line. Those presets will just make it easier to reconfigure them "all at once".
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/11/14 01:42 PM

Also, when you have any valid "preset hlsl.ini's" you can import them even now. The importer will only change those settings that are contained in the imported ini.

And in case someone would like to offer/share some of them, I'd be happy to collect and redistribute them with QMC2 as soon as the feature is available. It would be nice if they were (file) named in a way so anyone could understand what they are supposed to do (with the screen)...
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/12/14 01:13 PM

Sounds awesome man, thanks.

Quick question dude....how do you create a memory card file for the psx driver? I don't see any options for it.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/12/14 01:26 PM

Originally Posted By Isamu
Quick question dude....how do you create a memory card file for the psx driver? I don't see any options for it.

I suppose that's something beyond the scope of my front-end smile. Or may be I'm misunderstanding your question...
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/12/14 01:36 PM

Well for the Playstation driver in UME, your QMC2 frontend has an option under devices>device mappings to map memory card files. I just need to know how to create the virtual memory card so I can use it to save my games.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/12/14 01:53 PM

The device mapper is used to "map" (mount) files created externally "to" (on) available device instances, no matter what type of device they are. QMC2 doesn't really (have to) care about it, and it especially doesn't provide any tools to create or edit such dumps/images. That's beyond QMC2's scope.

EDIT: See this thread.
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/12/14 03:01 PM

yup, got it smile
Posted By: Isamu

Re: Questions, suggestions or requests topic - 07/12/14 03:01 PM

By the way, Sega Saturn driver runs Guardian Heroes woohoo!!! laugh
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/24/14 09:52 PM

FYI: Based on latest changes in SVN I've started adding a ROMAlyzer section to the QMC2 wiki guide in order to finally document the beast smile... feedback / suggestions welcome. I hope it's useful for some of you at least.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/26/14 10:59 AM

Also, I've meanwhile completed the QMC2 wiki guide (phew - it took seven releases of QMC2, I started it when 0.37 was "current"). However, complete is a relative term smile.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 07/27/14 12:09 AM

Well, time for check the new wiki smile
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 09/20/14 08:19 PM

Emulator log tab
22:06:40.483: stderr[#0]: sound_init: option 1 not found switching to auto

1.) Which kind of error is that and how can I solve it?
2.) Is it possible to disable the emulator log messages?
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 09/21/14 06:11 AM

Quote:
1.) Which kind of error is that and how can I solve it?


Seems to be MESS (.ini?) related and has nothing to do with QMC2 because I get the same error message if I start MESS via command line.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/21/14 06:25 AM

Originally Posted By Anna Wu
2.) Is it possible to disable the emulator log messages?

Why, or, for which purpose?
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 09/21/14 06:51 AM

Originally Posted By Anna Wu
Quote:
1.) Which kind of error is that and how can I solve it?


Seems to be MESS (.ini?) related and has nothing to do with QMC2 because I get the same error message if I start MESS via command line.


OK, cleaned up my ini folder for MESS and now it is ok. smile
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 09/21/14 06:54 AM

Originally Posted By qmc2
Originally Posted By Anna Wu
2.) Is it possible to disable the emulator log messages?

Why, or, for which purpose?


Please forget it. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/21/14 07:00 AM

OK - I'm glad it's working for you again wink!
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 09/21/14 08:56 AM

Originally Posted By qmc2
OK - I'm glad it's working for you again wink!


I like the new improvements for the ROMAlyzer.
The loading XML data and recreating cache is much faster for me. smile

PS: Im still using SDL (not SDL2)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/21/14 09:06 AM

Originally Posted By Anna Wu
The loading XML data and recreating cache is much faster for me. smile

Nice to hear that... yes, XML DB updates are fully asynchronous now and I can imagine that this actually makes a differences for your old/slow computer. And since the XML data is no longer loaded at once (but on demand from the DB) it's not only faster but also using much less memory.

Originally Posted By Anna Wu
PS: Im still using SDL (not SDL2)

Yeah, SDL (1) is still fine for QMC2.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 09/21/14 09:33 AM

Originally Posted By qmc2
However, I'm aware of a bug in the Windows port I'm going to try fixing now: individual ROM checks somehow make QMC2 crash on that platform (dunno when this went in, but I know it worked in the past).


MAME variant
The "Check ROMs" option still need a very long time on my "old and slow" computer by using different ROM paths (MAME.ini).

Code:
"C:\Emulator\Mame\Mame32 Plus\Bios;C:\Emulator\Mess\Bios;C:\Emulator\Mame\Mame32 Plus\Roms;C:\Emulator\Arcade\Nebula\Roms;
C:\Emulator\Arcade\Nebula\Roms 1;C:\Emulator\Arcade\Model 2\Roms;C:\Emulator\Arcade\Nebula\Roms 2;
C:\Emulator\Arcade\CPS3 Emulator\ROMS;C:\Emulator\Arcade\Zinc\Roms;C:\Emulator\Mame\Mame32 Plus\Roms HazeMD\GG;
C:\Emulator\Mame\Mame32 Plus\Roms HazeMD\SMS;C:\Emulator\Mame\Mame32 Plus\Roms HazeMD\SMD;
C:\Emulator\Arcade\WinKawaks\Roms\cps2;C:\Emulator\Arcade\Modeler\ROMs;C:\Emulator\Arcade\Crystal Emulator\Roms;
C:\Emulator\MegaDrive\Games\MD Games;C:\Emulator\SNES\Games;C:\Emulator\MegaDrive\Games\MasterSystem Games;
C:\Emulator\MegaDrive\Games\GG Games;C:\Emulator\Mame\Mame32 Plus\Roms CHD;C:\Emulator\Mame\Mame32 Plus\Roms CHD 2;
C:\Emulator\Mame/Mame32 Plus\M1/Roms;C:\Emulator\Mame\Mame32 Plus\Roms NeoGeo 2;c:\Emulator\NeoGeo\Games;
C:\Emulator\Arcade\Mjolnir\roms"


From the 26355 ROMs are only 432 ROMs actually available on my PC.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/21/14 09:46 AM

Well, run "mame -verifyroms" on the command line (with the same settings) and it will take equally long...
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 09/21/14 09:50 AM

Originally Posted By qmc2
Well, run "mame -verifyroms" on the command line (with the same settings) and it will take equally long...


Better not, otherwise I have no access on my computer for one day or more. wink
Posted By: trackofalljades

ideas for additional "Favorites" functionality - 10/08/14 09:41 PM

Having gone through the extensive process of filtering down a huge MAME romset to just the several dozen games I like best, I would really love to be able to do more automated tasks using the "Favorites" list in QMC2.

For example, it would be nice to be able to export the list and some valuable associated metadata to reuse in other ways or share with friends (like a list of the filenames that are associated with these roms). It would be awesome to be able to manage rom files based on their "Favorites" status, such as selecting and moving those roms to another folder, etc.

Would anyone else like to see this kind of feature?
Posted By: qmc2

Re: ideas for additional "Favorites" functionality - 10/09/14 09:28 AM

The favorites list is actually stored in a text file, so an export feature implicitly exists wink , but there are no meta-data stored with it. However, that's what the user-data DB is for... besides "ranks" (which is meta-data) there's also "comments". The comments are not yet supported GUI-wise, though, they have been added to the DB schema "for future use" when I implemented the ranking feature.

That said, there are serious plans to redo the "favorites list" completely anyway, and numerous related feature requests reached me over time... so I'll also consider an explicit export feature now smile.
Posted By: Shideravan

Re: ideas for additional "Favorites" functionality - 10/09/14 02:00 PM

I don't know if I already suggested it (I think I already did), but would be great if QMC2 filter to show only specific system groups from category.ini.
For example, I only want to see "Home computers" in the list. Then I select in "Home Computer" in a check box.
I know that QMC2 already have the "View games by category", but I'm suggesting a different aproach, which just allow system to be show by a criteria (Ex. I want to see only every Home console already emulated in release order). That's not possible with current builds.
Thank you!
Posted By: qmc2

Re: ideas for additional "Favorites" functionality - 10/09/14 02:02 PM

Yeah, you've ask for this several times already wink...
Posted By: Shideravan

Re: ideas for additional "Favorites" functionality - 10/09/14 02:06 PM

PS.: I'm NOT suggesting a new item in the 'game list combobox'.
Posted By: qmc2

Re: ideas for additional "Favorites" functionality - 10/09/14 02:16 PM

But you will get exactly that smile...

PS: I need to design a new "reg-exp filtered view" which will allow to do this (among other things).
Posted By: B2K24

Re: ideas for additional "Favorites" functionality - 11/02/14 07:10 PM

Would it be difficult to add a hash or software list category option so you could sort all the machines alphabetically and group all the ones together that have actual software lists?

http://imgur.com/rqN0RtG
Posted By: qmc2

Re: ideas for additional "Favorites" functionality - 11/03/14 06:41 AM

It could be done and it's not too difficult... feel free to add a feature request smile.
Posted By: B2K24

Re: ideas for additional "Favorites" functionality - 11/03/14 07:44 AM

Originally Posted By qmc2
It could be done and it's not too difficult... feel free to add a feature request smile.


I thought I just did smile laugh grin smirk
Posted By: qmc2

Re: ideas for additional "Favorites" functionality - 11/03/14 08:01 AM

Yes, but I probably won't remember when I might get to it... I meant here: http://tracker.batcom-it.net/view_all_bug_page.php
smile
Posted By: B2K24

Re: ideas for additional "Favorites" functionality - 11/03/14 08:21 AM

Ahhh yes, I will create an account and request it there. Thanks! for the info. smile
Posted By: oddi

Re: Questions, suggestions or requests topic - 11/15/14 08:00 PM

Rene, many tnx friend, u are good coder, now r6320 with full load - images, icons, pcbs and etc etc - 5 sec. smile Good job smile
And now: my old problem is again here - when start any game in embedded mode - not auto load in full size window mode, not safe window screen size. If I close it and reopen it should press the arrow in the upper right corner for max open window size. tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/16/14 09:37 AM

The embedder code is fairly hacky, especially on Windows. I will try a different implementation with Qt 5 in the future, but I can't really change the situation in case of Qt 4...
Posted By: oddi

Re: Questions, suggestions or requests topic - 11/16/14 02:00 PM

No problem Rene, tnx for answer, for atm solution is independent mode smile
Posted By: ASH

Re: Questions, suggestions or requests topic - 11/30/14 01:38 PM

Hi

Nice work and here's another thing to ask for...

If (Show Devices) is UNchecked could devices be ignored in the machine search results.

because we don't want to show devices smile

E.G. try NES
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/30/14 01:44 PM

Show/hide in game/machine lists, that is... the search ignores that. Again, there will be a reg-exp filtered view where you can filter out whatever you want.

The main reason why the search result ignores this is that there are devices which require ROMs, and you wouldn't even be able to *find* them otherwise (when devices are completely invisible).
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/08/15 07:30 PM

Rene, about templates...
Any changes was made in the way which macros are called inside a javascript code?

Thats because, for the long I remember, the code:
Code:
<script language="JavaScript">
if (localStorage['Shideravan/$EMULATOR_VARIANT$/SoftwareNotesTemplate/BackgroundMode2'] != 'none')
{
   document.write("<table border=\"0\" cellspacing=\"0\" height=\"5\" width=\"100%\">");
   supportCor();
   document.write("<tr><td height=\"5\"></td></tr></tbody></table>");
   document.write("<table border=\"0\" cellspacing=\"0\" valign=\"middle\" width=\"100%\" style=\"table-layout: fixed;\"><tbody><tr><td>$SOFTWARE_INFO$</td></tr></tbody></table>");
}
</script>


used to work properly, but now, that $SOFTWARE_INFO$ breaks the script...
But if the $SOFTWARE_INFO$ is changed with any work text, the code works properly, thats why I think that the problem is with the way which QMC2 call $SOFTWARE_INFO$
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/09/15 06:49 AM

The $SOFTWARE_INFO$ macro hasn't changed, only the way it's stored internally has changed (but that's true for ALL dat-info sources).
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/09/15 11:05 AM

Understood. What can I do to solve this problem in software template?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/09/15 12:28 PM

I've just added these DAT-info access functions (here you need qmc2NEO.softwareInfo()) to the notes editor in SVN r6402 and made the necessary changes to your template. The $xxxx_INFO$ macros aren't really suitable within <script>'s smile.

Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/09/15 01:01 PM

Would you please provide an alternative to get the text from software info without having to run these queries?
The cost in terms of processing is very significant and the task is very simple in this case (I only have to put it inside a script because I haven't choice if I want the showing of the software_info configurable...)
The alternative could be as a implementation in QMC2 to support that or even as a programming tip which I could implement that thing configurable but without the need to call a new demanding query... (because I don't know what to do to implementation stay non demanding as it was...)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/09/15 01:04 PM

Sorry but, that's BS smile.. the cost of "all these queries" is literally nothing, even before I changed it to use a database. Believe me, it's extremely fast.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/09/15 01:18 PM

The issue you have is caused by the fact that the text which the macro gets expanded to may contain single- and double-quotation marks (' and "), and the way you're using the macro causes JS interpreter errors then, which is why nothing gets displayed.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/09/15 01:53 PM

Ok, I'll send you a PM wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/09/15 03:34 PM

And here's a screen shot from latest code to prove that it works smile :

Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/10/15 03:35 AM

I compiled QMC2 and tested the new implementation here.
Ok, speed is fine smile Thank you!
Maybe I'll do some updates to templates if I find something which worth the work in the code!
I'm open for suggestions wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/10/15 08:15 AM

Originally Posted By Shideravan
I compiled QMC2 and tested the new implementation here.
Ok, speed is fine smile Thank you!

I'm glad to hear that smile.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/10/15 08:44 PM

Let me ask...
It's already possible to exclude devices and bios sets from machine search in recent versions of QMC2?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/11/15 09:58 AM

No, because you wouldn't be able to find devices or BIOSs otherwise smile. I dunno how often I've answered this "question"...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/11/15 11:04 AM

SVN r6408:
  • new: due to popular demand, the system search can now be configured to include (default) or exclude BIOS and device sets via the menu attached to the pattern input
I hope this helps smile.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/11/15 02:25 PM

Thank you smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/29/15 02:08 PM

I don't know if it's already requested, or even if it's possible to be implemented, but it would be cool if it's possible to show the systems in the list hierarchy (parent/clone), even in category view. This way the parents and clones won't be mixed when scrolling in the categories and it wiil be more organized if wanted. Thanks wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/29/15 03:52 PM

Well, it's possible of course, but the sole reason for the different views is to not overdo with nesting. I have F5, F6, F7, and F8 mapped to the detail-, hierarchy-, category- and version-views; so when I'm interested if it's a parent or a clone (or what clones exist), I simply press F6 smile.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/29/15 04:50 PM

No no, the problem is not "see" if it's a parent or clone (by the way there's various ways to see this information, qmc2 is already very good at showing this) the biggest problem is organization, when you choose category view you have hundreds of entries most out then are clones. I'm sure that if it could be implemented we would have the best of the both worlds and we wouldn't need to navigate in lots of duplicated entries even when in category mode.
Posted By: Christina

Re: Questions, suggestions or requests topic - 01/29/15 05:00 PM

Well, most of MAME front ends have used subnesting for years, and at less by the user point of view it never was a problem. I liked the idea.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/29/15 05:32 PM

As you might (or might not) have read in other posts, I'm planning a major redesign / reimplementation of all these views and their internal data representation anyway. I'll keep your suggestion in mind when I do this! But it makes no sense to do it now since with the current implementation it will get hacky rather quickly smile.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/29/15 06:36 PM

Of course, don't need to hurry. I'm happy for you keep this suggestions in mind and take the time you need for doing this smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/29/15 07:03 PM

By the way, I have another request, which you also don't need to hurry about...
Today is very common a system have various different softwarelists. Would be useful option to hide and show the softwarelists freely by the system. For example, i just want to see the software released in hucards in pce. Then i could hide pcecd softwarelist and i can navigate only in hucard softwarelist.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/29/15 07:36 PM

OK, that shouldn't be too hard... how about filing an official feature request?
Posted By: abelenki

Re: Questions, suggestions or requests topic - 01/29/15 11:03 PM

qmc2, first of all, i wanted to thank you for continious QMC2 support. this frontend is getting better and better day by day.

simple question: is it okay to keep previous QMC2 settings (C:\Users\***\.qmc2), when running new version? or it's more safe to set up QMC2 from scratch on every new release?

i usually deleted settings, and set up new QMC2 from scratch on every new release.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 01/30/15 01:32 AM

Originally Posted By qmc2
OK, that shouldn't be too hard... how about filing an official feature request?

Of course, no problem. How can I do it?
Posted By: abelenki

Re: Questions, suggestions or requests topic - 01/30/15 01:35 AM

Originally Posted By Shideravan
Of course, no problem. How can I do it?

i think, mantis:

http://tracker.batcom-it.net/view_all_bug_page.php?project_id=1
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/30/15 06:44 AM

Right, I mean our bug-tracker at the link above.

@abelenki: You really don't need to start from scratch on every release wink! I do my best to keep all settings backward-compatible, and/or to auto-update the settings when required. However, I only guarantee this for the "last few versions" to not blow up the code too much. So as long as you update regularly this should work fine...
Posted By: abelenki

Re: Questions, suggestions or requests topic - 01/30/15 06:48 AM

Originally Posted By qmc2
You really don't need to start from scratch on every release wink! I do my best to keep all settings backward-compatible, and/or to auto-update the settings when required. However, I only guarantee this for the "last few versions" to not blow up the code too much. So as long as you update regularly this should work fine...


thank you.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 02/01/15 01:27 PM

I send 2 feature request in the bug tracker. I'm planning to organize all feature requests not yet resolved made by the users in this forum soon smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/01/15 01:38 PM

Avoid duplicates, please... some of them are already tracked. And don't be surprised when I don't accept all of them.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 02/01/15 02:01 PM

Don't need to worry, I'll search before post. I just will do it if it can help you to keep track of them. wink
But if you think that it will hinder more than help, I don't will do it...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/01/15 02:40 PM

No, I think it's actually a good idea to collect/preserve them, but only if they are really worth it and acceptable.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 02/27/15 07:00 AM

Tafoid wrote:
http://atariage.com/forums/topic/235437-odyssey2-the-voice-no-longer-works-in-mess-158/#entry3185718

How do use it this on QMC2?
I think the "cart2" slot doesn't exist.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/27/15 05:00 PM

http://tracker.batcom-it.net/view.php?id=66
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 02/27/15 05:03 PM



The request is listed, nice. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/27/15 06:18 PM

Yeah, but I've forgotten about it several times, mainly because the new ROMAlyzer features were more important smile... I'm currently adding new stuff to the software-lists (parent/clone tree vs. "flat" view switching) which will probably keep me busy for the weekend (it's actually already working partially, but you can't really use - i.e. launch - the items in the tree view yet for anything), but please remind me when this is done.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 02/27/15 06:36 PM

Take time, no rush, Ren smile
It seems, O2 with "voice" is running by using the softwarelist only.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/27/15 09:36 PM

Originally Posted By qmc2
I'm currently adding new stuff to the software-lists (parent/clone tree vs. "flat" view switching)...

Most things should be working now for the new tree view (SVN r6524), but only in 'auto-mount' mode. That is, sub-items aren't created yet so you cannot select mount devices.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/28/15 11:01 AM

I've also added support for "parent image & info fallback" for software-items in SVN r6527 (now that I gather parent/clone relationship info for software smile ).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/28/15 03:27 PM

Originally Posted By qmc2
Originally Posted By qmc2
I'm currently adding new stuff to the software-lists (parent/clone tree vs. "flat" view switching)...

Most things should be working now for the new tree view (SVN r6524), but only in 'auto-mount' mode. That is, sub-items aren't created yet so you cannot select mount devices.

This should be working completely now in SVN r6530 (despite possible bugs, so please all test wink ).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/02/15 08:15 AM

Yesterday I've also added "software-list visibility toggling" (#85), so you can now decide (per system) which software-lists to show/hide:

Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/02/15 08:36 AM

Oh, and please note that this menu-button on the "Known software" page header is actually a "serious hack", so I'm somewhat misusing the QToolBox class and this might not always look as expected/wanted (depending on the GUI style)... I also haven't tried it on anything else than Linux yet => feedback welcome!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/02/15 10:20 AM

Originally Posted By qmc2
Oh, and please note that this menu-button on the "Known software" page header is actually a "serious hack", so I'm somewhat misusing the QToolBox class and this might not always look as expected/wanted (depending on the GUI style)... I also haven't tried it on anything else than Linux yet => feedback welcome!

OK, successfully (smoke-)tested on Windows as well now with the new Windows builds I've just posted.
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/02/15 02:05 PM

Hello Rene , new catver.ini is out, but when replace in my qmc2 folder show all games categories "unknown". With previous catver.ini all is ok .
Tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/02/15 02:33 PM

Thanks for the info! This is "fixed" in r6540.
Posted By: B2K24

Re: Questions, suggestions or requests topic - 03/08/15 05:36 AM

When running pce from the software list [draculax] how do I get QMC2 to pass the scdsys parameter?

Code:
starting emulator #0, command = J:\MESS\mess64.exe -rompath "J:\MESS\roms;J:\MESS CHDs" -hashpath "J:\MESS\hash" -samplepath "J:\MESS\samples" pce -cdrm pcecd:draculax:cdrom


If I switch to commandline and execute
Code:
mess64 pce scdsys -cdrm draculax


It works the exact way without having to TAB reset to get to the bios screen to press run.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/08/15 06:19 AM

Huh? I'm actually not aware of any "scdsys parameter"... how should QMC2 even know there is one? And what is it good for? That's totally unexpected.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/08/15 06:41 AM

Ah, you're talking about the "scdsys" software on the pce soft-list?! Well, you have to "mount" both items manually in this case, "scdsys" on "cart", and "draculax" on "cdrm":



QMC2 will then generate this command line instead:

Code:
... pce -cdrm pcecd:draculax:cdrom -cart pce:scdsys:cart

Also, if the order should be important you'd have to change the sorting of the software-list... QMC2 is dumb, it simply goes through the software tree and mounts in the order the software is listed smile.
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/08/15 07:18 AM

Rene, dont know whats u fixed, but now with r6577 - embedded mode work full window screen. Many tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/08/15 07:23 AM

oddi: Yeah, I've also recognized this yesterday, but it's nothing that I fixed (I haven't changed the embedder recently), it has most probably been "fixed by accident" in one of couriersud's recent changes as it was SDL2 related.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/08/15 07:46 AM

Hmmm, but I changed the way the embedder's tab-widget is inserted (related to the new "component setup")... it's possible that this influences the embed-container's resize behavior.
Posted By: B2K24

Re: Questions, suggestions or requests topic - 03/08/15 08:16 AM

Thank You Rene. I had forgot about those mounting options.

Works great smile
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/12/15 06:45 AM

Hello Rene, have any problem with compiling qchdman and new Buildtools. QMC2-mame, mess, arcade and ume successful compiling, only qchdman crashed , erorrs:

Code:
make[2]: Entering directory 'g:/compile_mame/qmc2/tools/qchdman'
g++ -static-libgcc -static-libstdc++ -Wl,-s -mthreads -Wl,-subsystem,windows -o
release\qchdman.exe object_script.qchdman.Release  -L"g:\compile_mame\buildtools
\vendor\qt\mingw64\Qt\lib" -lmingw32 -lqtmain release\qchdman_res.o -lQtScript4
-lQtScriptTools4 -lQtGui4 -lQtCore4
./release\main.o: file not recognized: File truncated
collect2.exe: error: ld returned 1 exit status
Makefile.Release:117: recipe for target 'release\qchdman.exe' failed
make[2]: *** [release\qchdman.exe] Error 1
make[2]: Leaving directory 'g:/compile_mame/qmc2/tools/qchdman'
makefile:34: recipe for target 'release' failed
make[1]: *** [release] Error 2
make[1]: Leaving directory 'g:/compile_mame/qmc2/tools/qchdman'
makefile:982: recipe for target 'qchdman' failed
make: *** [qchdman] Error 2
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 03/12/15 12:00 PM

Any news which is worth to compile qchdman?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/12/15 02:40 PM

@Anna: Depends on when you compiled the last one smile. There were no updates since the 0.49 release at least.

@oddi: Haven't tried the latest MAME dev-tools on Windows yet (will do soon)...
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 03/12/15 03:06 PM

Ahh ok. thanks for the info. smile I have just compiled qchdman and see it is the GUI version 0.11.
I will update my page.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/12/15 03:13 PM

Yeah, the version numbers are bumped on each release regardless.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 03/12/15 03:30 PM

OK, I replaced the old GUI version 0.2 with the newer v0.11 on my page.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/12/15 04:01 PM

Originally Posted By qmc2
@oddi: Haven't tried the latest MAME dev-tools on Windows yet (will do soon)...

Works fine for me... how did you try to build it? Since "main.o" in your case seems to be from an interrupted build (file truncated), please try "make distclean && make qchdman".
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/12/15 04:13 PM

Originally Posted By Anna Wu
OK, I replaced the old GUI version 0.2 with the newer v0.11 on my page.

Yeah, there have been a few updates since 0.2 wink , but not too many lately.
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/12/15 04:36 PM

Many tnx Rene wink
magic word is "distclean", i was try with "clean" but not luck smile

Now all is ok smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/12/15 04:41 PM

I see... well, there's also "make qchdman-clean" or "make tools-clean" (which "make distclean" triggers automatically). But "make clean" only covers the main GUI.

Code:
c:\Projekte\qmc2-mingw                                                     
λ make help                                                                
Usage: make [<targets>] [<configuration_options>]                          
                                                                           
### Target ###   ### Description ###                                       
all (default)    Build QMC2, aliases: qmc2, bin, qmc2-bin                  
clean            Clean up compilation & linkage binaries from source tree  
config           Show build configuration options and their current values 
configure        Create qmake output and stop, alias: qmake                
help | ?         Show this help                                            
lang             Recreate binary translation files only (if not up to date)
arcade           Build QMC2 Arcade binary (qmc2-arcade)                    
arcade-clean     Clean up QMC2 Arcade build                                
qchdman          Build Qt CHDMAN GUI binary (qchdman)                      
qchdman-clean    Clean up Qt CHDMAN GUI build                              
tools            Build tools: qchdman                                      
tools-clean      Clean up tools: qchdman-clean                             
                                                                           
Run 'make config' for build configuration options.                         

EDIT: Oops, "distclean" is actually missing from the help text - will change that smile!
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/20/15 02:32 PM

Hello Rene, how load mame with any parameters ?
example: for new feature opengl, now start "mame.exe -video opengl".
Or u add this in options--> global configuration --> video ?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/15 02:37 PM

Originally Posted By oddi
Or u add this in options--> global configuration --> video ?

Sure smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/15 02:42 PM

Which MAME build for Windows are you talking about, BTW? SDL or the usual Windows OSD? In case this has been added to the Windows OSD I can add this choice easily, but you can always overwrite it manually.
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/20/15 03:08 PM

Tnx, me wait update smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/15 03:15 PM

It would help if you could answer directly to my questions... I interpret that as "yes, opengl has been added as an option for -video in the Windows OSD" smile. Stay tuned.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/15 03:21 PM

While we're at it... could you please run a "template check"?! See "Tools" -> "Clean up" -> "Check template map" in the menu... then please post the log if it shows any differences. I haven't checked the Windows template myself in a while.
Posted By: Vas Crabb

Re: Questions, suggestions or requests topic - 03/20/15 03:43 PM

Yes, -video opengl is now an option with Windows OSD.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/15 04:12 PM

Thanks for the clarification, Vas. I've already added it in SVN.
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/20/15 05:40 PM

Rene, see log, i not view opengl

opss, forgot replace nw templates, now show 'opengl'
but log it's same
Code:
19:39:18.916: checking template configuration map against selected emulator
19:39:18.974: emulator option 'gl_forcepow2texture' with default value '0' is unknown to the template
19:39:18.974: emulator option 'gl_glsl' with default value '0' is unknown to the template
19:39:18.975: emulator option 'gl_glsl_filter' with default value '1' is unknown to the template
19:39:18.976: emulator option 'gl_notexturerect' with default value '0' is unknown to the template
19:39:18.976: emulator option 'gl_pbo' with default value '1' is unknown to the template
19:39:18.977: emulator option 'gl_vbo' with default value '1' is unknown to the template
19:39:18.978: emulator option 'glsl_shader_mame0' with default value 'none' is unknown to the template
19:39:18.978: emulator option 'glsl_shader_mame1' with default value 'none' is unknown to the template
19:39:18.979: emulator option 'glsl_shader_mame2' with default value 'none' is unknown to the template
19:39:18.979: emulator option 'glsl_shader_mame3' with default value 'none' is unknown to the template
19:39:18.980: emulator option 'glsl_shader_mame4' with default value 'none' is unknown to the template
19:39:18.980: emulator option 'glsl_shader_mame5' with default value 'none' is unknown to the template
19:39:18.981: emulator option 'glsl_shader_mame6' with default value 'none' is unknown to the template
19:39:18.981: emulator option 'glsl_shader_mame7' with default value 'none' is unknown to the template
19:39:18.982: emulator option 'glsl_shader_mame8' with default value 'none' is unknown to the template
19:39:18.982: emulator option 'glsl_shader_mame9' with default value 'none' is unknown to the template
19:39:18.982: emulator option 'glsl_shader_screen0' with default value 'none' is unknown to the template
19:39:18.983: emulator option 'glsl_shader_screen1' with default value 'none' is unknown to the template
19:39:18.983: emulator option 'glsl_shader_screen2' with default value 'none' is unknown to the template
19:39:18.984: emulator option 'glsl_shader_screen3' with default value 'none' is unknown to the template
19:39:18.984: emulator option 'glsl_shader_screen4' with default value 'none' is unknown to the template
19:39:18.985: emulator option 'glsl_shader_screen5' with default value 'none' is unknown to the template
19:39:18.985: emulator option 'glsl_shader_screen6' with default value 'none' is unknown to the template
19:39:18.985: emulator option 'glsl_shader_screen7' with default value 'none' is unknown to the template
19:39:18.986: emulator option 'glsl_shader_screen8' with default value 'none' is unknown to the template
19:39:18.986: emulator option 'glsl_shader_screen9' with default value 'none' is unknown to the template
19:39:18.986: emulator option 'uifontprovider' with default value 'auto' is unknown to the template
19:39:18.987: done (checking template configuration map against selected emulator)
19:39:18.987: check results: 27 differences
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/20/15 06:55 PM

Thanks! I'll update the Windows OSD templates tomorrow then!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/21/15 08:12 AM

Originally Posted By qmc2
Thanks! I'll update the Windows OSD templates tomorrow then!

The emulator templates for the Windows OSD (non-SDL) should be clean now. I have only smoke-tested this with QMC2-MAME, would be nice if someone could check the rest...

Also, a template check on Mac OS X wouldn't hurt either - any volunteers? smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/25/15 10:10 AM

Originally Posted By qmc2
Also, a template check on Mac OS X wouldn't hurt either - any volunteers? smile

As our Mac OS X maintainer is on a business trip right now I'm still searching for someone who could check this before release (tonight). Thanks in advance smile!
Posted By: ASH

Re: Questions, suggestions or requests topic - 03/25/15 07:59 PM

Hi

Just updated and could I add a user friendly suggestion smile

The rom search paths are a bugger to find if you change a drive etc. and want to change the rom search directory.

so as well as under the global configuration tab could they also be added or moved to the Files/Directories tab.

I think it is more intuitive to have them there?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/25/15 08:03 PM

Well, it's just an emulator option like all the others, so it fits best where it is. That's "intuitive" IMHO.

Also, it's not hard to find. Click into the emulator configuration tree-widget, enter "rompath" (or just parts of it), and there it is!
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/11/15 05:01 PM

Hello Rene, please explain how compiling new qmc2 smile
me compiling separate mamearcade and mess execuatbles

now this parameter :

make.exe EMULATOR=mame WIP=1 MINGW=1 -j5
compiling qmc2-mame.exe

this
make.exe EMULATOR=mess WIP=1 MINGW=1 -j5
compiling same qmc2-mame.exe

from r6646:
Click to reveal...
imp: unified all main GUI variants into one: "qmc2-(sdl)mame" (because
of the unification in MAME) - as a result, you only have to build one
binary now and the EMULATOR option as well as variant switching have
been removed


where this options ?

tnx smile

p.s.-> and bug
all buttons with 2 archers:
"Import MAME game information to Dat-info database"
"Import MAME emulator information to Dat-info database"
and etc etc not work.
qmc2 say: "DAT-info database: 0 game info records imported"

Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/11/15 06:39 PM

There is no longer such an option... all is unified.

That's no bug. You have to reconfigure it as it's now working the way the UME variant worked before (MAME now is what UME used to be since the last weekend).
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/11/15 06:43 PM

qmc2 worked only with mame.exe , mamearcade and mess ignored ?
right ?
and write me right parameters for compiling.
atm i used:
make.exe EMULATOR=mame WIP=1 MINGW=1 -j5
tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/11/15 06:45 PM

No, all of these are the same now... it's not my fault, actually smile.

And yeah, you only need to build the "MAME variant" (since there's no other variant anymore). The EMULATOR option is thus no longer required (and ignored).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/11/15 06:53 PM

If you want to handle different MAME builds, you can / have to use -config_path for individual configurations and caches.
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/11/15 07:18 PM

No, i used self compiling mame ,
btw - now test MAME ( Full) ex-Ume smile

same results with import :

22:16:12.511: DAT-info database: 0 game info records imported
22:16:17.119: DAT-info database: 0 emulator info records imported
22:16:22.057: DAT-info database: 0 game info records imported
22:16:52.022: DAT-info database: 0 emulator info records imported
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/11/15 07:40 PM

OK, I'll check this tomorrow.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/12/15 05:12 AM

I see no problem actually... I have all these 4 set up:

Code:
rene@thunder:~/.qmc2> grep ".dat" qmc2.ini | grep qmc2-sdlmame | grep FilesAndDirectories
qmc2-sdlmame\FilesAndDirectories\MameInfoDat=/home/rene/.qmc2/mameinfo.dat
qmc2-sdlmame\FilesAndDirectories\MameHistoryDat=/home/rene/.qmc2/history.dat
qmc2-sdlmame\FilesAndDirectories\MessSysinfoDat=/home/rene/.qmc2/sysinfo.dat
qmc2-sdlmame\FilesAndDirectories\MessInfoDat=/home/rene/.qmc2/messinfo.dat

When I "touch" the files and reload the game list my log will contain this (which looks good):

Code:
07:05:44.121: DAT-info database: importing system info-texts from '/home/rene/.qmc2/history.dat'
07:05:46.977: DAT-info database: done (importing system info-texts from '/home/rene/.qmc2/history.dat')
07:05:46.977: DAT-info database: importing system info-texts from '/home/rene/.qmc2/sysinfo.dat'
07:05:47.092: DAT-info database: done (importing system info-texts from '/home/rene/.qmc2/sysinfo.dat')
07:05:47.093: DAT-info database: 29393 game info records imported
07:05:47.932: DAT-info database: importing emulator info-texts from '/home/rene/.qmc2/mameinfo.dat'
07:05:49.276: DAT-info database: done (importing emulator info-texts from '/home/rene/.qmc2/mameinfo.dat')
07:05:49.277: DAT-info database: importing emulator info-texts from '/home/rene/.qmc2/messinfo.dat'
07:05:49.549: DAT-info database: done (importing emulator info-texts from '/home/rene/.qmc2/messinfo.dat')
07:05:49.550: DAT-info database: 11075 emulator info records imported
Posted By: Christina

Re: Questions, suggestions or requests topic - 05/12/15 06:28 AM

I don't have how to compile QMC2 but I want to test some of the changes made in the last few days. Could someone post an windows build, please?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/12/15 07:19 AM

Originally Posted By Christina
I don't have how to compile QMC2 but I want to test some of the changes made in the last few days.

You can follow these instructions in case you're impatient and have the MAME-dev tools installed (i.e. to build MAME).
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/12/15 08:00 AM

I will try to make unofficial Win32 builds as update on the coming weekend.
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/12/15 08:46 AM

Sorry Rene, but here not work, removed .qmc2 folder and reconfiguration - not luck.
If ticket "Load Mame game..etc etc " , this method work, but qmc2 load very slow.
With import method qmc2 load for 4-5 secs.
win8.1 64bit
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/12/15 08:51 AM

Sorry Oddi, what?

DAT files are only imported once / whenever they change, so if that takes some time it's not a problem because it's just a one time operation.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/12/15 09:07 AM

This is my setup with regard to DAT info sources:



The info-texts are only (re)imported when I update these files (i.e. when I use the command 'touch' to set a new modification date on them). Otherwise data is read directly from the (DAT-info) database (no loading / importing required).

You can force a reimport by clicking on the respective refresh button(s).
Posted By: Christina

Re: Questions, suggestions or requests topic - 05/12/15 10:15 AM

Originally Posted By Anna Wu
I will try to make unofficial Win32 builds as update on the coming weekend.


Thank you, Anna
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/12/15 06:06 PM

Originally Posted By Christina
Originally Posted By Anna Wu
I will try to make unofficial Win32 builds as update on the coming weekend.


Thank you, Anna


Maybe I will not release the new unofficial version, just saw the changes.
I'm not interested on a unified UME-like launcher but it is not René's fault.
I pay my attention for MESS only and not for MAME or MAME + MESS
UME or an unified UME-like launcher are heavy weight's for my old computer.
Sorry, Christina. frown
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/12/15 07:05 PM

Rene, when :
"You can force a reimport by clicking on the respective refresh button(s)."

22:04:53.277: DAT-info database: 0 game info records imported

U understand me ? qmc2 not wanna import dats smile
Posted By: remax

Re: Questions, suggestions or requests topic - 05/12/15 09:47 PM

Originally Posted By Anna Wu
Originally Posted By Christina
Originally Posted By Anna Wu
I will try to make unofficial Win32 builds as update on the coming weekend.


Thank you, Anna


Maybe I will not release the new unofficial version, just saw the changes.
I'm not interested on a unified UME-like launcher but it is not René's fault.
I pay my attention for MESS only and not for MAME or MAME + MESS
UME or an unified UME-like launcher are heavy weight's for my old computer.
Sorry, Christina. frown


Would there be any difference, weight-wise if you use the new QMC2-mame coupled with a subtarget=MESS build of mame ?

Anyway, i'm gonna release a x64 build of the QMC-mame (the changes broke my build script, but i can compile manually. Just have to find the culprit in my batch).

Is "make distclean" still useful between building "qmc2-mame.exe" and building qchdman.exe or qmc2-arcade.exe ?

Can you remind me how we can have the SVN revision as version number?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/13/15 05:04 AM

@oddi: well, it doesn't import in your case, but it does for me, so that's no additional info. Please check your setup (again) and/or tell me *clearly* what it is (i.e. post qmc2.ini and qmc2-mame.log)! I must admit that I have only tested it on Linux, but I'll also check it on Windows at the upcoming weekend (tomorrow is a holiday in Germany).

@Anna: that's expected frown. But remax is right, you can also use it for "SUBTARGET=mess" builds.

@remax: "make distclean" is no longer required between the different build steps, but it also doesn't hurt smile. I changed the instructions in the documentation (I actually changed a lot of documentation recently).
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/13/15 05:24 AM

The revision number is visible in the 'About' window for the project details.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/13/15 05:39 AM

The SVN revision is also written to the front-end log (first line) wink :

Code:
07:51:33.488: M.A.M.E. Catalog / Launcher II v0.52, SVN r6665 (Qt 4.8.5, SDLMAME, us)

Alternatively you can run "make config", the SVN revision is then printed at the end:

Code:
rene@thunder:~/src/qmc2> make config
...
...
...
The SVN revision of your working copy is 6665.
Posted By: Anna Wu

Re: Questions, suggestions or requests topic - 05/13/15 07:02 AM

Originally Posted By qmc2

@Anna: that's expected frown. But remax is right, you can also use it for "SUBTARGET=mess" builds.


I stopped the MAME/MESS compiling for a long time (various reasons)
Hopefully Robert release a "SUBTARGET=mess" build as bleeding-edge version soon.
Posted By: remax

Re: Questions, suggestions or requests topic - 05/13/15 08:55 AM

Originally Posted By qmc2
The SVN revision is also written to the front-end log (first line) wink :

Code:
07:51:33.488: M.A.M.E. Catalog / Launcher II v0.52, SVN r6665 (Qt 4.8.5, SDLMAME, us)

Alternatively you can run "make config", the SVN revision is then printed at the end:

Code:
rene@thunder:~/src/qmc2> make config
...
...
...
The SVN revision of your working copy is 6665.


Well, no, i know all of this but i only have 0.52 as a version number and i remember well you add to do something to have the SVN revision added. But only thing is i don't remember what it was laugh
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/13/15 05:07 PM

@remax : set your environment :

set Tortoise_SVN_BIN=%programfiles%\TortoiseSVN\bin\

this file : SubWCRev.exe <-- take rev number from repo
Tnx to Anna smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/13/15 05:47 PM

Yeah, oddi is right, on Windows it's "subwcrev" which is expected to be part of your PATH, otherwise the SVN revision cannot be determined and will thus not be used / printed.
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/15/15 04:45 AM

Hello Rene:)
Me configuration qmc2 from zero - not luck, import not work , qmc2-mame.exe hate me.:) smile smile
btw - now check other tiny bug too - Roms status icons is not visible, option is enabled.
That is for first look .
OS win8.1 x64
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/15/15 11:23 AM

@oddi: I don't have the time to test it on Windows today, but probably tomorrow... in the meantime, which version of history.dat are you using, for example? The latest is 0.161 (http://www.arcade-history.com/index.php?page=download) and I've just imported it successfully... on Linux smile.
Posted By: remax

Re: Questions, suggestions or requests topic - 05/15/15 04:33 PM

Originally Posted By qmc2
Yeah, oddi is right, on Windows it's "subwcrev" which is expected to be part of your PATH, otherwise the SVN revision cannot be determined and will thus not be used / printed.


I'm quite sure i didn't do that at the time, as i have never used TortoiseSVN, but a command line version.

The behaviour i'm 100% positive about was that if i had the correct configuration (file? Path?) at compile time, then i didn't need any change to my standard PATH to have the subversion displayed when launching the exe (i don't know if that's what's both of you mean, or if you only talk about compile time).

Anyway, i'm gonna double check if my SVN folder is on my compile path, and then i'll see if it works again wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/15/15 05:21 PM

This script gets called from make to determine the SVN revision (on Windows):

Code:
rene@thunder:~/src/qmc2> cat arch/Windows/svnversion.bat
@echo off
subwcrev . scripts\subwcrev.template scripts\subwcrev.out > NUL
type scripts\subwcrev.out
del /f scripts\subwcrev.out

On Linux / UNIX / Mac OS X I use this:

Code:
svnversion 2>&1 | sed -e "s/[MS]//g" -e "s/^[[:digit:]]*://" | grep "^[0-9]*$$"
Posted By: remax

Re: Questions, suggestions or requests topic - 05/15/15 08:59 PM

Ok it's fixed. In fact, the version of subwcrev i was using (probably downloaded somewhere standalone on the net, that's why i don't remembered using Tortoise) was too old to handle the svn version i updated recently smile
Posted By: Praxis

Re: Questions, suggestions or requests topic - 05/16/15 03:56 PM

Hello smile I really like how thoroughly complete QMC2 is. It's to your credit how you keep QMC2 matching every single MAME/MESS feature.
With 'the merge' imminent for the next official release, I have a quick question. I've been (and still am) adding Favourites. Arcade systems in MAME, systems in MESS and softlist entries, also in MESS. Will these Favourites lists be retained and integrated into the new unified release or will they be lost?
Thanks again for your work on QMC2.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/17/15 11:12 AM

@Praxis: You will generally lose it, mainly because the new "QMC2-MAME" wouldn't know from where to migrate... however, system-favorites can easily be merged manually (they are just text files)... software-favorites were part of qmc2.ini in the past and are meanwhile auto-migrated to the "user-data DB", but only on demand, that is when a system's software-lists are loaded. So unless you manually migrate software-favorites from qmc2.ini and/or the user-data DB (sqlite3 is your friend here, see the mess_softlist_user_data table in mess-user-data.db) you will lose them.

I don't think I'll find the time to add some migration tool until the next release.
Posted By: Praxis

Re: Questions, suggestions or requests topic - 05/17/15 05:58 PM

Thanks for the reply and explanation!
Originally Posted By qmc2

I don't think I'll find the time to add some migration tool until the next release.

I don't mind waiting for you to prepare things for us clueless end users. smile Just to clarify, does that mean waiting until the NEXT release (QMC2 0.52) or skipping one release for QMC 0.53?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/18/15 07:47 AM

Well, it doesn't matter... as long as you keep the old files they can be migrated at any time. I didn't say I'd write such a tool, though. It's a one time thing so it's actually not worth the hassle, and it's caused by external decisions which have consequences I didn't want.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 05/18/15 12:11 PM

I warned you many years ago that a split MAME/MESS architecture was going to bite you in the butt eventually. Well, that time has come smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/18/15 01:57 PM

I really don't want to start the discussion again (I promised to "shut up"), but nothing actually bites me... it's the same architecture as before smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/18/15 02:12 PM

Also, the warning from your side that I recall was more like "try to do it with the same binary, doing MAME/MESS separation at run-time". Well, if I had done it this way then the transition would've been basically the same... there are differences between MAME and MESS which all of you now seamlessly ignore. And so do I smile.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 05/22/15 09:23 PM

Does QMC2 already have the feature to record videos, using MAME -aviwrite, -mngwrite and -wavwrite commands?
I searched about this all the frontend and in "The 'ultimate' guide to QMC2", but I didn't found any mention of this.
I'm considering write a request for this feature in the bug tracker, but I just need to know if this feature is already available in any way in the QMC2.

Code:
•To record an AVI/MNG/WAV:
mame <game> –aviwrite <filename>.avi
mame <game> -mngwrite <filename>.mng
mame <game> -wavwrite <filename>.wav


To exemplify one of the countless uses of this feature, here is an video someone made using this commands some time ago to simulate how the N64DD would work at normal speed.
https://www.youtube.com/watch?v=FGrp8fPotWM
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/23/15 08:12 AM

This is on the TODO list already, but feel free to file this as a regular feature request wink.
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/23/15 09:58 AM

Rene, import not working smile
see my "default" settings:


With previous qmc2 version i was use only archers buttons and qmc2 load for 4-5 secs.
Now if i ticket all lines, qmc2 load dats every time when starting and full load about 1min. smile
Tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/23/15 11:09 AM

Sorry, but I can't reproduce this. Can anybody else reproduce oddi's problem?

There are timestamps stored in qmc2.ini for all of the imported files:

Code:
rene@thunder:~/.qmc2> egrep "EmuInfoImport|GameInfoImport|SoftwareInfoImport" qmc2.ini
DatInfoDatabase\EmuInfoImportFiles=/home/rene/.qmc2/mameinfo.dat, /home/rene/.qmc2/messinfo.dat
DatInfoDatabase\EmuInfoImportDates=1431407138, 1431407138
DatInfoDatabase\GameInfoImportFiles=/home/rene/.qmc2/history.dat, /home/rene/.qmc2/sysinfo.dat
DatInfoDatabase\GameInfoImportDates=1430653144, 1431407138
DatInfoDatabase\SoftwareInfoImportFiles=/home/rene/.qmc2/history.dat
DatInfoDatabase\SoftwareInfoImportDates=1430653144

Let me know if the timestamps are updated when you (re)import them! Please also check if the modification dates for these files in the file-system are not "somewhere in the future"!!

The timestamps are used to find out if a file has been updated. However, that's actually not different from before.
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/23/15 03:30 PM

Rene, timestamps not updated:
Code:
DatInfoDatabase\EmuInfoImportFiles=G:/QMC2/Working/mameinfo.dat, G:/QMC2/Working/messinfo.dat
DatInfoDatabase\EmuInfoImportDates=1430321634, 1427636885
DatInfoDatabase\SoftwareInfoImportFiles=G:/QMC2/Working/history.dat
DatInfoDatabase\SoftwareInfoImportDates=1430653143


compare with your ini file , me missing sysinfo.dat ( information)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/23/15 03:35 PM

Originally Posted By oddi
Rene, timestamps not updated

When that's true, others (on Windows) should be able to confirm an issue here?!

I'll check myself tomorrow. I can't reproduce this on Linux at least, could be a Windows-specific issue perhaps. Or is it a permission problem and QMC2 can't update qmc2.ini at all?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/23/15 03:38 PM

Originally Posted By qmc2
Or is it a permission problem and QMC2 can't update qmc2.ini at all?

In that case there should be a warning in the front-end log that "the configuration file isn't writable" (or so), BTW.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/24/15 08:30 AM

Originally Posted By qmc2
Sorry, but I can't reproduce this. Can anybody else reproduce oddi's problem?

OK, I'm able to actually reproduce this on Windows...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/24/15 09:32 AM

Should be fixed now in SVN r6670! Sorry, oddi, for not taking your report seriously enough in the first place smile!
Posted By: oddi

Re: Questions, suggestions or requests topic - 05/24/15 10:12 AM

Many tnx Rene, now all is fine smile
Posted By: remax

Re: Questions, suggestions or requests topic - 05/26/15 07:33 PM

I'm a bit fed up with CMP, even if Roman is very nice and fast to respond, but i have strange and non consistants bugs that happens.

So, for MAME, i'm gonna give a try to your RomAlyzer. If everything goes well, you'll have a Windows tester smile
Posted By: sl1pkn07

Re: Questions, suggestions or requests topic - 05/28/15 04:04 PM

Hi

any plans to port to Qt5 toolkit?

greetings
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/28/15 04:10 PM

Qt 5 is supported, but there are some features which would need some more work (and are thus disabled for Qt 5). Also, the Qt developers currently plan to drop QtWebKit and QtScript (both will be deprecated in Qt 5.5) and there's no full replacement yet... and so I still recommend Qt 4.8 (4.8.7 has just been released), though you can use Qt 5 if you like. Some users do this already for quite some time.

QMC2 Arcade will work with Qt 5, but the ToxicWaste theme has some issues at least.

Also, the settings (qmc2.ini) will automatically upgrade from Qt 4 to Qt 5, but there's no clean way back. So in case you "just want to try QMC2 / Qt 5" create a backup of your QMC2 configuration!
Posted By: sl1pkn07

Re: Questions, suggestions or requests topic - 05/28/15 04:13 PM

oks, thanks
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/28/15 04:16 PM

At some point I will certainly switch over to Qt 5 completely.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/28/15 04:30 PM

Originally Posted By remax
So, for MAME, i'm gonna give a try to your RomAlyzer. If everything goes well, you'll have a Windows tester smile

I just found out that I missed switching from <game> to <machine> in the "collection rebuilder" for 0.52. So please try this with "SVN latest" (as you probably always do smile ).
Posted By: remax

Re: Questions, suggestions or requests topic - 05/28/15 04:33 PM

Well i had a strange behaviour, but i don't know if it's before or after the change from game to machine.

Seems to not like my merged set at all (report 3/4 of my roms as missings), but that might be me that did a bad configuration, so i'm still reading the docs (slowly as i have few time at the moment).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/28/15 05:11 PM

The ROMAlyzer's "legacy" features were not affected, I apparently only missed that for the "collection rebuilder".

But take your time, and when you think the analysis is wrong, please let me know the details (screen-shot from the report view, log contents etc.).
Posted By: abelenki

Re: Questions, suggestions or requests topic - 05/29/15 04:11 PM

qmc2, thanks a lot for prompt release of QMC2.

there is a bug in latest version - QMC2 doesn't remember General software folder after exit. it's always clean on each new start.

Windows 8.1 x64, qmc2-mame.exe x64.

should i file a bug on Mantis?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/29/15 04:41 PM

Originally Posted By abelenki
should i file a bug on Mantis?

No, I've already fixed it in SVN earlier today...
Posted By: abelenki

Re: Questions, suggestions or requests topic - 05/29/15 04:44 PM

Originally Posted By qmc2
No, I've already fixed it in SVN earlier today...


thanks!!

any chance to get Windows x64 binary with that fix? or should i wait for 0.53?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/29/15 04:48 PM

Probably not today, but yeah, I'll do an update at this weekend (there's been more than just this).
Posted By: abelenki

Re: Questions, suggestions or requests topic - 05/29/15 04:49 PM

Originally Posted By qmc2
Probably not today, but yeah, I'll do an update at this weekend (there's been more than just this).


okay, thank you!!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/29/15 04:51 PM

Here's the latest change-log for details (you'll also find this link on the QMC2 homepage under "DEV / HELP").
Posted By: abelenki

Re: Questions, suggestions or requests topic - 05/29/15 05:11 PM

oddi kindly provided me with fresh svn build of qmc2.

i just tested it, and everything works as it should.

so, thanks again!!
Posted By: John IV

Re: Questions, suggestions or requests topic - 06/05/15 04:54 AM

QMC2 .52
Looks like it doesn't care for me having multiple UNCs in my rom path. I've tried:
c:\games\roms;\\hello\roms;\\hello\software and it doesn't parse it out to the command line when launching games. It cuts off one of the slashes. Windows x64 system.

I imported the mame.ini just in case and the same thing happens. Launching games by themselves outside of QMC2 works fine.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/05/15 06:55 AM

Yeah, because it has to be "//" and not "\\"! And "c:\games\roms" has to be either "c:\\games\\roms" or "c:/games/roms".

Paths in Qt are POSIX-like ("\" has to be escaped with "\"), so this would work as well: "c:\\games\\roms;\\\\hello\\roms;\\\\hello\\software".
Posted By: NLS

Re: Questions, suggestions or requests topic - 06/23/15 07:50 PM

I have an issue with Mantis. Although I am a "reporter" it does not allow me to make feature requests. What could be wrong?

Anyway... A few feature requests:

First and foremost: Support multiple paths, almost everywhere.
Depending on the path type, allow QMC2 to use multiple paths, going from first to last find required data OR (user option) use ALL paths to find required data.

Example #1:
history.dat
paths:
../../EMULATORS/MAME/dat/history.dat;../../CLEAN/MAME/EXTRAS_COMMON/dat/history.dat
This will look in ../../EMULATORS/MAME/dat/ and IF NOT THERE, also try ../../EMULATORS/MAME/dat/

Example #2:
titles folder
paths:
../../EMULATORS/MAME/titles/;../../CLEAN/MAME/EXTRAS_COMMON/titles/
This will look both folders for EACH title snapshot and use whichever available (first takes precedence).

Example #3:
snaps folder
paths:
../../EMULATORS/MAME/snaps/;../../CLEAN/MAME/EXTRAS_COMMON/snaps/;../../CLEAN/MAME/EXTRAS_COMMON/personal_snaps/
This will look ALL folders and use ALL snapshots (snapshots tab to have "previous"/"next" - at least until custom tabs read from user set paths are supported).
There should be a button to change a path list from "in turn" mode to "all" mode.

Second: Really support a local .qmc folder (portable install). Check if there is .qmc folder in own directory. Some people do not want to use their home directory.

Third: Since I talked about folders. Auto-correct POSIX/Win path convention (and even mixed paths that sometimes result from copy-paste) depending on system QMC2 is used on.

Thanks.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/24/15 01:41 AM

Does QMC2 already have support for .mp4 video reproduction?
If so, maybe would be a good idea to support collection of videos directly from the frontend.
A nice example of this kind of collection is the new videosnaps from ANTOpisa:
http://www.progettosnaps.net/videosnaps/

I'm sure that, if technically possible, this kind of feature would improve the experience using QMC2 even more smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/24/15 05:01 AM

@NLS:

- multiple paths ARE allowed mostly everywhere where it makes sense (all emu "search paths" and image folders/files at least)

- you can specify -config_path on the command line to change the "local" config path, otherwise it's auto-determined for good reasons, and "portable installs" are fully supported

- you have to specify paths in a POSIX-compliant way ("auto-correction" would mean to guess what the user wants, and that's plain wrong)

@Shideravan:

QMC2 supports the codecs you've installed, so basically yes.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 06/24/15 12:16 PM

MAME itself does at least some auto-correction on paths. Just replace all instances of \ or / with the locally correct version. As long as you don't try and get any trickier that works in a lot of cases.
Posted By: NLS

Re: Questions, suggestions or requests topic - 06/24/15 12:31 PM

Thank you for your reply!

Originally Posted By qmc2
@NLS:

- multiple paths ARE allowed mostly everywhere where it makes sense (all emu "search paths" and image folders/files at least)


Well, for some reason they got chopped from my .ini (i.e. it deleted the extra paths and left the first). I have both the multi-path version (kept backup) and the "chopped" version if you wanna see the ini.

Originally Posted By qmc2
- you can specify -config_path on the command line to change the "local" config path, otherwise it's auto-determined for good reasons, and "portable installs" are fully supported


Oups! Good to know. Thanks.
Of course this means a shortcut with edited command line or a batch file (to specify the parameter).
Would be more transparent if it first checked local directory then home. But that's just my opinion of course.

Originally Posted By qmc2
- you have to specify paths in a POSIX-compliant way ("auto-correction" would mean to guess what the user wants, and that's plain wrong)


Auto-correction would mean just a bit more portability (even between different OSes... with different executables in same folder, esp. when using relative paths - which IIRC you also implemented some years ago after my request :P).
QMC2 "knows better" what kind of path style the OS that it currently runs wants to see (and MAME excutable on that OS).
Again just an opinion.

I mean if someone because of stupid mix of copy-paste and manual typing writes a path in .ini:

Code:
..\..\EMULATORS\MAME/snaps/


I think the system should be able to understand what he means and change the .ini properly for the current OS and MAME executable expected parameters.

Anyway. Thanks for listening. smile

(btw... can someone help with why I cannot submit feature requests in mantis? Is this on purpose?)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/24/15 03:23 PM

Originally Posted By NLS
(btw... can someone help with why I cannot submit feature requests in mantis? Is this on purpose?)

I'm that "someone" smile. Anyway, I see no reason why you shouldn't be able to report a feature request. Every "reporter" level account can do this.

Also, whatever path options you set up via ini's is completely up to you - QMC2 doesn't care for those or manage them, and it would thus not auto-correct settings you made in those ini's anyway wink.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/24/15 10:14 PM

Originally Posted By qmc2

@Shideravan:
QMC2 supports the codecs you've installed, so basically yes.

Great. I sent a feature request in Mantis smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/24/15 10:26 PM

I said it *IS* already supported (through the YouTube feature), it only depends on the codecs you've installed on your system (QMC2 has no control over that), so I'll close the feature request...
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/24/15 10:35 PM

No. I think that you didn't understand. I was requesting about LOCAL files (.avi or .mp4). Not Youtube videos (I know thats already supported, but it's a different thing).
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/24/15 10:46 PM

Also, I think that local files would be great if a "mini player" could be shown for these kind of files in templates.
For exemple rather than a "preview" image, there could be a macro for exhibit the small video in the templates.
That would work very well in QMC2-Arcade, giving an nice effect similar to these in HyperSpin's, for example (but obviously better because it's QMC2).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/25/15 04:57 AM

Yeah, I meant "local" movie files as well. They are supported by the YouTube feature.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/25/15 05:27 AM

Since I need to support YouTube data API v3 I will revise the module anyway. When I do, I'll try to also add support for "local movie folders" to automatically choose a video based on the current system's name (additional to "manually attached" videos). I think that's what you actually want.

Also, when you request one feature at a time (and not 3-4 features in one request) the chances are better that I'll accept it smile.

BTW, I've reopened the request.
Posted By: NLS

Re: Questions, suggestions or requests topic - 06/25/15 11:02 AM

Originally Posted By qmc2
Originally Posted By NLS
(btw... can someone help with why I cannot submit feature requests in mantis? Is this on purpose?)

I'm that "someone" smile. Anyway, I see no reason why you shouldn't be able to report a feature request. Every "reporter" level account can do this.

Also, whatever path options you set up via ini's is completely up to you - QMC2 doesn't care for those or manage them, and it would thus not auto-correct settings you made in those ini's anyway wink.


This is what I get when I submit my feature request (and I am logged in Mantis):

Code:
Forbidden

You don't have permission to access /bug_report.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


About the paths I set in .ini.
I can definitely see the paths stripped (after and including first ";" path separator) from .ini file, after running QMC2.
I asure you. smile I mean I can make a video if you want.
What else can I say. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/25/15 11:19 AM

Would it be okay if I "hijack" your account temporarily to test? I'll reset its password afterwards so you would be informed and could set your real password again. I cannot reproduce this with a test-user at the same (reporter) level...

EDIT: oh, and did you try different browsers?

Regarding ini's (external files): I repeat, QMC2 ignores them. But regarding emulator configuration in general I recommend reading this FAQ wink.
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/27/15 11:51 AM

Hi Rene, please add support arcade video - talking for new features from AntonPisa:
http://www.progettosnaps.net/videosnaps/

tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/27/15 07:57 PM

http://tracker.batcom-it.net/view.php?id=110
Posted By: rra1

Re: Questions, suggestions or requests topic - 06/27/15 11:11 PM

I'm having trouble with QMC2 Arcade since the last release. None of the games show up in the launcher. I ran QMC2 MAME first to ensure that the settings are correct. I initially had a problem with a missing mame.rsc file, but I ran "Check ROMs" and it added it in the qmc2 folder. Now I still appear to have 2 problems.

1. It says it can't open machine list cache.
2. It has several QTWarningMsg errors when loading either Darkone or ToxicWaste.

Console errors are below. No problems up until these errors. Any suggestions?

19:06:33.083: Loading machine list from 'E:\emulator\qmc2'
19:06:33.254: FATAL: Can't open machine list cache file 'E:\emulator\qmc2', please check permissions
19:06:33.254: Done (loading machine list from 'E:\emulator\qmc2') - 0 non-device sets loaded
19:06:33.270: Starting QML viewer using theme 'ToxicWaste'
19:06:34.937: QtWarningMsg: qrc:/qml/ToxicWaste/1.1/ToxicWaste.js:203: TypeError: Result of expression 'machineListModel[machineListView.currentIndex]' [undefined] is not an object.
19:06:34.937: QtWarningMsg: qrc:/qml/ToxicWaste/1.1/ToxicWaste.qml:425: TypeError: Result of expression 'machineListModel[machineListView.currentIndex]' [undefined] is not an object.
19:06:34.937: QtWarningMsg: qrc:/qml/ToxicWaste/1.1/ToxicWaste.qml:404: TypeError: Result of expression 'machineListModel[machineListView.currentIndex]' [undefined] is not an object.
19:06:34.937: QtWarningMsg: qrc:/qml/ToxicWaste/1.1/ToxicWaste.js:197: TypeError: Result of expression 'machineListModel[machineListView.currentIndex]' [undefined] is not an object.
19:06:34.937: QtWarningMsg: qrc:/qml/ToxicWaste/1.1/ToxicWaste.js:74: TypeError: Result of expression 'gameObject' [undefined] is not an object.
19:06:34.953: QtWarningMsg: qrc:/qml/ToxicWaste/1.1/ToxicWaste.js:197: TypeError: Result of expression 'machineListModel[machineListView.currentIndex]' [undefined] is not an object.
19:06:34.984: ToxicWaste: Starting initialization
19:06:34.986: Loading global and theme-specific settings
19:06:34.988: ToxicWaste: Initialization done
19:06:35.066: Activating windowed display
19:06:35.081: QtWarningMsg: ShaderEffectItem::paint - OpenGL not available
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/28/15 05:54 AM

Please post your qmc2.ini (that is, upload it somewhere and post a link to it). You somehow managed to specify a folder as a file which obviously doesn't work...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/28/15 08:46 AM

Never mind, I just tested it myself and found out that QMC2 Arcade on Windows really has some issues right now... sorry smile! Will try to fix that soon.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/28/15 09:15 AM

It should be fixed in SVN r6774 (= works for me now). I also fixed the DAT-info DB's import checking on Windows which I missed in QMC2 Arcade after fixing it for the main GUI wink. I'll try to create updated / intermediate builds later today... thanks for reporting it!
Posted By: rra1

Re: Questions, suggestions or requests topic - 06/28/15 12:40 PM

Thanks so much! That fixed the QMC2 Arcade loading issues!
Posted By: MacBox360

Re: Questions, suggestions or requests topic - 06/28/15 07:56 PM

Hello,
I have a request for a feature I would like to be added in next releases of QMC2. Now that MESS is part of the MAME build I see it is possibile to load other disk or cartridge images for the various systems/consoles than the ones listed in the respective XML files. This can be done in the "Devices / File Chooser" submenus but the file requester has one severe limitation: it can't go at a level upper than "/" so if I have my disk images on a separate volume I can't reach them because I can't select them as source. Am I missing something or it is at present really impossibile go over the "/" level?
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 06/28/15 08:13 PM

Volumes on OS X are all inside /Volumes/. The Mac GUI obfuscates that fact a little; when you back out all the way you're actually seeing /Volumes/.
Posted By: MacBox360

Re: Questions, suggestions or requests topic - 06/28/15 08:52 PM

I agree, the problem is that QMC2 does not allow "Volumes" to be displayed in the file chooser. I think it would be nice to have there (when invoked) a standard floating OSX file requester where at least the not hidden volumes are clearly listed.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 06/28/15 09:01 PM

Ahh, ok. Yeah, that's a problem smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/29/15 05:20 AM

You mean that even if a volume is mounted below /Volumes it is not shown? I wouldn't think so, but I may be wrong... I'm not on Mac OS X so I can't test (or even fix it), unfortunately.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/29/15 06:20 AM

According to this Qt bug it should be possibe to access "volumes" when hidden objects are included in the model's filter. So if someone on Mac OS X could please test if this patch would fix it that would be greatly appreciated:

Code:
rene@thunder:~/src/qmc2> svn diff
Index: deviceconfigurator.cpp
===================================================================
--- deviceconfigurator.cpp      (revision 6766)
+++ deviceconfigurator.cpp      (working copy)
@@ -2151,7 +2151,7 @@
 
        treeViewDirChooser->setUpdatesEnabled(false);
        dirModel = new DirectoryModel(this);
-       dirModel->setFilter(QDir::Dirs | QDir::NoDotAndDotDot | QDir::AllDirs | QDir::Drives | QDir::CaseSensitive);
+       dirModel->setFilter(QDir::Dirs | QDir::NoDotAndDotDot | QDir::AllDirs | QDir::Drives | QDir::CaseSensitive | QDir::Hidden);
 #if defined(QMC2_OS_WIN)
        dirModel->setRootPath(dirModel->myComputer().toString());
 #else
Index: filesystemmodel.h
===================================================================
--- filesystemmodel.h   (revision 6766)
+++ filesystemmodel.h   (working copy)
@@ -149,7 +149,10 @@
                                                }
                                        }
 #else
-                                       QDirIterator dirIterator(dirPath, nameFilters, includeFolders ? QDir::Files | QDir::Dirs | QDir::NoDot : QDir::Files);
+                                       QDir::Filters filters = QDir::Files | QDir::Hidden;
+                                       if ( includeFolders )
+                                               filters =  QDir::Files | QDir::Dirs | QDir::NoDot | QDir::Hidden;
+                                       QDirIterator dirIterator(dirPath, nameFilters, filters);
                                        while ( !stopScanning && !quitFlag && dirIterator.hasNext() ) {
                                                dirIterator.next();
                                                dirEntries << dirIterator.fileName();

EDIT: That's in SVN r6777 now since it may be useful to include hidden files and folders on Linux/UNIX as well (for other reasons).
Posted By: MacBox360

Re: Questions, suggestions or requests topic - 06/29/15 06:54 AM

Hello, I have attached a snapshot to better show what I mean: with the situation shown in the picture I can't go anywhere than the System volume.
Snapshot
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/29/15 06:58 AM

Yeah, thanks for the screen shot, but "/Volumes" is part of "/" (the VFS root), you just don't see it or its contained volumes (= sub-folders of /Volumes).
Posted By: Vas Crabb

Re: Questions, suggestions or requests topic - 06/29/15 10:13 AM

And people wonder why OSX users hate on Qt. Little things like this never work right.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/29/15 07:33 PM

Thanks for the videosnaps support!
As soon I have the opportunity, I want test this new feature (a lot) smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 07/08/15 10:56 PM

It's possible to build QMC2 using MAME new buildtools?
(I used to build QMC2 using MinGW with old MAME tools, but that's not available anymore in official website, as it's not more supported)
http://mamedev.org/tools/
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/09/15 04:38 AM

I compiled QMC2 with new mame build tools, where is your ptoblem ?
I think u need only fixed new environments for buildtools.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/09/15 06:35 AM

Yes, QMC2 builds out-of-the-box with the current tools.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 07/12/15 01:49 PM

Well, I'm not familiar with the new MAME tools.
I'll describe the step-by-step way which I used to compile QMC2 and why it's doesn't work anymore...
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 07/12/15 03:05 PM

This is how I used to build QMC2 with old MAME tools, described in a little guide which I made: http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=94168#Post94168

How to compile QMC2 in Windows (from the beginning... Step-by-step... the easiest way)

You'll need: a computer, internet and desire to build QMC2 for yourself!
1- Go to: http://mamedev.org/tools/
*if you're using a x86 Windows platform, download the first binary.
*and if your Windows is a x64 platform, download the second.
NOTE: Well, now we have different tools there wink

2- Extract the content of the folder, and put it in C:/ (or wathever is the name of your root directory).
Now execute the setup-Python.bat and setup-Qt.bat from this directory.


You have the compiling environment ready for compiling QMC2!
Now let's get the code.

NOTE: These .bat files doesn't exist anymore with the new MAME tools

3- Download most recent version of tortoise SVN and install in your computer.
http://tortoisesvn.net/downloads.html

4- Create a folder anywhere, and right click with the mouse. Choose "SVN Checkout".

Write https://svn.code.sf.net/p/qmc2/code/trunk and click OK. tortoise SVN will get the most recent code from SVN for you. After that, for the next time that you'll compile, you can skip steps 1-4 and just choose "SVN Update" to get the most recent version of the code.
Recent code in the directory, lets compile QMC2.
NOTE: Ok, Tortoise still usable for get the source code smile

5- Write the follow text in notepad, and save as <anything you want>.bat (to build a windows x64 version of QMC2)

set MINGW_HOME=c:\mingw64-w64\bin\
set QT_PLUGIN_PATH=c:\mingw64-w64\Qt\plugins\
set QT_BIN_PATH=c:\mingw64-w64\Qt\Bin\
set x86_64-w64-mingw32=c:\mingw64-w64\x86_64-w64-mingw32\bin\
set TEMP=c:\temp\
set TMP=c:\temp\
set PATH=%MINGW_HOME%;%QT_PLUGIN_PATH%;%QT_BIN_PATH%;%x86_64-w64-mingw32%;%TEMP%;%TMP%
set PROMPT=QMC2_Env-%PROMPT%
echo QMC2 Enviroment Ready!
echo To Build QMC2-MAME type:
echo make
make clean MINGW=1
make distclean
make EMULATOR=mame WIP=1 MINGW=1
PAUSE

NOTE: This part, is the most problematic, as these directories doesn't exist anymore in the new MAME build tools

6-Execute the .bat file.
If no errors happens, it will generate QMC2 for your a x64 Windows.

7- Create a new folder.
Name it, for example "QMC2 aplication".You'll need to put the following files in this place:

1. From qmc compile folder take "data" folder and copy in "QMC2 aplication" folder.
2. Copy from your mingw64-w64\Qt\bin\, only .dlls to "QMC2 aplication" folder.
3. Copy from your \mingw64-w64\Qt\plugins\ folder -"sqldrivers" to "QMC2 aplication".
4. Copy from same folder "phonon_backend" to "QMC2 aplication".
5. Copy from your \mingw64-w64\x86_64-w64-mingw32\bin\SDL.dll to "QMC2 aplication".
*for windows x86, "mingw64-w64" will be "mingw64-w32".
You can keep this folder for future compilations. Look to the left image to see how it will look like.

8- From the folder from the code, find "release" directory and grab the QMC2 variant that you compiled.
You can put in the folder together with the files in the "QMC2 aplication".

9-Execute QMC2 from there and PROFIT!
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/19/15 12:15 PM

Hello Rene, whastup with repo ?
:
Unable to connect to a repository at URL
'http://svn.code.sf.net/p/qmc2/code/trunk'
Error running context: No connection could be made because the target machine
actively refused it.

tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/19/15 01:01 PM

Something wrong with sourceforge.net, apparently... they are currently restoring services. Details are here.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 07/19/15 01:55 PM

Rene, I want to work with templates. But I don't have a recent version of QMC2 nor I can build by myself anymore. Could you provide a new intermediate build? Thanks
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/19/15 02:13 PM

No, you can do that yourself. Here's the latest source: http://qmc2.arcadehits.net/tmp/qmc2-0.54-20150719160826.tar.bz2
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 07/19/15 02:15 PM

No I can't.
I send the problems which I have compiling, but nobody cares.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 07/19/15 02:17 PM

I HATE to enter in this kind of discussion. You don't even notice that's compile QMC2 is ever a hell for me, don't you?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/19/15 02:19 PM

And instead you expect me to do it for you? Learn how to do it, ask clear questions (short ones) if you have issues, or wait until the next binary appears.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/19/15 02:34 PM

Regarding "building QMC2 with the current build tools"... when MAME builds with them (does it?) then you only have to open "cmder.exe", cd to the QMC2 source folder and run "make".

In order to execute the resulting binary from the build directory you have to set an env. variable, then run "release\qmc2-mame.exe":

Code:
set QT_PLUGIN_PATH=c:\buildtools\vendor\qt\mingw64\Qt\plugins

That's basically the same for QMC2 Arcade ("make arcade"), but you also need to set QML_IMPORT_PATH before running "arcade\release\qmc2-arcade.exe":

Code:
set QML_IMPORT_PATH=c:\buildtools\vendor\qt\mingw64\Qt\imports

That's all there is to it.
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/19/15 04:55 PM

@shideravan, what problem u have with compiling ?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/24/15 11:04 AM

I'm currently building Qt 4.8.7 for my Win32 VC++ builds... when all goes well I'll create new Win32 binaries at the weekend.

Also, the SVN repo is still offline... sf.net is mostly restored though, only SCM services (git, svn, ...) are still being worked on.

Here's the latest source: http://qmc2.arcadehits.net/tmp/qmc2-0.54-20150724130136.tar.bz2
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/25/15 12:18 PM

Here's another version where I've replaced minizip 1.1 with the code from https://github.com/nmoinvaz/minizip (this fixes issues with very large ZIP archives above 5-6 GB containing many, many files):
http://qmc2.arcadehits.net/tmp/qmc2-0.54-20150725135723.tar.bz2
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/26/15 12:46 PM

Originally Posted By oddi
@shideravan, what problem u have with compiling ?

I just found out that there was a conflict with the environment of the latest MAME dev-tools (= after running "bin\update.bat") so that the MinGW auto-detection didn't work correctly because the option MINGW is set now (by an env. variable with the same name but a different meaning). Maybe this is/was Shideravan's problem? To solve this I renamed the (former) MINGW make option to FORCE_MINGW (SVN r6832).
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/26/15 01:06 PM

May u right Rene, i used my batch file with manually confg environments and dont know where is problem with "update.bat".
Now wait shidearavan confirm problem fixed or not. smile

Ps. Rene , tiny tiny problem , QMc2 dont detect win10 smile
Help-->about--> System information smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/26/15 01:39 PM

Well, it *detects* Windows 10, but only when Qt 4.8.7 or Qt 5.5.0 (or higher) are in use. Qt 4.8.6 doesn't provide Windows 10 (or Mac OS X 10.10) detection smile.

Also, I've revised the MinGW build instructions to better reflect usage with latest tools.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/28/15 01:27 PM

BTW, I'm meanwhile down to 3.1 seconds for loading everything smile :

Code:
15:24:45.773: M.A.M.E. Catalog / Launcher II v0.54, SVN r6844 (Qt 4.8.5, SDLMAME, us)
15:24:45.774: Phonon features enabled - using Phonon v4.7.1
15:24:45.774: SDL joystick support enabled - using SDL v1.2.15
15:24:45.774: processing global emulator configuration
15:24:45.774: creating template configuration map
15:24:45.774: template info: emulator = SDLMAME, version = 0.163, format = 0.2.8
15:24:45.938: image cache size set to 64 MB
15:24:45.940: ERROR: couldn't open SDL joystick #0
15:24:45.965: shortcut map is clean
15:24:45.965: joystick map is clean
15:24:45.994: SDLMAME output notifier FIFO created
15:24:46.089: determining emulator version and supported sets
15:24:46.300: done (determining emulator version and supported sets, elapsed time = 00:00.208)
15:24:46.301: emulator info: type = MAME, version = 0.163
15:24:46.301: 32349 supported (non-device) sets
15:24:46.301: loading catver.ini
15:24:46.438: done (loading catver.ini, elapsed time = 00:00.137)
15:24:46.438: 31001 category / 31001 version records loaded
15:24:46.438: loading category.ini
15:24:46.442: done (loading category.ini, elapsed time = 00:00.004)
15:24:46.443: 1095 category records loaded
15:24:46.467: loading ROM state from cache
15:24:46.532: done (loading ROM state from cache, elapsed time = 00:00.065)
15:24:46.533: 35254 cached ROM states loaded
15:24:46.533: processing machine list
15:24:46.535: loading machine data from machine list cache
15:24:46.540: pre-caching icons from ZIP archive
15:24:47.266: done (pre-caching icons from ZIP archive, elapsed time = 00:00.726)
15:24:47.267: 11355 icons loaded
15:24:48.734: done (loading machine data from machine list cache, elapsed time = 00:02.198)
15:24:48.734: sorting machine list by rank in ascending order
15:24:48.735: filling up rank cache from user data database '/home/rene/.qmc2/mame-user-data.db'
15:24:48.739: done (filling up rank cache from user data database '/home/rene/.qmc2/mame-user-data.db')
15:24:48.859: restoring machine selection
15:24:48.869: done (processing machine list, elapsed time = 00:02.336)
15:24:48.870: 32279 machines, 70 BIOS sets and 2905 devices loaded
15:24:48.870: ROM state info: L:35254 C:31398 M:3856 I:0 N:0 U:0
15:24:48.871: loading favorites
15:24:48.873: done (loading favorites)
15:24:48.873: loading play history
15:24:48.873: done (loading play history)
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/28/15 04:54 PM

my "full loading" it's slow - only 4,2 secs.
Reneeeeeeeeee, please give me speed under win10 :PPP
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/28/15 05:50 PM

@oddi: Don't know about your details, but how are you storing icons? A ZIP archive without compression ("zip -0 icons.zip *.ico") is definitely as fast as it can get (0.7 s for over 11.000 icons in my example)... and if possible, put QMC2's <config_path> (".qmc2" folder) on an SSD.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/28/15 06:01 PM

And/or... install Linux wink.
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/29/15 07:01 PM

Hello Rene, please help with new QT5.5 ( Micko updated QT 5.5 x64 )
see errors:
Code:
make.exe: Entering directory 'g:/compile_mame/qmc2'
"Cleaning up build of QMC2 v0.54"
make.exe[1]: Entering directory 'g:/compile_mame/qmc2'
make.exe[1]: *** No rule to make target '../buildtools/vendor/qt/mingw64/Qt/mkspecs/win32-g++-4.6/qmake.conf', needed by 'Makefile.qmake'.  Stop.
make.exe[1]: Leaving directory 'g:/compile_mame/qmc2'
makefile:1185: recipe for target 'clean' failed
make.exe: *** [clean] Error 2
make.exe: Leaving directory 'g:/compile_mame/qmc2'
make.exe: Entering directory 'g:/compile_mame/qmc2'
"Updating build of QMC2 v0.54"
make.exe[1]: Entering directory 'g:/compile_mame/qmc2'
make.exe[1]: *** No rule to make target '../buildtools/vendor/qt/mingw64/Qt/mkspecs/win32-g++-4.6/qmake.conf', needed by 'Makefile.qmake'.  Stop.
make.exe[1]: Leaving directory 'g:/compile_mame/qmc2'
makefile:1064: recipe for target 'qmc2-bin' failed
make.exe: *** [qmc2-bin] Error 2
make.exe: Leaving directory 'g:/compile_mame/qmc2'
Finish at: 21:58:24,01


tnx
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/29/15 07:03 PM

Micko is crazy... I'm not supporting Qt 5.x.x on Windows yet! Please keep Qt 4.8 (best 4.8.7) as well!!!
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/29/15 07:12 PM

ohh, give me 4.8.7 pack , tnx
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/29/15 07:16 PM

No, Micko should not replace Qt 4.8 with Qt 5.5 but provide both.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/29/15 07:24 PM

Also, you MIGHT be able to "fix" this by providing the correct MKSPEC on the make command line ("make MKSPEC=win32-g++" could probably do the trick, but I haven't tried).
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/29/15 07:32 PM

make MKSPEC=win32-g++ <-- this command with parameter or
make MKSPEC=win32-g++-4.6

i try also revert to 4.8.6 but not luck
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/29/15 07:34 PM

"MKSPEC=win32-g++-4.6" is the current default, so NOT this one... overwrite it with "MKSPEC=win32-g++".
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/29/15 07:47 PM

I changed the default to "MKSPEC=win32-g++" in SVN... the old default was questionable anyway smile.
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/30/15 03:22 AM

again errors with qt5:

Code:
Cannot read E:/buildtools/src/qt-everywhere-opensource-src-5.5.0/qtbase/mkspecs/modules-inst/qt_lib_xmlpatterns.pri: The system cannot find the path specified.
Cannot read E:/buildtools/src/qt-everywhere-opensource-src-5.5.0/qtbase/mkspecs/modules-inst/qt_lib_xmlpatterns_private.pri: The system cannot find the path specified.
Project ERROR: Unknown module(s) in QT: xmlpatterns svg multimedia multimediawidgets phonon webkit webkitwidgets
makefile:1093: recipe for target 'Makefile.qmake' failed
make.exe: *** [Makefile.qmake] Error 3


dont understand why search qt5.5 in "src" folder
tnx:)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/30/15 06:38 AM

Well, as I said, QMC2 doesn't support Qt 5 on Windows yet. The only platform where it's know to work (but still "not supported" officially by myself) is Linux, and even there you lose a few features with Qt 5.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/30/15 09:44 AM

Also, you should be able to re-checkout the build-tools to a certain commit so that you're back to Qt 4.8.6 at least... the revision I currently use has this SHA-1: ba28c4ca145d9451c9a8916a8fdc6def91a6a44e. However, you MAY lose support for building MAME (and that's bad). But when you're not short on disk space, may be you want to keep both versions in parallel and use the latest for MAME, the older one for QMC2.
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/30/15 02:26 PM

tnx Rene, i update buildtools to the last commit and take qt4.8.6 from my old buildtools backup (only for qmc2 compiling):)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/30/15 02:43 PM

Yeah, I will certainly move to Qt 5 completely at some point, but I'm not there yet...
Posted By: oddi

Re: Questions, suggestions or requests topic - 07/30/15 03:41 PM

Hmmm , that is new , when start qmc2 he need this 2 files for run:

libgcc_s_seh-1.dll
libstdc++-6.dll

i take from mingw folder but i'm wonder
Posted By: qmc2

Re: Questions, suggestions or requests topic - 07/30/15 03:53 PM

Well, that's because of the changed MKSPEC default... try latest where I changed it back to "win32-g++-4.6" smile.
Posted By: RColtrane

Re: Questions, suggestions or requests topic - 08/05/15 04:18 PM

I would like to try the GLSL Lottes_CRT shader, but I need to know how to set it up inside QMC2. I see that there's a switch to turn GLSL on (gl_glsl) but now I need to pick up the Lottes_CRT_VERT shader to use. In which of those fields should I insert this name in order to have it applied to the game?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/06/15 10:43 AM

Not sure... I haven't used GLSL myself (yet).
Posted By: RColtrane

Re: Questions, suggestions or requests topic - 08/06/15 11:45 AM

I guess the GLSL shaders are disabled by default in the official mame build, maybe that's why it's not working. I'll try to compile it myself and try again, then I'll post the result here. smile

Also, I would like to make a suggestion to the Pictures area/tabs: the tabs row can get crowded very easily with all those tabs enabled, and you end up with a very little arrow control to scroll through the tabs, which is cool but not that good. Some tabs will always be offscreen. My suggestion here would be to have an IMAGES tab, where you would have some sort of table containing all images for the selected game/system. And when you click on one of them, it would pop up a new, larger window to display the selected image, and this new screen would have two arrows, one at each side of the image, so you can navigate through all the images in this new window. Then, when you get tired of viewing such images, you close the window and it would return to the main screen. This would benefit the tabs row a lot and you would have an image tab displaying all available artworks at the same time. And if an user is too lazy to keep scrolling through the images tabs/window, he will have all available artworks right there in one screen.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/06/15 11:50 AM

Take a look at the system notes detail in conjunction with one of the HTML / JS "notes-templates" that come with QMC2... that's probably what you desire.

Also, AFAICT GLSL support is compiled in as per default, on Linux at least.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 08/06/15 12:08 PM

GLSL is enabled in all builds; you must use -video opengl and -glsl to enable them in addition to pointing to the shader files.
Posted By: abelenki

Re: Questions, suggestions or requests topic - 08/08/15 07:41 AM

i'm sorry if it is a stupid question, or was answered before, but:

is it possible for QMC2 (Windows build) to store its settings inside local QMC2 folder instead of Users\***\.qmc2?
Posted By: oddi

Re: Questions, suggestions or requests topic - 08/08/15 08:21 AM

abelenki:

create shortcut with parameters:

qmc2-mame.exe -config_path "YOUR_PATH" ( without ")
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/08/15 08:51 AM

Exactly, oddi. However, when the <config_path> contains white-space you have to enclose it in quotation marks.

Also, see here for details on the available command line arguments.
Posted By: abelenki

Re: Questions, suggestions or requests topic - 08/08/15 09:05 AM

thanks, oddi and qmc2!!

works like a charm.

it's good, this option also works with qchdman.exe.
Posted By: abelenki

Re: Questions, suggestions or requests topic - 08/08/15 12:17 PM

interesting observation:

i put QMC2 settings in config folder inside QMC2 folder.

if i start QMC2 with this command (without full path):

qmc2-mame.exe -config_path config

everything works fine, but it also creates extra empty config folder in C: root.

if i start QMC2 with this command (full path):

qmc2-mame.exe -config_path D:\emulation\ExtraStuff\Frontends\QMC2MAME\config

everything works fine, no extra folders are created.

so, i stick with second option (full path). wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/08/15 12:42 PM

If you want to use the first option (relative <config_path>), you have to make sure that the current working directory is D:\emulation\ExtraStuff\Frontends\QMC2MAME when you launch the front-end. So an absolute path is preferable here, yes.
Posted By: abelenki

Re: Questions, suggestions or requests topic - 08/08/15 12:49 PM

Originally Posted By qmc2
If you want to use the first option (relative <config_path>), you have to make sure that the current working directory is D:\emulation\ExtraStuff\Frontends\QMC2MAME when you launch the front-end.

well, this folder is defined as start folder in QMC2 shortcut:

Click to reveal...

but it still creates empty config folder in C:\.

anyway, that doesn't matter much, because i use second option. wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/08/15 01:06 PM

Hmmm, looks like it handles it as an absolute path then... not sure at the moment. Will check and try to honor relative paths as well... but not today - it's too warm here smile.
Posted By: oddi

Re: Questions, suggestions or requests topic - 08/08/15 02:27 PM

Rene, hlsl settings stop worked ! , glsl it's ok
try import my old hlsl settings and wonder why qmc2 report this :

Code:
17:26:04.568: importing machine-specific MAME configuration from G:/MAME/HLSL_settings/HLSL.txt
17:26:04.664: WARNING: unknown option 'pincushion' at line 15 (G:/MAME/HLSL_settings/HLSL.txt) ignored
17:26:04.668: done (importing machine-specific MAME configuration from G:/MAME/HLSL_settings/HLSL.txt, elapsed time = 00:


and hlsl not work, i try with other HLSL settings floating in internet - not luck.
If remember right with previous qmc2 versions all ok.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/08/15 03:20 PM

That looks good, actually (unless the template check says something else meanwhile). There's been an update to the HLSL settings in MAME 0.163 / QMC2 0.53, and AFAICT 'pincushion' was removed in this update.
Posted By: oddi

Re: Questions, suggestions or requests topic - 08/08/15 03:48 PM

btw - i try with default mame hlsl - not luck again smile
[edit]
hmm, now try with command line too , hlsl not work, maybe problem is other , sorry Rene.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/09/15 04:01 PM

Originally Posted By qmc2
Hmmm, looks like it handles it as an absolute path then... not sure at the moment. Will check and try to honor relative paths as well... but not today - it's too warm here smile.

Still warm here wink... anyway, I've just changed this so -config_path also supports relative paths now (SVN r6871). I hope it also works on Windows (should, but I haven't tested it yet).
Posted By: RColtrane

Re: Questions, suggestions or requests topic - 08/23/15 05:03 PM

Feature request: could you please include a "Side Art" tab in the Picture area too? This is the only type of artwork that doesn't have its own tab and there are tons of cool cabinet side arts that could be displayed into qmc2 as well. The folder could be named 'sa' into the data folder.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/23/15 05:38 PM

I've already started working on "additional artwork classes" that you could freely define yourself (#49). I'm basically open to add more "static" artwork classes when useful, but this approach is more flexible (and would include support for "side art" as well). I just need to complete this work smile... no promise, but I'll try to do this in the next version.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 08/31/15 04:02 AM

I'm having a problem using a new feature (support for video snaps with system notes template) in Windows 8.1/10.
Videosnaps in a separate tab is working very fine for me (see image), but inside defaut template it's not.
I tried with my desktop and with my girlfriend's laptop too, but the same problem happens.
I haven't reported in bug tracker yet, because I don't know if this is a bug or some kind of configuration error (that's why I'm posting here first, and any help is welcome).
The test was done with official builds for 0.54 and 0.55 and using default example template (of course, I haven't implemented videosnaps support for alternative templates yet). If this information is relevant, I'm using K-Lite Codec Pack 11.3.3 for MP4 support.
Thanks smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/31/15 06:45 AM

This looks like a Windows-specific limitation of QtWebKit in Qt 4.x.x.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/31/15 08:22 AM

I found a possible - but complicated - work around which I'm currently trying... if you're interested in the technical details see this archived blog post. I'll let you know if that works (I have my doubts), but even if it works I would provide the solution in the form of "alternative Qt DLLs", not as a replacement of the official ones smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/31/15 11:08 AM

While waiting for Qt to build... note that there's a better API for getting the video URLs than the macro used in the example template!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/31/15 11:36 AM

Originally Posted By qmc2
I found a possible - but complicated - work around which I'm currently trying... if you're interested in the technical details see this archived blog post. I'll let you know if that works (I have my doubts), but even if it works I would provide the solution in the form of "alternative Qt DLLs", not as a replacement of the official ones smile.

Wow, I'm surprised, it actually works wink!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/31/15 11:46 AM

@Shideravan: Please download http://qmc2.arcadehits.net/Win32/qmc2-alt-qtwebkit-x64.zip and unzip the two contained DLLs into the QMC2 installation folder, replacing the existing QtWebKit4.dll (keep a backup just in case).

It works for me in that it shows the video canvas, but I don't have working codecs installed in that VM so it wouldn't play the video snaps...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/31/15 02:17 PM

I've updated the above file to also include a corresponding media-service plugin for DirectShow. At least this avoids the "missing service" warning, but I still can't test it.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/31/15 02:46 PM

I just tried this page with the modified QtWebKit and QMC2's MiniWebBrowser, which basically works now: http://camendesign.com/code/video_for_everybody/test.html - but when I close the browser, QMC2 seems to hang somehow. Could be a local issue since my DirectX installation is corrupt, but I'm beginning to get my doubts again smile.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 08/31/15 02:59 PM

I'm testing here, with official build 0.55 and using the DLL pack that you provided.
Now the video canvas shows up for me too. But QMC2 immediately freezes if you press the "play" button.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/31/15 03:02 PM

Yeah, that's the same issue here... dunno if I can "fix" this.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 08/31/15 03:25 PM

Please re-download the file and try the updated DLLs! I've reverted some of the patches I had used, this appears to perform better now. Still no guarantee, though wink.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 09/01/15 04:34 AM

René, I tried the new DLLs which you provided. At first glance, with the original "default" template, it had the same problem.
However, I edited default template, just changing

Code:
			
   if ( "$VIDEO_SNAP_URL$" != "" )
      document.write("<td width=\"33%\" valign=\"center\" align=\"center\"><video " + dropShadow() + "width=\"100%\" loop controls poster=\"$GHOST_VIDEO$\" src=\"$VIDEO_SNAP_URL$\"></video></td>");


to something based in the new JS-code version which is in the wiki

Code:
    var vsUrls = qmc2NEO.videoSnapUrls("$ID$");
    if ( vsUrls.length > 0 ) 
    {
        document.write("<h4>" + tr("Video snaps") + "</h4>");
        document.write("<td width=\"1%\" valign=\"center\" align=\"center\"><video controls loop autoplay>");
        for (var i = 0; i < vsUrls.length; i++)
            document.write("<source src=\"" + vsUrls[i] + "\" />");
        document.write("</video>");
    }


and it worked smile
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 09/01/15 04:38 AM

Here a version of default template with the new JS-code version that I edited: http://www.mediafire.com/download/n47s1sxrwqxx1z5/default_template_working.zip
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 09/01/15 04:44 AM

Well, but I have to say that it's have some "instability". I noticed that QMC2 can hang ramdomily if you scroll between systems.
One way to avoid a lot of trouble is just don't using "controls" in video options. I'm now using only "autoplay".
I'm testing extensively to see some ways to avoid hangs to implement video snap support in the alternative templates in experimental basis.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 09/01/15 04:46 AM

Also, "loop" seems to not working too frown
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/01/15 07:54 AM

Originally Posted By Shideravan
One way to avoid a lot of trouble is just don't using "controls" in video options. I'm now using only "autoplay".

The only control that's causing an immediate hang on Linux as well is the full-screen toggle, so I've disabled it via CSS. The rest works fine here, though.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/01/15 10:30 AM

Originally Posted By Shideravan
Well, but I have to say that it's have some "instability". I noticed that QMC2 can hang ramdomily if you scroll between systems.

Stability issues are my major concern as well...
Posted By: oddi

Re: Questions, suggestions or requests topic - 09/05/15 05:08 PM

@Rene, with the last build r6908 slow load icons:

20:04:58.190: 7859 icons loaded
20:05:02.112: done (loading machine data from machine list cache, elapsed time = 00:04.651)

and full load for 6secs.
20:05:02.382: total start-up time: 00:06.104

with previous build i have total start-up time: 3,5-4 secs smile
i wanna speed smile
tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/05/15 05:29 PM

Yeah, something made things slower again... I'll have a look!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/05/15 05:55 PM

I meanwhile know what's causing it... I'm stressing the layout-system too much smile. Will be fixed soon.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/05/15 06:11 PM

SVN r6909 should be back to normal regarding loading performance!

BTW, if you want even more speed, try playing with the "machine list / responsiveness" parameter. Its default is 500 which means that the GUI is updated every 500 item insertions during reload. You can set that as high as 5000 or more if you like which will speed it up slightly (you can't use the GUI anyway during reload, so maybe that's an option). I win about 200ms (3.1 to 2.9 seconds total start-up time) going from 500 to 2000, greater values make no real difference here.
Posted By: oddi

Re: Questions, suggestions or requests topic - 09/05/15 06:57 PM

Many tnx Rene smile
I'm the champion:
r6910
21:57:02.047: total start-up time: 00:03.312
Posted By: Praxis

Re: Questions, suggestions or requests topic - 09/12/15 02:29 PM

Not sure if this is a bug or something I'm doing wrong.
Using Search on the list of machines doesn't seem to work. Instead of returning a filtered list of machines containing my search string (or even a unfiltered list of matches), QMC2 instead returns search results listing every single machine in MAME. This isn't very useful.
This is on on QMC2 0.55, Win7 x64.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/12/15 03:11 PM

That's the way the search function works, yes, it's not even meant to be a "filter" (other than showing the matches). It's useful for what it was made.

There will be a separate view that's a real filter, though (future).
Posted By: ScoobyDew

Re: Questions, suggestions or requests topic - 09/20/15 01:26 AM

I've switched to QMC2 from EasyMAME as a GUI front-end to MAME, and am mostly happy with its capabilities. However, I can't seem to figure out how to activate the 2X automatic scaling. I can drag the corner of the game screen and resize it manually each time I start it, but it would be nice to have it scaled up 2X automatically. (The default size is way too small.)

Is this possible? Thanks.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/20/15 07:03 AM

In which way is this QMC2 related? Anyway, I think what you mean is the emulator option "prescale" (set to 2), or disable "window" (= full screen) and/or enable "maximize".
Posted By: ScoobyDew

Re: Questions, suggestions or requests topic - 09/20/15 08:48 AM

Originally Posted By qmc2
In which way is this QMC2 related?

It's completely QMC2 related, as that's how I run MAME, and I'm unable to figure out how to configure QMC2 to run MAME like I want.

Originally Posted By qmc2

Anyway, I think what you mean is the emulator option "prescale" (set to 2), or disable "window" (= full screen) and/or enable "maximize".


The prescale option doesn't work - I set it to 2 with no effect. The game is not scaled. I figured i wasn't using it right, but if that's how you do it, I guess I need to file a bug report. Note that, if MAME64.exe is run from the command-line, the prescale option also doesn't work, but the screen is always scaled by 2X - it's twice the size as when the app is started through QMC2.

I've got the windowed option checked, and the maximized option unchecked under Emulator Tab/Video/window, as I want the game windowed and not maximized, and these options seem to work fine.

MAME 0.165, QMC 0.55 (SVN r6891)
Window 7 SP1 x64

Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 09/20/15 09:12 AM

-maximize is *exactly* the "2X" option you are looking for. Really.
Posted By: ScoobyDew

Re: Questions, suggestions or requests topic - 09/20/15 09:40 AM

OK Thanks.

It looks like the MAME project uses a confusing, non-standard definition of maximize and minimize. For every other app in the world, maximize means that the window containing the app is sized so that the window fills the screen, in at least one dimension if not both, and minimized means that the app is stuck on the task bar and the window contents aren't visible at all.

Apparently, the MAME developers for some reason use these terms to refer to unscaled an 2X scaled windows.

The prescale option still doesn't work, but I guess that needs to be filed against the MAME project and not QMC2.

Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 09/20/15 12:33 PM

1x and 2x windows are useful for the developers, given we normally have a debugger window or 5 open. Full-screen ones aren't, but can be easily accessed via your window manager's normal widgets.

The "prescale" option has absolutely nothing to do with the window size and should normally be set to 1 unless you like unnecessarily making your CPU slower; hopefully QMC2 (the app) doesn't have the same misunderstanding about it that QMC2 (the person) does :-)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/20/15 01:45 PM

OK, prescale was wrong smile. No, QMC2 (the app) has the "right understanding" about it, that is, it has "no idea what it means" (apparently just like the person wink ).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/20/15 02:02 PM

@ScoobyDew: We also have an FAQ about QMC2's way of configuring the emulator. It probably helps to get around other possible issues.
Posted By: ScoobyDew

Re: Questions, suggestions or requests topic - 09/29/15 05:31 AM

There a few games for which no "correct" romsets are available. There are available sets that run, but they're marked "mostly correct". This means that in order to display them, I have to enable both the green and olive drab buttons (or I can put those games in favorites, but I don't like doing that - then things would be in two places inatead of one, and favorites doesn't display as many details as the main view).

The problem with enabling the olive drab button is that it enables a bunch of game consoles in the list - a whole lot of them, like "Nintendo Entertainment System (PAL)".

So:
* Is there a way to suppress all of these game consoles when the "Mostly correct" button is active, so that I only see "mostly correct" roms that I've installed rather than also all of the game consoles?
* Alternatively, is there a way to manually mark a rom as "correct" - i.e. override the automatic status of the rom, so I force it to appear in the green list?

Thanks.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/29/15 05:49 AM

The ROM status has nothing to do with the "machine type", and no, there's no indication in MAME which type of system a machine is. So, consequently, QMC2 can't do that and it also doesn't try to do it on its own.

The ROM status is the result of "mame -verifyroms". It's "read-only".
Posted By: ScoobyDew

Re: Questions, suggestions or requests topic - 09/29/15 06:50 AM

OK. I see that QMC2 is open source. I guess I could make tweaks myself to allow the rom status to be overridden on a per rom basis or to allow roms to be hidden for certain machine types (if the console emulators are tagged in some way that I can read).

I thought I'd ask first in case that capability was already in QMC2, but it looks like not.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/29/15 06:56 AM

Well, as I said, there is *no* indication of the machine type in MAME! But yeah, QMC2 is open source. Feel free to make your changes, and if you think you've created something useful, please provide a patch smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/29/15 07:26 AM

Also, regarding ROM states... please see this section in our wiki for details on what they mean. "Mostly correct" is the combined state for sets that are known to contain "bad dumps" and/or to be "missing dumps" (aka as "best available"). So it's no wonder that most games work even in this state; that's expected.

If unsure, I suggest using the ROMAlyzer to see what's "wrong" with a set. Dumps that are known-to-be-missing or known-to-be-bad are indicated with an "under construction" sign smile.
Posted By: remax

Re: Questions, suggestions or requests topic - 10/06/15 07:41 PM

http://tracker.batcom-it.net/view.php?id=119

By the way, launching QMC2 Arcade from QMC2 Mame shows an empty list, whereas it's ok when launched directly.

A mistake on my side ?

----------------
Video are not auto launched under QMC2 arcade although the "auto play" option is set to "60s"... not implemented ?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/07/15 05:57 AM

Originally Posted By remax
http://tracker.batcom-it.net/view.php?id=119

By the way, launching QMC2 Arcade from QMC2 Mame shows an empty list, whereas it's ok when launched directly.

A mistake on my side ?

Most likely. Works perfectly here, and I'm not sure what you did. What's set as "configuration path" in the Arcade Setup dialog? Does it match QMC2's configuration path?

The actual file that it's trying to load is logged to the "console". You should see an obvious difference when launched through QMC2 or directly when your setup is wrong (for whatever reason). An empty list most likely means that it simply can't find the machine list cache file (or its filtered pendant).

I also can't reproduce your reported issue.

Originally Posted By remax
Video are not auto launched under QMC2 arcade although the "auto play" option is set to "60s"... not implemented ?

Auto-play works fine here, also tested successfully on Windows, so I have no idea what could be causing this for you. Are you using the official VC++ builds (*)? And which theme are you using?

(*) Note that MinGW builds will not support QML video at all, unless you build/deploy qt-mobility for it. Trying to start QMC2 Arcade with "-video on" in this case would already fail loading the required QML imports, though.
Posted By: remax

Re: Questions, suggestions or requests topic - 10/07/15 09:37 AM

Originally Posted By qmc2
Most likely. Works perfectly here, and I'm not sure what you did. What's set as "configuration path" in the Arcade Setup dialog? Does it match QMC2's configuration path?

The actual file that it's trying to load is logged to the "console". You should see an obvious difference when launched through QMC2 or directly when your setup is wrong (for whatever reason). An empty list most likely means that it simply can't find the machine list cache file (or its filtered pendant).

I also can't reproduce your reported issue.




So... From left to Right : My folder config for QMC2-MAME, the one for QMC2-Arcade, my Category list, my category list in the file chooser for QMC2 Arcade.

The last list contains a "?" entry, the catver file i use have no reference to a "?" category, your category.ini file has one when used (well to be exact QMC2 auto classify any driver that has no category in it, but my catver has everything categorized), hence i deducted that it might be taken from it, or something like that.
I think i had it wrong, and you might have to remove "?" when there is no uncategorized driver, but it's a very low priority thing. You can remove my bug report.

Don't be mistaken for the other issue, even though you can't see it on these screenshots, i have some category selected, and there is a not empty list when i launch QMC2-Arcade directly.

Only problem is when i launch it from QMC2-Mame.

Originally Posted By qmc2

Auto-play works fine here, also tested successfully on Windows, so I have no idea what could be causing this for you. Are you using the official VC++ builds (*)? And which theme are you using?

(*) Note that MinGW builds will not support QML video at all, unless you build/deploy qt-mobility for it. Trying to start QMC2 Arcade with "-video on" in this case would already fail loading the required QML imports, though.


I use the officials VC++ builds, yeah. Videos works fine, but i have to click on the play icon.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/07/15 09:50 AM

The "?" category is automatically generated when there's no known category for a set. So I suppose that yes, there are missing sets in your "catver_full.ini". And yes, the category view will also contain that "?" category (sort the view by "Category / Machine" to see it).

I never said that "catver_full.ini" were supported, BTW. So it could as well be some incompatibility with that file.

Regarding QMC2 Arcade / auto-play... does the ToxicWaste theme have the same problem for you? Can someone else on Windows reproduce this?

EDIT: About the empty machine list when starting QMC2 Arcade "directly"... you do use "-config_path e:\Util\QMC2\data\settings" on the command line in this case?
Posted By: remax

Re: Questions, suggestions or requests topic - 10/07/15 10:12 AM

Originally Posted By qmc2
The "?" category is automatically generated when there's no known category for a set. So I suppose that yes, there are missing sets in your "catver_full.ini". And yes, the category view will also contain that "?" category (sort the view by "Category / Machine" to see it).

I never said that "catver_full.ini" were supported, BTW. So it could as well be some incompatibility with that file.


No, there is no "?" in QMC2-Mame category list.

Catver_full use exactly the same syntax as catver (except that it categorize also MESS drivers) and works perfectly with QMC2 Mame (for both category and version view). It avoids to have to update two files.

That's right that it's not officialy supported, but i can't see why it would produce different classification under the file chooser.

Quote:

Regarding QMC2 Arcade / auto-play... does the ToxicWaste theme have the same problem for you?


Yes. I'll look in my decoder codec settings...

Quote:

EDIT: About the empty machine list when starting QMC2 Arcade "directly"... you do use "-config_path e:\Util\QMC2\data\settings" on the command line in this case?


Yes, it's automatically added by QMC-Mame when launching, acording to the log window.
Posted By: remax

Re: Questions, suggestions or requests topic - 10/07/15 10:22 AM

Just tested : adding "?" category to the chooser adds no more driver to the list, so it must be empty...

EDIT 1 : Video autoplay issue fixed ! I had wrongly interpreted the "60s" as play FOR 60 second and not AFTER 60 seconds !!!

It's only really explicit in the ToxicWaste theme, my bad!

Only stays the issue with launching from QMC2-Mame as the other one is really minor...

EDIT 2 : Another minor issue appears now : It seems that when set to 0 sec, autoplay doesn't work, but works ok with 1 sec.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/07/15 10:35 AM

Ah, you mean there shouldn't be a "?" listed in that dialog... yeah, there might be a small bug then. I'll have a look!

LOL regarding auto-play smile... and 0 means "off", which is (or should be) indicated as "off" in the preferences.
Posted By: remax

Re: Questions, suggestions or requests topic - 10/07/15 10:40 AM

Originally Posted By qmc2
Ah, you mean there shouldn't be a "?" listed in that dialog... yeah, there might be a small bug then. I'll have a look!


Yeah, minor bug. Not the one i thought at first.

Quote:
LOL regarding auto-play smile... and 0 means "off", which is (or should be) indicated as "off" in the preferences.


Well it can make sense, but as there is both "0s" AND "OFF" settings, we are lead to believe that "0s" means instant play...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/07/15 10:48 AM

Originally Posted By remax
Originally Posted By qmc2
Ah, you mean there shouldn't be a "?" listed in that dialog... yeah, there might be a small bug then. I'll have a look!

Yeah, minor bug. Not the one i thought at first.

I've checked it, and no, it's not a bug. This list is no 1:1 copy of the available categories, the "?" category here is just a (constant) filter setting for sets that aren't categorized - regardless if there actually are some or not.

Quote:
Well it can make sense, but as there is both "0s" AND "OFF" settings, we are leaded to think that "0s" means instant play...

Yes, sorry, I was wrong... there is 0s for instant play and -1 for off. I wonder why 0s doesn't work for you then? But the user experience with "instant play" is not nice anyway.
Posted By: remax

Re: Questions, suggestions or requests topic - 10/07/15 11:00 AM

What's "lights out in 60 sec" in the darkone theme ?

And what is exactly the "flash effect"/"launch flash" ?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/07/15 11:04 AM

I'm not the author of that theme, so bear with me smile... I'm just trying to keep it alive. AFAIK the "lights out" thing is kind of a "screen saver" (mainly for full screen use), "flash effect" is some flashing effect on start-up, and "launch flash" is a similar effect shown upon launching a machine (or vice versa).
Posted By: remax

Re: Questions, suggestions or requests topic - 10/07/15 11:15 AM

Last issue fixed!

I am probably an edge case as i try to keep a max of config files in the QMC2/data/settings subfolder, but QMC2 needs the path to QMC2.ini file (/Users/foo/...) and not the path to the others config files (.../QMC2/data/setings)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/07/15 11:28 AM

When the latter works for you by "just clicking the exe" then you don't use a custom configuration path! Could you please run "qmc2-arcade.exe -help" on the command line?! This would reveal the default value for that path:

Code:
rene@thunder:~/src/qmc2> qmc2-arcade -help | grep "Configuration path"
-config_path     Configuration path   [/home/rene/.qmc2], ...


EDIT: Yeah, the configuration path is where qmc2.ini resides.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/07/15 11:41 AM

Originally Posted By remax
I am probably an edge case as i try to keep a max of config files in the QMC2/data/settings subfolder, but QMC2 needs the path to QMC2.ini file (/Users/foo/...) and not the path to the others config files (.../QMC2/data/setings)

You can do that, but then you have to pass "-config_path e:\Util\QMC2\data\settings" to QMC2, QMC2 Arcade and qchdman on the command line! But first copy qmc2.ini from its current folder to this one wink.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/07/15 01:13 PM

remax: If you have a good working OpenGL driver (and I suppose you do), I'd suggest to use "opengl" for the graphics system. This setting will not be available when I finally switch to Qt 5 (at some point), but it makes a difference for Qt 4.8.x / QtQuick 1.x (desktop OpenGL).
Posted By: remax

Re: Questions, suggestions or requests topic - 10/08/15 08:36 AM

Originally Posted By qmc2
remax: If you have a good working OpenGL driver (and I suppose you do), I'd suggest to use "opengl" for the graphics system. This setting will not be available when I finally switch to Qt 5 (at some point), but it makes a difference for Qt 4.8.x / QtQuick 1.x (desktop OpenGL).


Done. Thank you wink
Posted By: remax

Re: Questions, suggestions or requests topic - 10/09/15 07:39 PM

I may have found a real bug this time, you'll tell me :

I want to have a list with only games that have a video snap to play under QMC2-Arcade...

I don't know if there are better way to do it, but i created a fake catver file, with only one section (Video) under which i listed all the driver with a mp4 file (dir /s in the folder and a bit of cut and replace)...

Then i went to the file chooser, clicked only the Video category, clicked the parent only option (no point in having to much drivers in this mode as it make the list barely browsable).

Everything went great except for one little thing : i have System BIOS drivers such as Playchoice-1 BIOS, PGM System BIOS, ... in the middle of my list.

As i understand it, System Bios and Devices category are auto created by QMC2. Devices are auto disabled, but not System Bios, and as both these category are not listed, there is no way to activate/desactivate them in the list.

EDIT 1 : When no category are selected, i have only System Bios in the list... Do i have to categorize them perhaps ?

EDIT 2 : NO doesn't work. I now have a BIOS category in the list (not in QMC2-Mame as it seems my category is overrode by the internal one), but they are selected whether the category is selected or not.

EDIT 3 : Ah! It works if the category is called "System / BIOS" (i called i previously "Bios" so the name have to match the internal one). Then, if i unselect the category, no more Bios. But in my opinion, we should have this category automaticly as it's internally avaible...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/10/15 04:08 AM

remax: I'm not sure I understand what you did exactly (i.e. what has the file chooser to do with machine categories?), but yes, "System / BIOS" and "System / Device" are the two automatically generated categories. I'm quite sure that this all works fine.
Posted By: remax

Re: Questions, suggestions or requests topic - 10/10/15 07:49 AM

Originally Posted By qmc2
remax: I'm not sure I understand what you did exactly (i.e. what has the file chooser to do with machine categories?), but yes, "System / BIOS" and "System / Device" are the two automatically generated categories. I'm quite sure that this all works fine.


Like i said, I was talking about QMC2 Arcade, so by file chooser i mean the category filter under "Machine list filter".

To select the drivers in my list, i made my own category file, where i only categorized the file i want in the list (so that i can use category filter), but ended with bios in my list.

Obviously, the "System /BIOS" and "System / Device" are not available under this menu and so drivers are not selectable/unselectable if not categorized.

When using category filter, Device is auto-unselected, this behaviour would satisfy nearly 100% of users, but Bios is auto-selected, which is a little bit more annoying.

It make more complicated the task of selecting self-taylored lists (tagged files is not a possibility here obviously).
Posted By: remax

Re: Questions, suggestions or requests topic - 10/10/15 07:57 AM

Triggering the bug :

Download this file : https://www.sendspace.com/file/0jvuzq
* Use "Catver - Video - no bios.ini" as a category file for QMC2-Mame, go to Machine list filter>Category Filter, only select "Video" category and save filtered list.
* Launch QMC2-Arcade, you should only have drivers that has video snaps BUT there is also System bios in the list

*Same thing with the second catver, you no longer have bios in the list.

So to avoid bios in the list, you are forced to categorize bios in a category with same name as the internal category of QMC2 for bios (it doesn't work if you call it just "Bios" for example). I feel we should already have this category choice under the category filter of "Machine list filter" the same way the "?" category is always avaiable.

Don't think i can make myself clearer lol...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/10/15 08:24 AM

Why don't you simply deselect "System / BIOS" in the category filter then? And who said that anything else than catver.ini would work w/o issues? It's called "System / Device" and "System / BIOS" because of catver.ini. So either your version of "catver.ini" has to use these strings or not include BIOS- / device-sections at all, or you have to live with the fact that there are unused additional BIOS / device categories.

(Device sets are automatically filtered out because they don't run standalone, but a number of BIOS sets actually do.)
Posted By: remax

Re: Questions, suggestions or requests topic - 10/10/15 08:40 AM

Originally Posted By qmc2
Why don't you simply deselect "System / BIOS" in the category filter then? And who said that anything else than catver.ini would work w/o issues? It's called "System / Device" and "System / BIOS" because of catver.ini. So either your version of "catver.ini" has to use these strings or not include BIOS- / device-sections at all, or you have to live with the fact that there are unused additional BIOS / device categories.

(Device sets are automatically filtered out because they don't run standalone, but a number of BIOS sets actually do.)


...

You did try what i described in the upper post ???
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/10/15 08:43 AM

Oh, I see... it's not displaying "System / BIOS" as an available category to select / deselect then... yes, that's a "bug" smile. Not a real one, but I will still "fix" it.
Posted By: remax

Re: Questions, suggestions or requests topic - 10/10/15 08:45 AM

Originally Posted By qmc2
Oh, I see... it's not displaying "System / BIOS" as an available category to select / deselect then... yes, that's a "bug" smile.


Exactly :-D

Hard to describe a problem by handwriting, harder when not talking in your native language...

Originally Posted By qmc2
Not a real one, but I will still "fix" it.


Well there is a workaround, but relying only a on a complete catver is a bit dangerous i think.
I did no test, but i'm pretty sure there would be real bugs if the catver is a bit old and all bios are not categorized.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/10/15 08:56 AM

SVN r6980 supports this now (tested with your Video-only catver.ini).

I'm relying on what I can guarantee to work wink.
Posted By: remax

Re: Questions, suggestions or requests topic - 10/10/15 09:06 AM

Originally Posted By qmc2
SVN r6980 supports this now (tested with your Video-only catver.ini).

I'm relying on what I can guarantee to work wink.


Thanks smile

Well, the only thing you can guarantee to work/being fully up-to-date are YOUR internals category laugh

And even for the sake of consistency, always having "?" and not "System / Bios" was not logical...

By the way, my video only catver is just an hacky way to achieve my goal (creating a list of drivers with video snaps).
If you see a clever way of doing that, i hear to you. Myself, i don't see other ways.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/10/15 09:13 AM

I guarantee that the (English) catver.ini from here works: http://www.progettoemma.net/?catlist - and that's been this way since the beginning smile. Technically it was no bug, however, it's still better the way it's done now, so that's an improvement.

Well, the category is not the right place for making this info available, but currently "there's no other way" if you like. It's nothing the emulator would tell me so I would have to find out by scanning what's available. That's not included, just like you don't have a way to filter the machine list by the availability of whatever type of image (although there's a separate image checker).
Posted By: remax

Re: Questions, suggestions or requests topic - 10/10/15 09:26 AM

Originally Posted By qmc2
I guarantee that the (English) catver.ini from here works: http://www.progettoemma.net/?catlist - and that's been this way since the beginning smile. Technically it was no bug, however, it's still better the way it's done now, so that's an improvement.


This file is not instantly updated... Sometimes it lags 2 or 3 Mame version behind...

So yes, you can be sure it is correctly formated, but not that it has every bios categorized.

Quote:
Well, the category is not the right place for making this info available, but currently "there's no other way" if you like. It's nothing the emulator would tell me so I would have to find out by scanning what's available. That's not included, just like you don't have a way to filter the machine list by the availability of whatever type of image (although there's a separate image checker).


I am just talking about bios. It seems to me that this info is available in one way or the other since even with my barebone catver (the one without the bios category), bios were categorized under QMC2 Mame. So you have the ability (correct me if i'm wrong) to list all the bios of a Mame exe, something a deprecated catver couldn't do if bios has been added since.

Well, since it has been fixed, no point of arguing for hours, but if you really want i'm pretty sure i can make you a scenario were even using the last official catver would lead to having one or two bios drivers under the list even if the option is unchecked because the file lags too many version behind. With your fix, no way it happens.

Now that it is fixed, i'm gonna send you a feature request... From the Mame POV, we are coming pretty close from Hyperspin with greater control over the emulator behaviour. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/10/15 09:33 AM

Yes, BIOS and device sets are automatically categorized since v0.53, no matter if "System / BIOS" and/or "System / Device" categories exist in catver.ini and/or category.ini. When they are categorized differently in catver.ini and/or category.ini those categories are basically ignored.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/10/15 12:38 PM

I've just added a "rank filter" to the arcade mode setup (SVN r6984).
Posted By: ManiacOfMadness

Re: Questions, suggestions or requests topic - 10/22/15 07:49 AM

Hello, everyone! This one's my first post in the forum, so I'd first like to thank the QMC2 team for creating this superb piece of software. It really really helped me getting the hang of the MAME+MESS merge and for that I can only be so thankful.

I've been using QMC2 for about five days now. During the process of setting it up I had been noting down some questions I'd like to ask. So here we go:
  1. I'm using a setup that strictly uses relative paths to MAME, its extras, etc., as well as to the configurations directory through the argument "-config_path". Is there any other way to use style sheets successfully other than placing the ".qss" file in the same directory as "qmc2-mame.exe"? I had tried using the "-stylesheet" argument, but the style sheet wouldn't load at all.
  2. Is there support for custom fonts in style sheets? I'd like, for example, to have a special font for the machine list's QTreeWidget.
  3. When launching "QMC2 Arcade" through "qmc2-mame.exe" I'm getting nothing but a black screen in the application's window. However, running "qmc2-arcade.exe" with the same "-config_path" argument used in "qmc2-mame.exe" works as expected. Is that an issue with my setup?
  4. This one's about the device mapper. My software list ROMs come in the ".7z" format. Let's say that I'd like to run "Sonic 3 & Knuckles" without using the software list to first run "Sonic & Knuckles" and then using MAME's menu to go through the software list again and mount "Sonic the Hedgehog 3" on top of it. How can this be done?
  5. I've noticed that the "memcard" directory is missing from "Output directories". Is this normal?
That's all there is for now. smile
Once again, thank you QMC2 team for realizing this wonderful piece of software.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/22/15 08:25 AM

1. The problem with style sheets is that they are using / have to use relative paths in image URLs, and Qt doesn't resolve that automatically. Since you're strictly using relative paths (relative to the path where qmc2-mame.exe resides, I suppose) you must place the style-sheet in the same folder as qmc2-mame.exe.

2. Yes. See http://doc.qt.io/qt-4.8/stylesheet-reference.html (and search for "font").

Note that some objects have been renamed recently (object names that are directly addressed from the style sheets) and so I suggest you wait for the next release before you make your own changes. The style sheets on the QMC2 homepage have already been updated accordingly (http://qmc2.batcom-it.net/index.php/style-sheets/). QMC2 0.57 should be released next week.

3. What's set as "Configuration path" in the arcade mode setup dialog?

4. I'm not sure I understand that question... the device mapper maps files to devices upon launching the emulator. Mapping files later during emulation only works through the emulator's TAB menu.

There is no way in QMC2 (yet) to reconfigure the emulator when it's running.

5. The "memcard" option has been removed in MAME several versions ago. It's interesting though that you're not the first to ask smile.
Posted By: remax

Re: Questions, suggestions or requests topic - 10/22/15 10:39 AM

Originally Posted By ManiacOfMadness

[*]This one's about the device mapper. My software list ROMs come in the ".7z" format. Let's say that I'd like to run "Sonic 3 & Knuckles" without using the software list to first run "Sonic & Knuckles" and then using MAME's menu to go through the software list again and mount "Sonic the Hedgehog 3" on top of it. How can this be done?


You want to daisy chain cartridges at launch? (Equivalent to launching

mame genesis -cart1 sk -cart2 sonic3u

under the command line).

I think it's something missing in QMC2. But as QMC2 already knows how to live update the list of available slots, it can't be something hard to implement (perhaps it's already implemented and i didn't find it).

Everything explained here if needed : http://www.mameworld.info/ubbthreads/sho...amp;o=&vc=1
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/22/15 11:03 AM

If it's that, then remax is right, QMC2 doesn't support it yet.
Posted By: ManiacOfMadness

Re: Questions, suggestions or requests topic - 10/22/15 04:49 PM

1. Fair enough.

2. Could the "Application font" setting override my choice of fonts in the style sheet?

By the way, is there a tutorial on theming planned for the future? I mean, I can always look at the style sheets you've created and teach myself, but an extensive documentation on the capabilities of style sheets in QMC2 would surely draw interest.

3. I've set ".qmc2/" as my configuration path. The command I'm executing to run "qmc2-mame.exe" is:

qmc2-mame.exe -config_path ".qmc2/"

Strangely enough, running the command as described in the "Front end log" using a command window in QMC2's folder still works.

4. Yeah, I was talking about daisy chaining. Too bad I can't use "sk -cart2 sonic3u" as a cartridge in the device mapper. I even tried playing with the quotes using escape characters (backslash in this case), but that resulted in a "@invalid()" setting in "qmc2.ini".

5. Well, I'll go ahead and blame these two! laugh

http://www.mess.org/mess/howto#folder_files
http://www.mameworld.info/easyemu/mameguide/mameguide-inifiles.html

P.S.: Thanks for the awesomely quick post! I greatly appreciate it!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/22/15 05:47 PM

2. I don't think so. Could you show me how you tried to do it? I just tested it with "qmc2-black" and it works fine for me:

Code:
...
QTabBar {
    background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(128, 128, 128), stop:1 rgb(30, 30, 30));
    font: bold italic large "Times New Roman";
}
...

There is no plan for such a guide, mainly because there's the general Qt docs about it, but I agree that since there are some QMC2 internals you have to know in order to build a nice style sheet there's some potential for it. Well, when time permits and I'm bored I might add something to the wiki smile.

3. No, I meant if the path that's setup in the "arcade mode setup dialog" is the path that you expect?

Posted By: ManiacOfMadness

Re: Questions, suggestions or requests topic - 10/22/15 06:16 PM

2. Well, here's what I tried:

Click to reveal...
Code:
QLabel#labelLoadingMachineList,
QLabel#labelLoadingHierarchy,
QLabel#labelCreatingCategoryView,
QLabel#labelCreatingVersionView,
QListWidget#listWidgetFavorites,
QListWidget#listWidgetPlayed,
QListWidget#listWidgetSearch,
QTreeWidget#treeWidgetCategoryView,
QTreeWidget#treeWidgetVersionView,
QTreeWidget#treeWidgetMachineList,
QTreeWidget#treeWidgetHierarchy {
    border-image: url(stylesheets/qmc2-ui/bkground.png) repeat;
    font: "MS Sans Serif";
}

It's not really the brightest piece of code, I know. smile
By the way, the fact that you're even considering the guide's creation is pleasing enough. laugh

3. Yes.



The command I was referring to is the command shown in the "Front end log" when I launch "QMC2 Arcade".
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/22/15 06:27 PM

2. Try "font-family" instead of "font". The font property needs at least the font's size as well (according to the docs).

3. Is the ".qmc2/" folder inside "../DIST/"?
Posted By: ManiacOfMadness

Re: Questions, suggestions or requests topic - 10/22/15 06:58 PM

We can now mark everything as solved! laugh

2. Indeed, "font-family" worked as expected. Thanks for the look up!

3. I thought "Working directory" referred to the location of MAME's executable, just like in the main options. Then I saw a ".qmc2" folder residing in "../DIST/". Changing "../DIST/" to "./" in the "Arcade mode setup" did the trick.

Thanks a lot for the support! smile
Posted By: Stiletto

Re: Questions, suggestions or requests topic - 10/22/15 08:16 PM



Ah, those are getting really outdated... frown
Posted By: ManiacOfMadness

Re: Questions, suggestions or requests topic - 10/23/15 07:48 AM

Ultimately I'd like to report a bug regarding font usage. When opening "qmc2-mame.exe", the default font is chosen instead of the one used in the configured style sheet. Going to the "Options" and clicking "OK" however fixes that. This has to be done each time "qmc2-mame.exe" is opened. It happens under Windows 7 SP1 x64 on version 0.56, but I guess it applies to the other Windows/QMC2 versions too.

I know the bug is of minimal importance, but it's still worth the report IMO.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/23/15 07:52 AM

Feel free to report bugs here: http://tracker.batcom-it.net/view_all_bug_page.php

I think that it's independent from the OS. I've never used fonts in style sheets before, so yeah, there could be some overlapping I've not seen before (i. e. font is set after the style sheet is loaded).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/23/15 11:48 AM

It was more complicated than expected, but this should be fixed in SVN r7003. I've only tried it on Linux though.
Posted By: ManiacOfMadness

Re: Questions, suggestions or requests topic - 10/23/15 04:02 PM

And I just did my extremely late report on the tracker. I should have checked here first. smile
Once again, you have my thanks!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/23/15 05:05 PM

No problem - I've just resolved it smile. It's still good you reported it there for documentation.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/23/15 05:42 PM

When I find the time I'll create a new Win32 VC++ build tomorrow morning... you could then use the updated style sheets (from the homepage) and make your local changes.

If you have something to share with the public I'd be happy to put in on the style sheet page!
Posted By: oddi

Re: Questions, suggestions or requests topic - 10/31/15 06:37 PM

Hello Rene, when try load icons from directory (not from archive), qmc2 reload cache every time and slow load.Any chance for fix that ?
Example:
qmc2+( all other stuffs uncompressed) + icons.zip - 3sec.

qmc2+( all other stuffs uncompressed) + uncompressed icons - 10-15 or more sec.


Tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/31/15 06:41 PM

From the FAQ:

Quote:
For best performance, we recommend to store icons in a ZIP- or 7z-archive (with little to no compression, i.e. zip -0 icons.zip *), and to store all other images folder-based / as regular files!

A ZIP with no compression is the fastest.

I'll look into the possible bug tomorrow...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/01/15 06:56 AM

Originally Posted By qmc2
I'll look into the possible bug tomorrow...

Works as expected.
Posted By: oddi

Re: Questions, suggestions or requests topic - 11/04/15 03:51 AM

Hello, qmc2 stop compile, have many errors:

Code:
qmc2_prefix.h:57:17: fatal error: SDL.h: No such file or directory
compilation terminated.
Makefile.qmake.Release:1491: recipe for target 'release/qmc2_prefix.h.gch/c' failed
make.exe[2]: *** [release/qmc2_prefix.h.gch/c] Error 1
make.exe[2]: *** Waiting for unfinished jobs....
qmc2_prefix.h:57:17: fatal error: SDL.h: No such file or directory
compilation terminated.
Makefile.qmake.Release:1496: recipe for target 'release/qmc2_prefix.h.gch/c++' failed
make.exe[2]: *** [release/qmc2_prefix.h.gch/c++] Error 1
make.exe[2]: Leaving directory 'g:/compile_mame/qmc2'
Makefile.qmake:34: recipe for target 'release' failed
make.exe[1]: *** [release] Error 2
make.exe[1]: Leaving directory 'g:/compile_mame/qmc2'
makefile:1051: recipe for target 'qmc2-bin' failed
make.exe: *** [qmc2-bin] Error 2
make.exe: Leaving directory 'g:/compile_mame/qmc2'


if add path to sdl.h in my environment, result is:

WARNING: (internal):3: Unescaped backslashes are deprecated.
WARNING: (internal):3: Unescaped backslashes are deprecated.
WARNING: (internal):3: Unescaped backslashes are deprecated.

btw - i updated mame build tools to the last, MINGW 5.2.0 and sdl
Tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/04/15 05:57 AM

Originally Posted By oddi
btw - i updated mame build tools to the last, MINGW 5.2.0 and sdl

Then add SDL=2 on the make command line (assuming the new tools only come with SDL2)... other than that I have no idea and won't support the new build tools until I get to checking them out.
Posted By: oddi

Re: Questions, suggestions or requests topic - 11/04/15 07:25 AM

Tnx Rene but when add parameter SDL=2

result is:
Code:
qmc2_prefix.h:57:17: fatal error: SDL.h: No such file or directory
compilation terminated.
qmc2_prefix.h:57:17: fatal error: SDL.h: No such file or directory
compilation terminated.
Makefile.qmake.Release:1496: recipe for target 'release/qmc2_prefix.h.gch/c++' failed
make.exe[2]: *** [release/qmc2_prefix.h.gch/c++] Error 1
make.exe[2]: *** Waiting for unfinished jobs....
Makefile.qmake.Release:1491: recipe for target 'release/qmc2_prefix.h.gch/c' failed
make.exe[2]: *** [release/qmc2_prefix.h.gch/c] Error 1
make.exe[2]: Leaving directory 'g:/compile_mame/qmc2'
Makefile.qmake:34: recipe for target 'release' failed
make.exe[1]: *** [release] Error 2
make.exe[1]: Leaving directory 'g:/compile_mame/qmc2'
makefile:1051: recipe for target 'qmc2-bin' failed
make.exe: *** [qmc2-bin] Error 2
make.exe: Leaving directory 'g:/compile_mame/qmc2'
Finish at:  9:23:49,33


my make line:
make.exe WIP=1 SDL=2 MINGW=1 -j5

p.s.
found sdl.h in \buildtools\vendor\mingw64\x86_64-w64-mingw32\include\SDL2\, add path to my environment, but not luck.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/05/15 07:19 AM

Should be "fixed" in SVN r7030. Among other things, SDL=2 is "hard coded" now for MinGW builds (that is, you can no longer overwrite it).

Also, there is no option called "MINGW" since several versions because of a conflict with an environment variable of the same name used by the build tools themselves. It has been renamed to FORCE_MINGW, but you actually shouldn't need to specify that, it's auto-detected.
Posted By: oddi

Re: Questions, suggestions or requests topic - 11/05/15 05:46 PM

Many tnx Rene, now successful compiling r7032, only with parameter WIP=1. smile
p.s Opsssssss
Tiny bug, qmc2 stop starting anymore smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/05/15 06:35 PM

No bug. Works fine here... you need SDL2.dll now in your PATH! Doesn't it tell you this? Or anything else why it wouldn't start?
Posted By: oddi

Re: Questions, suggestions or requests topic - 11/05/15 06:42 PM

hihihi, u right, need sdl2.dll, "old" sdl.dll is removed smile
Many tnx again
Posted By: remax

Re: Questions, suggestions or requests topic - 11/06/15 04:36 PM

I stopped compiling my own QMC2 since, if i remember well, you said that using Qt 5.x will lead to several disabled functions due to lack of updated support.

MAME tools are Qt 5.x for a little time (at least as far as i know) and i'm too lazy to setup a build chain only for QMC2.

Do you think it's worth compiling again in that case ? (not that i miss too much compiling my own build as the monthly release and your occasional beta builds are quite satisfying).
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 11/06/15 05:20 PM

AFAIK MAME tools better not be Qt 5, the debugger was reverted to Qt 4 smile
Posted By: remax

Re: Questions, suggestions or requests topic - 11/06/15 05:22 PM

Oh good to know. Sometimes, i'd better ask sooner than to stay under false ideas...
Posted By: oddi

Re: Questions, suggestions or requests topic - 11/08/15 05:40 PM

Hello Rene, QMC2 ignored all HLSL settings ( enabled, disabled, change settings - nothing) :
when i try import any ini which floating on internet

19:35:11.930: importing machine-specific MAME configuration from D:/downloads/m9ujD37b - Copy.txt
19:35:12.070: WARNING: unknown option 'hlsl_write' at line 9 (D:/downloads/m9ujD37b - Copy.txt) ignored

for test i used emuloader, mameuifx - all is fine with hlsl enable.
Hope for testing and fixing this issues.
Tnx smile

more info about raster.ini vertical.ini and etc etc :

http://www.mameworld.info/ubbthreads/sho...amp;o=&vc=1

http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=346563
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/09/15 09:18 AM

Oddi, that's just a warning, not an error, meaning that the "unknown" option hlsl_write is ignored but the rest was imported as expected.

I've been told earlier by MAME devs that this option should not be user-visible for now, so it's marked as ignored in the configuration template (data/opt/MAME/template.xml).
Posted By: oddi

Re: Questions, suggestions or requests topic - 11/09/15 04:05 PM

Tnx for answer, but qmc2 not play mame with hlsl enabled, i try many methods and not luck.
If i wrong something , explain me smile
Tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/09/15 04:13 PM

I have no idea what you're doing wrong. See this FAQ for emulator configuration troubles. All relevant HLSL options are supported, so it definitely works smile.
Posted By: ManiacOfMadness

Re: Questions, suggestions or requests topic - 11/28/15 01:30 PM

Quick question: Is there a way to check the software-states of every machine? I know it would take a while to check all of them, but this way I'd do it only once and forget about it. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/28/15 02:13 PM

No, there is no way to check all software states at once; the check is always limited to the software-lists that are valid for the current machine (you can add a feature request for your wish, though). However, the ROMAlyzer (software-mode) can do "all lists at once", just like the (software) collection rebuilder.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 11/29/15 03:40 PM

Is there a way to convert multiple CD image files to CHD at once, using QCHDMAN?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/29/15 05:50 PM

I'm not sure about the chdman details but you can use scripts for whatever you want to achieve.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 11/29/15 09:10 PM

chdman itself is wide-threaded, so it's not a great idea to run more than one instance at a time; you'll slow down all of them.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 11/29/15 09:43 PM

Oh, you're right, Arbee...

But the idea is to run the next process just after finishing the last one. I just want to automate the process (put every cue+bin in the same folder, run a script and convert every one to CHD after some time).

I don't know how to create a script for this yet.
Would it be something like this?

Code:
var inputFolder = "c:/input";
var outputFolder = "c:/output";
var file;
var id;

while(chdman.dirHasNextEntry())
{
   file=chdman.dirNextEntry();
   id=???;//I want to create the outputfile with the same name of the original, but .chd. Example: mame.cue -> mame.chd
   chdman.projectSetCreateCDInputFile(id, file);
   //wait until the process finish
}

(one after other, of course)

Ps.: there's any script file to take a look?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/30/15 05:49 AM

Take a look at the example scripts that are available from the wiki page (edit: new version). Currently there's only one script in this "collection" but it demonstrates many important features (like connecting a JS function to a signal from qchdman, how to utilize (possible) parallelism, using JS's forEach() and more).

The ID is the unique "project ID" that you have to define and use within your script. See the function "processChdFile" in the example which creates "chdman copy" projects and starts them by their name.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/30/15 09:25 AM

Also, when all projects within a loop are more or less the same, you can create one manually as a template, store it under some file name and load it within the script (projectCreateFromFile()). Then just change the settings that need to be set individually (i.e. input / output files), start it and call syncProjects() (or waitForRunningProjects()).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 11/30/15 03:40 PM

BTW, the script engine has a built-in debugger. Put the word "debugger" in one of the first lines of your script to open the debugger window... if a script encounters an error, the debugger will open automatically.
Posted By: Praxis

Re: Questions, suggestions or requests topic - 12/11/15 11:37 PM

I made an embarrassing mistake. Maybe you can save others from making the same mistake.
So what happened? Occasionally the power quality here slightly deteriorates for a few minutes. Not by much, just enough to make the UPS wildly click on and off. It does this so rapidly, that the poor UPS can miss a beat and my PC unexpectedly goes off. When my UPS started manically switching earlier this week, I started closing programs for a controlled shut-down, including an open QMC2 (running on Win7 x64). Too slow! Suddenly it switched off. Loading QMC2 up again after re-boot, _nearly_ everything was fine. Except for an empty 'Played' tab and 'Favourites' tab. Last played isn't that important, but Favourites are! Oddly, Favourites within Soft Lists were unaffected. Opening the mame.fav in the .qmc2 directory within C:\Users\MyUsername revealed it to be totally empty. Hmm, that's annoying but no problem; I'm careful enough to use both a UPS AND Backups. Specifically the built in Windows 7 backup tool. I'll just use that to restore the missing file, just like I've been doing for years to restore corrupted Firefox session files, or to restore anything else from C:\Users\MyUsername. What did I find when I searched the normally-fine default settings Windows 7 backups? No sign of the .qmc2 directory.
So I suppose my request would be, please put the .qmc2 directory in one of the AppData directories (AppData\Roaming perhaps?). Maybe that will save others who have successfully relied on default Win 7 Backup and Restore in the past, from being caught out in the same way I was.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/12/15 12:36 AM

I'm not sure if moving to AppData would avoid such situations but I'll consider it anyway since it's more common on Windows.
Posted By: oddi

Re: Questions, suggestions or requests topic - 12/20/15 06:54 AM

Hello Rene, now with the last SVN r7223 have problem with compiling:

Code:
s\win32-g++-4.6" -o release\movierecordersetup.o movierecordersetup.cpp
compilation terminated.
Makefile.qmake.Release:3508: recipe for target 'release/collectionrebuilder.o' failed
make.exe[2]: *** [release/collectionrebuilder.o] Error 1
make.exe[2]: *** Waiting for unfinished jobs....
make.exe[2]: Leaving directory 'g:/compile_mame/qmc2'
Makefile.qmake:34: recipe for target 'release' failed
make.exe[1]: *** [release] Error 2
make.exe[1]: Leaving directory 'g:/compile_mame/qmc2'
makefile:1049: recipe for target 'qmc2-bin' failed
make.exe: *** [qmc2-bin] Error 2
make.exe: Leaving directory 'g:/compile_mame/qmc2'
Finish at:  8:52:43,35


tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/20/15 07:43 AM

That doesn't tell us where the problem is... could you post the relevant parts as well smile!?

It could be caused by the old default setting for MKSPEC in case of MinGW now that the tools use a newer gcc. I've just changed the default to "MKSPEC=win32-g++" in the hope that it fixes it.
Posted By: oddi

Re: Questions, suggestions or requests topic - 12/20/15 09:12 AM

Rene same problem smile
Whats more info u need ?

Code:
DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\buildtools\vendor\qt\mingw64\Qt\include\QtCore" -I"..\buildtools\vendor\qt\mingw64\Qt\include\QtNetwork" -I"..\buildtools\vendor\qt\mingw64\Qt\include\QtGui" -I"..\buildtools\vendor\qt\mingw64\Qt\include\QtXml" -I"..\buildtools\vendor\qt\mingw64\Qt\include\QtXmlPatterns" -I"..\buildtools\vendor\qt\mingw64\Qt\include\QtSql" -I"..\buildtools\vendor\qt\mingw64\Qt\include\QtSvg" -I"..\buildtools\vendor\qt\mingw64\Qt\include\phonon" -I"..\buildtools\vendor\qt\mingw64\Qt\include\QtWebKit" -I"..\buildtools\vendor\qt\mingw64\Qt\include" -I"..\buildtools\vendor\qt\mingw64\Qt\include\QtTest" -I"minizip" -I"zlib" -I"lzma" -I"..\buildtools\vendor\mingw64\x86_64-w64-mingw32\include" -I"..\buildtools\vendor\mingw64\x86_64-w64-mingw32\include\SDL2" -I"..\buildtools\vendor\qt\mingw64\Qt\include\ActiveQt" -I"..\buildtools\vendor\qt\mingw64\Qt\include\phonon_compat" -I"release" -I"." -I"..\buildtools\vendor\qt\mingw64\Qt\mkspecs\win32-g++" -o release\missingdumpsviewer.o missingdumpsviewer.cpp
Makefile.qmake.Release:3508: recipe for target 'release/collectionrebuilder.o' failed
make.exe[2]: *** [release/collectionrebuilder.o] Error 1
make.exe[2]: *** Waiting for unfinished jobs....
make.exe[2]: Leaving directory 'g:/compile_mame/qmc2'
Makefile.qmake:34: recipe for target 'release' failed
make.exe[1]: *** [release] Error 2
make.exe[1]: Leaving directory 'g:/compile_mame/qmc2'
makefile:1049: recipe for target 'qmc2-bin' failed
make.exe: *** [qmc2-bin] Error 2
make.exe: Leaving directory 'g:/compile_mame/qmc2'
Finish at: 11:11:58,75
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/20/15 09:45 AM

Well, I'd like to see the complete log, including the command used.

But better don't post it here, upload it somewhere and post a link smile.
Posted By: oddi

Re: Questions, suggestions or requests topic - 12/20/15 10:35 AM

copy paste in pastebin:

http://pastebin.com/xvdTrGtJ
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/20/15 10:41 AM

OK, thanks oddi. Looks like I forgot something (related to the optional support for libarchive that you can't use unless you build it for MinGW yourself)... please try SVN r7225!
Posted By: oddi

Re: Questions, suggestions or requests topic - 12/20/15 11:30 AM

r7225 - succssesful smile
tnx Rene smile

opssssssssssssssssssss

compiled - ok
run - NO !

libgcc_s_seh-1.dll
libstdc++-6.dll

need this 2 files, found in mingw folder
now qmc2 it's started
this normally ?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/20/15 11:38 AM

That's the result of the changed default for MKSPEC. I actually would like to stay with the new setting since the other one is for a specific release of gcc (4.6) and we're now at gcc 5, so yeah, please add these DLLs to your installation folder.
Posted By: oddi

Re: Questions, suggestions or requests topic - 12/27/15 12:42 PM

Hello Rene, buildtools updated to QT 5.5.1, old QT 4.8 move from :
QT to QT-4.8.
I replaced paths in my envrinoment QT > QT-4.8 and no more compiling QMC2.
Need your help

see code:

Code:
make.exe: Entering directory 'g:/compile_mame/qmc2'
"Cleaning up build of QMC2 v0.59"
make.exe[1]: Entering directory 'g:/compile_mame/qmc2'
make.exe[1]: *** No rule to make target '../buildtools/vendor/qt/mingw64/Qt/mkspecs/modules/qt_webkit_version.pri', needed by 'Makefile.qmake'.  Stop.
make.exe[1]: Leaving directory 'g:/compile_mame/qmc2'
makefile:1170: recipe for target 'clean' failed
make.exe: *** [clean] Error 2
make.exe: Leaving directory 'g:/compile_mame/qmc2'
make.exe: Entering directory 'g:/compile_mame/qmc2'
"Updating build of QMC2 v0.59"
make.exe[1]: Entering directory 'g:/compile_mame/qmc2'
make.exe[1]: *** No rule to make target '../buildtools/vendor/qt/mingw64/Qt/mkspecs/modules/qt_webkit_version.pri', needed by 'Makefile.qmake'.  Stop.
make.exe[1]: Leaving directory 'g:/compile_mame/qmc2'
makefile:1049: recipe for target 'qmc2-bin' failed
make.exe: *** [qmc2-bin] Error 2
make.exe: Leaving directory 'g:/compile_mame/qmc2'
Finish at: 14:41:48,24
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/27/15 12:46 PM

Try setting the make option QMAKE to the right qmake! For example "make QMAKE=c:\path\to\buildtools\vendor\qt-4.8\bin\qmake.exe".
Posted By: oddi

Re: Questions, suggestions or requests topic - 12/27/15 01:06 PM

for test:
Code:
G:\compile_mame\buildtools\src>make QMAKE=g:\compile_mame\buildtools\vendor\qt\mingw64\Qt-4.8\bin\qmake.exe
make: *** No targets specified and no makefile found.  Stop.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/27/15 01:09 PM

And? You should use that command in QMC2's build path only.
Posted By: oddi

Re: Questions, suggestions or requests topic - 12/27/15 01:28 PM


pffffffffffff

Code:
G:\compile_mame\qmc2>make QMAKE=g:\compile_mame\buildtools\vendor\qt\mingw64\Qt-4.8\bin\qmake.exe
"Updating build of QMC2 v0.59"
make[1]: Entering directory 'G:/compile_mame/qmc2'
make[1]: *** No rule to make target '../buildtools/vendor/qt/mingw64/Qt/mkspecs/modules/qt_webkit_version.pri', needed by 'Makefile.qmake'.  Stop.
make[1]: Leaving directory 'G:/compile_mame/qmc2'
makefile:1049: recipe for target 'qmc2-bin' failed
make: *** [qmc2-bin] Error 2
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/27/15 01:32 PM

Did you run "make distclean" before this? Otherwise that's not valid (aka pfff) smile...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/27/15 01:34 PM

And if that doesn't work as well (due to same reasons) you may have to remove Makefile.qmake manually.

EDIT: Or better use "make distclean QMAKE=g:\..." smile.
Posted By: oddi

Re: Questions, suggestions or requests topic - 12/27/15 01:40 PM

again "pffffffffffff" smile

Code:
make.exe: Entering directory 'g:/compile_mame/qmc2'
"Configuring build of QMC2 v0.59"
qmake -makefile -o Makefile.qmake -spec win32-g++ VERSION=0.59 QMC2_MINGW=1 SDL=2 TARGET=qmc2-mame CONFIG+=warn_off CONFIG+=release ... qmc2.pro
Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
        E:/qt-everywhere-opensource-src-4.8.6\mkspecs
Error processing project file: qmc2.pro
makefile:1078: recipe for target 'Makefile.qmake' failed
make.exe: *** [Makefile.qmake] Error 3
make.exe: Leaving directory 'g:/compile_mame/qmc2'
make.exe: Entering directory 'g:/compile_mame/qmc2'
"Configuring build of QMC2 v0.59"
qmake -makefile -o Makefile.qmake -spec win32-g++ VERSION=0.59 QMC2_MINGW=1 SDL=2 TARGET=qmc2-mame CONFIG+=warn_off CONFIG+=release ... qmc2.pro
Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
        E:/qt-everywhere-opensource-src-4.8.6\mkspecs
Error processing project file: qmc2.pro
makefile:1078: recipe for target 'Makefile.qmake' failed
make.exe: *** [Makefile.qmake] Error 3
make.exe: Leaving directory 'g:/compile_mame/qmc2'

Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/27/15 01:43 PM

Well, you didn't "setup Qt" in this case, it's still referring paths used during Micko's build.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 12/27/15 05:50 PM

Originally Posted By qmc2
Well, you didn't "setup Qt" in this case, it's still referring paths used during Micko's build.

I just tried, and yes, Micko forgot to add a setup-Qt-4.8.bat. Place that file beside setup-Qt.bat (in "c:\buildtools\vendor\qt\mingw64" and/or "c:\buildtools\vendor\qt\mingw32") and execute both. After that building should work fine:

Code:
C:\Projekte\qmc2-mingw>make distclean QMAKE=C:\buildtools\vendor\qt\mingw64\Qt-4.8\bin\qmake.exe
...

C:\Projekte\qmc2-mingw>make -j5 QMAKE=C:\buildtools\vendor\qt\mingw64\Qt-4.8\bin\qmake.exe
...

Works for me at least with latest buildtools.
Posted By: Micko

Re: Questions, suggestions or requests topic - 12/27/15 06:36 PM

Thanks, updated tools now
Posted By: oddi

Re: Questions, suggestions or requests topic - 12/27/15 07:11 PM

Tnx Rene and Micko, whole is fine smile
Posted By: oddi

Re: Questions, suggestions or requests topic - 01/02/16 06:36 AM

Hello Rene, need again your help with compiling qmc2 with new mame buildtools.
download qt4 from repo with: pacman -S mingw-w64-x86_64-qt4
try too fix my qmc2 environment.
When start compiling:

Code:
$ make
Updating build of QMC2 v0.60
make[1]: Entering directory '/home/oddi/qmc2'
make -f Makefile.qmake.Release
make[2]: Entering directory '/home/oddi/qmc2'
g++ -c -include release/qmc2_prefix.h -pipe [...] ' -o release/options.o options.cpp
cc1plus.exe: error: one or more PCH files were found, but they were invalid
cc1plus.exe: error: use -Winvalid-pch for more information
cc1plus.exe: fatal error: release/qmc2_prefix.h: No such file or directory
compilation terminated.
Makefile.qmake.Release:1843: recipe for target 'release/options.o' failed
make[2]: *** [release/options.o] Error 1
make[2]: Leaving directory '/home/oddi/qmc2'
Makefile.qmake:34: recipe for target 'release' failed
make[1]: *** [release] Error 2
make[1]: Leaving directory '/home/oddi/qmc2'
Makefile:1034: recipe for target 'qmc2-bin' failed
make: *** [qmc2-bin] Error 2


tnx smile

p.s. try too fix environment and new logs is here:

http://pastebin.com/m5gfpEJD

and my env:

set MINGW_PATH=g:/Msys64/mingw64/bin/
set x86_64-w64-mingw32=g:/Msys64/mingw64/x86_64-w64-mingw32/bin/
set Tortoise_SVN_BIN="c:/Program Files/TortoiseSVN/bin/"
set source_qmc2=qmc2
set QT_PLUGIN_PATH=g:/Msys64/mingw64/share/qt4/
set MINGW_PATH1=g:/Msys64/mingw64/bin/
set SDL2=g:/Msys64/mingw64/include/SDL2/

Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/02/16 08:33 AM

What has changed since last week? Have the tools been updated again? I'm not responsible for them, and I'm no longer willing to support this when this continues to generate work.
Posted By: abelenki

Re: Questions, suggestions or requests topic - 01/02/16 08:35 AM

Originally Posted By qmc2
What has changed since last week? Have the tools been updated again?

yes, dramatically:

http://mamedev.org/?p=415
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/02/16 08:36 AM

Then please ask Micko to change it, or wait for official builds.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/02/16 09:24 AM

oddi, according to your pasted log your actual problem is the MKSPEC again:

Code:
Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
        G:/compile_mame/Msys64/mingw64/share/qt4\mkspecs

Is this the right place for it?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/02/16 09:53 AM

I'm currently trying the new tools myself... I'll let you know my results.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/02/16 10:17 AM

Originally Posted By qmc2
I'm currently trying the new tools myself... I'll let you know my results.

Works fine for me wink.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/02/16 12:20 PM

I've updated the MinGW build instructions to reflect the new tools (it's actually much simpler than before now).
Posted By: oddi

Re: Questions, suggestions or requests topic - 01/02/16 04:08 PM

Rene all is perfect, many tnx for this little hint:
pacman -S mingw-w64-x86_64-SDL2

Congratulations mate !
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/02/16 04:27 PM

I'm glad to hear that smile!
Posted By: remax

Re: Questions, suggestions or requests topic - 01/03/16 11:52 AM

It works fine but my build needs "libwinpthread-1.dll" which is not listed in the wiki.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/03/16 12:02 PM

Right. I'll add it to the wiki! Thanks for the info.

BTW, the new tools also provide "ldd" on Windows. You can use it to query the required DLLs:

Code:
rene@vbox-win7 MINGW64 /c/Projekte/qmc2-mingw
$ ldd release/qmc2-mame.exe
        ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x77050000)
        kernel32.dll => /c/Windows/system32/kernel32.dll (0x76f30000)
        KERNELBASE.dll => /c/Windows/system32/KERNELBASE.dll (0x7fefce10000)
        msvcrt.dll => /c/Windows/system32/msvcrt.dll (0x7fefd3d0000)
        ole32.dll => /c/Windows/system32/ole32.dll (0x7fefda10000)
        GDI32.dll => /c/Windows/system32/GDI32.dll (0x7fefd230000)
        USER32.dll => /c/Windows/system32/USER32.dll (0x76e30000)
        LPK.dll => /c/Windows/system32/LPK.dll (0x7feff280000)
        USP10.dll => /c/Windows/system32/USP10.dll (0x7fefddb0000)
        RPCRT4.dll => /c/Windows/system32/RPCRT4.dll (0x7fefd2a0000)
        PSAPI.DLL => /c/Windows/system32/PSAPI.DLL (0x77210000)
        SHELL32.dll => /c/Windows/system32/SHELL32.dll (0x7fefe4f0000)
        SHLWAPI.dll => /c/Windows/system32/SHLWAPI.dll (0x7feff290000)
        libgcc_s_seh-1.dll => /mingw64/bin/libgcc_s_seh-1.dll (0x61440000)
        libwinpthread-1.dll => /mingw64/bin/libwinpthread-1.dll (0x64940000)
        libstdc++-6.dll => /mingw64/bin/libstdc++-6.dll (0x6fc40000)
        phonon4.dll => /mingw64/bin/phonon4.dll (0x659c0000)
        QtCore4.dll => /mingw64/bin/QtCore4.dll (0x6e0c0000)
        zlib1.dll => /mingw64/bin/zlib1.dll (0x62e80000)
        ADVAPI32.dll => /c/Windows/system32/ADVAPI32.dll (0x7fefe140000)
        sechost.dll => /c/Windows/SYSTEM32/sechost.dll (0x7fefd470000)
        WS2_32.dll => /c/Windows/system32/WS2_32.dll (0x7feff310000)
        NSI.dll => /c/Windows/system32/NSI.dll (0x7fefd8c0000)
        QtDBus4.dll => /mingw64/bin/QtDBus4.dll (0x6c900000)
        QtXml4.dll => /mingw64/bin/QtXml4.dll (0x6fac0000)
        QtGui4.dll => /mingw64/bin/QtGui4.dll (0x67700000)
        libpng16-16.dll => /mingw64/bin/libpng16-16.dll (0x68b40000)
        comdlg32.dll => /c/Windows/system32/comdlg32.dll (0x7fefd780000)
        COMCTL32.dll => /c/Windows/WinSxS/amd64_microsoft.windows.common-[...]/COMCTL32.dll (0x7fef2820000)
        IMM32.dll => /c/Windows/system32/IMM32.dll (0x7fefe110000)
        MSCTF.dll => /c/Windows/system32/MSCTF.dll (0x7fefd490000)
        OLEAUT32.dll => /c/Windows/system32/OLEAUT32.dll (0x7fefd930000)
        WINMM.dll => /c/Windows/system32/WINMM.dll (0x7feface0000)
        WINSPOOL.DRV => /c/Windows/system32/WINSPOOL.DRV (0x7fef7f40000)
        QtNetwork4.dll => /mingw64/bin/QtNetwork4.dll (0x65c80000)
        QtSql4.dll => /mingw64/bin/QtSql4.dll (0x61f80000)
        QtTest4.dll => /mingw64/bin/QtTest4.dll (0x63600000)
        QtWebKit4.dll => /mingw64/bin/QtWebKit4.dll (0x1110000)
        VERSION.dll => /c/Windows/system32/VERSION.dll (0x7fefc060000)
        libsqlite3-0.dll => /mingw64/bin/libsqlite3-0.dll (0x66380000)
        QtXmlPatterns4.dll => /mingw64/bin/QtXmlPatterns4.dll (0x68180000)
        SDL2.dll => /c/Projekte/qmc2-mingw/SDL2.dll (0x6c740000)
Posted By: remax

Re: Questions, suggestions or requests topic - 01/03/16 01:25 PM

Minor problem but svnversion works correctly when launched inside the qmc2 folder :

Code:
remax@remax-PC MINGW64 ~/qmc2
$ svnversion
7259M


but the svn number is not added to the build...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/03/16 01:29 PM

Yeah, I need to "do it the UNIX way" now... I'll correct that when I get to it.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/03/16 03:38 PM

Done smile.
Posted By: remax

Re: Questions, suggestions or requests topic - 01/03/16 05:51 PM

It's now ok smile

Is it hard to activate video snap under a MingW build ?

If yes, i'll stay with your VC compiled builds.

I understood that you need to "build/deploy qt-mobility for it", but i've not a single idea on how to do it (but i'm currently investigating on it)
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/03/16 10:41 PM

Originally Posted By remax
Is it hard to activate video snap under a MingW build ?

It's not trivial, especially because you have to rebuild QtWebKit as well... I'd suggest to stay with the official builds until I port that all to Qt 5.

Video snaps should work in the YouTube player though (Phonon).
Posted By: remax

Re: Questions, suggestions or requests topic - 01/04/16 01:06 PM

Originally Posted By qmc2
Originally Posted By remax
Is it hard to activate video snap under a MingW build ?

It's not trivial, especially because you have to rebuild QtWebKit as well... I'd suggest to stay with the official builds until I port that all to Qt 5.

Video snaps should work in the YouTube player though (Phonon).


Wow... ok, far beyond my abilities, so i'll follow your advice :-D
Posted By: oddi

Re: Questions, suggestions or requests topic - 01/05/16 03:57 PM

Hello Rene, how show svn revision inside "help --> about" window
because now show only main ver - "0.60".
Because this env:
set Tortoise_SVN_BIN=c:/Program Files/TortoiseSVN/bin/
not work anymore smile
Posted By: remax

Re: Questions, suggestions or requests topic - 01/05/16 05:39 PM

install http://sourceforge.net/projects/win32svn/files/1.8.14/apache22/svn-win32-1.8.14.zip/download

(copy the bin content in /usr/local/bin), verify that svnversion is working by launching it in the QMC2 folder, make sure you have the latest sources (post upper commit), and you're ok...
Posted By: oddi

Re: Questions, suggestions or requests topic - 01/05/16 06:34 PM

@remax where is usr/local/bin
i have msys64/usr/bin ( /local it's missing )
tnx smile
p.s. -Fixed!
tnx @remax , all ok smile
Posted By: remax

Re: Questions, suggestions or requests topic - 01/05/16 09:15 PM

No problem... of course, i should have said that you might need to create the /local folder.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/06/16 05:30 PM

You could also install subversion inside MSYS2 through pacman:

Code:
rene@vbox-win7 MINGW64 ~/src/qmc2
$ pacman -S subversion python2 ruby

(python2 and ruby are optional dependencies)
Posted By: oddi

Re: Questions, suggestions or requests topic - 01/18/16 03:20 PM

@Rene, the last svn 7290 - when try open tab "Notes" qmc2 crashed !
tnx smile

p.s. --> tab "Youtube" too crashed
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/18/16 04:46 PM

I haven't changed too much lately, so I'm surprised... did something else change on your end?
Posted By: oddi

Re: Questions, suggestions or requests topic - 01/18/16 05:25 PM

Nothing, compiling and updated with "distclean".
Btw - i try with clenan instalation - same result:
youtube now work
Notes crashed
Posted By: oddi

Re: Questions, suggestions or requests topic - 01/21/16 03:58 PM

@Rene, now compiling to r7303, same history:
when try open tab "Notes" and qmc2 crashed.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/21/16 04:50 PM

oddi: doesn't crash here. I assume it's related to using a template that wants an HTML5 video container which isn't available in your build.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/21/16 05:00 PM

Also, could you provide a gdb backtrace? Run it from command line as "gdb release/qmc2-mame.exe", then enter "run" and provoke the crash... back in gdb enter "bt" and post the output. I hope it contains at least some symbols smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/21/16 05:22 PM

FWIW, with a MinGW build I get a crash as well (the backtrace isn't useful though). And it's not related to the notes template. I'll try a debug build now wink...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/21/16 05:39 PM

Hmmm, seems to be related to the QtWebKit in this environment... I probably can't change it. That's why the official builds come with "my" Qt setup.
Posted By: oddi

Re: Questions, suggestions or requests topic - 01/25/16 04:03 PM

Hi Rene, now with r7314 qmc2 it's a rocket !!! full load 2,8secs.
But problem with crash "Notes" tab is not solved:(
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/25/16 05:00 PM

Yeah, I've done a lot of optimizing lately. I'm glad it also works nicely for others (even on Windows) wink.

Regarding your issue with the Notes tab... as I said, I can probably not solve it myself. At least I know that I didn't change anything related, and it works with my VC++ builds, so it can only be the MSYS2's Qt 4 package (their QtWebKit build).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/29/16 12:36 PM

Ha - I just found a way to speed things up by about half a second (that is, I found out what I did "wrong" in one place)! So I'm down to 2.15 seconds for everything now, even less than 2.1s when I switch off the loading animation. Try SVN r7328 smile.
Posted By: remax

Re: Questions, suggestions or requests topic - 01/29/16 05:03 PM

You're now less than 3 seconds from having negative loading times laugh

Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/29/16 05:24 PM

Heh - that's the hard part smile.
Posted By: oddi

Re: Questions, suggestions or requests topic - 01/30/16 03:21 PM

@Rene, now i try investigate where is problem with crashed "NOTES" tab. ALL ok , but if enable options
"SYSTEM Notes Template"
"Software notes template"
and tab "Notes" start crash.
Tnx smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/30/16 03:26 PM

oddi: I answered it twice already! Your problem is the MSYS2's Qt 4 package / their build of QtWebKit. I have no control over it, and the official build (which comes with a clean Qt 4 / QtWebKit build) works absolutely fine. So, I can and will not "fix" anything as it has to be fixed elsewhere.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/30/16 03:57 PM

Also, this feature will likely be no longer available when we switch to Qt 5 because they ditched QtWebKit (and a few more modules that we use in QMC2). I can't say yet if the new QWebEngine API and its support for JavaScript is equivalent enough to what QtWebKit supports (AFAIK, it's not a 100% replacement yet) so that the feature could be ported, but if not, it may get dropped anyway, and be replaced by something similar in the future.

That's also a reason why I don't pay too much attention to this MSYS2/MinGW specific problem. The solution could be to create a local Qt 4.8.7, but that's your own job.
Posted By: oddi

Re: Questions, suggestions or requests topic - 01/30/16 05:33 PM

Okeyyy, back to 4.8.6 from old buildtools, now all it's fine smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 01/30/16 07:19 PM

Yeah, that's another option (good you still have it) wink!
Posted By: Dinsdale

Re: Questions, suggestions or requests topic - 02/11/16 04:46 AM

One thing I wish QMC could do is filter out categories of games from display or hide games based on criteria. For example, if I didn't want to display anything made after 2000, I could specify that, or if I wanted to hide all Electromechanical games, I could do that, too.

I went looking for that functionality, but it doesn't seem to be there. Any chance of getting it?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/11/16 05:38 AM

Something like that is already possible with QMC2 Arcade, but not yet in the main GUI. There will be a flexible way to do this (and similar things) in the future, but there's more important stuff I have to do first...
Posted By: NLS

Re: Questions, suggestions or requests topic - 02/16/16 12:31 PM

Guys something basic for you.

Seems like only "plain" MAME ROMs are working for me.

My paths are like that...

MAME\roms
MAME\chds
MAME\sw_list_roms
MAME\sw_list_chds

Where do I set the above setup in QMC2 configuration?
Are all four under the same config field, separated by semicolon?
(Options\Emulator\Global configuration\Search paths\rompath)
Or I missed some other place where I need to set the paths?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/16/16 12:50 PM

Originally Posted By NLS
Are all four under the same config field, separated by semicolon?

Yes.
Posted By: Praxis

Re: Questions, suggestions or requests topic - 02/27/16 06:18 PM

Hello! Thanks for your suggestions, Rene. It made more sense to continue here instead of on the Shout Box.
To recap, MAME 0.171 is crashing when I load any system/game/softlist item from QMC2 0.61 (all on Win 7 64bit).
My Working Directory has always been empty. setting it to the MAME64.exe location didn't make any difference.
In case it's relevant, I make sure to overwrite the old MAME and QMC2 files when moving to a new version.
Lastly, here's an example from the 'Front end log':
Quote:
18:14:19.567: starting emulator #0, command = E:\emu\MAME\mame64.exe -bloom_overdrive 1.000000,1.000000,1.000000 -mouse -joystick_deadzone -0.900000 -joystick_saturation 0.250000 -autoframeskip -multithreading -rompath "E:\emu\+Images\ROMS;E:\emu\+Images\Software_Lists" -hashpath "E:\emu\MAME\hash" -artpath "E:\emu\MAME\artwork" -numscreens 3 hp48sx
18:14:19.762: emulator #0 started, PID = 258412832, running emulators = 1
18:14:59.510: emulator #0 finished, exit code = 255 (unknown error), exit status = normal, remaining emulators = 0
Posted By: Praxis

Re: Questions, suggestions or requests topic - 02/27/16 09:59 PM

Replying to myself because... it works! I found the Option corresponding to the -numscreens 3 argument and put back to the default of 1. No idea why it was set at 3. I can only assume that in the past, my mouse cursor was hovering over that control when I scroll-wheeled up, expecting the window to scroll up!
I wonder if that explains the command line bloom_overdrive and joystick arguments that I don't remember ever specifying in the Options.
Posted By: Praxis

Re: Questions, suggestions or requests topic - 02/27/16 10:23 PM

Apologies for clogging up the thread with posts. This is interesting and I'm learning a lot smile
After a little more tidying up of the Options, the command line QMC2 feeds to MAME looks more sane. There's just one bit still puzzling me, the '-bloom_overdrive 1.000000,1.000000,1.000000' argument. I found it in Options under Direct3D HLSL. That's a whole area of MAME I've never used and am not planning to, so it's Disabled, as per the default. Why then is QMC2 feeding it a default command line argument for bloom_overdrive? Shouldn't it only come into effect if I enable HLSL?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/28/16 09:14 AM

Well, '-bloom_overdrive 1.000000,1.000000,1.000000' is the same as the default (1.0,1.0,1.0), so it shouldn't be specified on the command line because there's no difference to the default value. This looks like a bug, however, it doesn't really hurt.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/28/16 10:13 AM

I've just submitted a possible fix for this to SVN, but it's yet completely untested...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/28/16 10:34 AM

I'm currently building a new Win32 x64 binary (QMC2 main UI only) and let you know when it's done so you could test if it fixes it.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/28/16 11:09 AM

So here's the replacement binary for you to test: http://qmc2.batcom-it.net/download/temp/qmc2-mame-x64-0.62-SVN-r7392.zip
Posted By: Praxis

Re: Questions, suggestions or requests topic - 02/28/16 12:12 PM

Thank you Rene, I really appreciate you listening and responding so quickly smile

Good news is that your updated binary fixes the bug. The command MAME command line no longer has the unnecessary bits. For example:
Quote:
11:49:52.412: starting emulator #3, command = E:\emu\MAME\mame64.exe -mouse -nojoystick -autoframeskip -multithreading -rompath "E:\emu\+Images\ROMS;E:\emu\+Images\Software_Lists" -hashpath "E:\emu\MAME\hash" -artpath "E:\emu\MAME\artwork" hp9845a
11:49:52.602: emulator #3 started, PID = 244939040, running emulators = 1
11:49:59.546: emulator #3 finished, exit code = 0 (no error), exit status = normal, remaining emulators = 0


There is just one low-priority oddiy remaining that you might be interested in. The bloom_overdrive Option always has the 'Reset to default value' button constantly highlighted, no matter that it's already at Default. I've not noticed this behaviour elsewhere in any other Options, so it's probably confined to this one case.


Thanks again for your efforts! It's been fun to play my part in this process. Hope it helped.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/28/16 12:28 PM

Look up its stored value in qmc2.ini (search for bloom_overdrive). Maybe there's a value stored with more than 6 digits, say "1.0000001". Otherwise there's probably a similar bug in the code that checks this.

EDIT: Never mind, I can reproduce this...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/28/16 12:58 PM

OK, r7393 should fix it: http://qmc2.batcom-it.net/download/temp/qmc2-mame-x64-0.62-SVN-r7393.zip
Posted By: Praxis

Re: Questions, suggestions or requests topic - 02/28/16 01:16 PM

Just given it a quick test. All fixed! Command line and that Option are both looking normal.
Good work Rene, much appreciated smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/28/16 02:20 PM

Yeah, thanks for testing!

There's actually a new bug in this code from above which I'm currently fixing... however, it makes no difference for you.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 02/28/16 04:29 PM

I found a few more oddities with this type of options, but it should be fixed completely now in r7404: http://qmc2.batcom-it.net/download/temp/qmc2-mame-x64-0.62-SVN-r7404.zip

You should also update the template file (data/opt/MAME/template.xml) for this binary. The new template is included in the ZIP!
Posted By: Praxis

Re: Questions, suggestions or requests topic - 02/28/16 07:35 PM

It's unlikely I'd notice anything else amiss in the Options, but I'm happy to help test!
Thanks for pointing out the updated template file. I've seen the template file mentioned a lot on this forum but never known what it's purpose is.

I looked around it as thoroughly as I could, but bear in mind I'm unfamiliar with a lot of MAME and QMC2 functionality. I looked at as many different types of Options, settings and controls as I could find, and nothing looked wrong.

The whole exercise was a good way for me to learn a little more about MAME/QMC2. In fact, I ended up with one or two questions, but I'll leave those for another day.

Good work and thanks smile
Posted By: Praxis

Re: Questions, suggestions or requests topic - 03/06/16 10:56 AM

Hello again, I hope you had a good week. smile
There's something that looks wrong in the expanded detail view in the Machine list. Of course, it might just be me being a clueless user. In case it's a bug, here it is:

Lots of different fields, all of which are totally empty. Should something be displayed in these fields? The same happens across every machine I've tried.
As for my config, same details as before: Win7 x64, using the most recent QMC2 build you supplied last weekend.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/06/16 11:02 AM

You need to display the "Icon / Value" column in order to see the *values* to the attributes displayed here. It just shows the XML attributes the machine has with their possible, fixed and/or default values.
Posted By: Praxis

Re: Questions, suggestions or requests topic - 03/06/16 12:19 PM

Ahh, thanks for explaining! smile I didn't realise that that column corresponded to those details which is why I hid it in the first place.
Relatedly, is there any way to stop that expanded list of details from displaying when you double click to run a machine? Unfortunately, double clicking to start (which feels more intuitive to me) always leaves behind that expanded details tree after exiting MAME.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/06/16 12:32 PM

The only way to control this QMC2-wise is by disabling "double-click activation" (see "Front end" / "Machine list" in the setup). Then just use the context menu to launch it (right click), press Enter or Ctrl+P, click Play / Play embedded in the tool-bar or whatever smile.
Posted By: oddi

Re: Questions, suggestions or requests topic - 03/31/16 07:20 PM

Hello Rene, mame have new extra, may add to qmc2 smile
http://www.progettosnaps.net/gameinit/
a new games info smile
I think Shidearavan templates too update for this extra smile
Good luck smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/01/16 06:48 AM

And It think it's nice that the internal UI already supports it so QMC2 doesn't need to smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/01/16 07:50 AM

Also, if this is a serious feature request, please file it at our bug-tracker. Be aware, though, that things like this will probably not be added before the switch to Qt 5 has been completed. The reason for this also is that I will have to replace the use of QtWebKit with QtWebEngine, and I don't know yet how much this will affect "notes templates" (JavaScript support).
Posted By: NLS

Re: Questions, suggestions or requests topic - 04/01/16 11:34 AM

A few questions AND A FEATURE REQUEST for you please:

Now with mame zipped extras I try to cleanup my QMC2 setup...

1) My videos (from videosnaps torrent) are set properly and QMC2 actually finds them, but they are played only in audio, no video. Should some specific CODECs be installed? (VLC shows videos fine and I have ffdshow latest tryout installed)

2) Seems it cannot see the new zipped extras (although set properly in config). Am I correct to assume, that the extra folder level they have doesn't allow for that? (so not an issue in QMC2)

3) How can I make cheat.7z work for QMC2? Doesn't seem to get a file as parameter, only a folder. (Options/Emulator/Global/Search paths/cheatpath)

4) Same for (new) ctrlr.zip. QMC2 seems to only be able to use a path?

5) This is more a general MAME question... Seems that crosshair is not used any more? It is not included in MAME distribution.

6) I have some confusion concerning artpreview and snap folders (or zips) and how they relate to QMC2 config. In Options/Front end/Files-Directories/Preview file (or directory) I have snap.zip. Is this the place for artpreview.zip instead? If not (and snap.zip is correct), where should I set artpreview to see it?

7) Feature: Allow for transparent portable setup. AFAIK QMC2 can be portable if you set the path to qmc2.ini in a parameter. This is not easy for systems that you don't invoke the front-end from console window OR using a shortcut (as shortcuts bind to specific drive letters and you don't want that in a portable setup). This can easily be resolved if QMC2 FIRST checks if there is qmc2.ini in own (qmc2) folder (or .qmc2 folder IN qmc2 own folder) AND THEN check user home directory for .qmc2 (precedence is to be discussed). How does this sound? Easy to implement I guess and will make it way more portable.

That's all for now. :P
Appreciate any help.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/01/16 12:24 PM

1) Of course you need the right codecs installed to display MP4 and/or AVI. Which one depends on your platform / distribution and personal taste.

2) What are "the new zipped extras"?

3) You don't pass a file name but a folder name here. cheat.7z is a folder named cheat. That's actually an emulator related question, not a front-end one.

4) Probably the same, but I dunno exactly.

5) AFAIK, they still work and were never included in the MAME binary.

6) What's "artpreview"? Previews in QMC2 are meant to be in-game screen shots... but you basically use them for whatever you like... there's custom artwork classes now (since a few version) which you can define and name yourself.

7) QMC2 is "portable" the way it is. If it's not the solution you want, suggest a clean patch (that solves the inherent chicken and egg problem).
Posted By: NLS

Re: Questions, suggestions or requests topic - 04/01/16 12:56 PM

1) Windows 10 x64. FFDShow x64 latest installed. Point me to help please?

2) Sorry, PleasureDome started "releasing" (lacking a better word) AntoPISAs collection of extras (snaps, ends, bosses, pcb etc.) in zipped format (a zip for each folder, except samples and artwork). MAME itself can use those directly. But ignore this for now, as it MIGHT be an issue with the zips.

3) Same thing but different case. Cheat.7z was always (last few years) 7zipped and able to be used directly by MAME AFAIK (as all other folders).

4) Same as #3. Unlike #2 (where the issue could be the zips being one folder "deeper" - so ignore for now, not your problem), here the issue is that AFAIK MAME supports the ctrlr folder to be zipped (like snap.zip) and QMC2 doesn't.

5) Thanks.

6) "Artwork Preview". Yes I know about custom classes. That said, shouldn't QMC2 support directly what MAME itself (and embedded GUI) already supports?
In 0.172, ui.ini (part of stock mame) has provisions for:
cabinets, cpanels, pcbs, flyers, titles, ends, marquees, artwork_preview, bosses, logos, scores, versus, gameover, howto, select, icons, covers.
...as zipped files or folders.
Some of these are missing from QMC2.

7) Suggest a clean patch as in develop the solution myself and submit the patch? laugh Because it's been years since I could do that. smile If you mean something else, please let me know. I think my proposal was pretty clean:
- check if ./qmc2.ini exists.
- check if ./qmc2/qmc2.ini exists.
- check if $home/.qmc2/qmc2.ini exists (as is now).
...use the first you find.

Thanks for your reply.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/01/16 12:58 PM

The problem with your idea for 7) is that the binary and the configuration can and should generally be installed in different places... in other words, you're thinking too Windows-centric. But then again, what's the problem of adding "-config_path ." to the QMC2 command? There are .cmd / .bat files for that, or even console aliases smile.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/01/16 01:06 PM

1) Whatever the latest and greatest codec collection for Win 10 may be? I have no idea... but I'm sure some users here do smile!

2) Oh, OK. Put them in "custom artwork classes"!

3) Sure. I didn't say anything different. Just OMIT the .7z suffix of the file name when you enter its path in QMC2 (same as on the command line, BTW).

6) No, it shouldn't. Or better, that's WHY there are custom artwork classes. Everyone has different wishes, and the collections (esp. AntoPISA's) grow and spread faster than I could add new classes... so I've decided to make it up to the user to define whatever he/she likes. Everything else is too static and would require my work every time the community changes their current trends smile.
Posted By: NLS

Re: Questions, suggestions or requests topic - 04/01/16 03:05 PM

2) Erm... ok. Note that mame itself, has "snapshot_directory" in mame.ini and "artwork_preview_directory" in ui.ini. So it already treats them as something different.

3) Clear thanks. You know if it will work for #4 (ctrlr) too?

6) As in #2 above. I am not talking about whatever collection AntoPISA makes, I am talking about those supported by stock 0.172 MAME and the stock UI. Somebody would expect that QMC2 stores and is able to configure (without using "custom classes") at least what stock MAME supports. But this is your call of course.

7) As I explained, yes it can be done with bat files and/or shortcuts set to call the parameter. Not purely a transparent portable solution.
(if you remember - I am sure you don't - I was striving for portability years ago too, when I pointed some paths that were not working using relative paths)

That said (and generally speaking), I really really doubt config and exe in same directory is Windows-centric. I've seen it done from the days of the Amiga (and before, but before Amiga and DOS, multi-level folders where rare anyway) and definitely is still done by many many many linux programs.

MAME itself is one! MAME holds the most important ini directly in its root.

In any case I don't think adding such a check during initialization would hurt QMC2 in any way - but your call again. smile

Thanks. smile
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/01/16 03:12 PM

2) May be, but QMC2's (my) decision to do it the custom artwork way was way earlier than the latest MAME changes... and I don't care for the internal UI (not because it's bad but because it's not QMC2 related).

6) I think that 2) answers it.

7) Yes, I remember, and your post from that time was one reason why I added a Windows-specific option. But regarding usual placement of binaries and data, you're wrong. Anyway, I told you the solution for your specific use case a few posts back.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 04/01/16 03:13 PM

Actually, MAME on Linux prefers that mame.ini be in "$HOME/.mame/mame.ini". we support the Windows-like fallback behavior to encourage converts ;-)
Posted By: trevDesigns

Re: Questions, suggestions or requests topic - 04/01/16 10:24 PM

Feature Requests.
1. Is it possible to do a multiple column sort in the Machine List View? The issue arises if I sort the list by Manufacturer then the Machine / Clones column is out of order. I think 3 levels of sorting would be sufficient, i.e Sort By Column A, then by Column B, then Column C where the user chooses which columns to sort by.
2. Is it possible to have all of the columns available in the Favorites tab view like how they are available in Machine List tab view?
3. Is it possible to have an additional customizable "widget" pane. It would be nice to move the machine/emulator information tabs to another pane and be viewed at the same time as the preview screenshots.

Congrats on the the 10 years!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/02/16 06:29 AM

1) It is possible and does already work implicitly. It's just not restored at start-up (restoring that would slow it down).
2) Not in the current implementation, but there are plans to change this.
3) No, or not yet. But there are the "system- and software-notes" features which you can customize the way you like through an HTML5/JavaScript 'template'.
Posted By: trevDesigns

Re: Questions, suggestions or requests topic - 04/02/16 07:58 PM

1. Thanks - I mustve had an additional sort criteria that was throwing it off. This works fine.
2. Looking forward to this.
3. PERFECT. I will be able to do what I need here.
Keep up the great work.
Posted By: Praxis

Re: Questions, suggestions or requests topic - 04/08/16 02:59 PM

Hi again! I hope you're well.
I've hit a problem and really hope there's a quick and simple remedy.
At some time last month Software Lists stopped displaying properly. Instead of various numbers for L, C, M, I, N, U and S, they all display 0. Instead of displaying lost of incorrect or unknown's, which it would do if, for example, my sets were wrong or not found, the Software list is totally empty. Worryingly, even my Favorites have disappeared. If there was a Path or set problem, it would simply show unfound Favorites, so it's not that. 'Check software states' does nothing. Everything is still empty.
How can I make it function again and retreive the soft list Favorites?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/08/16 03:07 PM

If that's with just a certain system or some, make sure the software-lists in question are enabled (click on the icon in the tool-box header's top-left corner, select "Visible software-lists" and then follow the menu - see here)... if that's with all systems, then clear the software-list cache and let it reload software-lists.

The software-list favorites are stored in the "user-data database"... if the software-lists they are from are set to invisible they aren't shown, though.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/08/16 03:37 PM

If it's not related to what I've said above, and in case you can remember... what has changed "at some time last month"?
Posted By: Praxis

Re: Questions, suggestions or requests topic - 04/08/16 04:43 PM

Thanks for the advice!
Interesting to learn about the 'Visible software-lists' options. I wasn't even aware they existed. As it happens, that wasn't connected to my problem.
Clearing the software-list cache fixed most of the problems. 'Checking software-states' now shows all the software list entries that should be there smile
Most of the software list Favorites are there, but strangely, not all for every system.
To investigate further (and learn more!) I found the database you referred to, called mame-user-data.db here on Windows. Unfortunately neither MS Access 2007, nor LibreOffice Base wanted to open it. Opening it in the Wordpad text editor however does show what appears to be names of all the Favorites, including for those systems that don't show up in QMC2. I suppose that means that they're there, but not being displayed for some reason.

As for remembering what changed over the past month or so, that's tricky. I'm a casual user and don't delve into every system on a regular basis. That means I don't know when the problems emerged. If you remember back to the previous version cycle, I ended up using the Win7 x64 builds of QMC2 that you kindly made for me. Annoyingly, I don't know if what happened, happened before that, after I using those builds, or only after the most recent stable releases of MAME & QMC2.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/08/16 05:35 PM

You need sqlite3 to access the DBs correctly... well, could it be that some of the systems, software-lists or software-names in question have been renamed? They will not magically be renamed in the database, and there's no tool for that either (other than sqlite3).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/08/16 05:44 PM

This could also help: http://sqlitebrowser.org/
Posted By: Praxis

Re: Questions, suggestions or requests topic - 04/08/16 05:52 PM

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
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/08/16 05:54 PM

Yeah, just create backup copies before you edit them with any tool smile.
Posted By: Praxis

Re: Questions, suggestions or requests topic - 04/09/16 05:12 PM

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!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/09/16 05:58 PM

Nice! Glad it works again!
Posted By: oddi

Re: Questions, suggestions or requests topic - 04/24/16 01:12 PM

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

Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/24/16 01:20 PM

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?
Posted By: oddi

Re: Questions, suggestions or requests topic - 04/24/16 02:08 PM

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.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/24/16 02:21 PM

Working fine here. So what does the emulator log say about the issue, probably using -verbose as well?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/24/16 02:27 PM

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.
Posted By: oddi

Re: Questions, suggestions or requests topic - 04/24/16 02:29 PM

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.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/24/16 02:33 PM

Then you're using different setups... start both the same way (see command in your log above) and when it also "works with MameUi" (what!?) in this case, please still tell me what the emulator log says, or I'm sorry I can't help!
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/24/16 02:40 PM

Also, since the emulator just crashes now, it's actually not too weird that there's no output to the emu log. So, try the SAME command that causes the crash through QMC2 on the command line...
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/24/16 03:01 PM

I just realize that you're trying to embed the emulator... don't do that with -video d3d, it could be causing the crash (at least full screen switching is known to crash in embedded mode with -video d3d). QMC2's embedder on Windows is also not the cleanest thing hacked on Earth smile!
Posted By: oddi

Re: Questions, suggestions or requests topic - 04/24/16 03:18 PM

Ah Rene, found where is problem !!!
have any problem with mame and lua plugins for cheat and cheatfinder
if disable lua support - all is fine

Code:
18:17:27.087: stdout[#0]: G:\M.A.�.�/plugins/timer/init.lua:59: attempt to perform arithmetic on a nil value (upvalue 'play_count')
18:17:27.528: stdout[#0]: G:\M.A.�.�/plugins/timer/init.lua:40: bad argument #1 to 'write' (string expected, got nil)
18:17:27.528: stderr[#0]: pang.xml(5): error parsing cheat expression "maincpu.pb@E01C!=00" (non-existent memory space)


PS- no, crashed again frown

p.p.s - mystery , compile again clean mame, now and mameui too crashed frown
Posted By: oddi

Re: Questions, suggestions or requests topic - 04/24/16 07:21 PM

Afetr full reset qmc2 and mame settings - now all it's fine
Posted By: remax

Re: Questions, suggestions or requests topic - 04/29/16 11:18 AM

Click to reveal...


I have a full set, the games launch well, they are audited 100% by both QMC2 and CMP, but they are spotted as missing by the rom checker.

Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/29/16 01:06 PM

@remax: well, MAME reports them as "bad" then, for whatever reason.

This is what I get with MAME 0.173:

Code:
rene@marvin:~/src/mame-git> ./mame64 -verifyroms roadblstc1
romset roadblstc1 [roadblst] is good
1 romsets found, 1 were OK.

Posted By: remax

Re: Questions, suggestions or requests topic - 04/29/16 07:24 PM

OK i understood the problem. My sets are merged, and there was a weird folder in the zip containing a deprecated rom.

EDIT : Ah ok, i found a weird collision for roadblstgu\136032.107.b2 (CRC : 7a29dc07) (which is 136032.104.f5 (CRC : 7a29dc07) from the atarisy1 bios rom)

and

136032.107.b2
(CRC : 315e4be4) from atarisy1 bios rom, which is a different rom, with a different CRC.

An error from MAME ?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/30/16 07:16 AM

I've rebuilt my ROM collection for the XML data from 0.173 with QMC2's ROMAlyzer (ROM Collection Rebuilder) yesterday. The result is perfect, that is, I see no issue in MAME.

Regarding your specific problem... well, yeah, "merging sets" by just copying files from parents will not work correctly. I'm not sure how you did it, but when it was done through CMP, the bug probably lies in CMP.

Anyway, when I instruct QMC2 to export "self-contained" sets (which is what CMP calls "merged"), the result is also correct here:

Code:
rene@marvin:~/src/mame-git> unzip -vl /home/games/mame/export/roadblstgu.zip | grep 7a29dc07
    8192  Defl:N     4069  50% 2016-04-30 09:07 7a29dc07  136032.107.b2

rene@marvin:~/src/mame-git> ./mame64 -rompath /home/games/mame/export -verifyroms roadblstgu
romset roadblstgu [roadblst] is good
1 romsets found, 1 were OK.
Posted By: remax

Re: Questions, suggestions or requests topic - 04/30/16 01:20 PM

Well, i think it's more complicated than that.

If the sets are split, there is no problem, but when merged here is the problem :

As my sets are merged i have to have the 136032.107.b2 (7a29dc07) in my set which override at launch the 136032.107.b2 (315e4be4) from atarisy1 bios rom

It's the intended behaviour, and it works well when having split sets as it will just override for roadblstgu as it's the only set which have the rom.

But as my sets are merged, the 136032.107.b2 (7a29dc07) will override FOR ALL THE SETS of the merged rom.
It's not the intended behaviour and will cause the rom checking to fail

The games works as MAME load the roms in a zip by CRC and there is another rom with a different name and the good CRC.

Hence two solutions :

*you remove the 136032.107.b2 (7a29dc07)
and you make MAME (and QMC2) happy, BUT you miss the 136032.107.b2 file for roadblstgu which is bad as a documentation POV (and it makes CMP unhappy but that's a little thing).
* You keep the file, but then MAME/QMC2 will report the rom as incorrect.

I think, if the roms naming stay as it is there is no correct solution if you have merged sets.

I feel it's gonna be an edge case where every camp will say they handle the thing correctly and i have little hope it will be fixed.

The best solution would be to change the 136032.107.b2 (7a29dc07) to something like 136032.107.b2-german (7a29dc07) but i am not sure the MAME team would accept that


I hope i have explained the situation clearly enough.

Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/30/16 01:31 PM

Well, the "merged set" (self-contained in QMC2 jargon) I created above is actually fine for MAME and QMC2. I didn't say it's a simple case, but it can obviously be solved.
Posted By: remax

Re: Questions, suggestions or requests topic - 04/30/16 01:35 PM

Nothing. I'm doing other tests.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/30/16 01:52 PM

Here's what the ROM Collection Rebuilder produces (self-contained), which looks good to me:

Code:
rene@marvin:~> unzip -vl /home/games/mame/export/roadblstgu.zip
Archive:  /home/games/mame/export/roadblstgu.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
     256  Defl:N       17  93% 2016-04-30 15:50 7e84972a  136032.101.e3
     256  Defl:N       20  92% 2016-04-30 15:50 ebf1e0ae  136032.102.e5
     235  Defl:N      125  47% 2016-04-30 15:50 92d6a0b4  136032.103.f7.bin
     256  Defl:N       17  93% 2016-04-30 15:50 7e84972a  136032.101.e3
     256  Defl:N       20  92% 2016-04-30 15:50 ebf1e0ae  136032.102.e5
     235  Defl:N      125  47% 2016-04-30 15:50 92d6a0b4  136032.103.f7.bin
   16384  Defl:N     7091  57% 2016-04-30 15:50 195c54ad  136032-114.j7
   16384  Defl:N     8626  47% 2016-04-30 15:50 7275b4dc  136032-115.j8
   32768  Defl:N    14750  55% 2016-04-30 15:50 604a5cc0  136048-1257.c11
   32768  Defl:N    19257  41% 2016-04-30 15:50 3d10929d  136048-1258.a11
   32768  Defl:N     8554  74% 2016-04-30 15:50 b9c807ac  136048-1259.c13
   32768  Defl:N    16313  50% 2016-04-30 15:50 eaeb1196  136048-1260.a13
   32768  Defl:N     2201  93% 2016-04-30 15:50 054273b2  136048-1163.c12
   32768  Defl:N    10352  68% 2016-04-30 15:50 49181bec  136048-1164.a12
   32768  Defl:N     1594  95% 2016-04-30 15:50 f63dc29a  136048-1165.c14
   32768  Defl:N     7869  76% 2016-04-30 15:50 b1fc5955  136048-1166.a14
   32768  Defl:N     7909  76% 2016-04-30 15:50 c6d30d6f  136048-1167.c16
   32768  Defl:N    16041  51% 2016-04-30 15:50 16951020  136048-1168.a16
   16384  Defl:N      605  96% 2016-04-30 15:50 5c1adf67  136048-2147.c17
   16384  Defl:N     6423  61% 2016-04-30 15:50 d9ac8966  136048-2148.a17
   16384  Defl:N     9345  43% 2016-04-30 15:50 2e54f95e  136048-1149.e14
   16384  Defl:N     9282  43% 2016-04-30 15:50 ee318052  136048-1169.e15
   16384  Defl:N     9049  45% 2016-04-30 15:50 75dfec33  136048-1170.e17
    8192  Defl:N     4069  50% 2016-04-30 15:50 7a29dc07  136032.107.b2
   32768  Defl:N    13432  59% 2016-04-30 15:50 fe342d27  136048-1101.b4
   32768  Defl:N    11586  65% 2016-04-30 15:50 17c7e780  136048-1102.b9
   32768  Defl:N     9898  70% 2016-04-30 15:50 39688e01  136048-1103.f4
   32768  Defl:N     7746  76% 2016-04-30 15:50 c8f9bd8e  136048-1104.f9
   32768  Defl:N     1214  96% 2016-04-30 15:50 c69e439e  136048-1105.h4
   32768  Defl:N      754  98% 2016-04-30 15:50 4ee55796  136048-1106.h9
   32768  Defl:N    18187  45% 2016-04-30 15:50 2533be39  136048-1119.b3
   32768  Defl:N    13040  60% 2016-04-30 15:50 3de4f4db  136048-1120.b8
   32768  Defl:N    13356  59% 2016-04-30 15:50 4a1b6b9f  136048-1121.f3
   32768  Defl:N    11691  64% 2016-04-30 15:50 680bdb7d  136048-1122.f8
   32768  Defl:N    17986  45% 2016-04-30 15:50 a405d8bf  136048-1123.b2
   32768  Defl:N    16401  50% 2016-04-30 15:50 b9070c2e  136048-1124.b7
   32768  Defl:N    13988  57% 2016-04-30 15:50 5dfac572  136048-1125.f2
   32768  Defl:N    14338  56% 2016-04-30 15:50 a0416c6d  136048-1126.f7
   32768  Defl:N    17549  46% 2016-04-30 15:50 0138b391  136048-1127.b1
   32768  Defl:N    15941  51% 2016-04-30 15:50 5136fb4b  136048-1128.b6
   32768  Defl:N    14805  55% 2016-04-30 15:50 7d75bb12  136048-1129.f1
   32768  Defl:N    11380  65% 2016-04-30 15:50 81bb54d9  136048-1130.f6
   32768  Defl:N    13958  57% 2016-04-30 15:50 72233889  136048-1131.d4
   32768  Defl:N    13159  60% 2016-04-30 15:50 6a82b8a7  136048-1132.d9
   32768  Defl:N    11740  64% 2016-04-30 15:50 845dd347  136048-1133.d2
   32768  Defl:N     9270  72% 2016-04-30 15:50 54e4c9e6  136048-1134.d7
   65536  Defl:N    30338  54% 2016-04-30 15:50 a47bc79d  136048-1115.d3
   65536  Defl:N    28050  57% 2016-04-30 15:50 b8a5c215  136048-1116.d8
   65536  Defl:N    22303  66% 2016-04-30 15:50 2d1c1f64  136048-1117.d1
   65536  Defl:N    24661  62% 2016-04-30 15:50 be879b8e  136048-1118.d6
     512  Defl:N      120  77% 2016-04-30 15:50 db4a4d53  136048-1174.a7
     512  Defl:N       58  89% 2016-04-30 15:50 c80574af  136048-1173.a5
--------          -------  ---                            -------
 1436118           536603  63%                            52 files

A "space-efficient" set would only contain these:

Code:
rene@marvin:~> unzip -vl /home/games/mame/export/roadblstgu.zip
Archive:  /home/games/mame/export/roadblstgu.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
   32768  Defl:N    14750  55% 2016-04-30 15:53 604a5cc0  136048-1257.c11
   32768  Defl:N    19257  41% 2016-04-30 15:53 3d10929d  136048-1258.a11
   32768  Defl:N     8554  74% 2016-04-30 15:53 b9c807ac  136048-1259.c13
   32768  Defl:N    16313  50% 2016-04-30 15:53 eaeb1196  136048-1260.a13
   32768  Defl:N    18187  45% 2016-04-30 15:53 2533be39  136048-1119.b3
   32768  Defl:N    13040  60% 2016-04-30 15:53 3de4f4db  136048-1120.b8
   32768  Defl:N    13356  59% 2016-04-30 15:53 4a1b6b9f  136048-1121.f3
   32768  Defl:N    11691  64% 2016-04-30 15:53 680bdb7d  136048-1122.f8
   32768  Defl:N    17986  45% 2016-04-30 15:53 a405d8bf  136048-1123.b2
   32768  Defl:N    16401  50% 2016-04-30 15:53 b9070c2e  136048-1124.b7
   32768  Defl:N    13988  57% 2016-04-30 15:53 5dfac572  136048-1125.f2
   32768  Defl:N    14338  56% 2016-04-30 15:53 a0416c6d  136048-1126.f7
   32768  Defl:N    17549  46% 2016-04-30 15:53 0138b391  136048-1127.b1
   32768  Defl:N    15941  51% 2016-04-30 15:53 5136fb4b  136048-1128.b6
   32768  Defl:N    14805  55% 2016-04-30 15:53 7d75bb12  136048-1129.f1
   32768  Defl:N    11380  65% 2016-04-30 15:53 81bb54d9  136048-1130.f6
   32768  Defl:N    13958  57% 2016-04-30 15:53 72233889  136048-1131.d4
   32768  Defl:N    13159  60% 2016-04-30 15:53 6a82b8a7  136048-1132.d9
   32768  Defl:N    11740  64% 2016-04-30 15:53 845dd347  136048-1133.d2
   32768  Defl:N     9270  72% 2016-04-30 15:53 54e4c9e6  136048-1134.d7
--------          -------  ---                            -------
  655360           285663  56%                            20 files
Posted By: remax

Re: Questions, suggestions or requests topic - 04/30/16 02:04 PM

OK i'll look into it. I think that's probably a Clrmame Pro problem.

EDIT : Your example is bad as it's only for roadblstgu which is the only set which is not reported as bad (see my previous explanation).

You must test it with all the roadblst merged set and test other sets.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/30/16 03:20 PM

OK, back to roadblstc1 (or which one?)...

Self-contained:

Code:
rene@marvin:~> unzip -vl /home/games/mame/export/roadblstc1.zip
Archive:  /home/games/mame/export/roadblstc1.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
   16384  Defl:N     6978  57% 2016-04-30 17:17 88d0be26  136032.205.l13
   16384  Defl:N     9139  44% 2016-04-30 17:17 3c79ef05  136032.206.l12
   16384  Defl:N       33 100% 2016-04-30 17:17 690b37d3  136032.105.l13
   16384  Defl:N     9130  44% 2016-04-30 17:17 76ee86c4  136032.106.l12
   16384  Defl:N     7091  57% 2016-04-30 17:17 195c54ad  136032.114.j11
   16384  Defl:N     8626  47% 2016-04-30 17:17 7275b4dc  136032.115.j10
    8192  Defl:N     4069  50% 2016-04-30 17:17 7a29dc07  136032.104.f5
    8192  Defl:N     4069  50% 2016-04-30 17:17 7a29dc07  136032.104.f5
    8192  Defl:N     3034  63% 2016-04-30 17:17 315e4bea  136032.107.b2
     256  Defl:N       17  93% 2016-04-30 17:17 7e84972a  136032.101.e3
     256  Defl:N       20  92% 2016-04-30 17:17 ebf1e0ae  136032.102.e5
     235  Defl:N      125  47% 2016-04-30 17:17 92d6a0b4  136032.103.f7.bin
     256  Defl:N       17  93% 2016-04-30 17:17 7e84972a  136032.101.e3
     256  Defl:N       20  92% 2016-04-30 17:17 ebf1e0ae  136032.102.e5
     235  Defl:N      125  47% 2016-04-30 17:17 92d6a0b4  136032.103.f7.bin
   32768  Defl:N    14831  55% 2016-04-30 17:17 c0ef86df  136048-2135.7p
   32768  Defl:N    19316  41% 2016-04-30 17:17 9637e2f0  136048-2136.8p
   32768  Defl:N     9037  72% 2016-04-30 17:17 5382ab85  136048-2137.7r
   32768  Defl:N    16955  48% 2016-04-30 17:17 c2c75309  136048-2138.8r
   32768  Defl:N     2201  93% 2016-04-30 17:17 054273b2  136048-2141.7l
   32768  Defl:N    10352  68% 2016-04-30 17:17 49181bec  136048-2142.8l
   32768  Defl:N     1594  95% 2016-04-30 17:17 f63dc29a  136048-2143.7m
   32768  Defl:N     7869  76% 2016-04-30 17:17 b1fc5955  136048-2144.8m
   32768  Defl:N     7909  76% 2016-04-30 17:17 c6d30d6f  136048-2145.7n
   32768  Defl:N    16041  51% 2016-04-30 17:17 16951020  136048-2146.8n
   16384  Defl:N      605  96% 2016-04-30 17:17 5c1adf67  136048-2147.7k
   16384  Defl:N     6423  61% 2016-04-30 17:17 d9ac8966  136048-2148.8k
   16384  Defl:N     9345  43% 2016-04-30 17:17 2e54f95e  136048-1149.14e
   16384  Defl:N     9282  43% 2016-04-30 17:17 ee318052  136048-1169.1516e
   16384  Defl:N     9049  45% 2016-04-30 17:17 75dfec33  136048-1170.17e
   32768  Defl:N    13432  59% 2016-04-30 17:17 fe342d27  136048-1101.2s
   32768  Defl:N    11586  65% 2016-04-30 17:17 17c7e780  136048-1102.2r
   32768  Defl:N     9898  70% 2016-04-30 17:17 39688e01  136048-1103.2n
   32768  Defl:N     7746  76% 2016-04-30 17:17 c8f9bd8e  136048-1104.2m
   32768  Defl:N     1214  96% 2016-04-30 17:17 c69e439e  136048-1105.2k
   32768  Defl:N      754  98% 2016-04-30 17:17 4ee55796  136048-1106.2j
   65536  Defl:N    36132  45% 2016-04-30 17:17 02117c58  136048-1107.3s
   65536  Defl:N    29448  55% 2016-04-30 17:17 1e148525  136048-1108.2p
   65536  Defl:N    27338  58% 2016-04-30 17:17 110ce07e  136048-1109.3n
   65536  Defl:N    25997  60% 2016-04-30 17:17 c00aa0f4  136048-1110.2l
   65536  Defl:N    31496  52% 2016-04-30 17:17 c951d014  136048-1111.4s
   65536  Defl:N    29087  56% 2016-04-30 17:17 95c5a006  136048-1112.3r
   65536  Defl:N    26512  60% 2016-04-30 17:17 f61f2370  136048-1113.4n
   65536  Defl:N    20583  69% 2016-04-30 17:17 774a36a8  136048-1114.3m
   65536  Defl:N    30338  54% 2016-04-30 17:17 a47bc79d  136048-1115.4r
   65536  Defl:N    28050  57% 2016-04-30 17:17 b8a5c215  136048-1116.3p
   65536  Defl:N    22303  66% 2016-04-30 17:17 2d1c1f64  136048-1117.4m
   65536  Defl:N    24661  62% 2016-04-30 17:17 be879b8e  136048-1118.3l
     512  Defl:N      120  77% 2016-04-30 17:17 db4a4d53  136048-1174.12d
     512  Defl:N       58  89% 2016-04-30 17:17 c80574af  136048-1173.2d
--------          -------  ---                            -------
 1518038           570055  62%                            50 files

Code:
rene@marvin:~/src/mame-git> ./mame64 -rompath /home/games/mame/export -verifyroms roadblstc1
romset roadblstc1 [roadblst] is good
1 romsets found, 1 were OK.

Space-efficient:

Code:
rene@marvin:~> unzip -vl /home/games/mame/export/roadblstc1.zip
Archive:  /home/games/mame/export/roadblstc1.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
   32768  Defl:N    14831  55% 2016-04-30 17:18 c0ef86df  136048-2135.7p
   32768  Defl:N    19316  41% 2016-04-30 17:18 9637e2f0  136048-2136.8p
   32768  Defl:N     9037  72% 2016-04-30 17:18 5382ab85  136048-2137.7r
   32768  Defl:N    16955  48% 2016-04-30 17:18 c2c75309  136048-2138.8r
--------          -------  ---                            -------
  131072            60139  54%                            4 files
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/30/16 03:31 PM

Oh, and when I enable "Unique CRCs", the self-contained set will contain 4 members less (duplicate check-sums, but that's not so unusual). MAME will accept it either way because it identifies the dumps by their CRC and size (as stored in the ZIP directory).
Posted By: remax

Re: Questions, suggestions or requests topic - 04/30/16 03:38 PM

I really like the fact that you try to understand my problem, but you mistake non merged set for fully merged set. wink

What you need to reproduce my problem is the fully merged roadblst set with all the clones inside.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/30/16 03:39 PM

I don't think I'm so wrong with what MAME accepts and what not, but anyway, you're up to yourself then smile.
Posted By: remax

Re: Questions, suggestions or requests topic - 04/30/16 03:41 PM

That's not that you are wrong in what you show (non merged are perfectly supported by mame, although they have no use on a standard situation).

It's just that you don't reproduce the correct situation.

You'll see there is a hash collision to handle if you take the fully merged set.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 04/30/16 03:47 PM

What you're trying to do probably isn't supported with roadblst and some of its clones. It's not a mode that QMC2 has or will ever use to export sets, so I'm out of here...
Posted By: remax

Re: Questions, suggestions or requests topic - 04/30/16 03:53 PM

Originally Posted By qmc2
What you're trying to do probably isn't supported with roadblst and some of its clones. It's not a mode that QMC2 has or will ever export sets, so I'm out of here...


Well fully merged sets are very standard and are perfectly supported by QMC2 except for this edge case.

But yeah, as you're using the MAME internal rom checker to check the roms, it's not really a QMC2 thing.

The more i think about it, the more i am sure that the only workaround would be to use the "Space-efficient" way.

But that means that the other way is no more feasible (there was no problem until this set).
Posted By: Pernod

Re: Questions, suggestions or requests topic - 05/30/16 02:19 PM

I'm using the latest 0.64 Windows 64-bit build and frequently the tabbed area will resize to half width as shown below:

It usually happens when the monitor goes into power saving. If I simply resize the main window then the tabbed area fixes itself to fill the width of the window.
This is not a new issue as it's been occurring for many releases.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 05/31/16 06:53 AM

Hmmm, never seen this before... looks like some resize-event or widget updates get stuck in the middle and/or aren't triggered after the graphics are switched on again. I would probably need to catch the power-management events from Windows to "fix" it, but I actually tend to think that the bug is not in QMC2 but Qt.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/01/16 06:53 AM

Is there a way to configure a system to use a pre-configurated "device" selection, for a softwarelist entry which I choose

For example...

My Device tab has this configuration for psx driver:
Device Mappings
Memory Card 1: C:/MemoryCard1.mc
Memory Card 1: C:/MemoryCard2.mc
Slot Options
Port1 - Analog_joystick
Port2 - not used

Then I want to choose a software from the software list, for example: spyro2

Is there a way to run spyro2 directly from the softwarelist selection, but maintaining memory cards and ports choosed in devices tab?
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/01/16 07:11 AM

Yes, provided you have defined some device-mappings for the system you can use them together with software-lists by selecting one of them in the drop-down list at the top of the software-list widget.
Posted By: Shideravan

Re: Questions, suggestions or requests topic - 06/01/16 04:02 PM

Thank you very much
Didn't figured out before...
It worked fine smile
Awesome feature!
Posted By: B2K24

Re: Questions, suggestions or requests topic - 06/01/16 07:22 PM

I am curious if it's possible for QMC2 and even baseline MAME to support custom made XML files as an alternative to using category ini files or Arcade only derivative builds.

Here's a quick and dirty MAME.xml
https://www.sendspace.com/file/h82g51

The idea would be to either import or point QMC2/MAME to this XML file and an entry name MAME appears in the Machine listing (Since example involves MAME.xml) as a method to generate a custom listing.

Obviously I would need to add the appropriate info. at the top of the XML so name and description is known.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/02/16 06:16 AM

No, QMC2 doesn't support custom made XML files... only the ROMAlyzer does.
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/09/16 05:34 PM

Hello Rene, maybe u changes something in qmc2 code :

now compiling error again:

Code:
ake: Entering directory '/src/qmc2'
Cleaning up build of QMC2 v0.65
make[1]: Entering directory '/src/qmc2'
make[1]: *** No rule to make target 'g:/Msys64/mingw64/share/qt4/mkspecs/win32-g++/qmake.conf', needed by 'Makefile.qmake'.  Stop.
make[1]: Leaving directory '/src/qmc2'
Makefile:1103: recipe for target 'clean' failed
make: *** [clean] Error 2
make: Leaving directory '/src/qmc2'
make: Entering directory '/src/qmc2'
Updating build of QMC2 v0.65
make[1]: Entering directory '/src/qmc2'
make[1]: *** No rule to make target 'g:/Msys64/mingw64/share/qt4/mkspecs/win32-g++/qmake.conf', needed by 'Makefile.qmake'.  Stop.
make[1]: Leaving directory '/src/qmc2'
Makefile:998: recipe for target 'qmc2-bin' failed
make: *** [qmc2-bin] Error 2
make: Leaving directory '/src/qmc2'


p.s use old qt4.8.6 and my msys path is c:\msys64.
Try fix environment with setup-qt.bat but not luck
tnx
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/09/16 05:44 PM

It looks like you have to remove Makefile.qmake manually as it refers to a file (g:/Msys64/mingw64/share/qt4/mkspecs/win32-g++/qmake.conf) that no longer exists... likely a left-over from an earlier qmake run.
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/09/16 05:54 PM

Hmm:
g:/Msys64/mingw64/share/qt4/mkspecs/win32-g++/qmake.conf <- this is old path,
now real path is:
c:/Msys64/mingw64/share/qt4/mkspecs/win32-g++/qmake.conf

when redownload code and try compile:

Code:
make: Entering directory '/src/qmc2'
Configuring build of QMC2 v0.65
qmake -makefile -o Makefile.qmake -spec win32-g++ VERSION=0.65 QMC2_MINGW=1 SDL=2 TARGET=qmc2-mame [...] qmc2.pro
Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
        G:/Msys64/mingw64/share/qt4\mkspecs
Error processing project file: qmc2.pro
Makefile:1019: recipe for target 'Makefile.qmake' failed
make: *** [Makefile.qmake] Error 3
make: Leaving directory '/src/qmc2'
make: Entering directory '/src/qmc2'
Configuring build of QMC2 v0.65
qmake -makefile -o Makefile.qmake -spec win32-g++ VERSION=0.65 QMC2_MINGW=1 SDL=2 TARGET=qmc2-mame [...] qmc2.pro
Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
        G:/Msys64/mingw64/share/qt4\mkspecs
Error processing project file: qmc2.pro
Makefile:1019: recipe for target 'Makefile.qmake' failed
make: *** [Makefile.qmake] Error 3
make: Leaving directory '/src/qmc2'


dont understand why search old path
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/09/16 05:59 PM

That's not due to QMC2 but your Qt installation... please run 'qmake -query' and post its output.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/09/16 06:05 PM

I'm especially interested in QMAKE_MKSPECS:

Code:
rene@marvin:~/src/qmc2> qmake -query | grep QMAKE_MKSPECS
QMAKE_MKSPECS:/usr/share/qt4/mkspecs

rene@marvin:~/src/qmc2> ls -al /usr/share/qt4/mkspecs | grep win32-g++
drwxr-xr-x   2 root root 4096 Jun  7 09:23 win32-g++
drwxr-xr-x   2 root root 4096 Jun  7 09:23 win32-g++-4.6
Posted By: oddi

Re: Questions, suggestions or requests topic - 06/09/16 06:22 PM

qmake -query :

Code:
c:\Msys64\src>qmake -query
QMAKE_MKSPECS:c:/Msys64/src/QT/Qt/mkspecs
QT_INSTALL_PREFIX:G:/Msys64/mingw64
QT_INSTALL_DATA:G:/Msys64/mingw64/share/qt4
QT_INSTALL_DOCS:G:/Msys64/mingw64/share/qt4/doc
QT_INSTALL_HEADERS:G:/Msys64/mingw64/include/qt4
QT_INSTALL_LIBS:G:/Msys64/mingw64/lib
QT_INSTALL_BINS:G:/Msys64/mingw64/bin
QT_INSTALL_PLUGINS:G:/Msys64/mingw64/share/qt4/plugins
QT_INSTALL_IMPORTS:G:/Msys64/mingw64/share/qt4/imports
QT_INSTALL_TRANSLATIONS:G:/Msys64/mingw64/share/qt4/translations
QT_INSTALL_CONFIGURATION:C:/repo/mingw-w64-qt4/pkg/mingw-w64-x86_64-qt4/mingw64/etc
QT_INSTALL_EXAMPLES:G:/Msys64/mingw64/share/qt4/examples
QT_INSTALL_DEMOS:G:/Msys64/mingw64/share/qt4/demos
QMAKE_MKSPECS:G:/Msys64/mingw64/share/qt4\mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.7
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/09/16 06:48 PM

Well, I suppose you see the mixed setup yourself!? I.e., you have two lines with QMAKE_MKSPECS, the second one wins. You have to recreate qt.conf in Qt's bin directory (which the old Setup-Qt.bat did) so that qmake finds it before the one it's actually loading - or find and edit this one to fit your setup.
Posted By: Procyon

Re: Questions, suggestions or requests topic - 06/10/16 04:48 AM

Hi qmc2. One of the filters in the new built-in MAME UI is to show working games only. This limits the selection of games by a third, from 33k+ to around 11k+. Is it possible to produce the same effect in QMC2? If not, would it be easy for you to implement it? Thanks very much for your work.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/10/16 06:36 AM

I won't add a filter for just this, but there's a meanwhile old plan to add a "filtered view" that will let you do this and much more... however, the Qt 5 port will be completed first.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/16/16 03:09 PM

Originally Posted By remax
You're now less than 3 seconds from having negative loading times laugh

I'm actually not too far away from this with latest changes laugh (less than 1.6 seconds, for details see this FAQ).

I've added an option to skip the emulator identification step during start-up when the binary's modification time hasn't changed. The default is to skip it in this case now. This saves 150-200ms on my system.

Also, there's a new "catver.ini optimizer" that will strip everything that's not needed (for QMC2) from it, resulting in a much smaller file and faster loading (you have to explicitly start the optimizer as it changes the catver.ini file you point it to). This saves 40-50ms (~50%) on my system.
Posted By: Shoegazer

Re: Questions, suggestions or requests topic - 06/18/16 01:47 AM

Wow, nice job! From blazing fast to.. well yeah, to remax's point, I clocked myself sitting here 1.3 seconds *prior* to the time at which I launched QMC2. Now I have a pretty decent system, but I don't think that's ever happened before. :p
Posted By: qmc2

Re: Questions, suggestions or requests topic - 06/18/16 08:54 AM

I'm happy to hear that wink!
Posted By: remax

Re: Questions, suggestions or requests topic - 06/23/16 08:29 AM

You rock!
Posted By: abelenki

Re: Questions, suggestions or requests topic - 09/18/16 05:36 AM

is there way to export visible game list to text file in QMC2? i can't find the option.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/18/16 09:32 AM

There's a "ROM Status Export" feature which effectively exports the machine list. There's also the machine list database since several versions which you can use to easily extract/export whatever you want (see here).
Posted By: abelenki

Re: Questions, suggestions or requests topic - 09/19/16 01:26 PM

Originally Posted By qmc2
There's a "ROM Status Export" feature which effectively exports the machine list.

thanks for the info, but ROM Status Export saves the complete list, which is unneeded.

i was talking about exporting visible game list, e.g. Favorites.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/20/16 06:48 AM

Well, as one never knows what might be interesting for whoever, I've only implemented what's important for me smile. So the answer is no, but all the information that you'd need for it is available in files produced by QMC2 (besides the machine list database, there's also a favorites list and the ROM status cache - both text files).

On the other hand, the ROM status export feature already supports most of what you want, it just doesn't honor "favorites" yet. So if you create a feature request for adding it to this feature I might consider it.
Posted By: abelenki

Re: Questions, suggestions or requests topic - 09/20/16 07:00 AM

thanks for the info, qmc2.

nah, it's not important, so let it be like it is now. wink
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/20/16 08:37 AM

I've just added this to SVN r7756:
  • new: added two new options to the ROM status exporter which allow for exporting only favorites or tagged sets
It was the easiest way to do it and something I could do in time before "real life syndrome" hits me again smile.
Posted By: abelenki

Re: Questions, suggestions or requests topic - 09/20/16 10:34 AM

Originally Posted By qmc2
I've just added this to SVN r7756:
  • new: added two new options to the ROM status exporter which allow for exporting only favorites or tagged sets
It was the easiest way to do it and something I could do in time before "real life syndrome" hits me again smile.

thanks a lot!!

i'll be able to check this functionality, when 0.68 is released.
Posted By: abelenki

Re: Questions, suggestions or requests topic - 09/21/16 01:09 AM

thanks to oddi for current SVN build, i was able to test Favorites export feature.

it works brilliantly, i could effectively export my Favorites to text file. then i used Far editor for vertical select and delete, then trimming script for removing line end spaces. so i got needed output:

http://mamestuff.lowtrucks.net/MyMAMEFavorites.txt

thanks once again, Rene!

two small bugs:

1. cosmetic bug - HTML file should be probably renamed to just File, because when i select ASCII output format, it saves just plain text file.
2. i used c:\1.txt as path in HTML file field. it saved Favorites to 1.txt fine. then i changed it to c:\2.txt, and QMC2 is still writing to 1.txt instead of 2.txt.

Posted By: abelenki

Re: Questions, suggestions or requests topic - 09/21/16 04:48 AM

one more question:

is it possible to set alternative title format for machine descriptions, where The is moved to the end? like this:

NewZealand Story (Japan, new version) (newer PCB), The

so it will be sorted by real first letter, and not T in the machine list.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 09/21/16 05:58 AM

1 & 2 from above were not just "cosmetic". They were related and caused by a wrong initial state of the UI. Thanks for testing and feedback. It should be fixed in r7757!

Regarding your other question the answer is no.
Posted By: abelenki

Re: Questions, suggestions or requests topic - 09/21/16 06:05 AM

Originally Posted By qmc2
1 & 2 from above were not just "cosmetic". They were related and caused by a wrong initial state of the UI. Thanks for testing and feedback. It should be fixed in r7757!

thanks!

Quote:
Regarding your other question the answer is no.

got it.
Posted By: abelenki

Re: Questions, suggestions or requests topic - 09/22/16 06:19 AM

i just tested compiled r7757 (thanks to oddi) - all mentioned errors about favorites export are fixed.

thanks, Rene!
Posted By: anoid

Re: Questions, suggestions or requests topic - 10/01/16 06:24 PM

I'm a long time user of QMC2 and have been looking into better integration of QMC2 with MAME Extras. One of the issues is support for PDF files, so that manuals could be added for arcade and software lists. Any interest?

A-Noid
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/02/16 06:55 AM

There is experimental support for PDF files through PDF.js (see Tools / PDF viewer), but there's no direct connection to machine-related documentation. The interest/priority to complete this functionality is low at the moment because it's not clear yet if this approach will still work when we switch to Qt 5.

EDIT:

The alternative would be to use Poppler, but I hate its many dependencies (although everything should be available on Windows and probably Mac OS X as well). Anyway, external dependencies should always be an optional thing, so that's why I decided for PDF.js in the first place (it can easily be integrated, Mozilla Firefox does the same BTW).

Right now there is no external dependency besides Qt 4 or 5.

- SDL is required for joystick support but can be disabled
- libarchive can be enabled if available but is not required
- zlib, lzma and minizip are 'bundled' but can be switched to external libraries (system-libs)

I would like to keep it that way. So PDF.js seems to be the only solution unless Qt 5 gets built-in support for PDF rendering.
Posted By: R. Belmont

Re: Questions, suggestions or requests topic - 10/02/16 06:10 PM

Mozilla's actually looking to switch to Google's PDFium (https://pdfium.googlesource.com/pdfium/) but that looks pretty heavy for QMC2 duty.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/03/16 06:57 AM

Thanks for the info, RB. I wasn't aware of PDFium yet. At least another possible alternative. But yeah, looks like it's also too heavy to integrate source-wise.

PDF.js is actually working (mostly) fine with QtWebKit in Qt 4. If QtWebKit will really be resurrected for Qt 5 (I read about such plans a few weeks ago, but I'm not sure if they are "official" plans) then I assume it will continue to work. Otherwise I can only hope that QtWebEngine is already mature enough to support PDF.js as well.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 10/07/16 01:19 PM

Originally Posted By qmc2
If QtWebKit will really be resurrected for Qt 5 (I read about such plans a few weeks ago, but I'm not sure if they are "official" plans) then I assume it will continue to work.

Here's more info about this: http://qtwebkit.blogspot.de/2016/08/qtwebkit-im-back.html

This is good news because QtWebEngine is quite different (I tried porting to it already, and gave up on my first try soon wink , also it's supposed to be slower than QtWebKit).
Posted By: Pernod

Re: Questions, suggestions or requests topic - 03/03/17 01:55 PM

Not sure if this is even possible, but no harm in asking ...

I frequently use the Notes tab to see all available resources (images) for a machine/device. Now that QMC2 supports manuals would it be possible to add the manual to the template, with a link to open the manual? A step further would be to make the link a snapshot of the first page of the manual.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/03/17 02:00 PM

Providing a file URL is possible so the notes-template could link to it somehow, or use an exported function to open the PDF externally... but for what? You can simply add the "open manual" action to the tool-bar and use it. A "snapshot" of the first page would mean to render PDF which is troublesome in case of the browser-internal use.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/03/17 02:11 PM

A function for opening a link in the "default browser" actually already exists for notes-template use... so all that's missing is a link to the PDF manual, if available (in the database). Not a big deal. I will add it at the weekend if I don't forget about it smile.
Posted By: Pernod

Re: Questions, suggestions or requests topic - 03/03/17 03:37 PM

Originally Posted by qmc2
... but for what? You can simply add the "open manual" action to the tool-bar and use it.

By that argument I should add all the Image tabs and not use Notes at all. I do have the Open Manual action in my toolbar, but would prefer to see all extras on the Notes tab. I don't mind a generic Click for Manual or No Manual image.
I also contribute to progetto and the Notes tab quickly shows me what's missing, but currently have to also check whether the Open Manual action is enabled or not.

Originally Posted by qmc2
I will add it at the weekend if I don't forget about it.

Thanks.
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/03/17 03:42 PM

Well, the argument is valid because the Open Manual action in the toolbar is visible at the same time as the notes, the image tabs are not. However, you could disable the tool-bar (and the menu) so that the only way would be the context-menu in the machine-list. And that's actually why I'll add it wink (and because it's just a small change - not speaking of the notes-templates themselves, though).
Posted By: qmc2

Re: Questions, suggestions or requests topic - 03/03/17 05:10 PM

JavaScript-accessible functions have been added for this in SVN r7983 - see wiki! Now you only need to convince Shideravan to add it to his templates - or try yourself and provide a patch! The example templates also don't support it yet.
Posted By: trevDesigns

Re: Questions, suggestions or requests topic - 03/12/17 02:32 AM

Feature Request: Smart Collections.

I do know that advanced filtering of the lists are in the works per the bug tracking site. Is there away to implement an interface that is similar to iTunes Smart Playlists?? If you do not use iTunes, basically when you set up a Smart Playlist you have a screen where you can enter simple queries (and sub queries) based on set categories and operand. The operands change based on the category selected, i.e. categories dealing with numbers will use "equals" "is less than" while text-based categories will use "is" "is not" etc. This is one thing Apple got right with iTunes and would be VERY VERY helpful to filter out the ever growing list in MAME.

Someone culled together what the filter criteria could be and this would be an awesome start. https://sourceforge.net/p/gamesetmatch/wiki/Filter%20Criteria/

Here are screenshots of VERY crude mockups how it could look in the QMC2 interface and the criteria select screen ("modified" from iTunes). This is a sample Smart Collection where >> Show games where Manufacturer contains "Atari", Display is not "LCD" and ROM Type is not Device or Mechanical.

Thanks in advance for consideration.

[Linked Image]

[Linked Image]
© 2020 Forums