MAMEToolkit icon indicating copy to clipboard operation
MAMEToolkit copied to clipboard

Sample code problem

Open haisheng666 opened this issue 3 years ago • 0 comments

I want to ask what this "game_id" really is and how I can import the zip game file in roms. The code is as follows:

from MAMEToolkit.emulator import list_actions

roms_path = "roms/" # Replace this with the path to your ROMs game_id = "supertank.zip" print(list_actions(roms_path, game_id))

/home/lhs/.conda/envs/mame_project/bin/python /home/lhs/PycharmProjects/mame_project/mt_2.py Unknown system 'supertank.zip'

"supertank.zip" approximately matches the following supported machines (best match first):

haisheng666 avatar Jan 23 '23 02:01 haisheng666