stable-retro icon indicating copy to clipboard operation
stable-retro copied to clipboard

support double dragon Neo-Geo(MAME Emulator) ?

Open dota2heqiuzhi opened this issue 1 year ago • 10 comments

I want to integrate mame2003-plus-libretro emulator in stable-retro. So I can train an AI on the game Double Dragon (there are many versions of this game, but I'm looking for the 1995 fighting game released on Neo-Geo and PS1). image

Can someone provide some tutorials or give step-by-step instructions? For example, do I need to modify the source code myself, or compile the source code? Thank you very much! I am a beginner and really don't know what to do. I really want to use this game to train an AI and get started with reinforcement learning.

dota2heqiuzhi avatar May 05 '23 00:05 dota2heqiuzhi

stable-retro (and gym-retro) is based off of retroArch. So this is not possible without significant changes to the codebase

zbeucler2018 avatar May 05 '23 01:05 zbeucler2018

Isn't he asking about using a retroarch core (mame2003-plus-libretro)?

pkasarski avatar May 05 '23 14:05 pkasarski

That would be awesome!

That said there is no official guide yet but you can check this to get started: New Emulator Integration Tutorial

You can join stable-retro discord channel if you need help: https://discord.gg/dXuBSg3B4D

MatPoliquin avatar May 06 '23 14:05 MatPoliquin

stable-retro (and gym-retro) is based off of retroArch. So this is not possible without significant changes to the codebase

I see that Gym Retro supports the Libretro API, and MAME 2003-Plus is also developed based on Libretro. So there may not be much that needs to be changed, right?

image

image

dota2heqiuzhi avatar May 09 '23 06:05 dota2heqiuzhi

That would be awesome!

That said there is no official guide yet but you can check this to get started: New Emulator Integration Tutorial

You can join stable-retro discord channel if you need help: https://discord.gg/dXuBSg3B4D

I have seen his post, and he hasn't updated it since his failed attempt. After I put the MAME core in, do I need to compile the code myself?

dota2heqiuzhi avatar May 09 '23 06:05 dota2heqiuzhi

According to his steps, seems yes you need to recompile. I will try myself later this month and make a video tutorial if I succeed

MatPoliquin avatar May 09 '23 14:05 MatPoliquin

According to his steps, seems yes you need to recompile. I will try myself later this month and make a video tutorial if I succeed

Can you test it using the double dragon Neo-Geo? You can download the ROM from here: https://archive.org/details/MAME_2003-Plus_Reference_Set_2018. The lib is available at https://github.com/libretro/mame2003-plus-libretro.

dota2heqiuzhi avatar May 10 '23 11:05 dota2heqiuzhi

@dota2heqiuzhi I will check it out

MatPoliquin avatar May 15 '23 13:05 MatPoliquin

@dota2heqiuzhi stable-retro has moved to Farama fondation: https://github.com/Farama-Foundation/stable-retro

Can you recreate your issue there so that it's under your user name? I will continue to follow over there

MatPoliquin avatar May 17 '23 12:05 MatPoliquin

@dota2heqiuzhi stable-retro has moved to Farama fondation: https://github.com/Farama-Foundation/stable-retro

Can you recreate your issue there so that it's under your user name? I will continue to follow over there

Okay, thank you very much! I'll rely on you for my introduction to reinforcement learning.

dota2heqiuzhi avatar May 19 '23 01:05 dota2heqiuzhi