| Crates.io | lorelei_simulator |
| lib.rs | lorelei_simulator |
| version | 0.1.0 |
| created_at | 2024-06-30 09:40:50.742687+00 |
| updated_at | 2024-06-30 09:40:50.742687+00 |
| description | Rapidly simulates Pokémon Gen 1-2 AI decisions |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1287886 |
| size | 38,787 |
Simulate thousands of Pokémon Gen 1-2 AI move decisions.
This isn't available yet. See here: https://github.com/SnowyMouse/lorelei-simulator/issues/2
What you need:
Note: This save state must be made just before the AI begins making a decision.
Note that Gen 2 is considerably slower than Gen 1: https://github.com/SnowyMouse/lorelei-simulator/issues/1
Then, open a command-line and run the following command:
lorelei_simulator_cli path/to/rom path/to/savestate
You can add additional parameters:
-j <JOBS> to specify thread count (by default it will use however many
logical processors your CPU has)-t <TRIALS> to limit how many trials to calculate (by default, it will keep
going until you press CTRL-C)-q to not print anything until finished (by default, you will see a live
update)Provided you give a correct ROM and save state, you will see the output in a table.