Releasing AI + SL

Advertise your levels, contests, sites etc.

Moderator: Moporators

Post Reply
User avatar
ribot
Not banned
Posts: 2416
Joined: 19 May 2002, 16:20
Location: Miranda: the true state
Contact:

Releasing AI + SL

Post by ribot »

Releasing this because MArkku gave my !lev 1

Download:
https://github.com/RobinManoli/elmAI

AI Features:
- extremely fast algorithm
- cpython and c++ versions

SaveLoad Features:
- frame by frame

Screenshot:
Image

Feature I wish existed, and easy to add, text document to create rec frame by frame:
- each line in text document, first you add fps (frames per second for the frame), then all keypresses for that frame
- G = gas
- B = break
- T = turn
- C = clockwise
- CC = cunter clockwise
- example, press gas for one frame at framerate 60 fps:

Code: Select all

60 G

- example, press break and alovolt for one frame at framerate 30 fps:

Code: Select all

30 B C CC
-
"leader status in the Elma against-the-system underground" - Abula
-
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
User avatar
ribot
Not banned
Posts: 2416
Joined: 19 May 2002, 16:20
Location: Miranda: the true state
Contact:

Re: Releasing AI + SL

Post by ribot »

Installation post.

Installation prerequisits:
- python 3
- numpy
- smibu phys c++
- etc

Installation:
- Download https://github.com/RobinManoli/elmAI
- Run the program using run.py (first find out how to run a python program on your OS)
- Now you might need to debug in python to run it (pro tip, install pip and add libraries with that, so for numpy you run "pip install numpy")

When you can open the config:
- create a file local.py like this:

Code: Select all

elmapath = r"C:\Users\markku\Desktop\elma"
levpath = r"C:\Users\markku\Desktop\elma\lev"
recpath = r"C:\Users\markku\Desktop\elma\rec"
- use elmaphys.pyx and smibu phys files for cython to compile elmaphys
-
"leader status in the Elma against-the-system underground" - Abula
-
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
Post Reply