mega happy sprite version 1 is out!
Moderator: BigEvilCorporation
mega happy sprite version 1 is out!
Version one of this:
is out. This is my sprite editor for the sega genesis/mega drive.
Here's the source and binaries for ubuntu and debian. Most importantly here's a tutorial on how to use the darn thing youtube I hope someone finds all my work useful.
is out. This is my sprite editor for the sega genesis/mega drive.
Here's the source and binaries for ubuntu and debian. Most importantly here's a tutorial on how to use the darn thing youtube I hope someone finds all my work useful.
Last edited by sigflup on Wed Aug 01, 2012 8:37 pm, edited 1 time in total.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
-
- Very interested
- Posts: 710
- Joined: Sat Feb 18, 2012 2:44 am
-
- Interested
- Posts: 35
- Joined: Tue Sep 06, 2011 2:16 am
- Location: /dev/sa0
- Contact:
Holy crap! keep me informed if it compiles on OSX. Mind you you also need lex and perl in adition to SDL. Does OSX have the command, "xxd"? if so I can get rid of the perl dependency
tristanseifert wrote:Hey, that's very nice. I was gonna write a sprite editor but now it seems I don't have to =P
I'm gonna try to see if I can compile this on OS X - it just links to SDL, so porting this to Windows should not be too hard unless some platform specific features are going to be used.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
I can confirm that xxd does exist on OSX from trying it on Terminal.app. I have not tried compiling your app yet, though, but I will try later today.sigflup wrote:Holy crap! keep me informed if it compiles on OSX. Mind you you also need lex and perl in adition to SDL. Does OSX have the command, "xxd"? if so I can get rid of the perl dependency
It does look like a well-made app, though. Good job.
ok, cool. I got rid of the perl dependency. I also changed the download-link, btw. since I just put it up on github. again, thank yousasuke wrote:I can confirm that xxd does exist on OSX from trying it on Terminal.app. I have not tried compiling your app yet, though, but I will try later today.sigflup wrote:Holy crap! keep me informed if it compiles on OSX. Mind you you also need lex and perl in adition to SDL. Does OSX have the command, "xxd"? if so I can get rid of the perl dependency
It does look like a well-made app, though. Good job.
Ok. I attempted to compile this and got this error
I googled what this message meant and it turns out that the function getdirentries is not supported on OS X Lion and newer, at least when the kernel is 64 bit. Instead, the man page suggested to use opendir and readdir instead. I might try it out and see if it works.
If you need more info, here is the man page for readdir on the apple website.
Code: Select all
cc -c -I./gui/ `sdl-config --cflags` -O2 -w -ggdb -DDOXRANDR -m32 draw.c
cc -c -I./gui/ `sdl-config --cflags` -O2 -w -ggdb -DDOXRANDR -m32 mega.c
cc -c -I./gui/ `sdl-config --cflags` -O2 -w -ggdb -DDOXRANDR -m32 proc.c
cc -c -I./gui/ `sdl-config --cflags` -O2 -w -ggdb -DDOXRANDR -m32 vdp.c
./bin2head char\ help_text\[\] < MANUAL > help_text.h
printf "int help_text_len = %d;\n" `wc -c < MANUAL` >> help_text.h
cc -c -I./gui/ `sdl-config --cflags` -O2 -w -ggdb -DDOXRANDR -m32 bottom.c
lex mega_file.l
cc -c -I./gui/ `sdl-config --cflags` -O2 -w -ggdb -DDOXRANDR -m32 lex.yy.c
cc -c -I./gui/ `sdl-config --cflags` -O2 -w -ggdb -DDOXRANDR -m32 uu.c
cd gui && make
cc -c draw.c -I./ `sdl-config --cflags` -w -m32 -ggdb
cc -c font.c -I./ `sdl-config --cflags` -w -m32 -ggdb
cc -c gui.c -I./ `sdl-config --cflags` -w -m32 -ggdb
cc -c link.c -I./ `sdl-config --cflags` -w -m32 -ggdb
cc -c std_dialog.c -I./ `sdl-config --cflags` -w -m32 -ggdb
cc -c drop.c -I./ `sdl-config --cflags` -w -m32 -ggdb
cc -c timer.c -I./ `sdl-config --cflags` -w -m32 -ggdb
cc -c load_save.c -I./ `sdl-config --cflags` -w -m32 -ggdb
cc -I./ `sdl-config --cflags` -w -m32 -ggdb -c -o menu.o menu.c
rm -rf libgui.a
ar -q -v libgui.a draw.o font.o gui.o link.o std_dialog.o drop.o timer.o load_save.o menu.o
ar: creating archive libgui.a
q - draw.o
q - font.o
q - gui.o
q - link.o
q - std_dialog.o
q - drop.o
q - timer.o
q - load_save.o
q - menu.o
ranlib libgui.a
cc -o mega draw.o mega.o proc.o vdp.o bottom.o lex.yy.o uu.o gui/libgui.a `sdl-config --libs` -O2 -ggdb -lSDL_image ./gui/libgui.a -m32
Undefined symbols for architecture i386:
"_getdirentries_is_not_available_when_64_bit_inodes_are_in_effect", referenced from:
_read_dir in libgui.a(load_save.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make: *** [mega] Error 1
If you need more info, here is the man page for readdir on the apple website.
ok, I got rid of getdirentries. try it nowsasuke wrote:Ok. I attempted to compile this and got this error
I googled what this message meant and it turns out that the function getdirentries is not supported on OS X Lion and newer, at least when the kernel is 64 bit. Instead, the man page suggested to use opendir and readdir instead. I might try it out and see if it works.
If you need more info, here is the man page for readdir on the apple website.