Open zii opened 9 years ago
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.py
It panic on my windows~
— Reply to this email directly or view it on GitHub https://github.com/gutomaia/pyNES/issues/21#issuecomment-141758061.
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:
cd pyNES
and execute sudo python setup.py install
pynes py helloworld.py -o helloworld.nes
inside the examples folder
I tried an hour, it still not work~