Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
bucanero committed Feb 4, 2023
1 parent 9e2d361 commit 06c7312
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ All notable changes to the `apollo-vita` project will be documented in this file

## [Unreleased]()

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

### Added

* Import Trophies from USB
* Network Tools
* URL downloader tool (download http/https/ftp/ftps links)
* Simple local Web Server (full access to console drives)
* Improve External storage selection (`uma0`, `imc0`, `ux0`)
* On-screen Keyboard (for text input)
* Save account owner details to `owners.xml`
* Support PSP keys dumped with SGKeyDumper v1.5+

### Fixed

* Fixed a bug when importing decrypted data files

## [v1.1.2](https://github.com/bucanero/apollo-vita/releases/tag/v1.1.2) - 2022-12-24

_dedicated to Leon ~ in loving memory (2009 - 2022)_ :heart:
Expand All @@ -13,6 +30,7 @@ _dedicated to Leon ~ in loving memory (2009 - 2022)_ :heart:
* Export noNpDRM licenses to zRIF (`User Tools`)
* New save-game sorting options (`Settings`)
* by Name, by Title ID
* Show Vita IP address when running Apollo's Web Server

### Misc

Expand Down
10 changes: 9 additions & 1 deletion source/exec_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static void zipSave(const save_entry_t* entry, int dst)
fclose(f);
}

sprintf(export_file, "%s%08x.xml", exp_path, apollo_config.user_id);
sprintf(export_file, "%s%s", exp_path, OWNER_XML_FILE);
save_xml_owner(export_file);

free(export_file);
Expand Down Expand Up @@ -159,6 +159,11 @@ static int get_psp_save_key(const save_entry_t* entry, uint8_t* key)
return 1;

snprintf(path, sizeof(path), "ux0:pspemu/PSP/SAVEPLAIN/%s/%s.bin", entry->title_id, entry->title_id);
if (read_psp_game_key(path, key))
return 1;

// SGKeyDumper 1.5+ support
snprintf(path, sizeof(path), "ux0:pspemu/PSP/GAME/SED/gamekey/%s.bin", entry->title_id);
return (read_psp_game_key(path, key));
}

Expand Down Expand Up @@ -339,6 +344,9 @@ static void exportTrophyZip(const save_entry_t *trop, int dev)
sprintf(tmp, "%.12s", trp_path);
zip_append_directory(tmp, trp_path, export_file);

sprintf(export_file, "%s%s", exp_path, OWNER_XML_FILE);
save_xml_owner(export_file);

free(export_file);
free(tmp);

Expand Down
1 change: 1 addition & 0 deletions source/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ int save_xml_owner(const char *xmlfile)
/* Creates a new document, a node and set it as a root node */
doc = xmlNewDoc(BAD_CAST "1.0");
root_node = xmlNewNode(NULL, BAD_CAST "apollo");
xmlNewProp(root_node, BAD_CAST "platform", BAD_CAST "vita");
xmlNewProp(root_node, BAD_CAST "version", BAD_CAST APOLLO_VERSION);
xmlDocSetRootElement(doc, root_node);
}
Expand Down

0 comments on commit 06c7312

Please sign in to comment.