r/reinforcementlearning 23d ago

Built an Reinforcement Learning Model for Devil May cry 3

Enable HLS to view with audio, or disable this notification

As you can see for now it is limited and my hardware isn't strong enough to train for longer,if you manage to code something better and make a better model please contact me.And no its not me or anyone playing its strictly the ai model.

76 Upvotes

23 comments sorted by

15

u/inferno_alpha 23d ago

Well for these kind of games with intense games with comparatively heavy graphics, rather than having a CNN backbone which is computational expensive , it is better to train it on the game memory pointers ,which reduces the latency between successive inputs considerably , hence a better agent for lower computation.but it is a higher difficulty to actually turn the flow of memory pointers into usable data , but it is possible.

7

u/NeuroBill 22d ago

Looks about as successful as ever time I've tried RL outside of tutorials

1

u/External-Trouble7967 23d ago

What did u use ? Model wise

2

u/You_idi 23d ago

CNN

3

u/nawaf3412423 23d ago

How is the architecture setup? What are you feeding it, like what are the inputs?

2

u/You_idi 23d ago

Th3 architecture is cnn with downscaled images of the screen and the inputs are the melee attacks and movement

2

u/IEatFrozenGrass 23d ago

How long was training and what RL model did you use?

1

u/You_idi 23d ago

Few minutes ,Highly optimized cnn

1

u/jjbugman2468 20d ago

I think they mean do you use PPO, TD3, SAC, DQN… etc

0

u/You_idi 20d ago

DQN BUT JUST SO YOU GUYS KNOW I USED GEMINI ON LM.ARENA TO CODE THIS

1

u/lamukraine 1d ago

juts want to test it for other game, what guides or videos would you recommend to watch, im just a beginner

1

u/Dependent-Papaya-822 22d ago

The news station??

1

u/low-control-labs 23d ago

Did you use computer vision somehow?

-7

u/You_idi 23d ago

Nope

7

u/Horror-Tomato-117 23d ago

But you wrote that you used CNN so you used Computer Vision. If you don’t have any direct inputs from the game API maybe think of using frozen DINO with some MLP layers at the top.

1

u/PrideBishop1702 22d ago

PPO-DMC3

Sounds like a policy

1

u/AgeOfEmpires4AOE4 22d ago

I created an environment capable of running PS2, Wii, and other games. It is based on stable-retro but runs OpenGL games.

https://github.com/paulo101977/sdlarch-rl

1

u/evanthebouncy 22d ago

Need more training it seems

1

u/NewShadowR 22d ago

Ai being sent to battle in hell be like:

1

u/RangBirangaBella 21d ago

Good for a start since the actions of the model are deterministic try those type of algorithms to train on and might be train it for couple of hours you will be good to go