facebookresearch / nle

The NetHack Learning Environment
Other
940 stars 114 forks source link

Add the filepath of the ttyrec if it exists to the xlogfile. #319

Closed cdmatters closed 2 years ago

cdmatters commented 2 years ago

This will make it easier for users to find which ttyrecs correspond to which metadata. Xlogfiles are only written to with natural endings; not guaranteed if you call "reset" before "done" is ready. This means if there is a panic and drop a game, you will not get alignment between your ttyrec reset number and xlogfile row. This adds an explicit link.

NB: This only works because in nle (vs typical NetHack), we play the whole game in one ttyrec.