Skip to content

Commit

Permalink
to Luna & Leon
Browse files Browse the repository at this point in the history
Semper fidelis
  • Loading branch information
bucanero committed Apr 8, 2023
1 parent f327045 commit d5dc9c4
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 13 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,27 @@ All notable changes to the `apollo-ps3` project will be documented in this file.

## [Unreleased]()

## [v1.8.4](https://github.com/bucanero/apollo-ps3/releases/tag/v1.8.4) - 2023-04-08

### Added

* Hex Editor for save-data files
* Improved internal Web Server (Online DB support)
* Custom offline Account-ID activation (On-screen Keyboard)
* User-defined Online DB URL (`Settings`)

### Fixed

* Fix Final Fantasy XIII save-game decryption bug

### Misc

* Updated Apollo patch engine v0.4.1
* Skip search if pattern was not found
* Improve code types 9, B, D
* Fixed Final Fantasy XIII encryption bug on PS3
* Add value subtraction support (BSD)

## [v1.8.0](https://github.com/bucanero/apollo-ps3/releases/tag/v1.8.0) - 2023-01-28

### Added
Expand Down
Binary file added data/leonluna.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion include/settings.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#define APOLLO_VERSION "1.8.0" //Apollo PS3 version (about menu)
#define APOLLO_VERSION "1.8.4" //Apollo PS3 version (about menu)

#define MENU_TITLE_OFF 30 //Offset of menu title text from menu mini icon
#define MENU_ICON_OFF 70 //X Offset to start printing menu mini icon
Expand Down
4 changes: 2 additions & 2 deletions sfo.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" ?>
<sfo>
<value name="APP_VER" type="string">
01.80
01.84
</value>
<value name="ATTRIBUTE" type="integer">
133
Expand Down Expand Up @@ -34,6 +34,6 @@
NP0APOLLO
</value>
<value name="VERSION" type="string">
01.80
01.84
</value>
</sfo>
2 changes: 1 addition & 1 deletion source/menu_about.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void _draw_AboutMenu(u8 alpha)
SetCurrentFont(font_adonais_regular);
SetFontColor(APP_FONT_MENU_COLOR | 0xFF, 0);
SetFontSize(APP_FONT_SIZE_DESCRIPTION);
DrawStringMono(0, 430, "www.bucanero.com.ar");
DrawStringMono(0, 430, "in memory of Leon & Luna");
SetFontAlign(FONT_ALIGN_LEFT);
}

Expand Down
4 changes: 2 additions & 2 deletions source/menu_hex.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ static void _draw_HexEditor(const hexedit_data_t* hex, u8 alpha)
{
if (i != hex->start && !(i % 16))
{
DrawFormatStringMono(MENU_ICON_OFF + MENU_TITLE_OFF, y_off, "%06X: %s | %s", i-0x10, msgout, ascii);
DrawFormatStringMono(MENU_ICON_OFF + MENU_TITLE_OFF, y_off, "%06X: %s \xB3 %s", i-0x10, msgout, ascii);
y_off += 19;
}

sprintf(msgout + (i % 16)*3, "%02X ", hex->data[i]);
sprintf(ascii + (i % 16), "%c", hex->data[i] ? hex->data[i] : '.');
}
DrawFormatStringMono(MENU_ICON_OFF + MENU_TITLE_OFF, y_off, "%06X: %-48s | %s", (i-1) & ~15, msgout, ascii);
DrawFormatStringMono(MENU_ICON_OFF + MENU_TITLE_OFF, y_off, "%06X: %-48s \xB3 %s", (i-1) & ~15, msgout, ascii);

SetCurrentFont(font_adonais_regular);
}
Expand Down
15 changes: 10 additions & 5 deletions source/menu_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,15 +561,20 @@ static void doHexEditor(void)
}
else if (paddata[0].BTN_L1)
{
hex_data.start -= 0x100;
if (hex_data.start < 0)
hex_data.start = 0;
hex_data.pos -= 0x130;
if (hex_data.pos < 0)
hex_data.pos = 0;
}
else if (paddata[0].BTN_R1)
{
if (hex_data.start + 0x100 < hex_data.size)
hex_data.start += 0x100;
if (hex_data.pos + 0x130 < hex_data.size)
hex_data.pos += 0x130;
}
else if (paddata[0].BTN_L2)
hex_data.pos = 0;

else if (paddata[0].BTN_R2)
hex_data.pos = hex_data.size - 1;

else if (paddata[0].BTN_CIRCLE)
{
Expand Down
1 change: 1 addition & 0 deletions source/save_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ int create_savegame_folder(const char* folder)

static void _log_settings(app_config_t* config)
{
LOG("Apollo Save Tool v%s - Patch Engine v%s", APOLLO_VERSION, APOLLO_LIB_VERSION);
LOG("User Settings: UserID (%08d) AccountID (%016lX)", config->user_id, config->account_id);
LOG("PSID %016lX %016lX", config->psid[0], config->psid[1]);
LOG("IDPS %016lX %016lX", config->idps[0], config->idps[1]);
Expand Down
2 changes: 1 addition & 1 deletion source/saves.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ static void _addBackupCommands(save_entry_t* item)
cmd->options = _getFileOptions(item->path, "*", CMD_IMPORT_DATA_FILE);
list_append(item->codes, cmd);

cmd = _createCmdCode(PATCH_COMMAND, CHAR_ICON_COPY " Hex Edit save game files", CMD_CODE_NULL);
cmd = _createCmdCode(PATCH_COMMAND, CHAR_ICON_SIGN " Hex Edit save game files", CMD_CODE_NULL);
cmd->options_count = 1;
cmd->options = _getFileOptions(item->path, "*", CMD_HEX_EDIT_FILE);
list_append(item->codes, cmd);
Expand Down
2 changes: 1 addition & 1 deletion source/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ menu_option_t menu_options[] = {
.value = NULL,
.callback = upd_appdata_callback
},
{ .name = "Change Online DB URL",
{ .name = "Change Online Database URL",
.options = NULL,
.type = APP_OPTION_CALL,
.value = NULL,
Expand Down

0 comments on commit d5dc9c4

Please sign in to comment.