-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mineways): Corrected paths in textures script
- Loading branch information
1 parent
267fd74
commit f8ac03a
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
# Copy all textures from bedrock\pack\RP and mineways\textures to dist\mineways\blocks | ||
|
||
Copy-Item -Path ..\bedrock\pack\RP -Destination ..\dist\mineways\blocks -Recurse -Force | ||
Copy-Item -Path ..\textures -Destination ..\dist\mineways\blocks -Recurse -Force | ||
Copy-Item -Path .\bedrock\pack\RP\textures\blocks -Filter *.png -Destination .\dist\mineways\blocks -Recurse -Force | ||
Copy-Item -Path .\mineways\textures -Destination .\dist\mineways\blocks -Recurse -Force | ||
|
||
& "bin\TileMaker\ChannelMixer.exe" -v -m -i bedrock\pack\RP dist\mineways\blocks | ||
& "bin\TileMaker\TileMaker.exe" -v -m -i bin\TileMaker\terrainBase.png -d dist\mineways\blocks -o dist\mineways\terrainExt_JGRTX256.png -t 256 | ||
$ChannelMixerPath = ".\mineways\bin\mineways\TileMaker\ChannelMixer.exe" | ||
$TileMakerPath = ".\mineways\bin\mineways\TileMaker\TileMaker.exe" | ||
|
||
$cmInput = ".\dist\mineways\blocks" | ||
$cmOutput = ".\dist\mineways\channelMixer" | ||
|
||
if (-not (Test-Path $cmOutput)) { | ||
New-Item -Path $cmOutput -ItemType Directory | ||
} | ||
|
||
Start-Process -FilePath $ChannelMixerPath -ArgumentList "-v -i `"$($cmInput)`" -o `"$($cmOutput)`" -m" -Wait -NoNewWindow | ||
Start-Process -FilePath $TileMakerPath -ArgumentList "-v -m -i .\mineways\bin\mineways\TileMaker\terrainBase.png -d $($cmOutput) -o .\dist\mineways\terrainExt_JGRTX256.png -t 256" -Wait -NoNewWindow |