mirror of https://github.com/mgba-emu/mgba.git
PSP2: Add LiveArea branding
This commit is contained in:
parent
df695802dd
commit
100eab76fe
|
@ -58,8 +58,16 @@ add_custom_target(eboot.bin
|
|||
${MAKE_FSELF} ${BINARY_NAME}.velf eboot.bin
|
||||
DEPENDS ${BINARY_NAME}.velf)
|
||||
|
||||
add_custom_target(livearea
|
||||
${CMAKE_COMMAND} -E make_directory sce_sys/livearea/contents
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/icon0.png sce_sys
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/template.xml sce_sys/livearea/contents
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/bg.png sce_sys/livearea/contents
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/startup.png sce_sys/livearea/contents
|
||||
DEPENDS sce_sys)
|
||||
|
||||
add_custom_target(${BINARY_NAME}.vpk ALL
|
||||
zip -r ${BINARY_NAME}.vpk sce_sys eboot.bin
|
||||
DEPENDS eboot.bin head.bin param.sfo)
|
||||
DEPENDS livearea eboot.bin head.bin param.sfo)
|
||||
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${BINARY_NAME}.velf DESTINATION . COMPONENT ${BINARY_NAME}-psp2)
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<livearea style="a4" format-ver="01.00" content-rev="1">
|
||||
<livearea-background>
|
||||
<image>bg.png</image>
|
||||
</livearea-background>
|
||||
|
||||
<gate>
|
||||
<startup-image>startup.png</startup-image>
|
||||
</gate>
|
||||
</livearea>
|
Loading…
Reference in New Issue