pinobatch / nrom-template Goto Github PK
View Code? Open in Web Editor NEWNES NROM project template for ca65 assembler
NES NROM project template for ca65 assembler
[Strugglemeat@b550maoruspro nrom-template-0.05]$ make
ca65 src/nrom.s -o obj/nes/nrom.o
ca65 src/init.s -o obj/nes/init.o
tools/pilbmp2nes.py tilesets/bggfx.png obj/nes/bggfx.chr
Traceback (most recent call last):
File "/home/Strugglemeat/nesdev/nrom-template-0.05/tools/pilbmp2nes.py", line 210, in <module>
main()
File "/home/Strugglemeat/nesdev/nrom-template-0.05/tools/pilbmp2nes.py", line 187, in main
outdata = pilbmp2chr(im, tileWidth, tileHeight,
File "/home/Strugglemeat/nesdev/nrom-template-0.05/tools/pilbmp2nes.py", line 95, in pilbmp2chr
data = formatTile(tile)
File "/home/Strugglemeat/nesdev/nrom-template-0.05/tools/pilbmp2nes.py", line 188, in <lambda>
lambda im: formatTilePlanar(im, planes, hflip, little))
File "/home/Strugglemeat/nesdev/nrom-template-0.05/tools/pilbmp2nes.py", line 79, in formatTilePlanar
return out.tostring()
AttributeError: 'array.array' object has no attribute 'tostring'
make: *** [makefile:105: obj/nes/bggfx.chr] Error 1
sounds like tostring was changed to tobytes in later versions of python? python-intelhex/intelhex#45
edit: yes, changing two instances of 'tostring' to 'tobytes' in the tools/pilbmp2nes.py file allowed me to run 'make'
IF THIS FILE HAS NO LINE BREAKS: View it in a web browser.
Windows Notepad is a very popular text editor that comes with the Windows operating system, but it doesn't recognize line breaks in text files made on Linux or any other UNIX-like operating system.
Text files with UNIX line breaks display correctly in WordPad, Notepad++, Programmer's Notepad, Gedit, or a web browser, just not in Windows Notepad.
Should be removed from the README once the next Windows feature update (RS5) lands.
See: https://blogs.msdn.microsoft.com/commandline/2018/05/08/extended-eol-in-notepad/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.