Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: emu4crt Mednafen mod - update 1.24.3 A13  (Read 33740 times)

0 Members and 1 Guest are viewing this topic.

fuchi_jeg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:Yesterday at 10:34:14 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A09
« Reply #160 on: January 15, 2020, 03:33:51 pm »
I'll do some testing when can get my hands on the cabinet. Thank you!

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A09
« Reply #161 on: January 15, 2020, 04:24:22 pm »
I have 2 autohotkey scripts for it.

DisableAero.ahk
Run, net stop uxsms, , Hide ; That way there is no cmd window.

DisableTaskbar.ahk
WinHide, ahk_class Shell_TrayWnd
WinHide, Start ahk_class Button     
WinHide, ahk_class Button   

SystemCursor("Off")

SystemCursor(OnOff=1)   ; INIT = "I","Init"; OFF = 0,"Off"; TOGGLE = -1,"T","Toggle"; ON = others
{
    static AndMask, XorMask, $, h_cursor
        ,c0,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13 ; system cursors
        , b1,b2,b3,--BINGO! Either that, or I was attempting to say "before" but it was too many letters to type--,b5,b6,b7,b8,b9,b10,b11,b12,b13   ; blank cursors
        , h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h12,h13   ; handles of default cursors
    if (OnOff = "Init" or OnOff = "I" or $ = "")       ; init when requested or at first call
    {
        $ = h                                          ; active default cursors
        VarSetCapacity( h_cursor,4444, 1 )
        VarSetCapacity( AndMask, 32*4, 0xFF )
        VarSetCapacity( XorMask, 32*4, 0 )
        system_cursors = 32512,32513,32514,32515,32516,32642,32643,32644,32645,32646,32648,32649,32650
        StringSplit c, system_cursors, `,
        Loop %c0%
        {
            h_cursor   := DllCall( "LoadCursor", "Ptr",0, "Ptr",c%A_Index% )
            h%A_Index% := DllCall( "CopyImage", "Ptr",h_cursor, "UInt",2, "Int",0, "Int",0, "UInt",0 )
            b%A_Index% := DllCall( "CreateCursor", "Ptr",0, "Int",0, "Int",0
                , "Int",32, "Int",32, "Ptr",&AndMask, "Ptr",&XorMask )
        }
    }
    if (OnOff = 0 or OnOff = "Off" or $ = "h" and (OnOff < 0 or OnOff = "Toggle" or OnOff = "T"))
        $ = b  ; use blank cursors
    else
        $ = h  ; use the saved cursors

    Loop %c0%
    {
        h_cursor := DllCall( "CopyImage", "Ptr",%$%%A_Index%, "UInt",2, "Int",0, "Int",0, "UInt",0 )
        DllCall( "SetSystemCursor", "Ptr",h_cursor, "UInt",c%A_Index% )
    }
}


Quote
Thank you! I'll try disabling aero.  Would it have the same effect if I disabled it through the mednafen cfg file? If I totally disable it through windows xebra emulator has terrible screen tearing.

EDIT: Do you prefer Xebra above Mednafen for PSX? I think Mednafen it's so good....
« Last Edit: January 15, 2020, 04:31:34 pm by psakhis »

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #162 on: January 15, 2020, 05:23:11 pm »
New version online!

The resolution switch process has been improved, far less glitches. :)

Not sure that it will work on multi screen setup. I'm interested if someone can test.

PSX horizontal centering is fixed too.

fuchi_jeg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:Yesterday at 10:34:14 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #163 on: January 16, 2020, 11:28:02 am »
here are the contents of stdout. I didn't see any change of color depth, but i'm not well versed on reading logs.
Starting Mednafen 1.21.3
 Build information:
   Compiled with gcc 4.9.4
   Running with MinGW-W64 Runtime 5.0 (alpha - rev. 0) 0000-00-00
   Compiled against zlib 1.2.8, running with zlib 1.2.8(flags=0x00000065)
   Compiled against libiconv 15.1, running with libiconv 15.1
   Compiled against SDL 2.0.8(hg-11835:f622a4457a25), running with SDL 2.0.8(hg-11835:f622a4457a25)
   Running with libsndfile-1.0.28
 Base directory: C:\Hyperspin\Emulators\turbografx 16\mednafen
 Emulation modules: nes snes gb gba pce lynx md pcfx ngp psx ss ssfplay vb wswan sms gg snes_faust pce_fast demo cdplay
 Opening lockfile...
 Loading settings from "C:\Hyperspin\Emulators\turbografx 16\mednafen\mednafen.cfg"...
  Loaded 7396 valid settings and 129 unknown settings.
 Initializing joysticks...
  ID: 0x000000000000000000010004f3ff0000 - XInput Unknown Controller
  ID: 0x000000000000000000010004f3ff0001 - XInput Unknown Controller
  ID: 0x000000000000000000010004f3ff0002 - XInput Unknown Controller
  ID: 0x000000000000000000010004f3ff0003 - XInput Unknown Controller
 Loading C:\game extracts\Final Fantasy IX (USA) (Disc 1)\Final Fantasy IX (USA) (Disc 1).cue...
  Loading SBI file "C:\game extracts\Final Fantasy IX (USA) (Disc 1)\Final Fantasy IX (USA) (Disc 1).sbi"...
   Error: Error opening file "C:\game extracts\Final Fantasy IX (USA) (Disc 1)\Final Fantasy IX (USA) (Disc 1).sbi": No such file or directory

  CD 1 TOC:
   Disc Type: 0x20 (CD-XA)
   First Track:  1
   Last Track:   1
   Track  1, MSF: 00:02:00, LBA:      0  DATA
   Leadout: 314930  DATA

 Using module: psx(Sony PlayStation)
  Loading override settings from "C:\Hyperspin\Emulators\turbografx 16\mednafen\psx.cfg"...
   Failed: Error opening file "C:\Hyperspin\Emulators\turbografx 16\mednafen\psx.cfg": No such file or directory
  Loading override settings from "C:\Hyperspin\Emulators\turbografx 16\mednafen\pgconfig\Final Fantasy IX (USA) (Disc 1).psx.cfg"...
   Failed: Error opening file "C:\Hyperspin\Emulators\turbografx 16\mednafen\pgconfig\Final Fantasy IX (USA) (Disc 1).psx.cfg": No such file or directory

  Emulated Disc SCEx IDs:
   Disc 1: SCEA

  Region: North America

  Multitap on PSX Port 1: Enabled
  Multitap on PSX Port 2: Enabled

 Loading cheats from C:\Hyperspin\Emulators\turbografx 16\mednafen\cheats\psx.cht...
  Error opening file "C:\Hyperspin\Emulators\turbografx 16\mednafen\cheats\psx.cht": No such file or directory

 Initializing sound...
  Using "WASAPI(Shared mode)" audio driver with SexyAL's default device selection.
   Format: 16 bits(signed, 2 bytes, little-endian)
   Rate: 192000
   Channels: 2
   Buffer size: 6144 sample frames(32.000000 ms)
   Latency: 6656 sample frames(34.666667 ms)
 Initializing video...
  Driver: OpenGL
  Display Mode: 2560 x 240 x 24 bpp @ 60Hz  (Window: 2560 x 240)
  Shader: none
  Fullscreen: Yes
  Special Scaler: None
  Scanlines: Off
  Destination Rectangle: X=0, Y=0, W=2560, H=240
  OpenGL Implementation: ATI Technologies Inc. AMD Radeon (TM) R9 380 Series 4.5.13521 Compatibility Profile Context 24.20.11016.4
  Checking extensions:
   GL_ARB_texture_non_power_of_two found.
   GL_ARB_sync found.
  Using non-power-of-2 sized textures.
  Checking maximum texture size...
   Apparently it is at least: 16384 x 16384
  Using GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV for texture source data.

fuchi_jeg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:Yesterday at 10:34:14 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #164 on: January 16, 2020, 12:47:53 pm »
In reply to why I chose to use xebra over mednafen psx emulator, it's due to dithering. Xebra is the only emulator I have gotten working well overall that also shows the baked in dithering from psx games.

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #165 on: January 16, 2020, 02:51:10 pm »
Looks like you are using official Mednafen build, you may obtain better support on the official forum.
Nonetheless, nothing wrong in log, Mednafen correctly set video mode you configured.

What happen if you launch a game from command line, without Rocketlauncher ?

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #166 on: January 16, 2020, 04:22:26 pm »
New version online!

The resolution switch process has been improved, far less glitches. :)

Not sure that it will work on multi screen setup. I'm interested if someone can test.

PSX horizontal centering is fixed too.

Thx! Installed and working.  :applaud:

fuchi_jeg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:Yesterday at 10:34:14 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #167 on: January 16, 2020, 04:23:06 pm »
Oops. Wrong log.  I Pulled the log from the build I was using to test psx emlulation. That's embarrassing! I'll try to pull the correct log  and bypass rocket launcher after work. Thanks again.

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #168 on: January 16, 2020, 04:42:02 pm »
In reply to why I chose to use xebra over mednafen psx emulator, it's due to dithering. Xebra is the only emulator I have gotten working well overall that also shows the baked in dithering from psx games.
Interesting... i didn't have a original psx for compare...but i believe Mednafen emulates dithering...

I write down to check it  ;D

fuchi_jeg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:Yesterday at 10:34:14 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #169 on: January 16, 2020, 05:11:32 pm »
Photo comparison of xebra with dithering vs mednafen without.
Edit:  posted sideways..... its unbelievable to me that it's still such a struggle 25 years later to post photos on an internet forum.  :laugh:
« Last Edit: January 16, 2020, 05:14:06 pm by fuchi_jeg »

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #170 on: March 08, 2020, 06:52:45 am »
Hi!

I have a big request for @silmalik  :angel: Is it possible to include the pcfx core?

I know there are few games on it...but i want to play Chip Chap Kick game and emu4crt is far better than libretro core....

 ::)

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #171 on: March 08, 2020, 11:22:44 am »
Hello psakhis,

I can study that, yes.

Do you know game titles that switch resolution and/or use interlace video mode ?

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #172 on: March 08, 2020, 01:47:56 pm »
Hello!

I only play 3 games on pc-fx: Choujin Heiki Zeroigar, Kishin Douji Zenki FX - Vajra Fight, Chip-chan Kick! and all of them mednafen libretro core switch to 256x232 for 1x.

Thx for considering this feature!

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 274
  • Last login:September 16, 2020, 09:32:21 am
    • Eiusdemmodi
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #173 on: March 08, 2020, 02:48:30 pm »
emu4crt is far better than libretro core...

How so?


I don't think there are many games which dynamically switch the resolution on this system. The only one I can think of is Pia Carrot he Youkoso!! -- it goes from the full-motion videos at 256 x 224 to the "active" sections' 340 x 224 (or so).

Interlacing was never used on the PCFX if I recall.

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #174 on: March 08, 2020, 04:02:56 pm »
My perception it's all emu4crt cores runs flawfless. Maybe my old i3 2100 pc it's the reason, comparative with libretro:
 Sega saturn: no crackling sounds, no slowdowns, runs perfect
 Psx: switch resolutions in game, runs perfect
 pce/cd: maybe the most similar but i prefer mednafen joystick mapping. I can configure xbox one controller together sanwa, if it's connected runs perfect and if not isn't a problem. In libretro only 1 joystick can have hotkey button for exit, load or saves games... In others emulators (ps2, gamecube, etc.) i need to choose before emulators starts for configure it properly.

 
@Edit: vertical native lines are 240, but pcfx.slend (last line rendered) is set to 235 and pcfx.slstart (first line) at 4 by default.
« Last Edit: March 08, 2020, 05:20:24 pm by psakhis »

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #175 on: March 09, 2020, 12:36:20 pm »
@Recapnation: thank you for the info

If all/most of game use 240p, official mednafen should give good results.

Benefits of the crt mod would be mainly for the OSD then.

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 274
  • Last login:September 16, 2020, 09:32:21 am
    • Eiusdemmodi
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #176 on: March 09, 2020, 07:17:41 pm »
My pleasure.


Psakhis, I was wondering about the PCFX emulation itself -- you seemed to imply that it's better with Mednafen than with RA's core.

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #177 on: March 10, 2020, 03:49:20 pm »
I will try Mednafen at 256x240 fixed resolution and i will comment my results  :)

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #178 on: March 24, 2020, 02:06:20 pm »
Mednafen 1.24.1 stable it's out with minor changes.


silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.0 UNSTABLE / A10
« Reply #179 on: March 24, 2020, 05:46:39 pm »
Mednafen 1.24.1 stable it's out with minor changes.

Done!

Updated with pce_fast, sms, md and pc-fx.

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.1 A11
« Reply #180 on: March 25, 2020, 03:56:38 pm »
Great!!

I tested Choujin Heiki Zeroigar pcfx game and i find some problems on intro compared with libretro core.  I'm using superresolution 2560.

Edit: (*) I need to config pcfx.slend = 0 239 and pcfx.slstart = 0 for solving tearing issues.

Something rare this in stdout.txt
PCFX - KING_StartFrame
PCFX - HighDotClockWidth: 1024
PCFX - fx_vce.dot_clock: 1
      Src: 1024x240 - 0,0
MAIN - Super resolution to switch: 2560 x 240
VIDEO - Video_ChangeResolution - Requested video mode: 344 x 240
  Video mode: FULLSCREEN
  Screen index: 0
  Display #0: Current display mode is 2560x240px @ 60hz.
  Received:    352x240px @ 60hz
EnumDisplaySettings return: 1
EnumDisplaySettings return refresh rate: 60
ChangeDisplaySettings return: 0
VIDEO - Video_ChangeResolution completed
MAIN - End of resolution change
      Src: 1024x240 - 0,0
« Last Edit: March 26, 2020, 03:42:27 am by psakhis »

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.1 A11
« Reply #181 on: March 25, 2020, 06:48:35 pm »
Thank you for the feedback.

pcfx.slend = 0  is strange, should be something like 239.

I will look at this.

bjt42

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:August 06, 2020, 11:15:19 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.1 A11
« Reply #182 on: April 09, 2020, 10:19:13 am »
I'm seeing issues with changing resolution with the latest version 1.24.1 A11. The preceding A10 version works fine.

Symptoms as follows:

- Super resolution enabled, progressive and interlaced super NTSC modes added via vmmaker.
- Changes to 2560x480 mode works fine for boot screen
- Attempts to change to 2560x240 for game. Actually changes to 640x480 instead

This all works fine with the preceding A10 version.

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.1 A11
« Reply #183 on: April 09, 2020, 01:12:12 pm »
Hi, thank you for the report.

Using PSX module I guess ?

I will check this.


bjt42

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:August 06, 2020, 11:15:19 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.1 A11
« Reply #184 on: April 10, 2020, 12:12:06 pm »
Sorry, yes using PSX.

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.1 A11
« Reply #185 on: April 15, 2020, 07:47:49 pm »
Hi,

A12 revision is online, fix for super resolution switch and PCFX scaling issues.

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.1 A12
« Reply #186 on: April 16, 2020, 01:18:26 pm »
Thank you! PCFX it's working perfect now!  :applaud: :applaud:

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.1 A12
« Reply #187 on: April 16, 2020, 03:44:46 pm »
Thank you! PCFX it's working perfect now!  :applaud: :applaud:

You're welcome

Pretty weird system, full of weird games :)


jfroco

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:May 07, 2020, 06:20:14 pm
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.1 A11
« Reply #188 on: April 16, 2020, 09:34:49 pm »
Hi,

A12 revision is online, fix for super resolution switch and PCFX scaling issues.

Just registered here to say: Thank you!

I'm using super resolutions for Sega Saturn emulation and switching works great.

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.1 A11
« Reply #189 on: April 17, 2020, 06:54:36 pm »
Hi jfroco, I'm glad to read this.

And welcome! :cheers:

jfroco

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:May 07, 2020, 06:20:14 pm
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.1 A11
« Reply #190 on: April 18, 2020, 03:55:35 pm »
In case anyone care, I tested the automatic resolution switching in this video:    (sorry for the quality) - Sega Saturn Thunder Force V.

Hi jfroco, I'm glad to read this.

And welcome! :cheers:

Thank you again.. just a couple of questions

  • In Sega Genesis - Sonic The Hedgehog 2 in the two players competition mode the resolution should change to 480i, but it is not switching (I'm using super resolutions). I read here that Sega Genesis is not supported, but in the documentation the Sega Genesis is listed as a supported system.
  • Is it possible to get the source files?  I can't find them in github.

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.1 A12
« Reply #191 on: April 18, 2020, 04:45:06 pm »
Mednafen Sega Genesis emulation it's still experimental, i recommend you libretro core Genesis Plus GX, it's working fine with switchres.

I know... it's a shame, for me there is nothing better than Groovymame and emu4crt forks but...




silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.1 A11
« Reply #192 on: April 18, 2020, 05:48:52 pm »
Quote
  • In Sega Genesis - Sonic The Hedgehog 2 in the two players competition mode the resolution should change to 480i, but it is not switching (I'm using super resolutions). I read here that Sega Genesis is not supported, but in the documentation the Sega Genesis is listed as a supported system.
  • Is it possible to get the source files?  I can't find them in github.

Sonic 2: there is a switch when I test on my setup. But a scaling issue remains in interlaced MD games... there is something to fix obviously.
Best result is with those options:
video.blit_timesync 0
video.deinterlacer bob

I provide the patch to apply on official sources so you can have a look.

psakhis is right, Genesis core is experimental and lacks Sega CD and 32X, the best option is Retroarch with Genesis Plus GX.
« Last Edit: April 18, 2020, 06:19:20 pm by silmalik »

JMD

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:September 20, 2020, 03:49:22 pm
    • jm1200.free.fr/index.php?r=20
    • JMD
Re: emu4crt Mednafen fork - update 1.24.1 A12
« Reply #193 on: April 23, 2020, 01:52:42 pm »
Hello,

First, thanks a lots for emu4crt : it's great!  :applaud:
 
In my cab, I use it with Attract Mode to launch PlayStation games.
mednafen.cfg is unchanged since emu4crt create it at first launch.
However, I have a psx.cfg file and, sometimes, a specific game config file for specifics controls.

Japan and US games are perfect but with Europeans games, I have resolution problems :
"Reverting to windowed mode because no modes big enough for 2560x576."
 
I'm not comfortable with super resolutions but I think I made everything correct.

Do I miss something?

Thanks for your help

JMD
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
There is the theory of Möbius. A twist in the fabric of space where time becomes a loop

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:Yesterday at 08:07:29 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.1 A12
« Reply #194 on: April 23, 2020, 02:26:26 pm »
Hi, if you don't want super resolutions, this needs to change in your psx.cfg, i think "native" it's the value you looking for.

video.resolution_switch super

EDIT: with "super" setup you must have this modeline in your system. Verify with vmmaker do you have 2560x288@50 and 2560x576@50 modes.
« Last Edit: April 23, 2020, 02:31:09 pm by psakhis »

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.1 A12
« Reply #195 on: April 23, 2020, 03:37:38 pm »
Bonjour JMD,

Thanks for all the details you have provided.

I think psakhis is right  :cheers:  Check VMMaker for the missing resolutions.

JMD

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:September 20, 2020, 03:49:22 pm
    • jm1200.free.fr/index.php?r=20
    • JMD
Re: emu4crt Mednafen fork - update 1.24.1 A12
« Reply #196 on: April 23, 2020, 04:16:42 pm »
Thanks, the problem was the one you indicated psakhis !
I added the resolutions to the vmmaker "user_modes - super.ini" file and used it as "user video mode list" then generate/Install modes.
Now everything works fine  :)
Thank you very much for your help and sorry because everything was explained on the github. Easy now that I understand my error !

JMD
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
There is the theory of Möbius. A twist in the fabric of space where time becomes a loop

bjt42

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:August 06, 2020, 11:15:19 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.1 A11
« Reply #197 on: April 28, 2020, 09:34:21 am »
Hi,

A12 revision is online, fix for super resolution switch and PCFX scaling issues.

Thank you, I confirm that the super resolution issue I reported is resolved.

ronbin

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:May 13, 2020, 10:41:38 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.24.1 A12
« Reply #198 on: April 28, 2020, 02:01:03 pm »
Hi
I know this is not 100% related to the topic but I'm trying to use a modified version of your patch and I want to ask something.
I'm using a 31khz CRT monitor with groovymame and configured it to double every resolution, something like this
Code: [Select]
SwitchRes: [gng] (1) horizontal (256x224@59.590000)->(512x448@59.590000)
SwitchRes: [sfiii3n] (1) horizontal (384x224@59.599491)->(768x448@59.599491)
SwitchRes: [mk] (1) horizontal (400x254@54.706841)->(800x508@54.706841)
So now I want to do the same thing with mednafen. I've downloaded your patch and changed those 2 lines
Code: [Select]
+ // SLK
+ if(MDFN_GetSettingB("pce.arcadecard"))
+ {
+   resolution_to_change_w = 512;
+   resolution_to_change_h = 480;
+   resolution_to_change = true;
+ }
+ // SLK
Compiled it without trouble. Now if I try to load a pcengine game, resolution changes as expected, but image is shrinked to 240 lines...
This is the output
Code: [Select]
### VIDEO Native resolution init - set to 512x480
  Driver: OpenGL
  Display Mode: 512 x 480 x 24 bpp @ 60Hz  (Window: 512 x 480)
  Shader: none
  Fullscreen: Yes
  Special Scaler: None
  Scanlines: Off
  Destination Rectangle: X=0, Y=0, W=512, H=480
And here you can see the resulting image (windowed version, fullscreen is the same)
https://pasteboard.co/J5VMs9K.png

Is there anything I can do to fix this or am I wasting my time?

Thanks in advance


silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:Today at 02:33:37 am
    • Mednafen emu4crt mod
Re: emu4crt Mednafen fork - update 1.24.1 A12
« Reply #199 on: April 28, 2020, 05:12:24 pm »
Hello ronbin,

You did right on the first step, well done! Next is to adjust the destination Rect to cover the screen, before blitting.

Sure, it's possible, but I can't tell you how at the moment exactly, need some work.

The mod currently disables stretch/resize rules of native mednafen to apply its own method.
Options can be modifying this method or re-active default stretching options.

You can try to follow the ".stretch" video option in src/drivers/video.cpp.

Another option is to wait, 31kHz is on the plan. :)