Kautenja / gym-super-mario-bros

An OpenAI Gym interface to Super Mario Bros. & Super Mario Bros. 2 (Lost Levels) on The NES

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Super Mario hacked tile version

niallmandal opened this issue · comments

So i have a rom of a hacked super mario game (it has 2 players: Mario and Luigi). Feeding in the raw pixel data of this results in very poor rewards. I was wondering if there was a way to transform this ROM into tile representation.

Basically what this means, is that each sprite is converted into a single digit. The background is 0, the coins and powerups are 1, enemies 2, and so on. This has already been done for instances of Super Mario, but I was wondering how I could apply this to a new ROM with the same sprites.

How do I create a tile representation for a hacked version of Super Mario? Can i do it using this library?

an example of tile representation can be found here: https://www.youtube.com/watch?v=qv6UVOQ0F44

So far, I have used OpenAI retro to run Mario.

it's doable, but requires an understanding of the NES, The ROM map and logic of the game, and the current codebases. I don't care for hand-designed features, so I wont be working on this, but many others seem interested in hand-designed state space representations (see #82 #85), so please create a fork if you're into it!