How to generate environment texture version 1?

You could use the code snippet from this answer: .env conversion from .hdr throws an error - #6 by sebavan You could do that in 4.2.1