How to run?
Opened this issue · 7 comments
I tried an hour, it still not work~
Zii, I'm working in a simple tutorial and a README for early steps. Also limitations and whats comming next.
There is a how to run, on the basic readme file that i've just created.
F:\dev\py\nes>python pynes py hello.py -o hello.nes
usage: pynes [-h] [-p FILE | -a FILE | -c FILE] [-o FILE]
pynes: error: unrecognized arguments: py test.py
I install pynes 0.1, it panic on my windows~
I believe you need dashes in front of "py", like "--py", or use "-p".
However, I am stuck generating an empty output file when I attempt to
compile the hello.py example.
On Sun, Sep 20, 2015 at 3:24 AM, zii notifications@github.com wrote:
F:\dev\py\nes>python pynes py hello.py -o hello.nes
usage: pynes [-h] [-p FILE | -a FILE | -c FILE] [-o FILE]
pynes: error: unrecognized arguments: py test.pyIt panic on my windows~
—
Reply to this email directly or view it on GitHub
#21 (comment).
byron
G:\dev\ipc>python nes.py -p hello.py -o hello.nes
usage: pynes [-h] [-p FILE | -a FILE | -c FILE] [-o FILE]
pyNES - Python programming for Nintendo 8bits
optional arguments:
-h, --help show this help message and exit
-p FILE, --py FILE compile python
-a FILE, --asm FILE compile an asm file
-c FILE, --chr FILE import chr
-o FILE, --out FILE output file for compile and convert
@bwallace I got an empty nes too~
@bwallace add the -a (to also generate the asm file), that might help figure out what's going wrong. Also taking a second look on the tutorial, I see that I missed a step. You must have the player.chr file, that is include in the moving sprite example.
@zii, I've never instaled pyNES in windows. I still dont get what's going wrong.
I've create a chat room in the gitter.im. I think that would be a better place for us to chat. Please, fell free to join!
@zii @bwallace Follow those steps:
- Clone the github repo (IMPORTANT, don't install it using pip!!!)
cd pyNES
and executesudo python setup.py install
- Copy the required .chr (all of them inside the fixtures directory) into the examples folder
- Execute
pynes py helloworld.py -o helloworld.nes
inside the examples folder