I know there are tools like ssconv, toss, pcxtosat and bgconv for image conversion, but others had problem to use them. And I noticed that when I tried to convert my MineSweeper sprite set with those tools, I get totally different .c arrays... .
Anyway, I converted sprites with the "SegaConverter for NT" from the "SS-SDK Win95 Graphic Tools" and it worked. But you need a little trick to use it successfully:
1. Download, unzip and install the file WGT_10J.zip from Antime's Saturn docs, libs & stuff, it's described as "SS-SDK Win95 Graphic Tools" under "Compilers, libs and tools";
2. Open the program C:\SSSDK\SegaConv.exe
3. In the program, open your bitmap image: File->Open(bmp, jpg), I denote this as IM0.
4. Now comes the trick:
(if you just try to save the opened image as a .C file, it gives the error "color mode not supported")
4.1 Create a new image with the same size as your sprite image, set 32K colors. This let me call IM1.
4.2 Highlight IM0 and press Edit->Select All and then Edit->Copy
4.3 Highlight IM1 and press Edit->Paste
4.4 The selection is still active and you cannot save it, so just click somewhere inside the window of IM1.
4.5 With still IM1 highlighted, click File->Save as... and select File Type SGL Files(*.c), then save it.
5. In the pop-up window, select what color should be transparent, if you want to use transparency, otherwise deactivate it. Finished!
So no excuse to not use sprites anymore 😉 .
Anyway, I converted sprites with the "SegaConverter for NT" from the "SS-SDK Win95 Graphic Tools" and it worked. But you need a little trick to use it successfully:
1. Download, unzip and install the file WGT_10J.zip from Antime's Saturn docs, libs & stuff, it's described as "SS-SDK Win95 Graphic Tools" under "Compilers, libs and tools";
2. Open the program C:\SSSDK\SegaConv.exe
3. In the program, open your bitmap image: File->Open(bmp, jpg), I denote this as IM0.
4. Now comes the trick:
(if you just try to save the opened image as a .C file, it gives the error "color mode not supported")
4.1 Create a new image with the same size as your sprite image, set 32K colors. This let me call IM1.
4.2 Highlight IM0 and press Edit->Select All and then Edit->Copy
4.3 Highlight IM1 and press Edit->Paste
4.4 The selection is still active and you cannot save it, so just click somewhere inside the window of IM1.
4.5 With still IM1 highlighted, click File->Save as... and select File Type SGL Files(*.c), then save it.
5. In the pop-up window, select what color should be transparent, if you want to use transparency, otherwise deactivate it. Finished!
So no excuse to not use sprites anymore 😉 .