facebookresearch / nle

The NetHack Learning Environment
Other
940 stars 114 forks source link

Save actions along with observations in ttyrec #280

Closed rokosbasilisk closed 2 years ago

rokosbasilisk commented 2 years ago

🚀 Feature

ability to save actions taken during runs along with the observations.

heiner commented 2 years ago

Hey @rokosbasilisk

(I have a feeling I know that handle from rationality blogs?)

Thanks for your interest in NLE!

If I don't misunderstand your somewhat succinct request, we already have the feature you are looking for: We are saving "ttyrec2" files.

Here's two scripts in NLE that make use of the NetHack inputs / actions:

I'm going to close this issue, feel free to reopen it if this isn't what you were looking for.