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 fork - update 1.24.0 UNSTABLE / A10  (Read 23786 times)

0 Members and 2 Guests are viewing this topic.

fuchi_jeg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:Yesterday at 05:55:16 pm
  • 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: 40
  • Last login:February 24, 2020, 04:15:09 pm
  • 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: 90
  • Last login:Yesterday at 03:26:38 pm
  • I want to build my own arcade controls!
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: 30
  • Last login:Yesterday at 05:55:16 pm
  • 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: 30
  • Last login:Yesterday at 05:55:16 pm
  • 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: 90
  • Last login:Yesterday at 03:26:38 pm
  • I want to build my own arcade controls!
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: 40
  • Last login:February 24, 2020, 04:15:09 pm
  • 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: 30
  • Last login:Yesterday at 05:55:16 pm
  • 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: 40
  • Last login:February 24, 2020, 04:15:09 pm
  • 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: 30
  • Last login:Yesterday at 05:55:16 pm
  • 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 »