removes hardcoded paths for game detection, parses game info (which game it is, the readable title, and if it's steam vs epic) from resource metadata #71
Workflow file for this run
  
    
      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
    
  
  
    
  | name: MGSM2Fix | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Add MSBuild to PATH | |
| uses: microsoft/setup-msbuild@v1.1 | |
| - name: Install Python dependencies | |
| uses: py-actions/py-dependency-install@v4 | |
| - name: Get Zydis submodule hash | |
| id: zydishash | |
| run: | | |
| cd src/zydis | |
| $hash = git rev-parse HEAD | |
| "hash=$hash" | Out-File -FilePath $env:GITHUB_OUTPUT -Append -Encoding utf8 | |
| - name: Cache Zydis | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| src/zydis/msvc/bin/ReleaseX64 | |
| src/zydis/msvc/bin/ReleaseX86 | |
| key: zydis-${{ runner.os }}-${{ steps.zydishash.outputs.hash }} | |
| - name: Download ASI Loader x64 | |
| uses: robinraju/release-downloader@v1.8 | |
| with: | |
| repository: "ThirteenAG/Ultimate-ASI-Loader" | |
| latest: true | |
| fileName: "Ultimate-ASI-Loader_x64.zip" | |
| - run: mkdir .\asiloader | |
| - run: unzip Ultimate-ASI-Loader_x64.zip -d .\asiloader | |
| - run: mv .\asiloader\dinput8.dll .\asiloader\d3d11.dll | |
| - name: Download ASI Loader x86 | |
| uses: robinraju/release-downloader@v1.8 | |
| with: | |
| repository: "ThirteenAG/Ultimate-ASI-Loader" | |
| latest: true | |
| fileName: "Ultimate-ASI-Loader.zip" | |
| - run: unzip Ultimate-ASI-Loader.zip -d .\asiloader | |
| - name: Build | |
| working-directory: ${{env.GITHUB_WORKSPACE}} | |
| run: .\M2Package.bat | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: MGSM2Fix-run-${{ github.run_number }} | |
| path: dist/ |