MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


How to get the shaders to work on SDLMAME/SDLMESS.
#327893 - 07/07/14 09:53 PM Attachment: ntsc.zip 6 KB (15 downloads)


Giving new people some exmples on how this work.

Note: I do not want people start flooding R. Belmont server so I post the files here.

#
# OSD VIDEO OPTIONS
#
video opengl

#
# OpenGL-SPECIFIC OPTIONS
#
filter 1
prescale 1
gl_forcepow2texture 0
gl_notexturerect 0
gl_vbo 1
gl_pbo 1
gl_glsl 1
gl_glsl_filter 1
glsl_shader_mame0 CRT-geom
glsl_shader_mame1 none

-video opengl -glsl_shader_mame0 CRT-geom/CRT-geom

or

#
# OpenGL-SPECIFIC OPTIONS
#
filter 1
prescale 1
gl_forcepow2texture 0
gl_notexturerect 0
gl_vbo 1
gl_pbo 1
gl_glsl 1
gl_glsl_filter 1
glsl_shader_mame0 NTSC_chain
glsl_shader_mame1 CRT-geom

-video opengl -glsl_shader_mame0 NTSC/NTSC_chain -glsl_shader_mame1 CRT-geom/CRT-geom

or

#
# OpenGL-SPECIFIC OPTIONS
#
filter 1
prescale 1
gl_forcepow2texture 0
gl_notexturerect 0
gl_vbo 1
gl_pbo 1
gl_glsl 1
gl_glsl_filter 1
glsl_shader_mame0 NTSC
glsl_shader_mame1 none

-video opengl -glsl_shader_mame0 NTSC/NTSC

Note: Don't add the .vsh at the end. Won't work that way.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


So is this compiled for Win? new [Re: Dullaron]
#327994 - 07/10/14 06:50 AM


Like, this:

Win32 and Win64 are also supported, but there’s not much reason to use SDLMAME on that platform, Aaron does a fine job with baseline.


is not completely true?



Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Re: So is this compiled for Win? new [Re: Traso]
#328000 - 07/10/14 07:48 AM


> Like, this:
>
> Win32 and Win64 are also supported, but there’s not much reason to use SDLMAME on
> that platform, Aaron does a fine job with baseline.
>
>
> is not completely true?

SDL builds been around across Windows, Linux and Mac. There nothing wrong using these. I wouldn't report SDLMAME/SDLMESS bugs onto MAMETester.

Point is that it works too.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4466
Loc: Melbourne, Australia
Send PM


Re: So is this compiled for Win? new [Re: Traso]
#328002 - 07/10/14 09:30 AM


> Like, this:
>
> Win32 and Win64 are also supported, but there’s not much reason to use SDLMAME on
> that platform, Aaron does a fine job with baseline.
>
>
> is not completely true?

Pluggable GLSL shaders and support for more input devices are two reasons to use SDLMAME on Windows.



lamprey
MAME Fan
Reged: 12/01/11
Posts: 238
Send PM


Windows Binaries new [Re: Dullaron]
#328026 - 07/10/14 07:52 PM


I'm probably just being dense here, but are there compiled binaries available for SDLMame? I can only seem to find 0153 versions that have the bug so that shaders are not working. Does anyone have a link to the latest working x64 version for Windows?



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: So is this compiled for Win? new [Re: Traso]
#328030 - 07/10/14 08:14 PM


> Like, this:
>
> Win32 and Win64 are also supported, but there’s not much reason to use SDLMAME on
> that platform, Aaron does a fine job with baseline.
>
>
> is not completely true?

It's become less true as Windows has advanced (the Win7, 8, and 8.1 kernels have gotten progressively more gaming and emulation friendly, which I'd like to assume is Aaron's influence but I could be wrong) and Windows MAME largely has not. SDL builds tend to work better with some controllers (the SDL library autodetects if something works best with DirectInput, raw input, or XInput, where MAME is hardcoded to raw input by default), and SDL's shader system is extremely flexible compared to HLSL (but also less user-friendly).

As an example of what can be done, I chained Moogly's GL port of his NTSC shader with cgwg's CRT-geom shader and got a pretty nice CRT TV simulation.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Windows Binaries new [Re: lamprey]
#328032 - 07/10/14 08:15 PM


> I'm probably just being dense here, but are there compiled binaries available for
> SDLMame? I can only seem to find 0153 versions that have the bug so that shaders are
> not working. Does anyone have a link to the latest working x64 version for Windows?

Haze's ex5 builds include SDL binaries for Windows, which was very nice of him.
http://mamedev.emulab.it/haze/2014/06/22/ume-0-153ex5/



lamprey
MAME Fan
Reged: 12/01/11
Posts: 238
Send PM


Re: Windows Binaries new [Re: R. Belmont]
#328046 - 07/10/14 11:25 PM


>
> Haze's ex5 builds include SDL binaries for Windows, which was very nice of him.
> http://mamedev.emulab.it/haze/2014/06/22/ume-0-153ex5/


Smooth! Thanks!



Shoegazr
Rockstar
Reged: 01/21/06
Posts: 658
Send PM


Re: So is this compiled for Win? new [Re: R. Belmont]
#328049 - 07/11/14 12:41 AM


> As an example of what can be done, I chained Moogly's GL port of his NTSC shader with
> cgwg's CRT-geom shader and got a pretty nice CRT TV simulation.

Oh my, that does look quite nice. And you really can't beat cross-platform.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 380 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2884