Skip to content

Commit

Permalink
Now Vitastick have LiveArea design!
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrapivin committed Jul 25, 2018
1 parent d5a03b2 commit 7ecbc63
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vpk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ include("${VITASDK}/share/vita.cmake" REQUIRED)

set(VITA_APP_NAME "Vitastick")
set(VITA_TITLEID "VITASTICK")
set(VITA_VERSION "01.04")

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu11")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(VITA_MKSFOEX_FLAGS "${VITA_MKSFOEX_FLAGS} -d PARENTAL_LEVEL=1")

if (NOT ${RELEASE})
add_definitions(-DENABLE_LOGGING)
Expand Down Expand Up @@ -48,6 +50,10 @@ vita_create_self(${SHORT_NAME}.self ${SHORT_NAME})
vita_create_vpk(${SHORT_NAME}.vpk ${VITA_TITLEID} ${SHORT_NAME}.self
VERSION ${VITA_VERSION}
NAME ${VITA_APP_NAME}
FILE pkg/sce_sys/icon0.png sce_sys/icon0.png
pkg/sce_sys/livearea/contents/bg.png sce_sys/livearea/contents/bg.png
pkg/sce_sys/livearea/contents/startup.png sce_sys/livearea/contents/startup.png
pkg/sce_sys/livearea/contents/template.xml sce_sys/livearea/contents/template.xml
)

add_custom_target(vpksend
Expand Down
Binary file added vpk/pkg/sce_sys/icon0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vpk/pkg/sce_sys/livearea/contents/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vpk/pkg/sce_sys/livearea/contents/startup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions vpk/pkg/sce_sys/livearea/contents/template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>

<livearea style="psmobile" format-ver="01.00" content-rev="1">
<livearea-background>
<image>bg.png</image>
</livearea-background>

<gate>
<startup-image>startup.png</startup-image>
</gate>

<frame id="frame2">
<liveitem>
<text valign="bottom" align="left" text-align="left" text-valign="bottom" line-space="3" ellipsis="on">
<str color="#ffffff" size="50" bold="on" shadow="on">VitaStick</str>
</text>
</liveitem>
</frame>

<frame id="frame3">
<liveitem>
<text valign="top" align="left" text-align="left" text-valign="top" line-space="2" ellipsis="on">
<str size="22" shadow="on">by xerpi</str>
</text>
</liveitem>
</frame>

<frame id="frame4">
<liveitem>
<text align="left" text-align="left" word-wrap="off" ellipsis="on">
<str size="18" color="#ffffff" shadow="on">v0.4-alpha</str>
</text>
</liveitem>
</frame>
</livearea>

0 comments on commit 7ecbc63

Please sign in to comment.