|
HqxMAME - standard MAME plus support for hqx scaler
#296061 - 09/18/12 08:15 PM
|
|
|
Hi,
I've been searching for a version of recent MAME with support for HQX scalers. But all MAME variants I could find were pretty much outdated. So I created a new one:
http://sourceforge.net/projects/hqmame/
It's a very lean implementation on top of current MAME 0.147, essentially can be shrinked-down to a single "diff" file with support for hq2x, hq3x and hq4x. (So it should be trivial to catch up MAME development in the future.)
By default the GDI version with hq3x scalers is active, but this can be changed via command line:
Usage: hqxmame -hqx scale: 1 = no scaling 2 = hq2x 3 = hq3x (default) 4 = hq4x
Best, Zenju
|
http://www.freefilesync.org/
http://sf.net/projects/hqmame/
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296063 - 09/18/12 09:30 PM
|
|
|
hqnx+xbr would be ideal
|
Sorry for my poor english^^
エツ
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: xibic]
#296070 - 09/18/12 10:46 PM
|
|
|
> hqnx+xbr would be ideal
so would posting in the proper forum and naming the current version of MAME correctly
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296077 - 09/19/12 12:43 AM
|
|
|
hqnx+xbr would be ideal
it would require a cpu that doesn't even exist to achieve 100% speed.
I'm happy with HLSL anyway.
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296082 - 09/19/12 02:10 AM
|
|
|
> Hi, > > I've been searching for a version of recent MAME with support for HQX scalers. But > all MAME variants I could find were pretty much outdated. So I created a new one: > > http://sourceforge.net/projects/hqxmame/
There appears to be a license issue, on the main page it says the project is GPL and it not possible to link MAME with GPL code. I'm not sure that sourceforge will allow you to host source that is licensed under the MAME license.
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: ]
#296084 - 09/19/12 02:38 AM
|
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296086 - 09/19/12 02:44 AM
|
|
|
What does this version exactly. Please forgive my ignorance.
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: wild eyed]
#296087 - 09/19/12 02:50 AM
|
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: wild eyed]
#296089 - 09/19/12 02:57 AM
|
|
|
> What does this version exactly. Please forgive my ignorance.
It gives MAME one of those appalling edge detection filters that some people like.
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: krick]
#296118 - 09/19/12 11:25 AM
|
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: ]
#296120 - 09/19/12 11:25 AM
|
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: xibic]
#296121 - 09/19/12 11:33 AM
|
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296124 - 09/19/12 12:24 PM
|
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: R. Belmont]
#296130 - 09/19/12 04:03 PM
|
|
|
>that some people like.
you mean those digital kids who have never seen an actual arcade cabinet and who want to play free old games with leet graphics?
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: xibic]
#296143 - 09/19/12 07:50 PM Attachment: cmp.PNG 484 KB (2 downloads)
|
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: kevenz]
#296146 - 09/19/12 08:03 PM
|
|
|
Not sure about that:
First timings comparing a test suite with HQx, xBR:
2000 iterations, scaling factor 4
hq4x 6075ms xbr4 1989ms
It's looking good...
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296149 - 09/19/12 08:40 PM Attachment: hqx.png 443 KB (3 downloads)
|
|
|
Damn, I love this filter... The first time I heard about it half a year ago, there were apparent issues with distorting the image, but these seem to be resolved in v3.3:
HQ4x:
[ATTACHED IMAGE - CLICK FOR FULL SIZE]
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296151 - 09/19/12 08:41 PM Attachment: xbr.png 372 KB (3 downloads)
|
|
|
xBR4:
[ATTACHED IMAGE - CLICK FOR FULL SIZE]
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: kevenz]
#296183 - 09/20/12 10:21 AM
|
|
|
> it would require a cpu that doesn't even exist to achieve 100% speed. > > I'm happy with HLSL anyway.
it is sufficient to adapt the XBR code (cg shader) in HLSL to see lower resource consumption. I guess...^^
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: xibic]
#296539 - 09/25/12 10:42 PM
|
|
|
Good news: Just released version 2 of HqMame (not HQxMame anymore) with support for multithreading and the xBR-z scaler as new default:
-------- |HqMAME| --------
Usage: hqmame -scaler name: 2xbrz = Scale by Rules, Zenju mod, factor 2 3xbrz = Scale by Rules, Zenju mod, factor 3 4xbrz = Scale by Rules, Zenju mod, factor 4 (default) hq2x = High quality scaler, factor 2 hq3x = High quality scaler, factor 3 hq4x = High quality scaler, factor 4 none = no scaling
----------- |Changelog| -----------
Version 2.0 - mame0147 ---------------------- Added support for xBR-z scalers 4xBR-z new default scaler Take advantage of multi-core CPUs for both emulation and scaling Set "multithreading" active by default
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296555 - 09/26/12 10:59 AM
|
|
|
Great, but you do not think it could be even better if you convert the Cg-shaders version in HLSL, resource level that might be better? (except if impossible)
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: xibic]
#296565 - 09/26/12 02:41 PM
|
|
|
I'm not sure if it's worthwile. I don't think there is much of a performance problem left, and (for me) the hlsl code wouldn't be as convenient to maintain as C++.
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296566 - 09/26/12 02:46 PM
|
|
|
BTW does someone think it makes sense to propose to include scaler support like this into standard MAME? I'm new to the MAME-dev scene, but from what I see in forum posts it seems, there are some ideologic debates about whether it is heresy to scale pixels or not. Given that it has taken me only about a week to include scaling support makes me wonder why standard MAME doesn't offer it as an option at least.
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296567 - 09/26/12 03:01 PM
|
|
|
> BTW does someone think it makes sense to propose to include scaler support like this > into standard MAME? I'm new to the MAME-dev scene, but from what I see in forum posts > it seems, there are some ideologic debates about whether it is heresy to scale pixels > or not. Given that it has taken me only about a week to include scaling support makes > me wonder why standard MAME doesn't offer it as an option at least.
These scaling methods do not attempt to simulate the appearance of real arcade machines in any way (as e.g. MAME's HLSL framework does with the scanlines, phosphor triads, CRT curvature, etc, etc) so we are not interested. If you want to pretend arcade games looked like something they didn't that's your prerogative but MAMEdev is not in that business.
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296583 - 09/26/12 06:55 PM
|
|
|
> license issue > I'm not a lawyer, but I've only placed the "diff" under GPL, which is the source code > for download on that site.
The GPL doesn't allow linking to mame source.
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: ]
#296584 - 09/26/12 07:21 PM
|
|
|
Quote:
The GPL doesn't allow linking to mame source.
Okay, so I guess I'll have to add an exception to the GPL license.
|
|
|
Dullaron |
Diablo III - Dunard #1884
|
|
|
Reged: 07/22/05
|
Posts: 6125
|
Loc: Fort Worth, Tx
|
|
Send PM
|
|
|
xbr look much better than the other one.
[Re: Zenju]
#296622 - 09/27/12 07:38 AM
|
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: Zenju]
#296623 - 09/27/12 10:12 AM
|
|
|
it strikes me than the hyllian name should appear in the code
|
|
|
|
Re: HqxMAME - standard MAME plus support for hqx scaler
[Re: xibic]
#296627 - 09/27/12 11:18 AM
|
|
|
Quote:
it strikes me than the hyllian name should appear in the code
It does.
Edited by Zenju (09/27/12 11:19 AM)
|
|
|