Skip to content

Commit

Permalink
Update v1.00
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOfficialFloW committed Sep 9, 2016
1 parent 3b17b60 commit 1d66a76
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ASFLAGS = $(CFLAGS)
all: $(TARGET).vpk

%.vpk: eboot.bin
vita-mksfoex -d PARENTAL_LEVEL=1 -s APP_VER=00.91 -s TITLE_ID=$(TITLE_ID) "$(TARGET)" param.sfo
vita-mksfoex -d PARENTAL_LEVEL=1 -s APP_VER=01.00 -s TITLE_ID=$(TITLE_ID) "$(TARGET)" param.sfo
vita-pack-vpk -s param.sfo -b eboot.bin \
--add pkg/sce_sys/icon0.png=sce_sys/icon0.png \
--add pkg/sce_sys/livearea/contents/bg.png=sce_sys/livearea/contents/bg.png \
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,17 @@ https://github.com/xy2iii/vitashell-themes

Be sure you pull request your customized design or language file there.

### Changelog 1.00 ###
- Added ability to install update files as .vpk (for Vitamin).
- Added patch to make .vpk installation appearing as full version instead of test version.
- Added text editor by BigBoot (WIP).
- Added 'More' entry to the context menu.
- Added 'Install all' feature to install all packages available in the folder (by ribbid987).
- Added 'Calculate SHA1' feature by xerpia64.
- Added support for ftp promoting for https://github.com/soywiz/vitaorganizer.
- Fixed 'Move' operation. Now it does integrate into folders and replace files.
- Dropped GENERAL_COLOR, now all colors are adjustable.

### Changelog 0.91 ###
- Added automatic network update. VitaShell will now notify you when there's a new update.
You'll then be able to download it within the VitaShell application and it will update both
Expand Down
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1362,14 +1362,14 @@ int shellMain() {
break;

case FILE_TYPE_SFO:
// color = SFO_COLOR;
color = SFO_COLOR;
icon = sfo_icon;
break;

case FILE_TYPE_INI:
case FILE_TYPE_TXT:
case FILE_TYPE_XML:
// color = TXT_COLOR;
color = TXT_COLOR;
icon = text_icon;
break;

Expand Down
4 changes: 2 additions & 2 deletions main.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
#define ENABLE_FILE_LOGGING 1

// VitaShell version major.minor
#define VITASHELL_VERSION_MAJOR 0x0
#define VITASHELL_VERSION_MINOR 0x91
#define VITASHELL_VERSION_MAJOR 0x1
#define VITASHELL_VERSION_MINOR 0x00

#define VITASHELL_VERSION ((VITASHELL_VERSION_MAJOR << 0x18) | (VITASHELL_VERSION_MINOR << 0x10))

Expand Down
2 changes: 1 addition & 1 deletion pkg/sce_sys/livearea/contents/template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<frame id="frame4">
<liveitem>
<text align="left" text-align="left" word-wrap="off" ellipsis="on">
<str size="18" color="#ffffff" shadow="on">v0.91</str>
<str size="18" color="#ffffff" shadow="on">v1.00</str>
</text>
</liveitem>
</frame>
Expand Down
2 changes: 2 additions & 0 deletions resources/colors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ DATE_TIME_COLOR = 0xFFFFFFFF # White
# File browser colors
FOCUS_COLOR = 0xFF00FF00 # Green
FILE_COLOR = 0xFFFFFFFF # White
SFO_COLOR = 0xFFFFFFFF # White
TXT_COLOR = 0xFFFFFFFF # White
FOLDER_COLOR = 0xFFFFFF00 # Cyan
IMAGE_COLOR = 0xFF7F00FF # Rose
ARCHIVE_COLOR = 0xFF007FFF # Orange
Expand Down
8 changes: 4 additions & 4 deletions text.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ int textViewer(char *file) {

}

if (hold_buttons & SCE_CTRL_SELECT) {
if (pressed_buttons & SCE_CTRL_SELECT) {
initImeDialog(language_container[ENTER_SEARCH_TERM], "", MAX_LINE_CHARACTERS, SCE_IME_TYPE_DEFAULT, 0);

search_term_input = 1;
Expand Down Expand Up @@ -463,7 +463,7 @@ int textViewer(char *file) {

// buffer modifying actions
if (modify_allowed && !search_running) {
if(!edit_line && hold_buttons & SCE_CTRL_ENTER) {
if(!edit_line && pressed_buttons & SCE_CTRL_ENTER) {
int line_start = offset_list[base_pos + rel_pos];

char line[MAX_LINE_CHARACTERS];
Expand Down Expand Up @@ -520,7 +520,7 @@ int textViewer(char *file) {
}

// Cut line
if (hold_buttons & SCE_CTRL_LEFT && copy_current_size < MAX_COPY_BUFFER_SIZE) {
if (pressed_buttons & SCE_CTRL_LEFT && copy_current_size < MAX_COPY_BUFFER_SIZE) {
if (copy_reset) {
copy_reset = 0;
copy_current_size = 0;
Expand Down Expand Up @@ -574,7 +574,7 @@ int textViewer(char *file) {
}

// Paste lines
if (hold_buttons & SCE_CTRL_RIGHT && copy_current_size > 0) {
if (pressed_buttons & SCE_CTRL_RIGHT && copy_current_size > 0) {
int line_start = offset_list[base_pos + rel_pos];

// calculated size of pasted content
Expand Down
4 changes: 4 additions & 0 deletions theme.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ int DATE_TIME_COLOR;
// File browser colors
int FOCUS_COLOR;
int FILE_COLOR;
int SFO_COLOR;
int TXT_COLOR;
int FOLDER_COLOR;
int IMAGE_COLOR;
int ARCHIVE_COLOR;
Expand Down Expand Up @@ -105,6 +107,8 @@ void loadTheme() {
// File browser colors
COLOR_ENTRY(FOCUS_COLOR),
COLOR_ENTRY(FILE_COLOR),
COLOR_ENTRY(SFO_COLOR),
COLOR_ENTRY(TXT_COLOR),
COLOR_ENTRY(FOLDER_COLOR),
COLOR_ENTRY(IMAGE_COLOR),
COLOR_ENTRY(ARCHIVE_COLOR),
Expand Down
2 changes: 2 additions & 0 deletions theme.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ extern int DATE_TIME_COLOR;
// File browser colors
extern int FOCUS_COLOR;
extern int FILE_COLOR;
extern int SFO_COLOR;
extern int TXT_COLOR;
extern int FOLDER_COLOR;
extern int IMAGE_COLOR;
extern int ARCHIVE_COLOR;
Expand Down

0 comments on commit 1d66a76

Please sign in to comment.