Improved sync#333
Open
kenbot wants to merge 3 commits intonstlaurent:developmentfrom
Open
Conversation
Owner
|
Hi, I just got back from vacation and was reading through this. I'm planning on doing a release very soon since there hasn't been one in a while. I will save this feature for the release after and then there will be plenty of time to add more and test. I will continue to look at this over the weekend. |
Collaborator
Author
|
No worries mate, welcome back! Are there any bug fixes, polish etc you want for the immediate release? |
Owner
|
If you have discord you can find me at the Helion discord server as haxxx |
7cf77e2 to
d32d29e
Compare
253f449 to
a5490a4
Compare
ad30915 to
63f1231
Compare
2d01fc9 to
1a9b18f
Compare
5678d56 to
b8ca338
Compare
GameID column is INTEGER, it won't work. Ripping it out New GameFiles columns for IntendedGame and IsSyncNeeded, basic sync capability IntendedGame IsSyncNeeded column control auto-syncing, page by page as viewed Autosync works for Grid view too Improved IWadInfo class, IntendedGame is now a typesafe IWadInfo field. Also some improved IntendedGame sync Fixed broken tests Refactored TextFileGameFileFragment to be more testable, added tests. Improved quality of sync data Finds title in GAMEINFO if it can Syncing now respects IntendedGame if it can Renamed GameFileFragments to SyncActions Resolving minor merge conflict Fixed line ending to LF Completed rename on new test file Some concurrency protection for syncing Shouldn't return null here Fixed messed-up rebase Final rebase cleanup Backup game capability Sync respects backup game When launching the game, it will validate and correct the IWAD Added better backup games, eg so that Tech Gone Bad defaults to regular DOOM instead of DOOM1 GameConfSyncAction changes IntendedGame rather than IWadID Get IntendedGame from GAMEINFO Some more corner cases for GAMEINFO Repairing rebase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. IsSyncNeeded feature
IsSyncNeededfield. This allows us to modify how syncing, thumbnail images, etc are generated and ensuring that users will see the new content next time they upgrade DoomLauncher2. IntendedGame feature
IsDoom64field, which is now represented byIntendedGame = DOOM64HasMetadataBackupGamewhich means that Freedoom1 and Freedoom2 will automatically replace Doom1 and Doom2 respectively if they are not present.GameID, but being an INTEGER, wasn't usable for this purpose.MainForm_Playwill confirm and apply the intended IWAD before play.I have about 200 wads installed, including every Cacoward winner & runner up since 2018, and 75% of them get allocated a correct IntendedGame, including wads intended for Doom, Doom2, Heretic, TNT, Plutonia and of course Doom 64. I think we can eventually get to 100%, but this is a good start.