Coder Social home page Coder Social logo

openemu / mednafen-core Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 22.0 17.03 MB

OpenEmu Core plugin with Mednafen

Objective-C 0.01% Objective-C++ 0.76% C 57.13% C++ 32.62% CMake 0.01% HTML 0.01% Assembly 0.01% Pascal 2.81% PHP 0.04% Makefile 1.93% POV-Ray SDL 2.83% Pawn 1.62% NASL 0.04% SourcePawn 0.14% BitBake 0.04% Batchfile 0.01% Shell 0.01%

mednafen-core's Introduction

OpenEmu

alt text

OpenEmu is an open-source project whose purpose is to bring macOS game emulation into the realm of first-class citizenship. The project leverages modern macOS technologies, such as Cocoa, Metal, Core Animation, and other third-party libraries. One third-party library example is Sparkle, which is used for auto-updating. OpenEmu uses a modular architecture, allowing for game-engine plugins, allowing OpenEmu to support a host of different emulation engines and back ends while retaining the familiar macOS native front end.

Currently, OpenEmu can load the following game engines as plugins:

Minimum Requirements

macOS Mojave 10.14.4

Building the default branch requires Xcode 14.3 and macOS Ventura.

mednafen-core's People

Contributors

clobber avatar cyco avatar duckey77 avatar jweinberg avatar kylewlacy avatar maddthesane avatar mrvacbob avatar nicoya avatar pggb avatar psychoh13 avatar rudyrichter avatar vade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mednafen-core's Issues

Is there any way to add filters?

I need that upscaling filter that upscales the resolution a couple of times,does it look much better?
No,but my PC can easily handle 2D Emulation,so I want the "best looking" graphics,other filters like xbrz would be cool too,I don't use it,but I want to have it.

[PSX] Support for non-retail BIOS

