Advertisement
Tom_Neverwinter

AI stable retro install

Aug 28th, 2023 (edited)
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. install SWIG https://www.swig.org/download.html
  2.  
  3. Install SWIG:
  4. If you haven't installed SWIG yet, you can download it from SWIG's official website. After downloading, extract the files to a directory, e.g., C:\swig.
  5.  
  6. Add SWIG to the PATH:
  7.  
  8. If you're on Windows:
  9. Right-click on the Windows start button and choose System.
  10. Click on Advanced system settings.
  11. In the System Properties window, click on the Environment Variables button.
  12. In the Environment Variables window, highlight the Path variable in the "System variables" section and click the Edit button.
  13. In the Edit Environment Variable window, click the New button and then paste in the path to the directory where you extracted SWIG, e.g., C:\swig.
  14. Click OK to close each of the windows.
  15.  
  16. PATH:
  17. C:\ENV ITEMS\swigwin-4.1.1
  18. NAME:
  19. C:\ENV ITEMS\swigwin-4.1.1\swig.exe
  20.  
  21.  
  22.  
  23. pip install virtualenv
  24. mkdir GYM
  25. cd GYM
  26. virtualenv env
  27. env\Scripts\activate
  28.  
  29. set PATH=C:\ENV ITEMS\swigwin-4.1.1;%PATH%
  30.  
  31. pip install cmake wheel
  32. pip install "gymnasium[all]"
  33.  
  34. ----------------------------------------------------------------------------------------------------------------------
  35. to run:
  36.  
  37. cd GYM
  38. virtualenv env
  39. env\Scripts\activate
  40.  
  41. now import games in rom format to run:
  42. ale-import-roms.exe [rom]
  43.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement