Extract gas out of firewood to fuel the combustion engine? Doable but nothing without consideravle knowledge and welding tools. Unless you are prepared. A nice stock of heating oil (doesn't contain degradeavle components as regular diesel now at least in Europe) will also get you through for some time.