Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.ftpp projects are generated with absolute path + option to remove pivot points #72

Open
jonit-dev opened this issue Jun 22, 2022 · 3 comments

Comments

@jonit-dev
Copy link

jonit-dev commented Jun 22, 2022

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.

image

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!

@jonit-dev jonit-dev changed the title .ftpp projects generated with absolute path + option to remove pivot points .ftpp projects are generated with absolute path + option to remove pivot points Jun 22, 2022
@rohannarang15
Copy link

rohannarang15 commented Jan 29, 2023

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.

@likwidgames
Copy link

We are running into this issue as well.

@ssotangkur
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants