-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from cpp-gamedev/integration
Improve First Release
- Loading branch information
Showing
9 changed files
with
62 additions
and
25 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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Write-Host -ForegroundColor Yellow "+++ PKMN Asset Builder +++" | ||
|
||
Write-Host "`nAccording to the National Pok\u00e9mon Index, the first 151 entries served in Generation I." | ||
Write-Host "You may use any of these numbers to create new asset files to play this game.`n" | ||
|
||
$ID1 = Read-Host "Pokemon ID #1" | ||
$ID2 = Read-Host "Pokemon ID #2" | ||
|
||
if ( -not (Test-Path -Path "venv" -PathType Container) ) | ||
{ | ||
Write-Host -ForegroundColor Yellow "Creating a new virtual environment . . ." | ||
python -m venv venv/ | ||
.\venv\Scripts\Activate.ps1 | ||
Write-Host "Installing dependencies . . ." | ||
python -m pip install --upgrade pip | ||
python -m pip install -r requirements.txt --only-binary all | ||
} | ||
else | ||
{ | ||
.\venv\Scripts\Activate.ps1 | ||
} | ||
|
||
python gen_data.py --verbose make --id $ID1 $ID2 | ||
python gen_data.py manifest | ||
|
||
Write-Host -ForegroundColor Yellow "Done!" | ||
|
||
deactivate # virtual environment |
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
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
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
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
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
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
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