mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
ui, fix generic skin
This commit is contained in:
parent
b4c25401da
commit
45d0add214
6 changed files with 27 additions and 2 deletions
17
Makefile
17
Makefile
|
@ -82,11 +82,23 @@ endif
|
||||||
|
|
||||||
-include Makefile.local
|
-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)
|
.od_data: $(TARGET)
|
||||||
$(RM) -rf .od_data
|
$(RM) -rf .od_data
|
||||||
|
mkdir .od_data
|
||||||
cp -r platform/opendingux/data/. .od_data
|
cp -r platform/opendingux/data/. .od_data
|
||||||
cp platform/game_def.cfg .od_data
|
cp platform/game_def.cfg .od_data
|
||||||
cp $< .od_data/PicoDrive
|
cp $< .od_data/PicoDrive
|
||||||
|
@ -120,6 +132,7 @@ endif
|
||||||
ifeq "$(PLATFORM)" "miyoo"
|
ifeq "$(PLATFORM)" "miyoo"
|
||||||
$(TARGET).zip: $(TARGET)
|
$(TARGET).zip: $(TARGET)
|
||||||
$(RM) -rf .od_data
|
$(RM) -rf .od_data
|
||||||
|
mkdir .od_data
|
||||||
cp -r platform/opendingux/data/. .od_data
|
cp -r platform/opendingux/data/. .od_data
|
||||||
cp platform/game_def.cfg .od_data
|
cp platform/game_def.cfg .od_data
|
||||||
cp $< .od_data/PicoDrive
|
cp $< .od_data/PicoDrive
|
||||||
|
|
BIN
platform/linux/skin/background.png
Normal file
BIN
platform/linux/skin/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 209 KiB |
BIN
platform/linux/skin/font.png
Normal file
BIN
platform/linux/skin/font.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
8
platform/linux/skin/readme.txt
Normal file
8
platform/linux/skin/readme.txt
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
The skin images can be customized, but there are several limitations:
|
||||||
|
|
||||||
|
background.png - must be 640x480 image with 24bit RGB colors.
|
||||||
|
font.png - must be 128x160 8bit grayscale image.
|
||||||
|
selector.png - must be 8x10 8bit grayscale image.
|
||||||
|
|
||||||
|
Font and selector colors can be changed by editing skin.txt.
|
||||||
|
|
BIN
platform/linux/skin/selector.png
Normal file
BIN
platform/linux/skin/selector.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 386 B |
4
platform/linux/skin/skin.txt
Normal file
4
platform/linux/skin/skin.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
// html-style hex color codes, ex. ff0000 is red, 0000ff is blue, etc.
|
||||||
|
text_color=ffffff
|
||||||
|
selection_color=c00000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue