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.22.1 / A09  (Read 15042 times)

0 Members and 2 Guests are viewing this topic.

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:Today at 09:11:28 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.22.1 / A09
« Reply #120 on: March 05, 2019, 07:03:17 pm »
Here we go!  :)

New revision, align on Medafen last version.
Snes_Faust module added.

purity1516

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:May 28, 2019, 04:32:32 pm
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.22.1 / A09
« Reply #121 on: March 07, 2019, 03:17:11 pm »
Nice work!
Thanks

naoto.awai

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:June 09, 2019, 09:49:22 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.22.1 / A09
« Reply #122 on: June 09, 2019, 09:36:59 am »
Thank You for your great work!

I'm using the last release of emu4crt with Attract Mode 2.5.1 on Windows 7 pro x64.
I'm also using Calamity's driver to output @15 kHz

Emu4crt folder is placed inside my home directory, so I don't have to worry about Windows write-restrictions.
I've manually changed the following parameters in mednafen.cfg:

Code: [Select]
video.fs 1

video.resolution_switch super

When I run emu4crt from command line, everything works as It's supposed to.
Even if I exit and re-launch the .exe hundred times, the updated mednafen.cfg is stored without any changes.


If I run emu4crt from Attract Mode, only at the first launch full screen and super resolutions works.
This happens because mednafen.cfg is correctly read.

When I exit from Attract Mode to Windwos desktop, the following mednafen.cfg lines are lost:

Code: [Select]
;Enable time synchronization(waiting) for frame blitting.
video.blit_timesync 1

;Deinterlacer to use for interlaced video.
video.deinterlacer weave

;Attempt to disable desktop composition.
video.disable_composition 1

;Video output driver.
video.driver default

;Enable frameskip during emulation rendering.
video.frameskip 1

;Enable fullscreen mode.
video.fs 1

;Display to use with fullscreen mode.
video.fs.display -1

;Attempt to synchronize OpenGL page flips to vertical retrace period.
video.glvsync 1

;Video resolution switch (0, native or super).
video.resolution_switch super

If I don't manually add them, Attract Mode launches emu4crt with a default mednafen.cfg that doesn't included the lines shown above.

Any ideas ?

Thank You in advance!






silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:Today at 09:11:28 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.22.1 / A09
« Reply #123 on: June 12, 2019, 01:06:43 pm »
Hi,

Nope, no idea  :dunno

Iím using other frontend, without issue.

Could you try with official Mednafen release?
We also might learn something from the log file  ;)

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 60
  • Last login:Today at 01:51:06 pm
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.22.1 / A09
« Reply #124 on: June 13, 2019, 04:02:27 am »
Hey silmalink

Is your patch ok for mednafen 1.22.2 ? (before I try by myself :D)

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:Today at 09:11:28 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.22.1 / A09
« Reply #125 on: June 13, 2019, 12:12:05 pm »
Hello Substring,

Nope, not tested on latest release.
Iím busy with other personnal project, I will have a look on a later time.

Please, feel free to report result if you try by your own.   :)


Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 60
  • Last login:Today at 01:51:06 pm
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.22.1 / A09
« Reply #126 on: June 13, 2019, 04:26:57 pm »
Having quite some trouble to apply your patch, even on 1.22.1 (on linux i should say).

In fact, there is a circular reference : include/mednafen is a symlink to src/, so some files get patched twice, and of course, patch complains that it's alerady applied.

For example :
https://github.com/emu4crt/files/blob/master/patches/mednafen-1.22.1-emu4crt-A09.patch#L23 and https://github.com/emu4crt/files/blob/master/patches/mednafen-1.22.1-emu4crt-A09.patch#L1221 are the same patches

So it's hard to validate emu4crt on 1.22.2 :/

silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:Today at 09:11:28 am
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.22.1 / A09
« Reply #127 on: Yesterday at 10:25:35 am »
Aouch!

The symlink is coming from official sources, I canít do anything about this  :P

Iíve already applied a diff file on a previous release, canít remember how in details :dunno
Maybe the last diff generation is faulty, Iím not expert on this.

Iíll try to work on it soon.




Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 60
  • Last login:Today at 01:51:06 pm
  • I want to build my own arcade controls!
Re: emu4crt Mednafen fork - update 1.22.1 / A09
« Reply #128 on: Yesterday at 01:06:45 pm »
Should I not use the official source to apply your patch ?

When I'm lazy to create a patch, i start from the default source code, init a git repo (git init then git add *), hack/patch the source, then git diff > mypatch.patch and voilŗ, done.