From 43ec42e9e199137691ea39220be72badaa499341 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Sun, 11 Sep 2005 13:56:39 +0000 Subject: - Enable HE SCUMM games - Create 1.00 (default) and 1.50/kxploit EBOOT.PBP - Add eboot graphics by Chris Eskildsen, used with his permission. svn-id: r18806 --- backends/psp/Makefile | 37 ++++++++++++++++++++++++++++++++----- backends/psp/icon0.png | Bin 0 -> 13139 bytes backends/psp/pic0.png | Bin 0 -> 4007 bytes backends/psp/pic1.png | Bin 0 -> 159564 bytes 4 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 backends/psp/icon0.png create mode 100644 backends/psp/pic0.png create mode 100644 backends/psp/pic1.png (limited to 'backends/psp') diff --git a/backends/psp/Makefile b/backends/psp/Makefile index 33196735cb..adbbd5a9e3 100644 --- a/backends/psp/Makefile +++ b/backends/psp/Makefile @@ -4,7 +4,6 @@ #control build DISABLE_SCALERS = true DISABLE_HQ_SCALERS = true -DISABLE_HE = true DISABLE_KYRA = true srcdir = ../.. @@ -23,6 +22,8 @@ RANLIB = psp-ranlib STRIP = psp-strip MKDIR = mkdir -p RM = rm -f +MKSFO = mksfo +PACK_PBP = pack-pbp INCDIR = ../../ @@ -58,7 +59,7 @@ LIBS += -lz -lm `$(PSPBIN)/sdl-config --libs` -lc -lpspgu -lpspctrl -lpspkernel CXXFLAGS := $(CFLAGS) $(CXXFLAGS) -fno-exceptions -fno-rtti ASFLAGS := $(CFLAGS) $(ASFLAGS) -TARGET = scummvm-psp.elf +TARGET = scummvm-psp OBJS := psp_main.o \ psp_fs.o \ osys_psp.o \ @@ -73,9 +74,35 @@ MODULE_DIRS += . include $(srcdir)/Makefile.common -all: $(TARGET) - $(STRIP) $(TARGET) +PSP_EBOOT_SFO = param.sfo +PSP_EBOOT_TITLE = ScummVM-PSP +PSP_EBOOT = EBOOT.PBP +PSP_EBOOT_ICON = icon0.png +PSP_EBOOT_ICON1 = NULL +PSP_EBOOT_PIC0 = pic0.png +PSP_EBOOT_PIC1 = pic1.png +PSP_EBOOT_SND0 = NULL +PSP_EBOOT_PSAR = NULL -$(TARGET): $(OBJS) +all: $(PSP_EBOOT) + +$(TARGET).elf: $(OBJS) $(LINK.cpp) $(OBJS) $(LIBS) -o $@ + $(STRIP) $@ + +$(PSP_EBOOT_SFO): + $(MKSFO) '$(PSP_EBOOT_TITLE)' $@ + +$(PSP_EBOOT): $(TARGET).elf $(PSP_EBOOT_SFO) + $(PACK_PBP) $@ $(PSP_EBOOT_SFO) $(PSP_EBOOT_ICON) $(PSP_EBOOT_ICON1) \ + $(PSP_EBOOT_PIC0) $(PSP_EBOOT_PIC1) $(PSP_EBOOT_SND0) \ + $(TARGET).elf $(PSP_EBOOT_PSAR) + +kxploit: $(TARGET).elf $(PSP_EBOOT_SFO) + mkdir -p "$(TARGET)" + $(STRIP) $(TARGET).elf -o $(TARGET)/$(PSP_EBOOT) + mkdir -p "$(TARGET)%" + $(PACK_PBP) "$(TARGET)%/$(PSP_EBOOT)" $(PSP_EBOOT_SFO) $(PSP_EBOOT_ICON) \ + $(PSP_EBOOT_ICON1) $(PSP_EBOOT_PIC0) $(PSP_EBOOT_PIC1) \ + $(PSP_EBOOT_SND0) NULL $(PSP_EBOOT_PSAR) diff --git a/backends/psp/icon0.png b/backends/psp/icon0.png new file mode 100644 index 0000000000..b5fb9008b0 Binary files /dev/null and b/backends/psp/icon0.png differ diff --git a/backends/psp/pic0.png b/backends/psp/pic0.png new file mode 100644 index 0000000000..592c4a013f Binary files /dev/null and b/backends/psp/pic0.png differ diff --git a/backends/psp/pic1.png b/backends/psp/pic1.png new file mode 100644 index 0000000000..6c35d5de4f Binary files /dev/null and b/backends/psp/pic1.png differ -- cgit v1.2.3