blind-coder / pz-mapmap

A commandline tool to convert Project Zomboid map data / savegames into PNG files
40 stars 11 forks source link

Getting an error #10

Open MiX74P3 opened 2 weeks ago

MiX74P3 commented 2 weeks ago

C:\WINDOWS\system32>MapMap.exe -gfxsource TexturePacks\Erosion.pack -gfxsource TexturePacks\Tiles2x.pack -gfxsource TexturePacks\Tiles2x.floor.pack -gfxsource TexturePacks\ApCom.pack -gfxsource texturepacks\RadioIcons.pack -gfxsource TexturePacks\ApComUI.pack -mapsource Mapname_lotpack -output Mapname_output\ -dolayers true -divider 4 -maxthreads 2 'MapMap.exe' is not recognized as an internal or external command, operable program or batch file.

Im on Win 10. freshly installed OS and everything.

blind-coder commented 2 weeks ago

Did you compile the application first? If yes, you may need to call the application as .\MapMap.exe

MiX74P3 commented 2 weeks ago

the only i have done is follow the exact install instructions.

blind-coder commented 2 weeks ago

So? Did you try the ".\" prefix?

MiX74P3 commented 2 weeks ago

dont believe so, what does that require?

blind-coder commented 1 week ago

The current directory most likely isn't in your PATH. Just call the application as .\MapMap.exe that'll make Windows look for the file in the current directory.

MiX74P3 commented 1 week ago

so what do I change with this? sorry Im not to familiar.

MapMap.exe -gfxsource TexturePacks\Erosion.pack -gfxsource TexturePacks\Tiles2x.pack -gfxsource TexturePacks\Tiles2x.floor.pack -gfxsource TexturePacks\ApCom.pack -gfxsource texturepacks\RadioIcons.pack -gfxsource TexturePacks\ApComUI.pack -mapsource Mapname_lotpack -output Mapname_output\ -dolayers true -divider 4 -maxthreads 2

not sure if I did that right

https://i.imgur.com/R2Kj0cs.jpeg

.\MapMap.exe -gfxsource TexturePacks\Erosion.pack -gfxsource TexturePacks\Tiles2x.pack -gfxsource TexturePacks\Tiles2x.floor.pack -gfxsource TexturePacks\ApCom.pack -gfxsource texturepacks\RadioIcons.pack -gfxsource TexturePacks\ApComUI.pack -mapsource Mapname_lotpack -output Mapname_output\ -dolayers true -divider 4 -maxthreads 2

blind-coder commented 1 week ago

The call looks right, but Windows doesn't allow running it. Unfortunately, I do'nt know anything about that, sorry.