How joaopedrogabriel/minecraft-mod-solver works
MMS is a desktop GUI for scanning a selected Minecraft mod folder, checking mod hashes against Modrinth and optionally CurseForge, sorting files into server-side, client-side, and unverified folders, and writing a JSON report. The main workflow is implemented by MainViewModel; the README documents the dual-provider behavior and user-facing capabilities. The sampled sources establish the UI, configuration, verification, and file-output calls. The graph does not infer runtime behavior for unsampled XAML or other unexcerpted files.
Main entry points: MainViewModel.cs Main workflow · ModVerifierService.cs Hash and verification · ConfigService.cs Config handling · App.axaml.cs App startup
Components 14
Desktop interface
- App startup
App.axaml.cs - Main window
Views/MainWindow.axaml - Folder picker
Views/MainWindow.axaml.cs
Mod processing
- Main workflow
ViewModels/MainViewModel.cs - Mod file state
Models/ModFileModel.cs
Metadata providers
- Hash and verification
Services/ModVerifierService.cs
Local files
- Config handling
Services/ConfigService.cs - API key config
- Sorted mod folders
- modslist.json
Other components
- Modpack user
- Modrinth API
- CurseForge API
- Selected mod folder
Connections 15
- Modpack user → Main window: uses
README.md - App startup → Main window: creates
App.axaml.cs - App startup → Main workflow: sets context
App.axaml.cs - Modpack user → Folder picker: selects folder
README.md - Folder picker → Main workflow: sets path
Views/MainWindow.axaml.cs - Main workflow → Selected mod folder: loads JARs
ViewModels/MainViewModel.cs - Main workflow → Mod file state: creates entries
ViewModels/MainViewModel.cs - Main workflow → Config handling: loads and saves
ViewModels/MainViewModel.cs - Config handling → API key config: reads and writes
Services/ConfigService.cs - Main workflow → Hash and verification: checks each mod
ViewModels/MainViewModel.cs - Hash and verification → Modrinth API: queries SHA-1
Services/ModVerifierService.cs - Hash and verification → CurseForge API: queries Murmur2
Services/ModVerifierService.cs - Main workflow → Sorted mod folders: copies by side
ViewModels/MainViewModel.cs - Main workflow → modslist.json: writes manifest
ViewModels/MainViewModel.cs - Modpack user → Config handling: provides API key
README.md