DATLib has been an utter joy to work with over the years and now the definitive version is here!
Making a more efficient and feature rich DATLib is the things dreams are made of IMO
Thank you to CosmicR for putting this on the radar!
https://github.com/TheHpman/libNG
I'm new to SGDK so after I got libmd.a compiled I had trouble with getting libNG.a built but with a little help...
At the time of writing this SGDK 2.11 is the current release...This info might be obsolete come the next SGDK release but in the mean time.
common.mk requires this line
INC_LIB := $(GDK)/inc
Then this bat file helps set the environment variables 'setdk.bat'
SET "GDK=%cd:\=/%"
SET "GDK_WIN=%cd%"
SET PATH=%GDK_WIN%\bin;%PATH%
Now running 'make -f C:\sgdk211\makelib.neo' should build libNG.a
Where C:\sgdk211 is where sgdk is installed on your system
I can't take credit for this info. It should help if you are trying to get things rolling!
The hype is real! This is a Mega Shocked moment never ceases to amaze all the beautiful things people make and spoil us with!
Next Step: Get NGsample running!
Via Windows Setup:
"C:\SGDK" represents your install path
Environment Variables
GDK C:/SGDK
GDK_WIN C:\SGDK
Path
%GDK_WIN%\bin
Next navigate to NGsample and make...
C:\SGDK\sample\NGsample>make -f c:\sgdk\mafefile.neo
Moving into Mame
1. Create a folder called 'ngsample' in the roms directory
2. Copy files from SGDK NGsample>out and paste them into 'ngsample' directory
rom.bin (program code)
fix.bin (fix gfx)
char.bin (sprite data)
3. Open hash>neogeo.xml add in this driver
<software name="ngsample">
<description>NGSample</description>
<year>2025</year>
<publisher>HPMAN</publisher>
<sharedfeat name="release" value="MVS,AES" />
<sharedfeat name="compatibility" value="MVS,AES" />
<part name="cart" interface="neo_cart">
<dataarea name="maincpu" width="16" endianness="big" size="0x300000">
<rom name="rom.bin" offset="0x000000" size="0x300000" crc="0" sha1="0" />
</dataarea>
<dataarea name="fixed" size="0x040000">
<rom offset="0x000000" size="0x020000" name="fix.bin" crc="0" sha1="0" />
</dataarea>
<dataarea name="sprites" size="0x400000">
<rom name="char.bin" offset="0x000000" size="0x400000" crc="0" sha1="0" />
</dataarea>
</part>
</software>
4. Make sure neogeo.zip is in the roms directory preferably uni-bios v4.0
5. Run the demo
mame neogeo -cart1 ngsample