Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
1.8.7
  • Loading branch information
bucanero committed Dec 4, 2023
1 parent c1e7adc commit 5f5a2d9
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 9 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ All notable changes to the `apollo-ps3` project will be documented in this file.

## [Unreleased]()

## [v1.8.7](https://github.com/bucanero/apollo-ps3/releases/tag/v1.8.7) - 2023-12-03

### Added

* New cheat codes
- Assassin's Creed II

### Fixed

* Fix PS2 Classics encryption/decryption progress bar

### Misc

* Update Web Server saves index page

## [v1.8.6](https://github.com/bucanero/apollo-ps3/releases/tag/v1.8.6) - 2023-11-25

### Added
Expand Down
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.6" //Apollo PS3 version (about menu)
#define APOLLO_VERSION "1.8.7" //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.86
01.87
</value>
<value name="ATTRIBUTE" type="integer">
133
Expand Down Expand Up @@ -34,6 +34,6 @@
NP0APOLLO
</value>
<value name="VERSION" type="string">
01.86
01.87
</value>
</sfo>
10 changes: 6 additions & 4 deletions source/exec_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,17 +267,19 @@ static int webReqHandler(dWebRequest_t* req, dWebResponse_t* out, void* list)
if (!f)
return 0;

fprintf(f, "<html><head><meta charset=\"UTF-8\"><style>h1, h2 { font-family: arial; } table { border-collapse: collapse; margin: 25px 0; font-size: 0.9em; font-family: sans-serif; min-width: 400px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); } table thead tr { background-color: #009879; color: #ffffff; text-align: left; } table th, td { padding: 12px 15px; } table tbody tr { border-bottom: 1px solid #dddddd; } table tbody tr:nth-of-type(even) { background-color: #f3f3f3; } table tbody tr:last-of-type { border-bottom: 2px solid #009879; }</style>");
fprintf(f, "<script language=\"javascript\">document.addEventListener(\"DOMContentLoaded\",function(){var e;if(\"IntersectionObserver\"in window){e=document.querySelectorAll(\".lazy\");var n=new IntersectionObserver(function(e,t){e.forEach(function(e){if(e.isIntersecting){var t=e.target;t.src=t.dataset.src,t.classList.remove(\"lazy\"),n.unobserve(t)}})});e.forEach(function(e){n.observe(e)})}else{var t;function r(){t&&clearTimeout(t),t=setTimeout(function(){var n=window.pageYOffset;e.forEach(function(e){e.offsetTop<window.innerHeight+n&&(e.src=e.dataset.src,e.classList.remove(\"lazy\"))}),0==e.length&&(document.removeEventListener(\"scroll\",r),window.removeEventListener(\"resize\",r),window.removeEventListener(\"orientationChange\",r))},20)}e=document.querySelectorAll(\".lazy\"),document.addEventListener(\"scroll\",r),window.addEventListener(\"resize\",r),window.addEventListener(\"orientationChange\",r)}});</script>");
fprintf(f, "<html><head><meta charset=\"UTF-8\"><style>h1, h2 { font-family: arial; } img { display: none; } table { border-collapse: collapse; margin: 25px 0; font-size: 0.9em; font-family: sans-serif; min-width: 400px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); } table thead tr { background-color: #009879; color: #ffffff; text-align: left; } table th, td { padding: 12px 15px; } table tbody tr { border-bottom: 1px solid #dddddd; } table tbody tr:nth-of-type(even) { background-color: #f3f3f3; } table tbody tr:last-of-type { border-bottom: 2px solid #009879; }</style>");
fprintf(f, "<script language=\"javascript\">function show(sid,src){var im=document.getElementById('img'+sid);im.src=src;im.style.display='block';document.getElementById('btn'+sid).style.display='none';}</script>");
fprintf(f, "<title>Apollo Save Tool</title></head><body><h1>.:: Apollo Save Tool</h1><h2>Index of %s</h2><table><thead><tr><th>Name</th><th>Icon</th><th>Title ID</th><th>Folder</th><th>Location</th></tr></thead><tbody>", selected_entry->path);

for (node = list_head(list); (item = list_get(node)); node = list_next(node))
int i = 0;
for (node = list_head(list); (item = list_get(node)); node = list_next(node), i++)
{
if (item->type == FILE_TYPE_MENU || !(item->flags & SAVE_FLAG_PS3))
continue;

fprintf(f, "<tr><td><a href=\"/zip/%s.zip\">%s</a></td>", item->dir_name, item->name);
fprintf(f, "<td><img class=\"lazy\" data-src=\"/icon/%s.png\" alt=\"%s\" width=\"320\" height=\"176\"></td>", item->dir_name, item->name);
fprintf(f, "<td><button type=\"button\" id=\"btn%d\" onclick=\"show(%d,'/icon/%s.png')\">Show Icon</button>", i, i, item->dir_name);
fprintf(f, "<img id=\"img%d\" alt=\"%s\" width=\"320\" height=\"176\"></td>", i, item->name);
fprintf(f, "<td>%s</td>", item->title_id);
fprintf(f, "<td>%s</td>", item->dir_name);
fprintf(f, "<td>%.3s</td></tr>", selected_entry->path + 5);
Expand Down
4 changes: 2 additions & 2 deletions source/saves.c
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ static int get_iso_files(save_entry_t * item)
{
if (dir->d_type == DT_REG && (endsWith(dir->d_name, ".BIN") || endsWith(dir->d_name, ".ISO") || endsWith(dir->d_name, ".CONFIG")))
{
snprintf(name, sizeof(name), "Encode %s", dir->d_name);
snprintf(name, sizeof(name), "Encrypt \"%s\"", dir->d_name);

cmd = _createCmdCode(PATCH_COMMAND, name, endsWith(dir->d_name, "CONFIG") ? CMD_IMP_PS2_CONFIG : CMD_IMP_PS2_ISO);
cmd->file = strdup(dir->d_name);
Expand Down Expand Up @@ -905,7 +905,7 @@ static int get_binenc_files(save_entry_t * item)
{
if (dir->d_type == DT_REG && endsWith(dir->d_name, ".BIN.ENC"))
{
snprintf(name, sizeof(name), "Decode %s to .ISO", dir->d_name);
snprintf(name, sizeof(name), "Decrypt \"%s\"", dir->d_name);

cmd = _createCmdCode(PATCH_COMMAND, name, CMD_CODE_NULL);
cmd->file = strdup(dir->d_name);
Expand Down

0 comments on commit 5f5a2d9

Please sign in to comment.