Px68k-libretro

Hello @r-type @Tatsuya79 @matt

I use this core on raspberry pi without keyboard but with somes games (hdf format). Only gamepad connected. keyboard required to navigate. :frowning: is there a possibility to integrate the use of a joystick (Dpad) and B or A button ? or a virtual gamepad to navigate ? sorry for my bad english.

Have you tried JoyKey option? F12/L2 to bring up menu, then scroll the list down - Frame Skip is not the last item on the menu.

Hi,

Is there a specific reason to set auto frame skip as default? Is “no frame skip” still the best option when the host CPU is powerful enough?

On my system using auto frame skip makes movement in action games feel more laggy. What could be a reason for the core to be skipping frames when it seems to be running at 100% without issues and vsync in the libretro core is off?

Full frames should be the default… unless someone else is updating the core … then dunno why is should be auto then…

x68k ran at some strange refresh rate like 55hz. It’s probably to do with that.

@matt yes, joykey option is ON, and I tried JOY/Mouse -> Joystick or Mouse and it’ doesn’t work.

1 Like

@Matt : All is working now and I can compare Genocide 2 on Sharp x68000 and FM Towns The problem I had was in my Disks path in Keropi file : I forgot to add “/” at the end of the path

Thanks for help

1 Like

I have also been unable to verify JoyKey.

Maybe the way the “auto” mode logic works is not good enough?

I’ll will keep it as Full Frames if I can confirm your findings.

Will push my changes soon.

Hello I tried this game : Mahou Daisakusen (1994)(Electronic Arts - Victor) Game launched with 2MB (ram) but in game, start button doesn’t work.

Mahou Daisakusen (1994)(Electronic Arts - Victor)(Disk 1 of 3).dim

Mahou Daisakusen (1994)(Electronic Arts - Victor)(Disk 2 of 3).dim

Mahou Daisakusen (1994)(Electronic Arts - Victor)(Disk 3 of 3).dim

does the game work for you?

It works, but I forgot what was the trick.

Anyway it’s an awful port that runs at a lower framerate.

Hi Acris, If I remember correctly, you have to wait the end of game’s intro, then on title screen, push right direction of joystick. You will enter the config menu, there you need to enable the last option (Sel Run) To have Music, you also need to enable FM Sound Then the start button should work

@hostile1975 thanks you a lot, it’s work.

Now living the dream and playing Sharp X68000.

I went and learned how to make .bat files, converting them to .exe files, hiding the console window to launch games without even having to enter Retroarch. Loading m3u files for multi-disk games has also made life easy.

It almost seems like having a Sharp X68000 PC for real!

1 Like

I just wanted to make some notes about scaling with specific reference to Nintendo 3DS

  • 800×240 top screen (400×240 in 3D mode)
  • 320×200 bottom screen

The interesting thing here is that we could use the 800 pixels as double the horizontal resolution, meaning some graphics modes would be displayable in higher fidelity than otherwise.

Correct X68k aspect ratio means horizontal stretch of 1.375 to get corrected resolution AFAIK.

Sharp X68k res Aspect corrected 3DS scaling factor Scaled resolution 3DS output Notes
256×240 352×240 1.0×1.0 352×240 352×240
256×256 352×256 1.0×1.0 352×256 352×240 V-crop
512×240 704×240 1.0×1.0 704×240 704×240
512×256 704×256 1.0×1.0 704×256 704×240 V-crop
512×512 704×512 0.5×0.5 352×256 352×240 V-crop
640×480 880×480 0.5×0.5 440×240 400×240 H-crop
768×512 1056×512 0.5×0.5 528×256 400×240 V-crop
1024×1024 1408×1024 0.25×0.25 352×256 352×240 V-crop

From: https://github.com/libretro/px68k-libretro/issues/38#issuecomment-381348271

Darknior said:

WOOAAAWWW !!! to rad all you make for this emulator <3 I love the x68000 and have a fantastic best of set that come from my old xBox where we can play x68000 perfectly from some years. Now i’m on PI3 and i really want to port my pack to it :slight_smile: This libretro is really a chance for us …

With your future change and US menu, do you think it will be possible to play all the x68000 games ? It can really be a dream :slight_smile: http://www.theisozone.com/downloads/xbox/emulators/sharp-x68000-emuxtras/ http://www.emuxtras.net/forum/viewtopic.php?f=64&t=2226&start=90

I see a few different things:

  1. games: they should all work, barring support for mouse-only games (why I am working on MouseKey)
  2. box art: yes, like this
  3. Xtras notes: would need to be converted to another format for display

So it would be OK to bring your pack across, and we have talked about something similar further up this thread. If you are interested and have time and desire, you could be the person to create the RetroArch X68000 database: https://github.com/libretro/libretro-database and I would be happy to help and advise you with this task.

I understand you update the menu of the emulator and not the Libretro CORE options because the LR menu is really small and not really upgradable. It’s the problem for all the computers like AMIGA and others …

I want to add some/all options from the F12 PX68K emulator menu options to the RetroArch “core options” menu.

BUT, do you think it will be possible to link some of them to LR engine to use this emulator like others, like the SNES for exemple. To let us using SAVESTATE with HOTKEY, REWIND, FAST FORWARD, etc …

Yes, fast forward at least should be able to be hooked up. Savestate should be possible. These are now on my list of things to do. I’ll do them after I push my current changes.

And like on AMIGA with UEA files let us creating config file for each games if there is something special with it?

Config files: with Amiga there are many more options than X68K, but I think what you mean is if we could support for RetroArch “game overrides” (save settings per game). I’ll take a look.

Also, you can create .m3u files that contain a list of disks, the first two are mounted and the rest sit in a list that can be cycled through using the retroarch “disk swap” key.

So, as you can see… lots to do!

Any way to get MIDI working?

I have tried “Nemesis '90 Kai” and “Akumajou Dracula” and in those games I see options like MT-32, CM-32L, CM-64, SC-55, SC-33, SC-135, CM-300, CM-500.

But selecting anything but internal will get muted background music.

Nope, that’s not supported by that emulator.

Hello @Tatsuya79 @r-type do you think it’s possible to add netplay function like others cores ?

It would need to have save states first.