Closed superkahraman closed 1 year ago
Well spotted. That was a silly typo - cb"\0"
should have been b"\0"
. It was introduced with this commit when I went back over all the scripts folding in some improvements from the newer ones. I've fixed that now. Re-clone the repo for the fix.
I updated script and i get following error now.
`> python3 pocketnes_compile.py -h
File "C:\Users\mess\Desktop\Emulation Playground\Builder\nes\pocketnes_compile.py", line 201 raise Exception(f'unsupported filetype for compilation - {romfilename}') ^ IndentationError: expected an indented block after 'else' statement on line 200`
My apologies. Please try again now.
`python3 pocketnes_compile.py -h
File "C:\Users\mess\Desktop\Emulation Playground\Builder\nes\pocketnes_compile.py", line 131 compilation += cb"\0" * ((256 - ((len(compilation) + EMU_HEADER + NES_HEADER)%256))%256) ^^^^ SyntaxError: invalid syntax`
I'm getting this error. How can I overcome this problem?