1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2025-12-18 20:10:26 +01:00

18 Commits

Author SHA1 Message Date
7b40974779 Fixed imports order 2024-09-14 09:22:41 +02:00
148d28dac2 Make archive name and archiver for savestate optional. 2024-09-11 21:23:49 +02:00
75d2cff96c Drop Python2 support. 2022-09-02 19:01:56 +02:00
874213aef9 Prevent from nonexistent paths in config.
In case of defining paths in config, which wrapper is trying to
normalize, sometimes it may happen, that paths can be either local or
remote - depending on the intention, i.e. one can add:

cdrom_drive_0: foo.iso

where foo can be either an unpacked file or just some companion image,
which exists within config file.

In this patch calculated path is checked against file existence, and if
it doesn't exists, original value is preserved.
2021-03-20 13:12:58 +01:00
388a8cc835 Fix for interpolate_variables function 2017-01-08 15:38:59 +01:00
152446abbe Use logging for displaying messages
Also added debug logs
2017-01-08 13:58:47 +01:00
994768806c Parametrize extract and create methods for Archive base class 2017-01-02 20:17:13 +01:00
19acb789b6 Added wrapper_archiver option
To give user a possibility to choose what archiver he can use another
options was introduced for cd32 and archive wrapper modules. This option
will indicate what archiver should be used for compressing the save
state directories.
2017-01-02 20:08:50 +01:00
77dd4dfaf4 Added new function for creating archives 2017-01-02 13:50:39 +01:00
ab71e270d8 Removed archive from utils 2017-01-02 10:00:35 +01:00
fa7afcb73b Adjust existing cd32 module for base class
Fix failing tests for small changes in utils and cd32/base modules
2017-01-01 17:31:40 +01:00
4c39e572a6 Removed six as a dependency
Changed logic for checking if run_command argument is a list. Fixed
tests and refactoring save_save() method in cd32 module.
2017-01-01 14:13:48 +01:00
ef5631de3c Added additional tests for cd32 module
Also, new command was added to utils - run_command which is an
generalized subprocess.call function.

Requirements is now added with module six, which was needed to detect
string-like objects in sane way.
2016-12-31 20:20:07 +01:00
1878fd48a1 Fix for case when there is no archiver found on the system 2016-12-28 19:26:57 +01:00
71e0319e1f Added tests for utils module 2016-12-27 21:22:12 +01:00
c8b4207040 Utils refactoring.
Added safe guards for get_config function, introduced CmdOption class
for convenient accessing options as a dict keys with option to make them
as a list of commandline options suitable for passing to fs-uae.
2016-12-27 19:58:30 +01:00
cadcc30734 Added utility module with common functions 2016-12-25 19:03:30 +01:00
9bbe39b059 Extracted some methods to utils module 2016-12-25 16:21:57 +01:00