PSP2: Update LiveArea branding
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Aug 2016 13:44:29 -0700
3 files changed,
22 insertions(+),
12 deletions(-)
M
src/platform/psp2/CMakeLists.txt
→
src/platform/psp2/CMakeLists.txt
@@ -52,11 +52,13 @@ add_custom_target(eboot.bin
${MAKE_FSELF} ${BINARY_NAME}.velf eboot.bin DEPENDS ${BINARY_NAME}.velf) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/template.xml.in ${CMAKE_CURRENT_BINARY_DIR}/template.xml) + 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}/pic0.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_BINARY_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)
D
src/platform/psp2/template.xml
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> - -<livearea style="a1" format-ver="01.00"> - <livearea-background> - <image>bg.png</image> - </livearea-background> - - <gate> - <startup-image>startup.png</startup-image> - </gate> -</livearea>
A
src/platform/psp2/template.xml.in
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?> + +<livearea style="a1" format-ver="01.00"> + <livearea-background> + <image>bg.png</image> + </livearea-background> + + <gate> + <startup-image>startup.png</startup-image> + </gate> + + <frame id="frame3"> + <liveitem> + <text origin="background" align="right" y="-250" margin-right="5"> + <str size="18" shadow="on" color="#ffffff">${VERSION_STRING}</str> + </text> + </liveitem> + </frame> +</livearea>