Coder Social home page Coder Social logo

libretro / beetle-pcfx-libretro Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 29.0 25.61 MB

Standalone port of Mednafen PCFX to libretro.

License: GNU General Public License v2.0

Makefile 1.01% C 64.70% Objective-C 0.11% C++ 29.15% Perl 0.01% SourcePawn 0.79% POV-Ray SDL 1.75% Python 2.34% PHP 0.14%

beetle-pcfx-libretro's People

Contributors

albertofustinoni avatar aliaspider avatar andres-asm avatar claudiuslollarius avatar clobber avatar disastermo avatar ficoos avatar gregorr avatar heuripedes avatar hizzlekizzle avatar inactive123 avatar kwyxz avatar liberodark avatar libretroadmin avatar lioncash avatar markwkidd avatar mudlord avatar negativeexponent avatar oggom avatar pinumbernumber avatar robloach avatar rtissera avatar sanaki avatar supervisedthinking avatar tatsuya79 avatar themaister avatar toadking avatar warmenhoven avatar webgeek1234 avatar yoshisuga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

beetle-pcfx-libretro's Issues

CHDs crash the emulator

When running a game in CHD format, after the PC-FX boot screen, Retroarch crashes.
The emulator says it can accept CHD images, in the information screen.
Why does this happen?

Sound continually shutters on every game, RPi3

I just rebuilt lr-beetle-pcfx (mednafen_pcfx_libretro.so) from source on RetroPie about an hour ago and every game runs at about 85% of full speed with continual shuttering sound. I have the correct pcfx.rom file with the SHA1: 1a77fd83e337f906aecab27a1604db064cf10074. Any more information you need from me, please let me know.

CHD support for PC-FX

This is a follow-up to a previous bounty.

All I ask is that someone adds CHD support to the Mednafen PC-FX Core.

