Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
v1.2.8
  • Loading branch information
bucanero committed Nov 12, 2023
1 parent 64b3c0f commit 54c3783
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 20 deletions.
49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,55 @@ All notable changes to the `apollo-vita` project will be documented in this file

## [Unreleased]()

## [v1.2.8](https://github.com/bucanero/apollo-vita/releases/tag/v1.2.8) - 2023-11-12

### Added

* Auto-detect `X`/`O` button settings
* Compress `.ISO` files to `.CSO`
* Decompress `.CSO` files to `.ISO`
* Added Save-game Key database for PSP games
* New Vita cheat codes
- Odin Sphere Leifthrasir (PCSE00899, PCSB00986)
* New PSP cheat codes
- BlazBlue: Continuum Shift II (ULUS10579, ULES01526)
- Persona (ULUS10432)
- Monster Hunter Freedom Unite (ULES01213, ULUS10391)
- Monster Hunter Portable 2nd G (ULJM05500)
* Custom decryption support
- Patapon 3 (UCUS98751, UCES01421)
- Monster Hunter Freedom Unite (ULES01213, ULUS10391)
- Monster Hunter Portable 2nd G (ULJM05500)
- Monster Hunter Portable 3rd (ULJM05800)
* New PSP copy-unlock patches
- InviZimals: Shadow Zone (UCES01411, UCES01581, UCUS98760)
- InviZimals: The Lost Tribes (UCES01525)
- SOCOM: Fire Team Bravo 2 (UCUS98645)
* Custom checksum support
- InviZimals: Shadow Zone (UCES01411, UCES01581, UCUS98760)
- InviZimals: The Lost Tribes (UCES01525)
- Monster Hunter Freedom Unite (ULES01213, ULUS10391)
- Monster Hunter Portable 2nd G (ULJM05500)
- Monster Hunter Portable 3rd (ULJM05800)

### Fixed

* Fixed PSP save-game Key dumper plugin installation

### Misc

