eforgacs-games / Dragon_Warrior

This is a clone of Dragon Warrior for the Nintendo Entertainment System, done in Python.
5 stars 2 forks source link

Cannot run program without changes #3

Closed Kisioj closed 2 years ago

Kisioj commented 2 years ago

image I do believe that src. should be removed from imports.

PS. Python 3.10.1

Kisioj commented 2 years ago

Ok. Problem solved when running like this PYTHONPATH=$PYTHONPATH:$(pwd) python src/game.py but another problem occurs: image

Kisioj commented 2 years ago

Ok. Works after changing DATA_DIR in config to DATA_DIR = join(dirname(dirname(realpath(__file__))), 'data')

eforgacs commented 2 years ago

Thanks! It works on my end when I make that change as well, so I'll push that change (commit is here: https://github.com/eforgacs-games/Dragon_Warrior/commit/f41d9d8672b7a9ab5335164127fdde2e31b58f45) . Let me know if you run into any more issues getting started/launching.