oli414 / Blender-RCT-Graphics

Blender setup and addon attempting to replicate the original Rollercoaster Tycoon 1/2 graphics.
GNU General Public License v3.0
24 stars 12 forks source link

Specify output for lgx #32

Open spacek531 opened 1 year ago

spacek531 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

oli414 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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