Hi Manon,
You must have been running an old version of IGV on your previous computer because creating a .genome file has not been supported since 2021.
The current format for an IGV reference genome definition is a plain text .json file that can be created in a text editor.
As a starting point you can copy one of the examples there, and then replace the details with the details of your genome.
Helga