Advertisement
tcl1

[Batch] Batchopolis 2.1.0 DEMO

Apr 13th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 3.13 KB | None | 0 0
  1. @echo off
  2. cls
  3. goto chk_files
  4. :chk_files
  5. if not exist batchopolis_data goto install_req
  6. if exist batchopolis_data goto mn
  7. :install_req
  8. md batchopolis_data
  9. cd batchopolis_data
  10. (
  11. echo e100
  12. echo 0F B6 0E 80 00 E3 4F BF 81 00 B0 20 FC F3 AE 74
  13. echo e110
  14. echo 45 E3 43 8A 45 FF E8 43 00 80 3D 20 74 0E C0 E0
  15. echo e120
  16. echo 04 8A E0 8A 05 E8 34 00 0A C4 47 49 E3 28 32 E4
  17. echo e130
  18. echo 50 B0 22 F2 AE 75 1F E3 1D 8B F7 8B D1 F2 AE 75
  19. echo e140
  20. echo 01 41 2B D1 74 10 8B CA 5B B0 20 B4 09 CD 10 AC
  21. echo e150
  22. echo B4 0E CD 10 E2 F9 32 C0 B4 4C CD 21 3C 61 72 02
  23. echo e160
  24. echo 2C 20 3C 41 72 02 2C 07 2C 30 C3
  25. echo rcx
  26. echo 6b
  27. echo w
  28. echo q
  29. ) | debug colormsg.com > nul
  30. (
  31. echo e100
  32. echo 0F B6 0E 80 00 E3 2D BF 81 00 B0 20 FC F3 AE 74
  33. echo e110
  34. echo 23 E3 21 8D 75 FF E8 45 00 3C 20 75 3B 86 F2 E8
  35. echo e120
  36. echo 3C 00 86 F2 3C 20 74 04 3C 0D 75 2C 32 FF B4 02
  37. echo e130
  38. echo CD 10 EB 24 32 FF B4 03 CD 10 8A C6 8A CA E8 38
  39. echo e140
  40. echo 00 B2 20 B4 02 CD 21 8A C1 E8 2D 00 B2 0D B4 02
  41. echo e150
  42. echo CD 21 B2 0A B4 02 CD 21 32 C0 B4 4C CD 21 32 E4
  43. echo e160
  44. echo AC 3C 20 74 FB 3C 30 72 0D 3C 39 77 09 2C 30 D5
  45. echo e170
  46. echo 0A 8A E0 AC EB EF 8A F4 C3 D4 0A 05 30 30 8B D0
  47. echo e180
  48. echo 80 FC 30 74 08 86 D6 B4 02 CD 21 8A D6 B4 02 CD
  49. echo e190
  50. echo 21 C3
  51. echo rcx
  52. echo 92
  53. echo w
  54. echo q
  55. ) | debug textpos.com > nul
  56. cd..
  57. goto mn
  58. :mn
  59. color 07
  60. echo ================
  61. echo Enter your name.
  62. echo ================
  63. set /p name=
  64. goto misc
  65. :misc
  66. set /a cash+=10000
  67. :menu
  68. cls
  69. colormsg 03 "Welcome to Batchopolis, %name%" & echo.
  70. echo.
  71. colormsg 03 "====" & colormsg 09 "[" & colormsg 03 "Options" & colormsg 09 "]" & colormsg 03 "====" & echo.
  72. colormsg 09 "1)" & colormsg 00 " " & colormsg 03 "Buy Cars" & echo.
  73. colormsg 09 "2)" & colormsg 00 " " & colormsg 03 "What's New" & echo.
  74. colormsg 03 "====" & colormsg 09 "[" & colormsg 03 "Player" & colormsg 09 "]" & colormsg 03 "====" & echo.
  75. colormsg 03 "Cash:" & colormsg 00 " " & colormsg 09 "$%cash%" & echo.
  76. choice /c 12 /n
  77. if %errorlevel%==1 goto buycars
  78. if %errorlevel%==2 goto whatsnew
  79. :buycars
  80. cls
  81. colormsg 03 "Buy Cars" & echo.
  82. echo.
  83. colormsg 09 "====================================" & echo.
  84. colormsg 09 "[1. Dale]" & echo.
  85. colormsg 03 "The Dale is a regular 2-door coupe." & echo.
  86. colormsg 09 "====================================" & echo.
  87. colormsg 03 "Press a car's number:" & echo.
  88. choice /c 1 /n
  89. if %errorlevel%==1 goto purchase-dale
  90. goto menu
  91. :whatsnew
  92. cls
  93. colormsg 03 "====" & colormsg 09 "[" & colormsg 03 "What's New" & colormsg 09 "]" & colormsg 03 "===="  & echo.
  94. colormsg 03 "- Multiple colors" & echo.
  95. colormsg 03 "Press any key to go back to the main menu." & echo.
  96. pause >nul
  97. goto menu
  98. :purchase-dale
  99. cls
  100. colormsg 01 "==========" & echo.
  101. colormsg 03 "Dale" & echo.
  102. colormsg 01 "==========" & echo.
  103. colormsg 03 "Cost: 1000" & echo.
  104. colormsg 01 "==========" & echo.
  105. colormsg 03 "Cash" & echo.
  106. colormsg 03 "$%cash%" & echo.
  107. colormsg 01 "==========" & echo.
  108. colormsg 03 "Purchase? (Y/N)" & echo.
  109. choice /c YN /n
  110. if %errorlevel%==1 goto pdale
  111. if %errorlevel%==2 goto buycars
  112. :pdale
  113. cls
  114. colormsg 01 "===============" & echo.
  115. colormsg 03 "Purchased Dale." & echo.
  116. colormsg 01 "===============" & echo.
  117. colormsg 03 "Press a key" & echo.
  118. pause >nul
  119. goto menu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement