flycast icon indicating copy to clipboard operation
flycast copied to clipboard

[Feature Request] RetroAchievements support

Open Tvastr-ops opened this issue 2 years ago • 71 comments

Is your feature request related to a problem? Please describe. Currently the only way to get RetroAchievements to work with flycast is through Retroarch core. But it's a very tedious process. And installing Retroarch for only Dreamcast doesn't make sense. So if it's possible can you please add RA support in the standalone application.

Tvastr-ops avatar Oct 01 '22 11:10 Tvastr-ops

Why only Android/iOS? This should be addressed to all platforms, if possible.

ludg1e avatar Oct 09 '22 12:10 ludg1e

Considering the native Xbox port of Flycast runs significantly better than the Retroarch core I too would like to see this happen now now that achievements are supported in Dreamcast games.

TreeBranches avatar Nov 26 '22 07:11 TreeBranches

Just wanted to share my desire to see this feature

DLance96 avatar Nov 28 '22 03:11 DLance96

I agree with everyone! I would love too see this happen. But sadly I’m not a dev and I don’t know much about emulator development/ emulation.

ghost avatar Mar 01 '23 17:03 ghost

Apologies I didn't see this ticket. I'd also love to see this implemented

retropieuser avatar Jul 11 '23 11:07 retropieuser

Please add Retroachievements

Walissonsd avatar Aug 21 '23 00:08 Walissonsd

Hello, thanks for that awesome emulator. Will be possibility to have retroachivements support on the emulator? Thanks!

montero3006 avatar Oct 10 '23 21:10 montero3006

+1, it would be very nice if add a retroachivments support.

w-e-g avatar Nov 12 '23 11:11 w-e-g

Flycast runs so much smoother when not emulated via RetroArch, really wish we could have achievement support for it

jintei avatar Apr 24 '24 20:04 jintei

The latest build on the dev branch features a basic RetroAchievements integration. UI is very minimal at this point and you'll just get text notifications when achievements are unlocked. However everything should be tracked on the retroachievements.org web site. This is supported on all platforms. Please test and comment with your feedback. Don't forget to enable Automatic Crash Reporting.

flyinghead avatar Apr 29 '24 13:04 flyinghead

Just downloaded the freshest dev build. It crashes when I tried to began input text to login/password field.

w-e-g avatar Apr 29 '24 16:04 w-e-g

@w-e-g which platforms are you on?

flyinghead avatar Apr 29 '24 16:04 flyinghead

macOS Sonoma 14.4.1, x86_64.

w-e-g avatar Apr 29 '24 16:04 w-e-g

Well, you're lucky because it doesn't even start on my machine. It looks like the macOS build is broken.

flyinghead avatar Apr 29 '24 17:04 flyinghead

android seems ok, no issues yet, logged in and what not,

nexus382 avatar Apr 29 '24 17:04 nexus382

@w-e-g Can you try the previous dev build? There are UI text fields in the Settings > Network tab. Please test entering text and check if it crashes with this version. Thanks.

flyinghead avatar Apr 29 '24 17:04 flyinghead

Well, you're lucky because it doesn't even start on my machine. It looks like the macOS build is broken.

I just tried the 4666ea2 build on macOS Sonoma 14.3. It runs, logs in, and I got my first achievement.

bryanforbes avatar Apr 29 '24 17:04 bryanforbes

@flyinghead, I just tested 4666ea2. Same situation. Build 8fdd1dd for macOS was not built if I understand correctly.

w-e-g avatar Apr 29 '24 17:04 w-e-g

https://github.com/flyinghead/flycast/commit/4666ea2fdba1a0c225dc99b7cb693962ad494749 is the latest build. Could you test the previous build for macOS: e46815d

It doesn't have RetroAchievements support but I need to find out in which build the problem started.

flyinghead avatar Apr 29 '24 18:04 flyinghead

@flyinghead tested build e46815d. Enter the text into "Network" tab. Works fine.

w-e-g avatar Apr 29 '24 18:04 w-e-g

Mac M1 Sonoma 14.2.1, using the latest build 4666ea2 loads fine with the username and password entered. Unlocked a basic achievement on Code Veronika seems to work well so far

Edit: also built the dev branch for Raspberry Pi 5 using the official Raspberry Pi OS, works the same as the Mac build for me, let me unlock a couple of softcore achievements and gives the text notification

retropieuser avatar Apr 29 '24 21:04 retropieuser

@w-e-g Do you mean with the build https://github.com/flyinghead/flycast/commit/4666ea2fdba1a0c225dc99b7cb693962ad494749, it also crashes when you try to type text in the Network tab? Or does it just crash in the Enable RetroAchievements's Username field?

Are you using any Input Method Editor or just standard English input?

vkedwardli avatar May 01 '24 12:05 vkedwardli

@vkedwardli it crashes when using any text field. In network tab or retroachievements. I'm using English locale and input English text only into the text fields. No any non-standard texpt input used.

w-e-g avatar May 01 '24 15:05 w-e-g

New dev build with better UI is available image

@w-e-g vkedwardli also provided a patch for macOS. Please test and let us know.

flyinghead avatar May 01 '24 16:05 flyinghead

@flyinghead Very nice! It works and I unlocked achievement! :) 🔥

w-e-g avatar May 01 '24 17:05 w-e-g

Party time!

flyinghead avatar May 01 '24 17:05 flyinghead

New dev build available: image

image

flyinghead avatar May 03 '24 18:05 flyinghead

Still all good for me, tested on Mac M1 Sonoma 14.2.1, using fe17d45. Awesome work and thank you for taking on this functionality for us.

Do you have a roadmap of functions you're looking to implement to have it fully working? I can see you've got a placeholder for hardcore mode inside the emu.cfg for example? And likewise is there anything specific you'd like users to test and report back

retropieuser avatar May 04 '24 10:05 retropieuser

I just fixed a crash on windows that was reported automatically so this is good. Hardcore mode is next, then there are leaderboards than need specific indicators. After that we should be close to complete. @TheCoolPup reported that achievements weren't working on arcade games. (He was testing house of the dead 2.) So any help in this area would be appreciated.

flyinghead avatar May 04 '24 14:05 flyinghead

Re Naomi games, I just tried Monkey ball and HOTD2 on my setup with the above build and it unlocks okay for me

retropieuser avatar May 04 '24 15:05 retropieuser