AMP icon indicating copy to clipboard operation
AMP copied to clipboard

Additional generic update stages

Open Greelan opened this issue 3 years ago • 7 comments

This is not for requesting support for new games/applications

To do this you should go to https://github.com/CubeCoders/AMPTemplates and first attempt to build a configuration yourself - otherwise you can request a template from this repo.

Feature Request

Feature Information:

For the generic module, it would be useful to have:

  • a CopyDirectory update stage, that's capable of copying a complete existing directory, including all contents

  • a server start and stop update stage, for those servers that need to be run at least once before they are fully installed and can be properly configured (eg Unturned)

I confirm:

  • [x] that I have searched for an existing feature request matching the description.

Greelan avatar Jan 27 '22 07:01 Greelan

The latter has been done - CopyDirectory seems a little redundant if you can simply move/symlink it?

PhonicUK avatar Jan 31 '22 17:01 PhonicUK

Not aware of a "move" stage. The "symlink" stage is Linux only, so doesn't help on Windows.

The "StartApplication" stage afaik runs on every update, not just the first.

Greelan avatar Jan 31 '22 20:01 Greelan

Indeed, I'm not sure how you'd differentiate between a first start and a subsequent one.

PhonicUK avatar Feb 01 '22 11:02 PhonicUK

Well, I’d prefer not to introduce that to Unturned, coz I can see that being disconcerting behaviour for the user

Greelan avatar Feb 01 '22 12:02 Greelan

Well for Factorio AMP has to do this - it starts it once, then shuts it down and starts it again.

PhonicUK avatar Feb 12 '22 13:02 PhonicUK

And I’ve already conceded and added this to Unturned 😅

Greelan avatar Feb 12 '22 14:02 Greelan

Looks like the only outstanding item here would be to enable symlinks on Windows or a proper directory copy method.

IceOfWraith avatar Jul 27 '22 04:07 IceOfWraith

Closing this due to age and lack of dev appetite to implement (in the case of CopyDirectory). Have worked around it with executable stages.

Greelan avatar Mar 13 '23 08:03 Greelan