echo off title pstros-ui by Dead Invader cls echo echo echo Enter file

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
@echo off
title = pstros-ui [by Dead Invader]
cls
echo/
echo ==================================================
echo Enter file name:
echo ==================================================
echo/
set /p n=
echo/
echo ==================================================
echo Enter file type:
echo ==================================================
echo/
echo [1] - JAR
echo [2] - JAD
echo/
set /p t=
echo/
if /i %t%==1 (
set t=.jar
) else if /i %t%==2 (
set t=.jad
) else (
echo Hmm... Something wrong.
echo/
pause
exit /b
)
echo/
echo ==================================================
echo Screen resolution:
echo ==================================================
echo/
echo [1] - 128x96
echo [2] - 128x128
echo [3] - 128x160
echo [4] - 130x130
echo [5] - 176x208
echo [6] - 176x220
echo [7] - 240x320
echo [8] - 240x400
echo [9] - 320x240
echo/
echo [0] - Customize...
echo/
set /p s=
echo/
if /i %s%==1 (
set w=128
set h=96
) else if /i %s%==2 (
set w=128
set h=128
) else if /i %s%==3 (
set w=128
set h=160
) else if /i %s%==4 (
set w=130
set h=130
) else if /i %s%==5 (
set w=176
set h=208
) else if /i %s%==6 (
set w=176
set h=220
) else if /i %s%==7 (
set w=240
set h=320
) else if /i %s%==8 (
set w=240
set h=400
) else if /i %s%==9 (
set w=320
set h=240
) else if /i %s%==0 (
echo/
echo ==================================================
echo Enter screen width:
echo ==================================================
echo/
set /p w=
echo/
echo ==================================================
echo Enter screen height:
echo ==================================================
echo/
set /p h=
echo/
) else (
echo Hmm... Something wrong.
pause
exit /b
)
echo Ready. Starting %n%%t%
echo/
pause
echo/
java -jar pstros.jar %n%%t% -w%w% -h%h% -s2
pause
cls