Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
bucanero committed Apr 12, 2023
1 parent 342a01c commit 2cba9f5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

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

The `apollo-vita` homebrew app allows to download, unlock, patch and resign save-game files directly on your Vita.
This homebrew app allows to download, unlock, patch and resign save-game files directly on your Vita.

![image](./docs/screenshots/screenshot-main.jpg)

Expand Down Expand Up @@ -68,7 +68,7 @@ On first run, the application will detect and setup the required user settings.
3. Start your PSP game and let it load/save so the plugin can dump the key.
4. Once the key has been dumped, Apollo will detect it, and use it as needed to decrypt, encrypt, apply patches, or rehash the PSP save.

**Tip:** if you have PSP save keys, use Apollo's `Dump Key fingerprint` option on your PSP save, and then share the `fingerprints.txt` file so all these keys can be added to the next release.
**Tip:** if you have PSP save keys, use Apollo's `Export Save-game Key` option on your PSP save, and then share the `gamekeys.txt` file so all these keys can be added to the next release.

# Usage

Expand Down Expand Up @@ -120,7 +120,7 @@ You need to have installed:
- [Vita SDK](https://github.com/vitasdk/)
- [Apollo](https://github.com/bucanero/apollo-lib) library
- [polarSSL](https://github.com/vitasdk/packages/tree/master/polarssl) library
- [libcurl](https://github.com/vitasdk/packages/tree/master/curl) library
- [cURL](https://github.com/vitasdk/packages/tree/master/curl) library
- [libxmp-lite](https://github.com/vitasdk/packages/tree/master/libxmp-lite) library
- [Zip](https://github.com/bucanero/zip) library
- [dbglogger](https://github.com/bucanero/dbglogger) library
Expand All @@ -136,7 +136,7 @@ You can also set the `PSVITAIP` environment variable to your Vita's IP address,

# License

[Apollo Save Tool](https://github.com/bucanero/apollo-vita/) (PS Vita) - Copyright (C) 2020-2022 [Damian Parrino](https://twitter.com/dparrino)
[Apollo Save Tool](https://github.com/bucanero/apollo-vita/) (PS Vita) - Copyright (C) 2020-2023 [Damian Parrino](https://twitter.com/dparrino)

This program is free software: you can redistribute it and/or modify
it under the terms of the [GNU General Public License][app_license] as published by
Expand Down
8 changes: 4 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

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

The `apollo-vita` homebrew app allows to download, unlock, patch and resign save-game files directly on your Vita.
This homebrew app allows to download, unlock, patch and resign save-game files directly on your PS Vita.

![image](./screenshots/screenshot-main.jpg)

Expand Down Expand Up @@ -68,7 +68,7 @@ On first run, the application will detect and setup the required user settings.
3. Start your PSP game and let it load/save so the plugin can dump the key.
4. Once the key has been dumped, Apollo will detect it, and use it as needed to decrypt, encrypt, apply patches, or rehash the PSP save.

**Tip:** if you have PSP save keys, use Apollo's `Dump Key fingerprint` option on your PSP save, and then share the `fingerprints.txt` file so all these keys can be added to the next release.
**Tip:** if you have PSP save keys, use Apollo's `Export Save-game Key` option on your PSP save, and then share the `gamekeys.txt` file so all these keys can be added to the next release.

# Usage

Expand Down Expand Up @@ -120,7 +120,7 @@ You need to have installed:
- [Vita SDK](https://github.com/vitasdk/)
- [Apollo](https://github.com/bucanero/apollo-lib) library
- [polarSSL](https://github.com/vitasdk/packages/tree/master/polarssl) library
- [libcurl](https://github.com/vitasdk/packages/tree/master/curl) library
- [cURL](https://github.com/vitasdk/packages/tree/master/curl) library
- [libxmp-lite](https://github.com/vitasdk/packages/tree/master/libxmp-lite) library
- [Zip](https://github.com/bucanero/zip) library
- [dbglogger](https://github.com/bucanero/dbglogger) library
Expand All @@ -136,7 +136,7 @@ You can also set the `PSVITAIP` environment variable to your Vita's IP address,

# License

[Apollo Save Tool](https://github.com/bucanero/apollo-vita/) (PS Vita) - Copyright (C) 2020-2022 [Damian Parrino](https://twitter.com/dparrino)
[Apollo Save Tool](https://github.com/bucanero/apollo-vita/) (PS Vita) - Copyright (C) 2020-2023 [Damian Parrino](https://twitter.com/dparrino)

This program is free software: you can redistribute it and/or modify
it under the terms of the [GNU General Public License][app_license] as published by
Expand Down
6 changes: 3 additions & 3 deletions source/exec_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static void pspDumpKey(const save_entry_t* save)
return;
}

snprintf(fpath, sizeof(fpath), APOLLO_PATH "fingerprints.txt");
snprintf(fpath, sizeof(fpath), APOLLO_PATH "gamekeys.txt");
FILE *fp = fopen(fpath, "a");
if (!fp)
{
Expand All @@ -375,12 +375,12 @@ static void pspDumpKey(const save_entry_t* save)

fprintf(fp, "%s=", save->title_id);
for (size_t i = 0; i < sizeof(buffer); i++)
fprintf(fp, "%02x", buffer[i]);
fprintf(fp, "%02X", buffer[i]);

fprintf(fp, "\n");
fclose(fp);

show_message("%s fingerprint successfully saved to:\n%s", save->title_id, fpath);
show_message("%s game key successfully saved to:\n%s", save->title_id, fpath);
}

static void pspExportKey(const save_entry_t* save)
Expand Down
4 changes: 2 additions & 2 deletions source/saves.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,10 +471,10 @@ static void add_psp_commands(save_entry_t* item)
cmd = _createCmdCode(PATCH_NULL, "----- " UTF8_CHAR_STAR " Game Key Backup " UTF8_CHAR_STAR " -----", CMD_CODE_NULL);
list_append(item->codes, cmd);

cmd = _createCmdCode(PATCH_COMMAND, CHAR_ICON_LOCK " Export binary Game Key", CMD_EXP_PSPKEY);
cmd = _createCmdCode(PATCH_COMMAND, CHAR_ICON_LOCK " Dump binary Save-game Key", CMD_EXP_PSPKEY);
list_append(item->codes, cmd);

cmd = _createCmdCode(PATCH_COMMAND, CHAR_ICON_LOCK " Dump Game Key fingerprint", CMD_DUMP_PSPKEY);
cmd = _createCmdCode(PATCH_COMMAND, CHAR_ICON_LOCK " Export Save-game Key (text file)", CMD_DUMP_PSPKEY);
list_append(item->codes, cmd);

return;
Expand Down

0 comments on commit 2cba9f5

Please sign in to comment.