Skip to content

Commit

Permalink
ci for textures
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Dec 28, 2023
1 parent 8795a04 commit 970d65b
Show file tree
Hide file tree
Showing 282 changed files with 42 additions and 4 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/msvc_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ on:
options:
- 'true'
- 'false'
version_increment:
description: "Default semantic version release type"
type: choice
required: false
default: 'minor'
options:
- 'major'
- 'minor'
- 'patch'

env:
VERINC: ${{ github.event.inputs.version_increment || 'patch' }}

concurrency:
group: ${{ github.ref }}
Expand All @@ -46,7 +58,7 @@ jobs:
uses: MCKanpolat/auto-semver-action@v1
id: versioning
with:
releaseType: minor
releaseType: ${{ env.VERINC }}
incrementPerCommit: false
github_token: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -77,8 +89,10 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: MaxPayne3.FusionFix.zip
path: data/*
name: MaxPayne3.FusionFix
path: |
data/*
!**/.gitkeep
- name: Upload Release
if: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ ASALocalRun/

data/**/*.img
data/update/common/shaders/**/*.fxc
data/update/platform/textures/*.wtd

data/plugins/MaxPayne3.FusionFix.asi
MaxPayne3.FusionFix.zip
20 changes: 20 additions & 0 deletions buildwtd.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@echo off
setlocal EnableDelayedExpansion
set src=%cd%\textures\
set dst=%cd%\data\update\

cd tools
cd ResourceBuilder
for /f "delims=" %%i in ('dir %src% /a:d/s/b') do (
set "foldername=%%i"
if /I "!foldername:~-4!"==".wtd" (
set "string=%%~dpi"
set "modified=!string:%src%=%dst%!"
if not exist !modified! mkdir !modified!
set "string=%%i"
set "modified=!string:%src%=%dst%!"
ResourceBuilder.exe -c_wtd_v11 !modified! -f %%i
)
)
cd ..
cd ..
Empty file.
Binary file removed data/update/platform/textures/buttons_pc.wtd
Binary file not shown.
Binary file removed data/update/platform/textures/controller_360.wtd
Binary file not shown.
5 changes: 4 additions & 1 deletion release.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
copy bin\MaxPayne3.FusionFix.asi data\plugins\MaxPayne3.FusionFix.asi

7z a "MaxPayne3.FusionFix.zip" ".\data\*"
call buildwtd.bat

7z a "MaxPayne3.FusionFix.zip" ".\data\*" ^
-xr!*\.gitkeep
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added tools/ResourceBuilder/ResourceBuilder.exe
Binary file not shown.

0 comments on commit 970d65b

Please sign in to comment.