File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ Write-Host - ForegroundColor Yellow " +++ PKMN Asset Builder +++"
2
+
3
+ Write-Host " `n According to the National Pok\u00e9mon Index, the first 151 entries served in Generation I."
4
+ Write-Host " You may use any of these numbers to create new asset files to play this game.`n "
5
+
6
+ $ID1 = Read-Host " Pokemon ID #1"
7
+ $ID2 = Read-Host " Pokemon ID #2"
8
+
9
+ if ( -not (Test-Path - Path " venv" - PathType Container) )
10
+ {
11
+ Write-Host - ForegroundColor Yellow " Creating a new virtual environment . . ."
12
+ python - m venv venv/
13
+ .\venv\Scripts\Activate.ps1
14
+ Write-Host " Installing dependencies . . ."
15
+ python - m pip install -- upgrade pip
16
+ python - m pip install - r requirements.txt -- only- binary all
17
+ }
18
+ else
19
+ {
20
+ .\venv\Scripts\Activate.ps1
21
+ }
22
+
23
+ python gen_data.py -- verbose make -- id $ID1 $ID2
24
+ python gen_data.py manifest
25
+
26
+ Write-Host - ForegroundColor Yellow " Done!"
27
+
28
+ deactivate # virtual environment
You can’t perform that action at this time.
0 commit comments