Open jonit-dev opened 2 years ago
Ran into the absolute paths issue as well. The save files break when they are opened on a different system. This is an incredibly useful tool and it would be perfect if this can be fixed.
We are running into this issue as well.
@jonit-dev @rohannarang15 @likwidgames I made a fork that saves the file using relative paths: https://github.com/ssotangkur/free-tex-packer
When the project file is saved, it will convert the paths to be relative to the project file itself only in the file written to disk. When the project is loaded from disk, the reverse happens and the relative paths are converted to an absolute path specific to the computer opening it, but this only affects the in-memory copy of the project. To the rest of the program, everything appears to be in absolute paths so everything should work as before.
Hi @odrick!
First of all, thank you for this amazing software.
I'm currently using it to develop a game, however, facing some difficulties due to the fact that Free texture packer saves the .ftpp files in an absolute format, not a relative one.
So when another team member picks up the project to change the texture, it has to replace all the paths available on the .ftpp file, otherwise the texture simply won't load.
It would be cool to use relative paths by default.
Also, it would be great to have a feature to disable pivot points on the atlas .json output. It causes issues with Phaser and I had to create a script to fix constantly remove it.
Thank you!