Open Ldmf opened 9 months ago
not sure anyone actively works on this anymore. I fixed this issue by changing line 24
ExportParameter('icon', (icon == nil) and 'null' or '"'..icon..'"', true, ',', 4)
to
ExportParameter('icon', (icon == nil) and 'null' or '"'..tostring(icon)..'"', true, ',', 4)
as the tostring function seems to clear up the issue.
Edit: forgot to include where to find the files for anyone else having issues.
Foreman 2 Folder\Release\Mods\foremanexport_1.0.0\instrument-after-data.lua
This seems to clear up issues with foreman 2 failing to export factorio data with some mods installed.
it works with all the mods exept SE
the error is now
<<
At ROOT.simple-entity.se-gate-fragment-14-a.picture.layers[0].hr_version Modifications: Space Exploration
------------- Error ------------- Error while loading entity prototype "se-gate-fragment-14-a" (simple-entity): Sprite height outside valid range (1-2048).
I have a problem with the import form the foremanexport
Error Log Foreman
errorlog.txt errorExporting.json
Mod-List from factorio
mod-list.json
Curentlog Factorio
factorio-current.log
if more info is needed i will try and provide them