[SOLVED]Export all masks at once?

Started by Stranga, Mon 22/08/2022 04:43:36

Previous topic - Next topic

Stranga

Hello everyone,

I'm not sure if this is a thing but I was wondering if I could export all masks for every room at once rather than going into each room and exporting them one by one. Just a convenience thing really but if not I'll manage :)

Thank you all in advance!

Crimson Wizard

Not in the editor, but the room format is known, so someone might write a tool that extracts masks or backgrounds.
For example, we have a tool that imports/exports scripts into rooms, it may be expanded to work with other parts:
https://github.com/adventuregamestudio/ags/tree/master/Tools/crmpak

Stranga

That would be a useful tool! I'm currently remastering an old game of mine and wanted to upscale the resolution so exporting all the masking data is becoming a tedious project, ha! I did come across this plugin that exports everything to XAGE but it isn't compatible with AGS 3.6.0 unfortunately.

https://www.adventuregamestudio.co.uk/forums/index.php?topic=39050.msg514426#msg514426

Crimson Wizard

#3
Sorry, I just realized, that you could download the experimental AGS 4 build, which converts rooms into directories, and all parts are stored separately. Make a copy of your game, open it in AGS 4 editor, and you will receive RoomN folders with masks and backgrounds in them.

https://cirrus-ci.com/task/6671755447107584
^ this is the latest build; scroll down to "Artifacts" and choose either "archive" or "installer".

You may then continue using AGS 4 (although it is considered to be not stable), or take these resulting assets and import them to your 3.5 or 3.6 project.

EDIT:
if you have trouble loading the much older game in AGS 4, then try first opening it in 3.6.0, saving, and then opening in AGS 4.

Stranga

Thanks, CW.I'll check it out and do that method if my quick fix doesn't work. Alternatively I've been playing around with camera settings and may be able to center the camera over the player. It would save the trouble of having to edit all the backgrounds of every room to fit the upsized resolution. Is that possible? If not I will use your method.

SMF spam blocked by CleanTalk