danielmeinert / objectcreator

A new program to edit and create OpenRCT scenery objects
GNU General Public License v3.0
1 stars 3 forks source link

Add .parkobj support #6

Closed Richard-L closed 1 year ago

Richard-L commented 1 year ago

Not sure if this is within the intended scope of the project?

danielmeinert commented 1 year ago

The programm entirely runs with parkobj. Dats are imported, not the other way round.

Richard-L commented 1 year ago

You don't want to support the importing of parkobj? It feels like a very relevant thing going forward.

danielmeinert commented 1 year ago

What I meant is that internally everything is a parkobj. dat objects get converted internally into parkobj when loading. In fact you can only save as parkobj and of course already load parkobj as well as .json files (as in the 'official' OpenRCT objects).

Richard-L commented 1 year ago

Yeah I understand.

But if you wanted to use sprite content from an existing parkobj, you couldn't do that currently could you? You'd have to extra the object and manually import the sprites.

But even just to have data about a parkobj parsable outside of the game itself would be useful.

danielmeinert commented 1 year ago

You can load the existing parkobj file and copy the sprites around.

But even just to have data about a parkobj parsable outside of the game itself would be useful.

What do you mean by that?

Richard-L commented 1 year ago

How do you load existing parkobj? 🤔

danielmeinert commented 1 year ago

Through the loading window. Of course it has to be a SS parkobj.

Richard-L commented 1 year ago

It only lets me load .DAT though. .PARKOBJ aren't even a filetype I can choose. Unless I'm missing something.

danielmeinert commented 1 year ago

grafik This is what shows me in the object load window. Can you post a screen of yours if it's different?

Richard-L commented 1 year ago

Thanks for getting back again. I think I had an accidental filter for DAT files only, probably due to an unlucky mousewheel at some point.

Small scenery PARKOBJ work perfectly 👍