Fermer2
defalt45Le 24/11/2019 à 00:49
Hello

This summer, it will be three full years in which I have attempted countless times to develop games for the Neo Geo. I have got exactly 0 viable results.
Tried ASM. Impossible for a full game.
Tried NeoDev / DATlib. Ran into hundreds of differents issues, issues I'm seemingly too stupid to understand and overcome.
Tried NGDK. Don't understand a thing.

So, now, I'm asking (hopefully for the last time) for help, with the hope that I could finally understand how all that stuff works, and maybe develop my game. I've got ideas, I'm motivated, etc.... but I'm so uncapable of understanding anything that that shit overcomes my motivation and I just end up wanting to do bad stuff.

If someone is willing to explain how to setup NeoDev/Datlib to a guy who takes 15 minutes to understand something you understood in 5 seconds, you'd make that guy happy.

The issue I have now is that after I compile what's inside the Project folder (copied from samples/demo), I get the crosshatch.
Here's my folder: https://ufile.io/ldxg3hhv

Thanks

Edit 1 of many: Got this working. I tried another demo and it worked with it.
Edit 2: Got another problem: installed DATlib. When I do make, I get this:
Error
gcc -Lc:\NeoDev/m68k/lib -m68000 -O3 -Wall -fomit-frame-pointer -ffast-math -fno-builtin -nostartfiles -nodefaultlibs -D__cart__ -Wl,-Tc:\NeoDev/src/system/neocart.x -Xlinker -Map=_output.map c:\NeoDev/tmp/crt0_cart.o c:\NeoDev/tmp/main.o c:\NeoDev/tmp/palettes.o c:\NeoDev/tmp/maps.o -lDATlib -lprocess -lc -lgcc -o test.o
c:\NeoDev/tmp/crt0_cart.o: In function `_irq2_handler':
c:\NeoDev/tmp/crt0_cart.o(.text+0x21c): undefined reference to `_vbl_flag'
c:\NeoDev/tmp/maps.o: In function `streamScroll':
c:\NeoDev/tmp/maps.o(.text+0x8): undefined reference to `streamScroll_Palettes'
c:\NeoDev/tmp/maps.o(.text+0xc): undefined reference to `streamScroll_colorStream'
c:\NeoDev/tmp/maps.o: In function `SNKLogoStrip':
c:\NeoDev/tmp/maps.o(.text+0x22c8): undefined reference to `SNKLogoStrip_Palettes'
c:\NeoDev/tmp/maps.o(.text+0x22cc): undefined reference to `SNKLogoStrip_colorStream'
c:\NeoDev/tmp/maps.o: In function `ffbg_a':
c:\NeoDev/tmp/maps.o(.text+0x16b48): undefined reference to `ffbg_a_Palettes'
c:\NeoDev/tmp/maps.o: In function `ffbg_b':
c:\NeoDev/tmp/maps.o(.text+0x16f18): undefined reference to `ffbg_b_Palettes'
c:\NeoDev/tmp/maps.o: In function `wohd':
c:\NeoDev/tmp/maps.o(.text+0x179c8): undefined reference to `wohd_Palettes'
c:\NeoDev/tmp/maps.o: In function `ffbg_c':
c:\NeoDev/tmp/maps.o(.text+0x1f956): undefined reference to `ffbg_c_Palettes'
c:\NeoDev/tmp/maps.o: In function `terrypict':
c:\NeoDev/tmp/maps.o(.text+0x1fa38): undefined reference to `terrypict_Palettes'
c:\NeoDev/tmp/maps.o: In function `desert':
c:\NeoDev/tmp/maps.o(.text+0x1fe52): undefined reference to `desert_Palettes'
c:\NeoDev/tmp/maps.o: In function `topleft':
c:\NeoDev/tmp/maps.o(.text+0x1ffe8): undefined reference to `topleft_Palettes'
c:\NeoDev/tmp/maps.o: In function `pointer':
c:\NeoDev/tmp/maps.o(.text+0x20012): undefined reference to `pointer_Palettes'
c:\NeoDev/tmp/maps.o: In function `dbgTags':
c:\NeoDev/tmp/maps.o(.text+0x20030): undefined reference to `dbgTags_Palettes'
c:\NeoDev/tmp/maps.o: In function `gradient':
c:\NeoDev/tmp/maps.o(.text+0x2014a): undefined reference to `gradient_Palettes'
c:\NeoDev/tmp/maps.o: In function `tf4layers':
c:\NeoDev/tmp/maps.o(.text+0x201e4): undefined reference to `tf4layers_Palettes'
c:\NeoDev/tmp/maps.o: In function `bmary_spr':
c:\NeoDev/tmp/maps.o(.text+0x221fc): undefined reference to `bmary_spr_Palettes'
make: *** [test.o] Error 1
Edit 3: I was able to finally compile with DATlib. Now it seems like sprites don't appear on screen.
Edit 4: Now they appear, but only color streams work properly. The other sprites appear like this:
Image
000110.png
000210.png
000310.png