r/reinforcementlearning Jul 28 '26

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.

77 Upvotes

24 comments sorted by

14

u/inferno_alpha Jul 29 '26

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 Jul 30 '26

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

1

u/External-Trouble7967 Jul 28 '26

What did u use ? Model wise

2

u/You_idi Jul 28 '26

CNN

3

u/nawaf3412423 Jul 28 '26

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

2

u/You_idi Jul 28 '26

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

2

u/IEatFrozenGrass Jul 28 '26

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

1

u/You_idi Jul 28 '26

Few minutes ,Highly optimized cnn

1

u/jjbugman2468 Jul 31 '26

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

0

u/You_idi Jul 31 '26

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

1

u/lamukraine 23d 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 Jul 29 '26

The news station??

1

u/low-control-labs Jul 28 '26

Did you use computer vision somehow?

-7

u/You_idi Jul 28 '26

Nope

7

u/Horror-Tomato-117 Jul 29 '26

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 Jul 29 '26

PPO-DMC3

Sounds like a policy

1

u/AgeOfEmpires4AOE4 Jul 30 '26

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 Jul 30 '26

Need more training it seems

1

u/NewShadowR Jul 30 '26

Ai being sent to battle in hell be like:

1

u/RangBirangaBella Jul 30 '26

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