They stick it in a PC(or a Mac if they have a compatible card and ROM) then use an application(generally from within DOS while booted off a floppy/USB) to write the ROM file to the card.
The ROMs are generally modified in some way to be compatible with the card you are using as well.
The ROMs are generally modified in some way to be compatible with the card you are using as well.