Skip to content

Built-in LAA/4GB patch #22

@Kade-N

Description

@Kade-N

Already added a feature to check if LAA is enabled, but we can go further...

  • if LAA was enabled by user, and game version is supported for LAA, do nothing and launch as normal
  • if LAA was enabled by user, but game version is Steam_October2024, show a message to the user explaining that this is unsupported and where to get further instructions (I already added this)
  • if LAA is not enabled, but can be, automatically copy SporeApp.exe as SporeApp_ModAPIFix.exe and patch this copy, then launch the copy (like we do for EA app)
  • if LAA is not enabled and not supported, do nothing and launch as normal

To apply the patch, most of the code can probably work, just with binarywriter instead of reader - worth investigating if it's that simple

We'd need to relaunch Launcher as admin in order to apply this patch, again like EA fix


Bonus: using the same logic as in #21 we could try and find downgraded GA exe from where steam puts it
so instead of

  • run steam console command
  • manually copy file to right place
  • apply 4gb patch
  • play via modapi launcher
    it'd be
  • run steam console command
  • run launcher once as admin (it copies the file and patches it)
  • run launcher normally to play

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions