Blender-RCT-Graphics icon indicating copy to clipboard operation
Blender-RCT-Graphics copied to clipboard

Specify output for lgx

Open spacek531 opened this issue 2 years ago • 6 comments

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.

spacek531 avatar Mar 10 '23 09:03 spacek531

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

oli414 avatar Mar 10 '23 09:03 oli414

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

spacek531 avatar Mar 10 '23 09:03 spacek531

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?

oli414 avatar Mar 10 '23 10:03 oli414

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.

spacek531 avatar Mar 10 '23 10:03 spacek531

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?

oli414 avatar Mar 10 '23 10:03 oli414

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

spacek531 avatar Mar 10 '23 20:03 spacek531