It seems mednafen is already able to handle this (related discussion https://forum.fobby.net/index.php?t=tree&th=1939)

UX Proposal 1:

  • Let users load the additional files (i.e. PSX-XBOO.ROM and PSXONPSP660.BIN), the same way it does with retail BIOS, and have it check against specific MD5s.
  • Let users decide (via e.g. radio buttons) to use retail (will pick based on region) or any of the other ones (picked specificially i.e. I want to load with the PSP dumped BIOS).

UX Proposal 2:

  • Let users load one additional custom BIOS file, no checksum validation.
  • Let users specify if they want to use the custom BIOS over the retail ones (or simply, if there's a custom BIOS specified, just go for it).

IMO the second proposal would be the least convoluted, and can be easily delivered as an advanced-only feature (Secrets?).

Computer crashes during in-game save/loading world map

-New to OpenEmu. Playing Lunar Silver Star Story (first/only game so far) on PSX.
-Twice now my Mac has frozen while playing necessitating a hard reboot; occurred once when leaving a town/entering the world map, and another while saving the game (in game, not save state).
-Seems unpredictable/difficult to reproduce because this does not occur every time entering the world map/saving. My Mac is generally a happy computer and freezing behavior is unusual, so I don't think it's my machine.
-This occurs while AirPlaying to my Apple TV. However this is the only way I've been playing, so cannot rule out if AirPlay is related or not.

Steps to reproduce

  1. Exit a town to enter world map, or use the in-game save function to save game.

Expected Behavior

  1. Exit a town to enter world map, or use the in-game save function to save game.
  2. Load the world map or save the game without issue, every time.

Observed Behavior

  1. Exit a town to enter world map, or use the in-game save function to save game.
  2. It either works normally or freezes on the screen, eventually crashing the computer.

Debugging Information

  • OpenEmu Version: 2.0.8
  • macOS Version: 10.14.3
  • file name is: Lunar - Silver Star Story Complete (USA) (Disc 1).cue
  • I followed the instructions for setting up a multi-disc .m3u file.
  • I also verified the hash for the PSX BIOS files are correct.
  • I attempted to locate console/crash reports using these instructions (https://github.com/OpenEmu/OpenEmu/wiki/Troubleshooting:-Console-and-crash-reports), but was unable to find what the instructions were describing - are the instructions up to date? I see the picture links are broken.

Multiple memory cards issue

Hello, I would like to know how to have a second memory card available

I'm trying to play Yu-Gi-Oh Forbidden Memories (PS1, mednafen core) and the game has a multiplayer option, but whenever I try to play, it only recognizes a Memory card in the slot 1, but for de slot 2 it has no data, I have tried to make a copy of the respective .mcr file and also saving with the Save option in the game, but as it only recognizes one Memory card, it will not allow me to save different games, only overwrite the one that I already have.
Is there any way to have multiple saved games (using the Save option in the game or saving in any other way so the game allows me to play multiplayer mode)
Thanks in advance.

  • OpenEmu Version: v2.0.7
  • macOS Version: v10.13.6

Multitap not working for multi cd psx games

I see the game I'm trying to play here in the multitap supported games (8a5229f)

The game is: @"SLUS-00697" : @4, // Circuit Breakers (USA)

And it works fine alone. But when I create a .m3u file that contains its expansion pack (aka Bonus CD), the game itself and the expansion pack only see 2 controllers.

Is there a way to make multitap work with games that have more than 1 cd?

Analog Stuck Left

Analog always moving left will not respond to right movement. Holding a direct right only negates the left moment keeping me at a standstill. Can still move with and up and right or down and right.

Update Core to address Tombraider

Tomb Raider has some known issues I am encountering in Mednafen. Version 1.27.1 will address these issues.

From Meednafen site:
PS1: Fixed hangs at different points in some versions of "Tomb Raider", a problem initially fixed in 0.9.38.3, but regressed in 1.22.0-UNSTABLE.

EUR games PS1, can't change default localisation from any menu

Hi,

Is it possible to change the emulator language manually on PS1 ?

For example, I have the european version of Metal Gear Solid 1. But when i launch the game, only english language is available.

Is it possible to change core files (like DesmuMe) to do it ?

Regards,
Sillv

SNES support

Hi!
Just wondering what it'd take to get SNES support added to the mednafen core, since the emulator itself can run SNES games?

Thanks,
Chris

Sticky analog stick.

Hiya,

I have noticed in PS1 racing games (Example: NFS IV: High Stakes or Gran Turismo 2) that when driving with an analog stick, there is a tendency for the car to periodically veer hard left or right sometimes. You can compensate for this by moving the stick, eg. if the car veers left, you can compensate for it by steering right, but if you release the stick it will veer back left. This problem is not easily reproducible, it seems to be random and goes away after a bit. You can sometimes correct it by quickly moving the stick in the direction of veering followed by the opposite direction, but not always.

I am using an Xbox 360 wireless controller with the Tattie Bogle driver on OS X Yosemite. I have tried various settings on the dead zone in the driver control panel but it does not seem to impact the problem even if you set a huge dead zone or none at all. If I switch to d pad the problem disappears. So I don't think it is to do with the driver, but I am not completely sure.

I found a fix which might be related from Feb 9 (8f29dfb) but I'm not terribly familiar with Github, so I'm not sure if this fix has already made it into the version of Mednafen I am using or not. The problem occurs both on the current version downloaded by the in-app installer (v0.9.34) and on v0.9.36.4 if I manually try that one.

Couldn't communicate with helper application

I compiled this core with success, but this message pops up : Couldn't communicate with helper application...

All the other cores I compiled or downloaded from here/inside the app are working fine, except from the 3 latest mednafen core updates, which give the same message...

Here are the commits that give this message :
04831b3 - Update Mednafen to 0.9.41
c34ac33 - Update Mednafen to 0.9.42
3247fcf - Add analog axis scale support

Same thing with the official experimental release and the compiled source code...

25/02/2017 05:44:39,276 OpenEmu[20368]: Helper Connection (0x7fa507ad6fc0) failed with error: Error Domain=NSCocoaErrorDomain Code=4097 "connection from pid 0" UserInfo={NSDebugDescription=connection from pid 0}

Process: OpenEmuHelperApp [20374]
Path: /Applications/- Emulation/OpenEmu.app/Contents/Resources/OpenEmuHelperApp
Identifier: OpenEmuHelperApp
Version: 2.0.4 (2.0.4)
Code Type: X86-64 (Native)
Parent Process: OpenEmu [20368]
Responsible: OpenEmuHelperApp [20374]
User ID: 501

Date/Time: 2017-02-25 05:44:39.288 +0700
OS Version: Mac OS X 10.11.6 (15G1217)
Report Version: 11
Anonymous UUID: 65EA74C6-FCA5-6A3C-4745-2BE72D184565

Time Awake Since Boot: 17000 seconds

System Integrity Protection: enabled

Crashed Thread: 4 Dispatch queue: com.apple.NSXPCConnection.user.20368

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Dyld Error Message:
Symbol not found: _clock_gettime
Referenced from: /Users/USER/Library/Application Support/OpenEmu/*/Mednafen
Expected in: /usr/lib/libSystem.B.dylib

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff876b4f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff876b43b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff883a0124 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8839f5ec __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff8839ee38 CFRunLoopRunSpecific + 296
5 com.apple.HIToolbox 0x00007fff8efe9935 RunCurrentEventLoopInMode + 235
6 com.apple.HIToolbox 0x00007fff8efe976f ReceiveNextEventCommon + 432
7 com.apple.HIToolbox 0x00007fff8efe95af _BlockUntilNextEventMatchingListInModeWithFilter + 71
8 com.apple.AppKit 0x00007fff9a880df6 _DPSNextEvent + 1067
9 com.apple.AppKit 0x00007fff9a880226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
10 com.apple.AppKit 0x00007fff9a874d80 -[NSApplication run] + 682
11 OpenEmuHelperApp 0x000000000b1e3f37 -[OpenEmuXPCHelperApp launchApplication] + 77 (OpenEmuXPCHelperApp.m:47)
12 OpenEmuHelperApp 0x000000000b1e3b8f main + 384 (OpenEmuHelperAppMain.m:43)
13 libdyld.dylib 0x00007fff9cef15ad start + 1

Thread 1:
0 libsystem_kernel.dylib 0x00007fff876bb5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9158d578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff9158b341 start_wqthread + 13

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff876bbefa kevent_qos + 10
1 libdispatch.dylib 0x00007fff8a750165 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff8a74fdcd _dispatch_mgr_thread + 52

Thread 3:
0 libsystem_kernel.dylib 0x00007fff876bb5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9158d578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff9158b341 start_wqthread + 13

Thread 4 Crashed:: Dispatch queue: com.apple.NSXPCConnection.user.20368
0 dyld 0x00007fff6a621075 dyld_fatal_error + 1
1 dyld 0x00007fff6a624094 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 139
2 libdyld.dylib 0x00007fff9ceef262 dyld_stub_binder + 282
3 ??? 0x0000000011079008 0 + 285708296
4 org.openemu.Mednafen 0x00000000102b9e26 mednafen_init() + 70
5 org.openemu.Mednafen 0x00000000102b7f31 -[MednafenGameCore loadFileAtPath:error:] + 657
6 OpenEmuHelperApp 0x000000000b1e0074 -[OpenEmuHelperApp loadROMAtPath:romCRC32:romMD5:romHeader:romSerial:systemRegion:withCorePluginAtPath:systemPluginPath:error:] + 1234 (OpenEmuHelperApp.m:297)
7 OpenEmuHelperApp 0x000000000b1e43be -[OpenEmuXPCHelperApp loadROMAtPath:romCRC32:romMD5:romHeader:romSerial:systemRegion:usingCorePluginAtPath:systemPluginPath:completionHandler:] + 221 (OpenEmuXPCHelperApp.m:95)
8 com.apple.CoreFoundation 0x00007fff8839c9cc invoking_ + 140
9 com.apple.CoreFoundation 0x00007fff8839c85e -[NSInvocation invoke] + 286
10 com.apple.Foundation 0x00007fff87e17eb8 NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT + 17
11 com.apple.Foundation 0x00007fff87e17822 -[NSXPCConnection _decodeAndInvokeMessageWithData:] + 1123
12 com.apple.Foundation 0x00007fff87e172f0 message_handler + 705
13 libxpc.dylib 0x00007fff8b48456e _xpc_connection_call_event_handler + 35
14 libxpc.dylib 0x00007fff8b482de7 _xpc_connection_mach_event + 2198
15 libdispatch.dylib 0x00007fff8a752596 _dispatch_client_callout4 + 9
16 libdispatch.dylib 0x00007fff8a752a08 _dispatch_mach_msg_invoke + 555
17 libdispatch.dylib 0x00007fff8a74f200 _dispatch_queue_drain + 1207
18 libdispatch.dylib 0x00007fff8a75135f _dispatch_mach_invoke + 735
19 libdispatch.dylib 0x00007fff8a74f200 _dispatch_queue_drain + 1207
20 libdispatch.dylib 0x00007fff8a755707 _dispatch_queue_invoke + 549
21 libdispatch.dylib 0x00007fff8a74a40b _dispatch_client_callout + 8
22 libdispatch.dylib 0x00007fff8a74e29b _dispatch_root_queue_drain + 1890
23 libdispatch.dylib 0x00007fff8a74db00 _dispatch_worker_thread3 + 91
24 libsystem_pthread.dylib 0x00007fff9158d4de _pthread_wqthread + 1129
25 libsystem_pthread.dylib 0x00007fff9158b341 start_wqthread + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff876bb5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9158d578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff9158b341 start_wqthread + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff876bb5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9158d578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff9158b341 start_wqthread + 13

Thread 7:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff876b4f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff876b43b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff883a0124 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8839f5ec __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff8839ee38 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff9a9d6d95 _NSEventThread + 149
6 libsystem_pthread.dylib 0x00007fff9158d99d _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff9158d91a _pthread_start + 168
8 libsystem_pthread.dylib 0x00007fff9158b351 thread_start + 13

Thread 4 crashed with X86 Thread State (64-bit):
rax: 0x00007fff6a65a290 rbx: 0x00007fac4ac4fb40 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x00007fff6a65a400 rsi: 0x0000000000000000 rbp: 0x0000700000194c90 rsp: 0x0000700000194c78
r8: 0x00007fff6a64304c r9: 0x00000000fc000000 r10: 0x0000700000194a6a r11: 0x00007fff6a65a400
r12: 0x000000000b3be6f2 r13: 0x00007fac4af75cf0 r14: 0x00007fff6a65a400 r15: 0x0000000000000118
rip: 0x00007fff6a621075 rfl: 0x0000000000000246 cr2: 0x000000000b7f3000

Logical CPU: 0
Error Code: 0x00000000
Trap Number: 3

mednafen_psx_hw_libretro.so, mednafen_psx_libretro.s: OpenBIOs issue

I can reproduce the issue for Windows 11, and GNU/Linux.

  • Retroarch: Online Updater -> Content Downloader -> Sony PlayStation -> 240pTestSuitePS1-EMU.zip
  • Retroarch: Online Updater -> Core Downloader -> Sony - PlayStation (Beetle PSX HW)
  • Retroarch: Online Updater -> Core Downloader -> Sony - PlayStation (Beetle PSX)
  • Download pcsx-redux-nightly-*-x64.zip from https://github.com/pcsx-redux/nightlies/releases, extract it, copy openbios.bin to ~/.config/retroarch/system/, and rename it to scph5501.bin

I can use 240pTestSuitePS1-EMU.cue with the OEM BIOS, but not with OpenBIOS (black screen, and no error message in the terminal:

  • Beetle PSX HW: retroarch --libretro ~/.config/retroarch/cores/mednafen_psx_hw_libretro.so ~/.config/retroarch/downloads/240pTestSuitePS1-EMU.cue
  • Beetle PSX: retroarch --libretro ~/.config/retroarch/cores/mednafen_psx_libretro.so ~/.config/retroarch/downloads/240pTestSuitePS1-EMU.cue

Virtual Boy Side-by-Side 3D Mode

From OpenEmu/OpenEmu#991

I see the Mednafen Virtual Boy core supports side-by-side 3D mode. This would allow playing Virtual Boy games in actual 3D on a 3D TV, as most 3D TVs can convert a side-by-side picture to a 3D signal.

Is this something you all would consider adding to the settings? Or is it there somewhere and I am not looking in the right place?

Thanks! -Ben

Black screen on PSX emulation

Hi folks,
The issue i'm representing regards the PSX emulation.
I've added the PSX BIOS files into OpenEmu, and some games too (cue + bin). Double click on the game that i want to start and the emulation goes, but it immediately freezes into a black screen and nothing happens.
Hoping you can help me...

not a problem really, i think i'm just stupid, but I need help...

First of all, i have to apologize about my english, I'm from Spain. So if it is difficult to read it, please don't be scared!

I know that it's not a real issue, but i've been trying to find a place to expose my problem and i couldn't find it.

I installed OpenEmu v1.0.4 and everything was great. Recently I tried with the experimental version and I was in shock when i saw that i had to complete some things manually. I tried with Sony Playstation games and I put the three archives needed in BIOS folder (scph5500.BIN, scph5501.BIN and scph5502.BIN). http://postimg.org/image/hozdnqu03/

I ran the game and it worked! I felt like a hacker (I'm not used to do those things). But I realized that i couldn't save states so i look throughout internet and i saw that maybe I should change my mednafen core. Here's come the problem.

I downloaded the latest version as I could see in a comment (http://postimg.org/image/d1tblz6n7/), and I downloaded just the big file (http://postimg.org/image/7t2w1udlv/). I replaced it in the CORE folder (http://postimg.org/image/9m5sq5ysj/) and I drag the CORE file to the program too(I can't remember why and even in what order).

Watever… I ran again the game but nothing happens… No new windows, no advices… nothing. As if I never ran the game. It looks like the core was well installed (http://postimg.org/image/ucjqdzyar/) (http://postimg.org/image/5xbicxzdv/), but it doesn't work anymore. I downloaded another game but the result was the same.

Then I realized that having just 2 games in Playstation One folder, in all games folder there were some clones and I don't know why (http://postimg.org/image/4byqp7e23/). When I tried to ran those clones an advice told me that there is no core to ran those games and check if I'm connected to internet (but damn! I'm always connected!).

I reset presets writing that in terminal app: "defaults delete org.openemu.OpenEmu". But it didn't work.

Now I don't know what to do…

any idea?

Mednafen core persistent crash on loading game

Mednafen froze and crashed after switching shaders, after which the core won't load at all. The issue is persistent, despite restarting, rolling back versions and updating to experimental build. Logging issue as per instructions from OpenEmu


Welcome-to-Pia-Carrot-T-En-v1.0

macOS Monterey
Version 12.3 (21E230)
MacBook Pro (16-inch, 2021)
Chip Aple M1 Max
Memory 32GB

OpenEmuHelperApp-2022-08-06-100906.ips.txt

Error after compilation

I compiled mednafen-0.9.38.3.tar.bz2 using the following commands

./configure
make
sudo make install

Compilation was successful, however, this error shows when I run it:

Starting Mednafen 0.9.38.3
 Build information:
   Compiled with gcc 4.7.2
   Compiled against zlib 1.2.7, running with zlib 1.2.7(flags=0x000000a9)
   Compiled against SDL 1.2.15, running with SDL 1.2.15
   Running with libsndfile-1.0.25
 Base directory: /home/cyber/.mednafen
 Internal emulation modules: nes snes gb gba pce pce_fast lynx md pcfx ngp psx vb wswan sms gg cdplay demo
 External emulation modules: 
mednafen: tests.cpp:572: void MDFN_TESTS_CPP::TestNarrowConstFold(): Assertion `a == 0' failed.
Aborted

ps4 controller auto-mapping for virtual boy

not a biggie, by any stretch (and forgive me if this should be an issue under umbrella openemu (please feel free to smack me and move this),

BUT,

the right d-pad doesn't map automatically when using a (genuine) ps4 controller. other than that, everything else is great.

(mapping does work, just, not automatically. i'm putting it on the right analog, as most would, i think.)

cannot use magic or items in dynastic hero

i cannot seems to be able to use magic or items in the game 'dynastic hero' for turbografx-cd.
i tried to reconfigure buttons but that had no effect.
except than that, the game starts fine, jump and attack works fine.
anyone else can confirm this ?

(feature request) WonderSwan User Setting

there're Mednafen Commands that allow users to set Blood type, Birthday, Sex,Name and so on, such as "wswan.name".
Is there a way to access these settings through OpenEmu? If so where can I do this?
WonderSwan game titles do have features that use these references to generate different in-game stats, and I'd really appreciate that if that's possible.
Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.