* Network HTTP proxy settings support
* Updated [`apollo-lib`](https://github.com/bucanero/apollo-lib) Patch Engine to v0.6.0
- Add host callbacks (username, wlan mac, psid, account id)
- Add `murmu3_32`, `jhash` hash functions
- Add Patapon 3 PSP decryption
- Add MGS5 decryption (PS3/PS4)
- Add Monster Hunter 2G/3rd PSP decryption
- Add Castlevania:LoS checksum
- Add Rockstar checksum
- Fix SaveWizard Code Type C
- Fix `right()` on little-endian platforms

## [v1.2.4](https://github.com/bucanero/apollo-vita/releases/tag/v1.2.4) - 2023-04-12

### Added
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Downloads][img_downloads]][app_downloads] [![Release][img_latest]][app_latest] [![License][img_license]][app_license]
[![Build app package](https://github.com/bucanero/apollo-vita/actions/workflows/build.yml/badge.svg)](https://github.com/bucanero/apollo-vita/actions/workflows/build.yml)
[![Twitter](https://img.shields.io/twitter/follow/dparrino?label=Follow)](https://twitter.com/dparrino)

**Apollo Save Tool** is an application to manage save-game files on the PlayStation Vita.

Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Downloads][img_downloads]][app_downloads] [![Release][img_latest]][app_latest] [![License][img_license]][app_license]
[![Build app package](https://github.com/bucanero/apollo-vita/actions/workflows/build.yml/badge.svg)](https://github.com/bucanero/apollo-vita/actions/workflows/build.yml)
[![Twitter](https://img.shields.io/twitter/follow/dparrino?label=Follow)](https://twitter.com/dparrino)

**Apollo Save Tool** is an application to manage save-game files on the PlayStation Vita.

Expand Down
2 changes: 1 addition & 1 deletion include/settings.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define APOLLO_VERSION "1.2.4" //Apollo Vita version (about menu)
#define APOLLO_VERSION "1.2.8" //Apollo Vita 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
6 changes: 6 additions & 0 deletions source/exec_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,12 @@ static void* vita_host_callback(int id, int* size)
if (size) *size = 16;
return host_buf;

case APOLLO_HOST_ACCOUNT_ID:
memcpy(host_buf, &apollo_config.account_id, 8);
*(uint64_t*)host_buf = ES64(*(uint64_t*)host_buf);
if (size) *size = 8;
return host_buf;

case APOLLO_HOST_USERNAME:
strncpy(host_buf, menu_about_strings_project[1], sizeof(host_buf));
if (size) *size = strlen(host_buf);
Expand Down
37 changes: 20 additions & 17 deletions source/menu_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ code_entry_t* selected_centry;
int option_index = 0;
static hexedit_data_t hex_data;

void initMenuOptions()
void initMenuOptions(void)
{
menu_options_maxopt = 0;
while (menu_options[menu_options_maxopt].name)
Expand Down Expand Up @@ -89,7 +89,7 @@ static int ReloadUserSaves(save_list_t* save_list)
return list_count(save_list->list);
}

static code_entry_t* LoadRawPatch()
static code_entry_t* LoadRawPatch(void)
{
char patchPath[256];
code_entry_t* centry = calloc(1, sizeof(code_entry_t));
Expand All @@ -101,7 +101,7 @@ static code_entry_t* LoadRawPatch()
return centry;
}

static code_entry_t* LoadSaveDetails()
static code_entry_t* LoadSaveDetails(void)
{
code_entry_t* centry = calloc(1, sizeof(code_entry_t));
centry->name = strdup(selected_entry->title_id);
Expand Down Expand Up @@ -386,7 +386,7 @@ static void doSaveMenu(save_list_t * save_list)
Draw_UserCheatsMenu(save_list, menu_sel, 0xFF);
}

static void doMainMenu()
static void doMainMenu(void)
{
// Check the pads.
if(vitaPadGetButtonHold(SCE_CTRL_LEFT))
Expand All @@ -408,26 +408,30 @@ static void doMainMenu()
Draw_MainMenu();
}

static void doAboutMenu()
static void doAboutMenu(void)
{
static int ll = 0;

// Check the pads.
if (vitaPadGetButtonPressed(SCE_CTRL_CIRCLE))
{
if (ll)
apollo_config.music = (ll & 0x01);

ll = 0;
SetMenu(MENU_MAIN_SCREEN);
return;
}
else if (vitaPadGetButtonPressed(SCE_CTRL_SELECT))
{
ll = 1;
ll = (0x02 | apollo_config.music);
apollo_config.music = 1;
}

Draw_AboutMenu(ll);
}

static void doOptionsMenu()
static void doOptionsMenu(void)
{
// Check the pads.
if(vitaPadGetButtonHold(SCE_CTRL_UP))
Expand Down Expand Up @@ -570,13 +574,12 @@ static void doHexEditor(void)
Draw_HexEditor(&hex_data);
}

static int count_code_lines()
static int count_text_lines(const char * str)
{
//Calc max
int max = 0;
const char * str;

for(str = selected_centry->codes; *str; ++str)
for(max = 0; *str; ++str)
max += (*str == '\n');

if (max <= 0)
Expand All @@ -585,10 +588,10 @@ static int count_code_lines()
return max;
}

static void doPatchViewMenu()
static void doPatchViewMenu(void)
{
// Check the pads.
if (updatePadSelection(count_code_lines()))
if (updatePadSelection(count_text_lines(selected_centry->codes)))
(void)0;

else if (vitaPadGetButtonPressed(SCE_CTRL_CIRCLE))
Expand All @@ -600,7 +603,7 @@ static void doPatchViewMenu()
Draw_CheatsMenu_View("Patch view");
}

static void doCodeOptionsMenu()
static void doCodeOptionsMenu(void)
{
code_entry_t* code = selected_centry;
// Check the pads.
Expand Down Expand Up @@ -657,10 +660,10 @@ static void doCodeOptionsMenu()
Draw_CheatsMenu_Options();
}

static void doSaveDetailsMenu()
static void doSaveDetailsMenu(void)
{
// Check the pads.
if (updatePadSelection(count_code_lines()))
if (updatePadSelection(count_text_lines(selected_centry->codes)))
(void)0;

if (vitaPadGetButtonPressed(SCE_CTRL_CIRCLE))
Expand All @@ -672,7 +675,7 @@ static void doSaveDetailsMenu()
Draw_CheatsMenu_View(selected_entry->name);
}

static void doPatchMenu()
static void doPatchMenu(void)
{
// Check the pads.
if (updatePadSelection(list_count(selected_entry->codes)))
Expand Down Expand Up @@ -755,7 +758,7 @@ static void doPatchMenu()
}

// Resets new frame
void drawScene()
void drawScene(void)
{
switch (menu_id)
{
Expand Down
4 changes: 2 additions & 2 deletions source/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ int load_app_settings(app_config_t* config)
{
file_data->user_id = config->user_id;
file_data->account_id = config->account_id;
memcpy(file_data->idps, config->idps, sizeof(uint64_t)*2);
memcpy(file_data->psid, config->psid, sizeof(uint64_t)*2);
memcpy(file_data->idps, config->idps, sizeof(config->idps));
memcpy(file_data->psid, config->psid, sizeof(config->psid));
memcpy(config, file_data, file_size);

LOG("Settings loaded: UserID (%08x) AccountID (%016llX)", config->user_id, config->account_id);
Expand Down

0 comments on commit 54c3783

Please sign in to comment.