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

Specify output for lgx #32

Open
spacek531 opened this issue Mar 10, 2023 · 6 comments
Open

Specify output for lgx #32

spacek531 opened this issue Mar 10, 2023 · 6 comments

Comments

@spacek531
Copy link
Contributor

spacek531 commented Mar 10, 2023

I like to keep my object.json and sprites.lgx in a separate dir from the sprite output so I never accidentally bloat the parkobj with the .pngs. Manually copying the "images.dat" file from the output dir to "sprites.lgx" in the object dir is annoying. I want the tool to build it in the correct place when I click render.

@oli414
Copy link
Owner

oli414 commented Mar 10, 2023

I don't believe the parkobj created just includes any files that are in the output folder, but instead only the files that are either specified in the sprites.json, or the lgx file

@spacek531
Copy link
Contributor Author

I realize that. I'm saying that I make them separate and I want the plugin to support me.

@oli414
Copy link
Owner

oli414 commented Mar 10, 2023

I don't quite follow what the goal is of doing it manually? Is there something you're doing in between that the add-on doesn't do?

@spacek531
Copy link
Contributor Author

spacek531 commented Mar 10, 2023

I build objects like this

image

The goal is to make the sprites.lgx file automatically in the dir I want it in. Using the plugin's parkobj-zip is untenable because generating sprites is too slow.

@oli414
Copy link
Owner

oli414 commented Mar 10, 2023

Right okay, makes sense. You need to be able to regenerate the parkobj if you've only made changes to the object.json.

What folder structure would you suggest?

@spacek531
Copy link
Contributor Author

It sounds like the plugin desires a folder structure like this, which is acceptable to me
image

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

2 participants