Commit Graph

276 Commits

Author SHA1 Message Date
mikael.lantz 74101a8812 fix: Wrong chunk calculation when importing large amounts of games/demos from gamebase
Lists.partition() seems to have a bug, the returned list was larger than the number of partitions needed, the number grows with the list size.
2021-04-13 10:40:30 +02:00
lantzelot-swe 3e959dcd4e fix: Games with same name but different case is not skipped during gamebase import.
fix: Not all files are skipped if one is corrupt or missing (e.g. screenshot) during import.
2021-04-13 00:04:52 +02:00
lantzelot-swe fcb31bde36 fix: Import from a gamebase db handles files in different formats better
-gz files are not zipped again
-prg files are not zipped at all since VICE does not handle it
-rar files are handled in the same way as zip files (picking the first entry).
2021-04-11 23:43:46 +02:00
lantzelot-swe 98d47146eb fix: adds wait cursor when toggeling favorites 2021-04-10 10:47:57 +02:00
lantzelot-swe 80221c523f fix: Adds separators in listview combobox
- Height of listview compobox popup adjusts to number of gamelist views
2021-04-07 23:29:49 +02:00
lantzelot-swe e46308da94 fix: UI adjustments for import dialog 2021-04-05 23:00:23 +02:00
lantzelot-swe 9f1f337f80 fix: Adds combobox for selecting favorite list at import.
-Adds mnemonics to menus and ctrl+shift+F1 etc for clearing favorites lists.
-Bug fix: tab from joystick config field or system config field does not trigger a save state change.
2021-04-05 22:56:40 +02:00
lantzelot-swe 6a057a7cb4 feat: adds 4 new favorite views, color coded and toggleable with menu options
CTRL+F1-F5 toggles favorites for the different lists.
2021-04-04 23:28:40 +02:00
lantzelot-swe 15b7fe4bc9 fix: minor UI adjustments 2021-03-22 21:42:57 +01:00
mikael.lantz faf6827164 fix: refactoring of import code
fix: Vic20 is selected by default if a vic-20 gamebase file is selected in the import options panel.
2021-03-22 10:00:24 +01:00
lantzelot-swe 27f8019657 fix: Vic-20 carts are kept as-is when importing.
When starting Vice the zip file is decompressed and all cart files are appended to the
command string.
2021-03-21 23:04:50 +01:00
lantzelot-swe 18d210b5b0 fix: Renaming of "game view" to "gamelist view" 2021-03-21 16:20:00 +01:00
lantzelot-swe 3eab6d8302 feat: Add option to include game entries with missing game files in gambease importer.
Default game files showing a message about missing file is used.
2021-03-20 00:22:45 +01:00
mikael.lantz 8b115ce589 fix: Add default button in BaseDialog 2021-03-19 15:58:32 +01:00
lantzelot-swe 791715b51b feat: adds support for multiple selection in the game list.
-Delete multiple games at once
-Mark/unmark as favorite for multiple games at once.
2021-03-18 23:38:51 +01:00
lantzelot-swe e827bee36b fix: stripping \r\n from gemus since some contains it 2021-03-16 23:28:06 +01:00
lantzelot-swe b79505429f Fix: Many bug fixes:
- Paths.ini is read properly and paths for screenshots, extras and games are correct when copying files.
- Fixed a bug when importing from GB64 where "vtde=yes" did not set true drive emulation correctly.
- Fixed a bug where game files where overwritten during import for games with very similar names (but not identical, e.g. "Last Ninja, The" and "Last Ninja , The")
- Memory banks for Vic-20 are set when importing games (a best effort is made, does not work 100%). Key-value pairs are read from the gb database and added to the description field
so that all info for memory expansion is available.
- Games that are not zipped in gamebase are imported properly now, previously they was ignored.
2021-03-16 23:18:28 +01:00
mikael.lantz a649888670 fix: gbPath fixes WIP 2021-03-16 15:17:33 +01:00
lantzelot-swe 90e94d263a fix: When year is unknown "9999" is used for all games when importing from gamebase 2021-03-15 23:00:02 +01:00
lantzelot-swe f91a7179ed fix: Corrects dialog message for deleting games in current view. Adds progress dialog when deleting 2021-03-15 21:56:50 +01:00
lantzelot-swe ffcb509d9e feat: adds new gb column: "Viewtag" for defining custom views with specific tags 2021-03-14 22:45:44 +01:00
lantzelot-swe 410b754ace fix: When saving a new game and favorites view is selected the game is marked as favorite directly 2021-03-13 18:13:26 +01:00
lantzelot-swe 1decf941fe fixes
fix: selects correct missing cover image depending on system
fix: adds all description fields and the operators "is empty" and "is not empty".
2021-03-12 23:01:17 +01:00
mikael.lantz 3732c24dd2 chore: cleanup 2021-03-12 11:57:19 +01:00
lantzelot-swe ff7e3ec040 fix: Covers for Vic-20 games is correctly imported 2021-03-11 23:07:44 +01:00
lantzelot-swe 002097810b Fix: Only include "TAP" extras for Vic-20 2021-03-11 21:40:41 +01:00
lantzelot-swe 62a395f33d feat: adds gamefile in view filters to be able to filter on D64, T64 etc. 2021-03-10 21:53:51 +01:00
lantzelot-swe d1341ee332 Fixes: Performance fix in gamlist when reloading
* prg and crt vic-20 games loaded properly in Vice
2021-03-10 16:32:53 +01:00
lantzelot-swe f5f6430ec7 fix; gb importer fixes 2021-03-09 23:12:27 +01:00
mikael.lantz 48de38b653 fix; nicer feeddack during gamebase import 2021-03-09 15:03:28 +01:00
lantzelot-swe fea44d8d70 feat: More fixes for gamebase importer 2021-03-08 23:14:01 +01:00
mikael.lantz 640d9a83df fix: Refactoring of import workers 2021-03-08 09:48:43 +01:00
lantzelot-swe 5a5faba52e fix: only log, do not show dialog during game import 2021-03-07 22:49:53 +01:00
lantzelot-swe f8348c0347 feat: more gb import fixes 2021-03-07 22:47:10 +01:00
lantzelot-swe 4a98e9ab3f feat: gbimporter: add games in batches of 50 2021-03-06 23:49:19 +01:00
lantzelot-swe 0b3e77bbc1 feat: continued work on gb inporter 2021-03-06 13:36:55 +01:00
lantzelot-swe e21db04d66 fix: enables accurate disk for games with vtde=yes 2021-03-06 00:07:48 +01:00
lantzelot-swe 88e54a6d70 fix: more for gamebase importer, screens and covers gets resized properly 2021-03-05 23:45:14 +01:00
mikael.lantz a91c3e9a09 feat: gamebase import UI parts and fixes 2021-03-05 16:35:28 +01:00
lantzelot-swe 33cd98b63b feat: import from offline gamebase64, WIP 2021-03-04 23:58:55 +01:00
lantzelot-swe 88c96d5625 feat: New menu option to reload current game view with F5
Useful when adding a game to get the view sorted properly afterwards.
2021-02-23 23:50:05 +01:00
lantzelot-swe 3cdc01c922 feat: New option when importing games: add as new entry
Will create duplicates of existing game titles. Useful for C64 and vic-20 games with same name.
When importing all screens, covers and game files get the correct names directly.
2021-02-23 23:24:39 +01:00
lantzelot-swe 8e7fd67bdc fix: Corrects the duplicate index calculation 2021-02-23 11:08:41 +01:00
lantzelot-swe 484338bfbc feat: Adds new db column to keep track of duplicate entries with same title
Multiple games with same title is allowed. Cover, screens and game file gets an index added to the file name if there are duplicates.
2021-02-22 23:42:32 +01:00
lantzelot-swe 2b8319e498 fix: adjustment of drop screenshot image 2021-02-22 23:34:10 +01:00
lantzelot-swe 9b781a91af fix: Updates no screenshot image shown when adding new games. 2021-02-22 15:46:57 +01:00
lantzelot-swe a47a4c47fd feat: cover file is not mandatory anymore. Only one screenshot is mandatory.
New default images for missing cover (c64 and vic-20).
Cleanup.
2021-02-21 21:58:07 +01:00
lantzelot-swe 61c9ca7611 fix: All changes of selected item in the game list is blocked when unsaved data is available 2021-02-17 21:57:14 +01:00
lantzelot-swe 2acdddeb0e fix: paste using the right-click menu commits the change to the model properly 2021-02-17 20:07:23 +01:00
lantzelot-swe 026854ce3f fix: Increase warning for max number of games when exporting to 255 2021-02-15 20:13:51 +01:00
lantzelot-swe 238ecd8d23 fix: Better error handling when importing games 2021-02-15 13:06:28 +01:00
lantzelot-swe 9efacbdd18 fix: Only allow 2 characters for language in translation dialog 2021-02-14 22:55:13 +01:00
lantzelot-swe 32a9edea31 fix: VIC-20 game list entires not deleted. Better error handling in workers 2021-02-14 22:37:18 +01:00
lantzelot-swe aa286c1eac Revert "feat: add UI for multi crt"
This reverts commit 4287ec31aa.
2021-02-14 21:08:45 +01:00
lantzelot-swe 4287ec31aa feat: add UI for multi crt 2021-02-14 10:20:25 +01:00
lantzelot-swe 6f68d68292 fix: UI adjustments of translation dialog 2021-02-13 23:10:24 +01:00
lantzelot-swe b984b098d4 fix: reduces max history of log files to 3. 2021-02-13 15:42:25 +01:00
lantzelot-swe 81c164e3c8 fix: custom language is saved in the property file 2021-02-13 14:03:24 +01:00
lantzelot-swe 7707885ccd feat: Support for custom language translation, added to the en field. 2021-02-13 13:50:10 +01:00
lantzelot-swe a5d064405f fix: Adds tab header to description field.
Bold when a description is available for a specific language.
2021-02-13 13:08:22 +01:00
lantzelot-swe 1c2372031d fix 2021-02-12 21:29:00 +01:00
lantzelot-swe 71e1b7deff fix: undo manager works properly 2021-02-12 21:28:50 +01:00
lantzelot-swe 648941706d fix: Moves config fields to top, UI adjustments 2021-02-12 11:13:58 +01:00
lantzelot-swe 28a642ba09 Fix: removes all minus from the description fields since they mess up the carousel 2021-02-11 21:51:49 +01:00
lantzelot-swe bad517d5e9 Feat: adds undo-redo and right-click popup menu for all text components 2021-02-11 21:25:28 +01:00
lantzelot-swe e0127603b9 fix: More adjustments of the UI. Adds scrollpane for joystick and system panel in small 2021-02-11 15:46:31 +01:00
lantzelot-swe 631dd23af7 fix: Adjustments of UI for smaller resolutions 2021-02-10 12:13:10 +01:00
lantzelot-swe 8485c64419 fix: UI adjustments 2021-02-09 10:45:15 +01:00
lantzelot-swe 87548c15d8 fix: adds new dialog when deleting games to give an option to first backup the db 2021-02-07 21:29:15 +01:00
lantzelot-swe 4ba96a2a6a feat: adds menu option for deleting all games in the selected view.
Also keeps all games that has "THEC64" in the title when deleting multiple games
2021-02-06 23:28:40 +01:00
lantzelot-swe 1ebd4a14e7 fix: only empty fields are pre-selected in the scraper dialog when opened 2021-02-06 15:58:56 +01:00
mikael.lantz 5ef84bf316 feat: Adds menu option to convert all screenshots to 32-bit color depth 2021-02-05 16:18:14 +01:00
mikael.lantz e0b75056ca feat: adds REU support to the system settings 2021-02-05 10:30:19 +01:00
lantzelot-swe 901956a63d feat: start of UI for REU support 2021-02-04 22:52:36 +01:00
lantzelot-swe b7d8c529b4 feat: Adds progress dialog for translations and logic for pre-selecting empty languages 2021-02-04 22:41:34 +01:00
mikael.lantz a6a093b8db feat: adds dialog for translation of description 2021-02-04 16:49:23 +01:00
mikael.lantz 1373017aa0 feat: adds translate button 2021-02-04 10:13:49 +01:00
lantzelot-swe c7281671fb Fix: Converts screenshot to 32-bit color depth when saved. 2021-02-02 19:54:30 +01:00
mikael.lantz 90aedfa2a6 fix: Change from INT_RGB to INT_ARGB when changing images to use 24-bit color depth 2021-02-02 16:36:19 +01:00
lantzelot-swe b38f0011e0 feat: add Favorite to selectable fields in the game view edit dialog
With this you can e.g. exclude favorites from a view. Also adds better value handling (year only accepts four digits as input, favorite only "true" or "false")
2021-01-31 22:40:39 +01:00
lantzelot-swe c1cceb5d84 fix: adds support for the "basic" flag for the X: field in tsg files 2021-01-30 22:48:31 +01:00
lantzelot-swe b6a264c3b4 fix: Sorting in game list is performed in Java instead of the unreliable sorting made by the db 2021-01-30 22:39:33 +01:00
lantzelot-swe e4a3647cff fix: bug#4 covers more cases when screen names are non-standard 2021-01-30 00:03:24 +01:00
mikael.lantz 71ba40d933 fix: Bug #4 Problems loading and saving second screen
If a tsg file that is imported only contains one screen entry problems can occur. Adds more checks to rename screens if they have wrong name when saving.
2021-01-29 16:50:14 +01:00
mikael.lantz 820ae962f4 Feat: First version of description translater 2021-01-28 11:23:47 +01:00
lantzelot-swe 65e1653cba fix: add good size of dir text field 2021-01-26 22:00:22 +01:00
lantzelot-swe a56e1216d6 feat: importing games now allows for a games subfolder or games directly in the selected folder. 2021-01-26 19:27:16 +01:00
mikael.lantz c94af67302 fix: remove the "favorite" export format, no need for it in coming PCU releases 2021-01-26 14:53:51 +01:00
lantzelot-swe 1a27b817d8 fix: spelling 2021-01-25 23:04:33 +01:00
lantzelot-swe 7111b4d4f3 feat: add option to use "games" subdir or not when exporting. 2021-01-25 22:53:13 +01:00
lantzelot-swe 7f317cd6a2 feat: Changed export dialog to include export dir selection and option to delete all available games 2021-01-24 23:20:19 +01:00
lantzelot-swe 986b88156e fix: select the english description tab when scraping. 2021-01-24 00:14:59 +01:00
lantzelot-swe 615147e83b feat: adds language support for the description field
4 new tabs in the ui, 4 new columns in the db for de,fr,es,it.
Db is updated automatically at startup.
Bug fix: Year is exported properly
2021-01-23 23:48:48 +01:00
lantzelot-swe 692a236252 fix: update all games count correctly in combobox when adding/removing games 2021-01-22 22:59:14 +01:00
lantzelot-swe 973652c99c fix: count of favorites is synched when selecting/deselecting a favorite. Favorite count is also present after loading all games. 2021-01-22 22:49:15 +01:00
mikael.lantz fd12733038 fix: alignment of change cover button 2021-01-22 16:23:45 +01:00
mikael.lantz 9cc504b1d7 fix: updates game count for current game view when adding/removing a game entry 2021-01-22 16:19:29 +01:00
lantzelot-swe 7a0ca694ea Fix: smarter file selection for downloaded zipped game files from gb64.com 2021-01-21 23:20:42 +01:00
lantzelot-swe 2fd367d0b3 fix: right scraper panel used for gb64 scraper fields 2021-01-21 23:19:47 +01:00
lantzelot-swe 242089f7db fix: sorting in the game list is case insensitve 2021-01-20 23:19:06 +01:00
lantzelot-swe 0f84d48758 fix: renaming a game will rename files properly also if they have non-standard names after file import 2021-01-20 22:50:14 +01:00
lantzelot-swe 9fe2fbb482 chore: update pom version
Change order of gb64.com and c64.com
2021-01-16 22:22:49 +01:00
lantzelot-swe 4a01061cc6 fix: more robust screenshot naming for scrapers 2021-01-15 23:25:25 +01:00
lantzelot-swe e21af5691e fix: gb64.com scraper working 2021-01-15 23:15:38 +01:00
mikael.lantz 46f97d96be feat: adds skeleton for gb64 scraper 2021-01-15 16:34:20 +01:00
mikael.lantz 54ab582c20 chore: code cleanup 2021-01-15 11:41:32 +01:00
lantzelot-swe 6cc01f9968 fix: validation of url 2021-01-14 23:02:55 +01:00
lantzelot-swe 28c24ba9d5 fix: add ctrl+s for saving a game 2021-01-14 22:53:38 +01:00
lantzelot-swe 1c4bb05738 fix: fixes for c64com scraper 2021-01-14 22:44:26 +01:00
lantzelot-swe 900b4d4ab6 fix: more fixes for c64.com scraper 2021-01-13 23:29:31 +01:00
lantzelot-swe 22682e68ac feat: adds scraping of game file from c64.com 2021-01-12 23:31:27 +01:00
mikael.lantz 840fa79d10 feat: adds c64com as selectable when scraping game info 2021-01-12 16:31:28 +01:00
lantzelot-swe b286dd8e5e feat: first version of scraper for c64.com 2021-01-11 22:42:49 +01:00
lantzelot-swe 8101888529 feat: adds "clear all favorites" menu option 2021-01-10 22:15:24 +01:00
lantzelot-swe c918237bf2 fix: removes dependency to other L&F. Doesn't look good. 2021-01-09 15:53:23 +01:00
lantzelot-swe 9629d57f11 fix: Wait cursor shown immediately when running a game 2021-01-09 15:19:04 +01:00
lantzelot-swe bbf2249c55 fix: scrollpane in screenshots dialog 2021-01-08 22:08:50 +01:00
lantzelot-swe d2b65f7d5d fix: sets system model based on scraped game. 2021-01-08 22:08:41 +01:00
mikael.lantz 8c633b521c adds edit option for screenshots 2021-01-08 16:42:55 +01:00
lantzelot-swe f9582611f3 fix: changing info for a game whith the same screenshot for 1 and 2 works better 2021-01-05 22:51:39 +01:00
mikael.lantz e3891127ef fix: screens are reset and loaded again when saving a game 2021-01-05 16:06:27 +01:00
lantzelot-swe 8c5727a617 Fix: Better scaling of vic-20 screenshots 2021-01-04 23:12:35 +01:00
lantzelot-swe d63d4d6d64 Help menu item is directed to wiki
Removes the separate help files
2021-01-04 21:44:23 +01:00
mikael.lantz db0bf527d7 Adds Spinner to year
Adds icons for select-buttons in export dialog.
Adds icons for scraper (ok/failure message)
Tab moves focus from description field
2021-01-04 11:02:11 +01:00
lantzelot-swe 5cc7948156 Fix: ui fields not updated from model when having focus
No "jumping" of cursor when typing.
Adds JFormattedTextField for year.
2021-01-03 23:28:50 +01:00
lantzelot-swe 4fdf4fea71 Fix: Allows for saving a game where the title only have changed casing 2021-01-03 23:08:28 +01:00
lantzelot-swe 16bf9cac8e Adds Vice button to launch Vice with the system settings specified
-Adds pal/ntsc to vice flags
-Adds attach read-only to vice flags
2021-01-03 22:42:14 +01:00
lantzelot-swe 36538f5732 Screenshots are always resized to 320x200 when saving. 2021-01-03 22:18:43 +01:00
lantzelot-swe 45c7f8b122 fix: Adds crop and scale options to screenshots when they have wrong resolution 2021-01-02 23:19:49 +01:00
lantzelot-swe e1a538c3b3 Fix: Game views where not read properly from the database 2020-12-31 21:07:19 +01:00
lantzelot-swe 5bba1c75d1 Fix: Game files with space in the name was not handled correctly when run in Vice 2020-12-31 16:30:38 +01:00
lantzelot-swe 4ac6cb7edc Unzipps .crt files before running in Vice. temp folder deleted at exit. Adds help files 2020-12-30 12:16:23 +01:00
lantzelot-swe 682511aea1 Fix: year is scraped properly if it also contains a specific date 2020-12-29 23:22:15 +01:00
lantzelot-swe d3bc3b664a Adds composer to scraper. Various bug fixes in list selection. 2020-12-29 23:03:46 +01:00
lantzelot-swe 5e1061707a adds flags for sid version and vic memory banks when launching Vice 2020-12-29 14:31:53 +01:00
lantzelot-swe 2b5ab18861 Adds run menu item and doubleclick in list to run. Various bug fixes. 2020-12-28 23:46:25 +01:00
lantzelot-swe cb60726142 Adds running a game with Vice.
Joystick port and true drive emulation is used when launching the game.
2020-12-28 15:13:07 +01:00
lantzelot-swe 5141cb9c2b Better game view filter support: possible to define AND and OR filters at the same time 2020-12-28 11:10:13 +01:00
lantzelot-swe 24e6bbe7d6 Adds favorite column to gameinfo table
Adds renderer for showing a favorite game in bold. Adds Favorite game view. Adds menu item for toggle favorite for current game. Adds option for importing games as favorites.
2020-12-27 23:17:35 +01:00
lantzelot-swe 19df5c4b8b Moby games scraper finished 2020-12-26 23:48:02 +01:00
lantzelot-swe 38315712b0 Select screenshots for scraper wip 2020-12-26 00:07:08 +01:00
lantzelot-swe 5c701e08af Adds screenshots to the scraper. Adds TODO list 2020-12-24 00:22:05 +01:00
lantzelot-swe e240ee4e12 Adds cover to scraper. Small fixes for version checker 2020-12-23 23:20:02 +01:00
lantzelot-swe 64efc3e5e0 Fixed title 2020-12-22 23:50:05 +01:00
lantzelot-swe 08f39e5fad Adds version check dialog. Adds year and genre to Moby games scraper 2020-12-22 23:47:39 +01:00
mikael.lantz baace0ff5f Adds version check against github 2020-12-22 14:04:29 +01:00
mikael.lantz 486312c7d0 First version of scraper dialog added, 2020-12-21 16:34:05 +01:00
lantzelot-swe 17e5b245ad fix: game details are cleared when a gameview is selected that have 0 games 2020-12-19 23:07:55 +01:00
lantzelot-swe 595c79c569 a new db is created if missing when launching. Small fix for exporting games 2020-12-19 21:50:57 +01:00
lantzelot-swe f9aec586dc Adds delete game view + bug fixes 2020-12-18 23:19:24 +01:00