From ac8bb58f6cd631e893b0b4c36ef969f252f9da4f Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 26 Nov 2024 23:17:51 -0600 Subject: [PATCH] InitialWindow, design ideas, README troubleshooting --- DESIGN.md | 13 ++++ README.md | 15 +++- factorio-achievements-fixer/App.xaml | 4 +- .../InitialWindow.xaml | 45 ++++++++++++ .../InitialWindow.xaml.cs | 71 +++++++++++++++++++ factorio-achievements-fixer/MainWindow.xaml | 12 ---- .../MainWindow.xaml.cs | 23 ------ 7 files changed, 144 insertions(+), 39 deletions(-) create mode 100644 DESIGN.md create mode 100644 factorio-achievements-fixer/InitialWindow.xaml create mode 100644 factorio-achievements-fixer/InitialWindow.xaml.cs delete mode 100644 factorio-achievements-fixer/MainWindow.xaml delete mode 100644 factorio-achievements-fixer/MainWindow.xaml.cs diff --git a/DESIGN.md b/DESIGN.md new file mode 100644 index 0000000..8b2e98d --- /dev/null +++ b/DESIGN.md @@ -0,0 +1,13 @@ +- Offer tools for manual editing of bytes, decoding of zstd compressed level files +- Logging into appdata/temp +- Drag and drop +- Manual byte editing +- Suggestion-based editing (e.g. "I think this is the achievement flag") +- Launch Factorio button (select save file automatically) + +FLOW + +- Open app +- Either drag and drop +- Or press 'Open File' +- Or select from list diff --git a/README.md b/README.md index 194d42e..a21ee96 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,20 @@ This is a WPF-based tool that can be used to re-enable achievements in [Factorio If you're having trouble getting _any_ tools to work in this space, that's because this is an experimental and highly volatile method of fixing achievements. -All we are able to do is use best-effort pattern matching with trial and error to attempt to re-enable achievements. +All we are able to do is use best-effort pattern matching with trial and error to attempt to re-enable achievements. This means that it's not guaranteed to work, and could easily break in the future. -I recommend that you +This tool aims to be slightly more configurable and offer a trial-and-error approach that could be more complicated, but works better for a wider range of scenarios. + +I made this tool and developed my method from the following sources/discussions online: + +- https://www.reddit.com/r/factorio/comments/rlprxh/text_tutorial_for_reenabling_achievements_after/ +- https://forums.factorio.com/viewtopic.php?p=623016#p623016 +- https://github.com/0x796935/factorio-achievement-restore +- https://0x796935.github.io/ +- https://github.com/Rainson12/FactorioSaveGameEnableAchievements +- https://github.com/Rainson12/FactorioSaveGameEnableAchievements/issues/1 +- https://github.com/pooreboy/factorio-achievement-restore +- https://www.reddit.com/r/factorio/comments/1gacff0/enabling_achievements_after_using_console_commands/ ## Compiling diff --git a/factorio-achievements-fixer/App.xaml b/factorio-achievements-fixer/App.xaml index d0500fe..50e7915 100644 --- a/factorio-achievements-fixer/App.xaml +++ b/factorio-achievements-fixer/App.xaml @@ -2,8 +2,8 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:factorio_achievements_fixer" - StartupUri="MainWindow.xaml"> + StartupUri="InitialWindow.xaml"> - + diff --git a/factorio-achievements-fixer/InitialWindow.xaml b/factorio-achievements-fixer/InitialWindow.xaml new file mode 100644 index 0000000..b4f9fcb --- /dev/null +++ b/factorio-achievements-fixer/InitialWindow.xaml @@ -0,0 +1,45 @@ + + + + +