Extract the file, preferably to the folder with the installed game. Trainer must work in parallel with it, because when you start the game, press [Alt] + [Tab]to go back to Windows, run the trainer, set what you need and using the same keys back to the game.
Trainer "freezes" the number of all raw materials to 255.