bbbbbr / gimp-rom-bin Goto Github PK
View Code? Open in Web Editor NEWGIMP plug-in to read/write SNES / NES / GB / GBA / NGP / MD / etc ROM image, tile and sprite files
License: GNU General Public License v3.0
GIMP plug-in to read/write SNES / NES / GB / GBA / NGP / MD / etc ROM image, tile and sprite files
License: GNU General Public License v3.0
i tried with gimptool-2.0 firstly but couldnt find file etc, then renamed to fit ./src/file-rom-bin.c and that didnt work either. dumps below.
lastly from /home/e/stream/nesdev/git/gimp-rom-bin i ran make, compile successful so i took a guess and copied contents of ./obj/ into this system's gimp plug-in dir at /home/e/.config/GIMP/2.10/plug-ins/
when i started gimp i didnt receive any extra file opening superpowers and at this point became stuck as what to do.
advice please?
[e@e-pc gimp-rom-bin]$ gimptool-2.0 --install file-rom-binfile.c
gcc -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread -o '/home/e/.config/GIMP/2.10/plug-ins/file-rom-binfile' 'file-rom-binfile.c' -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgegl-0.4 -lgegl-npd-0.4 -lm -Wl,--export-dynamic -pthread -lgmodule-2.0 -ljson-glib-1.0 -lbabl-0.1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype
gcc: error: file-rom-binfile.c: No such file or directory
[e@e-pc gimp-rom-bin]$ pwd
/home/e/stream/nesdev/git/gimp-rom-bin
[e@e-pc gimp-rom-bin]$
[e@e-pc gimp-rom-bin]$ cd src/
[e@e-pc src]$ gimptool-2.0 --install file-rom-binfile.c
gcc -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread -o '/home/e/.config/GIMP/2.10/plug-ins/file-rom-binfile' 'file-rom-binfile.c' -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgegl-0.4 -lgegl-npd-0.4 -lm -Wl,--export-dynamic -pthread -lgmodule-2.0 -ljson-glib-1.0 -lbabl-0.1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype
gcc: error: file-rom-binfile.c: No such file or directory
[e@e-pc src]$
i changed filename to point to file-rom-bin.c but that failed also
[e@e-pc src]$ gimptool-2.0 --install file-rom-bin.c
gcc -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread -o '/home/e/.config/GIMP/2.10/plug-ins/file-rom-bin' 'file-rom-bin.c' -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgegl-0.4 -lgegl-npd-0.4 -lm -Wl,--export-dynamic -pthread -lgmodule-2.0 -ljson-glib-1.0 -lbabl-0.1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype
/usr/bin/ld: /tmp/ccn1Zb6y.o: in functionrun': file-rom-bin.c:(.text+0x3fe): undefined reference to
export_dialog'
/usr/bin/ld: file-rom-bin.c:(.text+0x437): undefined reference toread_rom_bin' /usr/bin/ld: file-rom-bin.c:(.text+0x595): undefined reference to
export_dialog'
/usr/bin/ld: file-rom-bin.c:(.text+0x5c2): undefined reference to `write_rom_bin'
collect2: error: ld returned 1 exit status
[e@e-pc src]$
Hi
Can you write a manual?
As a beginner, i don't know how to use this
I get 00 00 FF 00 81 00 FF 00 C3 00 FF 00 E7 00 E7 00
which is white bars in grey background but it should be black bars in white background. Check here http://www.huderlem.com/demos/gameboy2bpp.html GIMP 2.10.8 color mode 1bit, RGB, greyscale - makes no difference at all
Would it be possible to add pkm file support? as a majority of sprites now user pkm / pkm10
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.