75 Commits

Author SHA1 Message Date
Dimitris Panokostas
40e73ea8ae
1440 create home directories on startup (#1443)
* build: move gamecontrollerdb.txt to controllers directory

* enhancement: create home directories if they don't exist

- After the directories have been decided (data, home, config), create those in the specified HOME directory, if they don't exist
- If they didn't exist, and we had the original contents installed in /usr/share/amiberry/<dir>, copy those over and change permissions. This ensures that the distributed files like the AROS ROMs, the WHDLoad booter and the controllerdb files, are always there in the home dir.

* chore: we no longer need to copy all the directories in the package

Now that we create the home directories on startup, we don't need the empty ones in the package anymore.
Only those that contain something can stay

* build: add stripping of binaries

* chore: ignore .idea folder

* bugfix: WHDLoad booter A1200 config was incorrect

After the additional entries in A1200 configs and models, the booter was set to incorrectly use a config with a Blizzard accelerator. Since that requires a board ROM, which might not be available, it has to change.

Using the default A1200 config instead, and setting Fast RAM to 8MB after that.

* build: install icon in shared location

When preparing the .deb package, the application icon should go in the /usr/share/icons/hicolor/... location, to adhere with established standards

* build: use ~/Amiberry instead of ~/.amiberry

Perhaps it's best to use a non-hidden folder for amiberry directories, make it easier on the users to find it

* refactor: use ~/Amiberry/conf instead of ~/.config/amiberry for config files

* refactor: change desktop file icon reference

Should be possible to use just "amiberry" now, that the icon file is copied in the right location

* chore: fix references to github.com/midwan -> github.com/BlitterStudio

* refactor: move plugins dir to /usr/lib/amiberry in the .deb package

If we are using a system-wide installation, with the .deb package, use /usr/lib/amiberry for plugins.
Check the HOME/Amiberry/plugins next, create it if necessary.
Fallback to the startup directory if that's not available (probably never).

* refactor: only move the abr folder in the destination plugins

When using the .deb package, only the abr folder should be copied in the destination.
Otherwise, we get a plugins directory created there as well

* refactor: Change Kickstarts to Roms

The Kickstarts directory can contain different kind of ROMs, not only kickstarts.
It's best if we rename it accordingly

* build: CPack updates

- Removed unneeded line
- added CPACK_DEBIAN_PACKAGE_ARCHITECTURE
- Added Extended Description
- Fixed description starts with package name

* ci: rename architectures properly

Let's keep the names identical to what dpkg reports

* build: fix some lintian errors

- location of plugins
- section

* build: added copyright and changelog in DEB

* build: fix location of debian files

* build: add copyright notice, fix changelog

* build: changelog should be compressed

* build: extend the description

* build: make the description lines shorter...

* build: description should not be longer than 80 chars

* build: remove timestamp from changelog

Fix another lintian complaint

* build: description again

* bugfix: the plugins dir was not correctly set

* refactor: Updated desktop entry to handle MimeTypes

* build: remove duplicate key in desktop file

* build: add more mimetypes to desktop file
2024-09-28 09:54:50 +02:00
Dimitris Panokostas
d1a3403a0e
enhancement: upgrade libguisan to latest version, fix various bugs
Guisan has been getting several updates lately, improving and fixing various bugs.
Upgrading to the current version, but keeping my own improvements until I've had time to push them upstream
2024-09-04 21:46:35 +02:00
Dimitris Panokostas
b89e16ebb4
enhancement: Make Paths panel textboxes read-only (fixes #1385) 2024-08-02 17:31:01 +02:00
Dimitris Panokostas
4012ca8155
bugfix: Fixed changing logfile name would append "amiberry.log" at the end
The SelectFile dialog had an incorrect filter setting, which ended up appending the whole default filename instead of only the ".log" extension, if it wasn't found.
2024-06-27 19:38:59 +02:00
Dimitris Panokostas
1e081a3728
feat: Merge latest updates from master
- Merged latest FloppyBridge version
- FloppyBridge is now an external library (plugin)
- Added plugins directory, for external libraries (capsimg.so, libfloppybridge.so)
- Updated Makefile and CMakeLists files
- Other minor updates from preview
2024-05-24 16:45:50 +02:00
Dimitris Panokostas
7eac07a466
feat: implemented GUI foreground color option for themes 2024-05-21 22:12:38 +02:00
Dimitris Panokostas
a000a821eb
refactor: rename gui theme internal variables 2024-05-21 20:30:37 +02:00
Dimitris Panokostas
9d832a4225
bugfix: Set right colors for checkboxes that were missed, so that themes work properly on them 2024-05-14 09:08:06 +02:00
Dimitris Panokostas
d89ae62a3c
minor GUI border size fixes (fixes #1311) 2024-05-09 19:07:31 +02:00
Dimitris Panokostas
4f1c48f3d3
doc: add console logging details in GUI helptext (fixes #1312) 2024-05-09 10:48:31 +02:00
Dimitris Panokostas
40096de88f
enhancement: added option to log to console (fixes #1310) 2024-05-08 17:25:36 +02:00
Dimitris Panokostas
390456f9f4
doc: improve help text regarding mt32 roms (fixes #1287) 2024-04-19 18:46:56 +02:00
Dimitris Panokostas
d4e4211b69
enhancement: Improve docs in Paths panel (fixes #1275) 2024-04-12 10:54:43 +02:00
Dimitris Panokostas
793b5d9a31
bugfix: If Cancel was used in a file/folder dialog, the path would be emptied on return
Only use the result of the dialog if it wasn't empty. Otherwise we override the default path with an empty string.
2024-04-05 15:09:09 +02:00
Dimitris Panokostas
3563858717
enhancement: added default Floppy, CD-ROM and Hard Drive paths (fixes #1268)
- Added default directories in repo
- Added default paths pointing to those directories. They can of course be modified.
- Added new paths in GUI->Paths panel
2024-04-04 19:36:09 +02:00
Dimitris Panokostas
0ba0b21f1f
enhancement: apply theme colors to all remaining widgets (fixes #1267) 2024-04-03 20:34:00 +02:00
Dimitris Panokostas
5dcfe624d5
Fixed path parsing in PanelPaths
Use the new strings, not the tmp char
2024-03-13 21:58:14 +01:00
Dimitris Panokostas
57a76edebb
refactor: Use strings instead of char* in various places 2024-03-09 11:06:32 +01:00
Dimitris Panokostas
f6ac8269da
enhancement: added default path for LHA archives (fixes #1234)
New path added, configurable in amiberry.conf and the GUI->Paths Panel.
The new path stores the default directory used for LHA archives. This is currently only used from the Quickstart dialog, when trying to load a WHDLoad LHA file.
2024-03-07 17:49:46 +01:00
Dimitris Panokostas
b306260112
enhancement: merge recent updates from preview
- Increased GUI size
- Added more options in Sound panel (volume controls, swap channels option)
- Increased Disk Swapper slots to 20
- Don't hardcode RTG Mem to Z3 (instead, you can choose from the GUI to have Z2 or Z3)
- Modernize WHDBooter to use strings
- Fixed Bsdsocket FIOGETOWN was incorrect
- Fixed disk bugs
- Use SDL2 functions for time calibration
2023-12-23 13:07:17 +01:00
Dimitris Panokostas
899ee3d3e5
doc: Improved Help text in GUI->Paths (fixes #1162)
Kudos to @giantclambake
2023-11-14 14:26:50 +01:00
Dimitris Panokostas
4868a0f347
enhancement: Optionally keep a backup of existing file, when downloading updates (#1155) 2023-11-11 13:27:32 +01:00
Dimitris Panokostas
98ca67b4ee bugfix: fixed passing string to write_log in Panel Paths 2022-11-29 08:26:07 +01:00
Dimitris Panokostas
491ab65389 enhancement: Added more configurable paths in GUI: NVRAM, Screenshots, Savestates 2022-11-27 13:44:43 +01:00
Dimitris Panokostas
252a981bec enhancement: ShowMessage now supports 3 lines. Added timestamp info when updating XML 2022-11-26 22:06:39 +01:00
Dimitris Panokostas
2d5fb42464 Fixed hardcoded whdboot path in Download XML 2022-03-13 15:59:06 +01:00
Dimitris Panokostas
e2543c4a72 Fixed Get Controllers update button would crash Amiberry after recent commits 2022-03-13 14:10:09 +01:00
Dimitris Panokostas
18337f0166 Fixed another reference of download_file, not using string 2022-03-12 21:04:08 +01:00
Dimitris Panokostas
32f9a86fe8 Added prefix_with_whdboot path and use that, instead of hardcoded paths 2022-03-12 20:41:04 +01:00
Dimitris Panokostas
b1b33cad6a GUI minor code cleanup 2021-12-19 18:12:17 +01:00
Dimitris Panokostas
f203f4e4cf Updated gamecontrollerdb with latest version, changed download URL
Now gettting the latest directly from the community maintained site
2021-01-22 22:30:13 +01:00
Dimitris Panokostas
a097bd64cd Fixed navigation in Paths panel 2020-12-27 03:10:30 +01:00
Dimitris Panokostas
e93d55c782 Apply logging option immediately 2020-12-19 01:44:47 +01:00
Dimitris Panokostas
4e91a6c5d7 Added help text for new Download Game Controller DB button 2020-12-17 01:37:37 +01:00
Dimitris Panokostas
1a00b2c984 Added button to update game controller db 2020-12-17 01:31:10 +01:00
Dimitris Panokostas
e21479a233 Improved message when clicking Rescan Paths 2020-11-27 16:05:06 +01:00
Dimitris Panokostas
25a4daabdd Refactored downloading of Kickstart RTB files into function 2020-06-09 23:14:25 +02:00
Dimitris Panokostas
0b76ecc9e7 Always download WHDLoad and boot-data.zip files 2020-06-09 22:58:57 +02:00
Dimitris Panokostas
d6c103e331 Refactored the Update XML functionality 2020-06-08 20:50:19 +02:00
Dimitris Panokostas
f2467cec1d Added some more help text in Paths Panel 2020-05-17 12:07:22 +02:00
Dimitris Panokostas
2e96a3c32d Added logfile options in GUI 2020-05-17 11:39:11 +02:00
Dimitris Panokostas
e200b0dd3f Improvements for #635:
- Avoid crashing if there's something wrong with the new WHDLoad_db.xml
- Skip downloading to /tmp/ and comparing dates. If we're going to download it anyway, might as well put it in the righ location immediately.
- Improve logging
2020-05-04 10:55:07 +02:00
Dimitris Panokostas
f6b22bb8e2 Fixed #608: Improved GUI documentation 2020-03-16 22:06:28 +01:00
Dimitris Panokostas
6f7a2e613b GUI files reformatting 2019-10-19 10:25:11 +02:00
Dimitris Panokostas
caf089680b Removed SDL1 code, replaced with Dispmanx GUI engine (WIP) 2019-10-08 00:11:59 +02:00
Dimitris Panokostas
66b7c8e8a3 Minor cleanup 2019-10-05 20:29:16 +02:00
Dimitris Panokostas
77cff6067d Various Android updates 2019-09-02 15:01:01 +02:00
Horace And The Spider
b723e47ad8 Screen Width/CD32 specific changes etc (#485)
* Bugfix for 2nd controller selection

* ignore netbeans project

* Add experimental `-autocd=` loading of files (.cue works very well - .iso should also)

* CD Autoloading adapted to include .uae file check and hostconf controller options

* Beginning of Booter Panel implentation

* Booter Panel development .. start on XML reading for picked LHA file

* New WHDLoad booter, included updated boot-data.zip, plus new hostprefs FIXED_HEIGHT= option and bugfixes for XML reading, and symlink ROM scan. Plus updated XML

* Upload of .RTB files that need to accompany the Symlinked Kickstarts, for WHDLoad compatibility.

* Allows for additional libraries from `boot-data.zip` to be linked on load, to aid compatibility (e.g. Dungeon Master), plus new XML

* Fix hardware settings tab issues from XML reading, plus additional write_log reports for debugging WHD booter.

* Code cleanup (non-essential)

* XML Download button added to paths panel including date checking

* WHDLoad local copy

* Updated button to download WHDLoad and .RTB files (if not present) with XML file.

* Creates a 'fall back' for the WHDLoad file if not present - should fix issues with RetroPie install not correctly providing this file.

* Fixes bug in D-pad / AXIS handling

* bugfix for sprites in whd game prefs, plus added screen widths.

* Download of `boot-data.zip` does not appear to be in the latest branch

* new hostprefs options: Fixed width, and fixed width/height for CD32 autobooter
2019-06-10 08:58:41 +02:00
Horace And The Spider
f7ed76bfd6 WHDLoad Booter additional downloads (#435)
* Bugfix for 2nd controller selection

* ignore netbeans project

* Add experimental `-autocd=` loading of files (.cue works very well - .iso should also)

* CD Autoloading adapted to include .uae file check and hostconf controller options

* Beginning of Booter Panel implentation

* Booter Panel development .. start on XML reading for picked LHA file

* New WHDLoad booter, included updated boot-data.zip, plus new hostprefs FIXED_HEIGHT= option and bugfixes for XML reading, and symlink ROM scan. Plus updated XML

* Upload of .RTB files that need to accompany the Symlinked Kickstarts, for WHDLoad compatibility.

* Allows for additional libraries from `boot-data.zip` to be linked on load, to aid compatibility (e.g. Dungeon Master), plus new XML

* Fix hardware settings tab issues from XML reading, plus additional write_log reports for debugging WHD booter.

* Code cleanup (non-essential)

* XML Download button added to paths panel including date checking

* WHDLoad local copy

* Added check for internet connectivity before downloading XML

* Updated button to download WHDLoad and .RTB files (if not present) with XML file.
2019-02-23 10:00:25 +01:00
Dimitris Panokostas
8fffa5bf11 Improved message when Rescan button is pressed, to indicate that symlinks were also recreated 2019-02-20 20:40:13 +01:00