Releases: falko17/aaoffline
Release v1.2.0
New features
- Sequences should now be fully operational (including jumping between entries and carrying over data).
- If a single sequence is downloaded, cases are now also put into a directory with the sequence's title.
- Photobucket watermarks are automatically removed from case assets. If you want to disable this behavior, use
--disable-photobucket-fix
. - Transient download failures are now automatically retried (can be configured with
--retries
, set to two retries by default). - JavaScript modules are now downloaded concurrently, speeding up that stage of the download process.
- When an error occurs for asset downloads, the program is halted immediately instead of waiting for all other downloads1.
Bugfixes
- Old URLs with English names (
http://aceattorney.sparklin.org/player.php?trial_id=...
) are now correctly parsed. - Log messages are now separated by newlines to not interfere with the progress bar.
- Filenames are now taken from the final URL instead of the initial one.
- For example, the URL https://ferdielance.com/fadeout1000.png redirects to https://ferdielance.com/fadeout1000.svg, which previously caused an error due to the mismatch in file extensions.
- The default judge profile (when specified as ID 0) is now handled properly.
- Some URL-encoded filenames that caused trouble before are now correctly saved and loaded by the player.
- Some problems on Windows have been fixed, for example:
- When symlinks fail (as they often do on Windows due to permissions), hard-links are now used as a fall-back for psyche-locks.
- Since Windows uses
\
as its path separator, this lead to problems when constructing URLs based on paths. This has now been fixed.
As an additional change, --remove-existing
has been changed to --replace-existing
. If this is specified, any existing assets or HTML files are now replaced, instead of deleting the whole output folder at the start.
Thank you to @time-axis for the very helpful sequence test case and to @pulsastrix for the code reviews.
Full Changelog: v1.1.2...v1.2.0
-
Unless
--continue-on-asset-error
is specified, of course. ↩
Release v1.1.2
Bugfixes
- Assets that have URLs with spaces at the beginning or end are now properly trimmed before downloading, as is done on AAO (#8).
- As always, thank you to @time-axis for the report.
- An invalid parameter name in an error message has been fixed (#9).
- Thanks to @DeathByAutoscroll for the bug report.
- When cases are specified multiple times, they are only downloaded and counted once. This includes sequences, where the initially specified case was previously always counted twice.
Full Changelog: v1.1.1...v1.1.2
Release v1.1.1
Bugfixes
- The check for duplicate filename now first converts the paths to lowercase in order to handle case-insensitive file systems correctly. This fixes #5.
Once again, thank you to @time-axis for the report and @pulsastrix for the swift review!
Full Changelog: v1.1.0...v1.1.1
Release v1.1.0
New features
- You can now use the
-1
(or--one-html-file
) flag to compile the case into a single HTML file, without the need for the separateassets
folder.1 - The output filenames / directory names are now more descriptive. Instead of just the case ID, they now also contain the case title.
Bugfixes
- Only the default places that are actually used are downloaded.
- Cases that have empty assets are now handled correctly. A test for this was also added.
- When a case is part of a sequence that contains only a single case (the one the user requested to download anyway), we won't ask whether to download the whole sequence.
Additional changes
- The CI pipeline is now configured to run the tests daily, in case there are any sudden incompatible changes to AAO.
- A test was added to make sure the correct output paths are being used.
Thank you to @time-axis for the bug reports and @pulsastrix for the reviews!
Full Changelog: 1.0.0...v1.1.0
-
This is done using base64 data URLs. Large cases may slow the browser down a bit, since the HTML files can get quite large due to all assets being encoded in them. ↩
Release v1.0.0
This is the first fully functional version of the downloader, with all initially planned features implemented. These features are:
- Backup cases in a way that makes them fully playable offline by downloading all referenced assets.
- Use multiple parallel downloads to download case data quickly.
- Download multiple cases at once.
- Specify a specific version of the Ace Attorney Online (e.g., if a case only works with an older version).
To use aaoffline
, either download the binary below (.exe
for Windows, without an extension for Linux) or use cargo install --path .
after cloning the repository to build and install this executable yourself. You can then run aaoffline[.exe] CASE
to download the case (given as an ID or a URL).
There are also now some integration tests that check whether some example cases work correctly. These are also configured to run as part of the CI pipeline. Any future changes to this project are going to be made through pull requests to make sure any fixes/additions don't result in other bugs. Of course, it's still very much possible that there are bugs here—if you notice anything that doesn't work, feel free to open an issue, and I'll look into it.
Initial beta release
This is the first beta release of this tool. It should not be expected to be stable, and in fact still contains (at least) two major problems:
- Psyche locks won't work correctly.
- All default sprites are downloaded (even if not all of them are used), leading to quite a big download size (≈ 150 MB).
But apart from the above, in the limited testing I did, this does create a working, playable case.