Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

support double dragon Neo-Geo(MAME Emulator) ? #25

Open
dota2heqiuzhi opened this issue May 5, 2023 · 10 comments
Open

support double dragon Neo-Geo(MAME Emulator) ? #25

dota2heqiuzhi opened this issue May 5, 2023 · 10 comments

Comments

@dota2heqiuzhi
Copy link

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.

@zbeucler2018
Copy link

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

@pkasarski
Copy link

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

@MatPoliquin
Copy link
Owner

MatPoliquin commented May 6, 2023

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

@dota2heqiuzhi
Copy link
Author

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
Copy link
Author

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?

@MatPoliquin
Copy link
Owner

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

@dota2heqiuzhi
Copy link
Author

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.

@MatPoliquin
Copy link
Owner

@dota2heqiuzhi I will check it out

@MatPoliquin
Copy link
Owner

@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

@dota2heqiuzhi
Copy link
Author

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants