-include Makefile.local
-ifeq "$(PLATFORM)" "opendingux"
+# TODO this should somehow go to the platform directory?
+ifeq "$(PLATFORM)" "generic"
+$(TARGET).zip: $(TARGET)
+ $(RM) -rf .od_data
+ mkdir .od_data
+ cp -r platform/linux/skin .od_data
+ cp platform/game_def.cfg .od_data
+ cp $< .od_data/PicoDrive
+ $(STRIP) .od_data/PicoDrive
+ cd .od_data && zip -9 -r ../$@ *
+all: $(TARGET).zip
+endif
-# TODO this should somehow go to the platform/opendingux directory?
+ifeq "$(PLATFORM)" "opendingux"
.od_data: $(TARGET)
$(RM) -rf .od_data
+ mkdir .od_data
cp -r platform/opendingux/data/. .od_data
cp platform/game_def.cfg .od_data
cp $< .od_data/PicoDrive
ifeq "$(PLATFORM)" "miyoo"
$(TARGET).zip: $(TARGET)
$(RM) -rf .od_data
+ mkdir .od_data
cp -r platform/opendingux/data/. .od_data
cp platform/game_def.cfg .od_data
cp $< .od_data/PicoDrive
--- /dev/null
+The skin images can be customized, but there are several limitations:\r
+\r
+background.png - must be 640x480 image with 24bit RGB colors.\r
+font.png - must be 128x160 8bit grayscale image.\r
+selector.png - must be 8x10 8bit grayscale image.\r
+\r
+Font and selector colors can be changed by editing skin.txt.\r
+\r
--- /dev/null
+// html-style hex color codes, ex. ff0000 is red, 0000ff is blue, etc.\r
+text_color=ffffff\r
+selection_color=c00000\r
+\r