I figured I might as well make a bounty for the last Mednafen core that uses CDs (other than the PSX, which I've been informed would be problematic).

I doubt many people are going to use it, but I think it would be a good feature to add. Hell, this is more of a "Give rtissera money" type thing.

This will have a bounty of $10.

BIOS file name documentation

Unless I'm missing something the docs say that the BIOS file should be named pcfx.rom, but it appears that it must be pcfx.bios.

Update core to 1.23.0

Mednafen was recently updated with several corrections of this emulator and it would be nice to include them to improve those small errors. I don't know if some have already been applied, but since the core only reflects that it is in 0.9.36.5, they supposedly were not added.

After 0.9.36.5 there are several changes that would be good to include in the core to improve emulation.

  • PCE_FAST, PC-FX: Fixed some mostly-benign violations of strict aliasing.
  • PCE, PC-FX: Fixed the garbled-sound-while-state-rewinding problem.
  • PSX, PC-FX, VB: Added alternative to computed-goto in the CPU emulation cores, for crazy people who want to compile (parts of) Mednafen with MSVC.
  • PC-FX, VB: Fixed an instance of left-shifting uint64 by 64 in the FPU emulation code.
  • PC-FX: Added support for setting breakpoints on writes to specific VDC registers, by setting an Aux Write Breakpoint on an address ranging from A0000-A001F(VDC-A) or B0000-B001F(VDC-B).
  • PC-FX: Migrated debugger functions PCFXDBG_GetRegister() and PCFXDBG_SetRegister() over to the newer-style interface that takes integer IDs instead of std::string.
  • PC-FX: Reorganized the debugger's register view to be slightly more space-efficient horizontally.
  • PC-FX: Migrated the rest of the *GetRegister() and *SetRegister() debugger functions over to the newer-style interface.
  • PC-FX: Corrected handling of width/height of 0xA for KING BG1-3, per tests on a PC-FX. Fixes a graphical glitch in "Sakuraigar Mode" in "Tyoushin Heiki Zeroigar".
  • PCE, PC-FX: Added AVX support to the resampler.
  • PCE, PC-FX: Made resampler's coefficient memory layout more optimal.
  • PCE, PC-FX: Added ARM NEON support to the resampler(though it's only compiled in when the compiler is setup to use NEON, such as by passing -mfpu=neon).
  • MD, PC-FX: Fixed several instances of left-shifting negative values.
  • PC-FX: Fixed integer overflows that caused fatal division by zero when Mednafen's cheat functionality was used(a regression introduced around 0.9.39).
  • PC-FX: Added a missing variable to save states.
  • PC-FX: Replaced old RAINBOW IDCT code with newly-written code.

I comment as you recommended to me to be reflected and appear as a pending task.

Many thanks for your work.

gcc build error on some Linux systems

libretro-common/rthreads/rthreads.o: In function scond_wait_timeout': /builddir/build/BUILD/libretro-20170303/libretro-mednafen_pcfx/libretro-common/rthreads/rthreads.c:457: undefined reference to clock_gettime'
collect2: error: ld returned 1 exit status

M3U Support

Hi,

Would it be possible to add m3u support to this core, similar to PlayStation, for multidisc games?

Thanks so much!

Pia Carrot - black screen after selecting uniform

RA Git b3aef50
core mednafen_pcfx v0.9.33
pcfx bios : CRC32: 76ffb97a, MD5: 08e36edbea28a017f79f8d4f7ff9b6d7, SHA-1: 1a77fd83e337f906aecab27a1604db064cf10074
game is using bin/cue only files(no separate tracks),original japanese

-after choosing the uniform, the game is stuck at a black screen. game does not seem to have stopped or in a loop. since i can press run+select to soft reset game and go back to title screen. pressing again run+select will still get you back to bios menu.

-switching to d3d video renderer(or sdl2) you now will see just part of the screen of what was suppose to be the black screen above
pia carrot he youkoso - copy-161208-112724

-navigating the bios menu will turn black if selecting the cd/cd-g icon or the memory card menu but again garbled or only part of the screen if using d3d video renderer in retroarch.
pia carrot he youkoso-161208-123938
pia carrot he youkoso-161208-124219
compared to standalone mednafen
zeroigar-0002
zeroigar-0003

-others(might help diagnose) Playing with Zeroigar, RA will crash if running d3d at the part before the start of the stage. but when using gl driver, that part will just be blank instead of what is suppose to be as shown(ss taken from standalone mednafen)
tyoushin heiki zeroigar-0000
this same aspect ratio seems to be the same with Pia Carrot wherein only part of screen is shown(ss taken from standalone mednafen)
piacarrot-0003

-there was an older pcfx.bios suggested in ra's info and database but that bios will just give black screen when used.

-comparisons are done using standalone Mednafen 0.9.39.2

GCC6 -marm build error

Running into a compilation error on Lakka....

  UNPACK   beetle-pcfx
Cloning into '/root/build.Lakka-Generic.x86_64-2.1-devel/beetle-pcfx-111625e'...
remote: Counting objects: 6610, done.
remote: Compressing objects: 100% (133/133), done.
remote: Total 6610 (delta 85), reused 132 (delta 61), pack-reused 6406
Receiving objects: 100% (6610/6610), 24.38 MiB | 375.00 KiB/s, done.
Resolving deltas: 100% (3492/3492), done.
Checking connectivity... done.
Note: checking out '111625e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 111625e... Add missing file
  BUILD    beetle-pcfx (target)
make[1]: Entering directory '/root/build.Lakka-Generic.x86_64-2.1-devel/beetle-pcfx-111625e'
/root/build.Lakka-Generic.x86_64-2.1-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -c -o mednafen/pcfx/king.o mednafen/pcfx/king.cpp -march=x86-64 -m64 -fomit-frame-pointer -Wall -pipe -O2 -flto -ffat-lto-objects -mmmx -msse -msse2 -mfpmath=sse -DGIT_VERSION=\"" 111625e"\" -pthread -marm -DARM -DWANT_THREADING -DWANT_32BPP -DWANT_NEW_API -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -DNEED_CD -DHAVE_CHD -D_7ZIP_ST -DPACKAGE_VERSION=\"1.3.2\" -DFLAC_API_EXPORTS -DFLAC__HAS_OGG=0 -DHAVE_LROUND -DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_SYS_PARAM_H -DNEED_TREMOR -O2  -fPIC  -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -I./deps/zlib -I./libretro-common/include -I./deps/crypto -I./deps/flac-1.3.2/include -I./deps/flac-1.3.2/src/libFLAC/include -I./deps/lzma-16.04/C -I./deps/libchdr  -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized  -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.36.5\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=9365 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DWANT_PCFX_EMU -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_  
/root/build.Lakka-Generic.x86_64-2.1-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -c -o mednafen/pcfx/soundbox.o mednafen/pcfx/soundbox.cpp -march=x86-64 -m64 -fomit-frame-pointer -Wall -pipe -O2 -flto -ffat-lto-objects -mmmx -msse -msse2 -mfpmath=sse -DGIT_VERSION=\"" 111625e"\" -pthread -marm -DARM -DWANT_THREADING -DWANT_32BPP -DWANT_NEW_API -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -DNEED_CD -DHAVE_CHD -D_7ZIP_ST -DPACKAGE_VERSION=\"1.3.2\" -DFLAC_API_EXPORTS -DFLAC__HAS_OGG=0 -DHAVE_LROUND -DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_SYS_PARAM_H -DNEED_TREMOR -O2  -fPIC  -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -I./deps/zlib -I./libretro-common/include -I./deps/crypto -I./deps/flac-1.3.2/include -I./deps/flac-1.3.2/src/libFLAC/include -I./deps/lzma-16.04/C -I./deps/libchdr  -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized  -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.36.5\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=9365 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DWANT_PCFX_EMU -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_  
/root/build.Lakka-Generic.x86_64-2.1-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -c -o mednafen/pcfx/interrupt.o mednafen/pcfx/interrupt.cpp -march=x86-64 -m64 -fomit-frame-pointer -Wall -pipe -O2 -flto -ffat-lto-objects -mmmx -msse -msse2 -mfpmath=sse -DGIT_VERSION=\"" 111625e"\" -pthread -marm -DARM -DWANT_THREADING -DWANT_32BPP -DWANT_NEW_API -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -DNEED_CD -DHAVE_CHD -D_7ZIP_ST -DPACKAGE_VERSION=\"1.3.2\" -DFLAC_API_EXPORTS -DFLAC__HAS_OGG=0 -DHAVE_LROUND -DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_SYS_PARAM_H -DNEED_TREMOR -O2  -fPIC  -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -I./deps/zlib -I./libretro-common/include -I./deps/crypto -I./deps/flac-1.3.2/include -I./deps/flac-1.3.2/src/libFLAC/include -I./deps/lzma-16.04/C -I./deps/libchdr  -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized  -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.36.5\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=9365 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DWANT_PCFX_EMU -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_  
/root/build.Lakka-Generic.x86_64-2.1-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -c -o mednafen/pcfx/huc6273.o mednafen/pcfx/huc6273.cpp -march=x86-64 -m64 -fomit-frame-pointer -Wall -pipe -O2 -flto -ffat-lto-objects -mmmx -msse -msse2 -mfpmath=sse -DGIT_VERSION=\"" 111625e"\" -pthread -marm -DARM -DWANT_THREADING -DWANT_32BPP -DWANT_NEW_API -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -DNEED_CD -DHAVE_CHD -D_7ZIP_ST -DPACKAGE_VERSION=\"1.3.2\" -DFLAC_API_EXPORTS -DFLAC__HAS_OGG=0 -DHAVE_LROUND -DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_SYS_PARAM_H -DNEED_TREMOR -O2  -fPIC  -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -I./deps/zlib -I./libretro-common/include -I./deps/crypto -I./deps/flac-1.3.2/include -I./deps/flac-1.3.2/src/libFLAC/include -I./deps/lzma-16.04/C -I./deps/libchdr  -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized  -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.36.5\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=9365 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DWANT_PCFX_EMU -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_  
x86_64-libreelec-linux-gnu-g++-6.2.0: error: unrecognized command line option '-marm'; did you mean '-mabm'?
x86_64-libreelec-linux-gnu-g++-6.2.0: error: unrecognized command line option '-marm'; did you mean '-mabm'?
make[1]: *** [Makefile:426: mednafen/pcfx/soundbox.o] Error 1
make[1]: *** Waiting for unfinished jobs....
x86_64-libreelec-linux-gnu-g++-6.2.0: error: unrecognized command line option '-marm'; did you mean '-mabm'?
make[1]: *** [Makefile:426: mednafen/pcfx/interrupt.o] Error 1
x86_64-libreelec-linux-gnu-g++-6.2.0: error: unrecognized command line option '-marm'; did you mean '-mabm'?
make[1]: *** [Makefile:426: mednafen/pcfx/king.o] Error 1
make[1]: *** [Makefile:426: mednafen/pcfx/huc6273.o] Error 1
make[1]: Leaving directory '/root/build.Lakka-Generic.x86_64-2.1-devel/beetle-pcfx-111625e'
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 2

Mode1/Mode2 Switch not working

mode1 / mode2 switch on gamepad does not work. suppose to give effects to A/B keys like turbo in Zeroigar or auto-text scroll in Pia Carrot

Music Lags

Hello,

I contact you because I have a problem to emulate pcfx games which is a console that I love on a 4 GB android box (H96 Max 3 x3) with the emuelec system. The problem is that the games work, but in the anime there are music lags in all the games. I would like to know if you could give me some advise me some parameters to help solve this.

Core crashes when rewind is ON using retroarch 1.6.8 and above.

Currently using latest retroarch, when loading pcfx game the core will crash to desktop when REWIND is set to ON using retroarch 1.6.8 and above... the last working retroarch was version 1.6.7 sometime Aug 12

Interestingly, rewind seems to work ingame only if before starting core, set REWIND to OFF and when ingame set rewind to ON.

Saving doesn't work

Save states work but not standard saving in games.

Win7 x64, latest RA + core.

Android not working

This core won't work on android, black screen in all games. The same games works on windows. I'm using the same bios on windows and android, windows is working, android isn't.

I've tested on Shield TV, Moto Z2 Force, Moto Z Force, Much W1 and Nexus 4, various android versions, none working. :(

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.