aws-games / cloud-game-development-toolkit

A collection of infrastructure as code templates and configurations for deploying game development infrastructure on AWS
https://aws-games.github.io/cloud-game-development-toolkit/
MIT No Attribution
39 stars 8 forks source link

Feature request: Support setting Unicode mode during `p4_configure.sh` run #301

Open keith-miller opened 2 months ago

keith-miller commented 2 months ago

Use case

So, to enable Unicode support in Helix Core the following command is usually run during the p4_configure step:

p4d -xi -r <server_root>

It would be great to have this added to the p4_configure.sh setup script so that the Perforce server is ready to go before use.

Solution/User Experience

As stated above, the command can be added to p4_configure.sh

Alternative solutions

No response

henrykie commented 2 months ago

From my reading the only way to set this is after the service has started. We run p4d as a systemd managed service, and this may require more extensive modification. @GrzesiekO, any ideas?

GrzesiekO commented 1 month ago

Adding parameters with the systemctl service and p4d init scripts will require rebuilding or altering the later ones to add the -xi flag. Working on this to make sure nothing breaks in a service itself.