Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Development

  1. Install Go and Fyne
  2. Install air for hot reload support
go install github.com/air-verse/air@latest
  1. Start the project
cd src 
air

This will build the binary (AGO_Launcher.exe) and run it from resources/mods/ago_beta where there are various config files and example folders to use

If you want to test it on an actual mod folder in it's packaged state, you can run

cd src
fyne package -release -os windows && xcopy /Y "AGO_Launcher.exe" "E:\Steam\steamapps\common\Medieval II Total War\mods\ago_beta\AGO_Launcher.exe" &&"E:\Steam\steamapps\common\Medieval II Total War\mods\ago_beta\AGO_Launcher.exe"

On macOS, use the helper script instead of xcopy and Windows paths:

./scripts/package-run-macos.sh /Users/jasonlee/Downloads/AGO_V3_Installer

When passed /Users/jasonlee/Downloads/AGO_V3_Installer, the script builds the local Rust extractor in tools/ago-extractor, extracts the multi-part installer payload into the macOS Steam Medieval2Data/mods/AGO_V3 folder, packages AGO_Launcher.app, copies it into the mod folder, and opens it.

If you already have an extracted mod folder, pass that folder directly:

./scripts/package-run-macos.sh "$HOME/Library/Application Support/Steam/steamapps/common/Medieval II Total War/Medieval2Data/mods/AGO_V3"

Use --no-open to package and copy without launching:

./scripts/package-run-macos.sh --no-open /Users/jasonlee/Downloads/AGO_V3_Installer

About

Cross-platform launcher for the Divide and Conquer: AGO Medieval II mod, with macOS support

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages