Results 1 to 1 of 1

Thread: Mac Loc File Installer - Example

  1. #1
    Inventor stasis78's Avatar
    Join Date
    Jul 2018
    Posts
    919
    Rep Power
    1

    Mac Loc File Installer - Example

    Hello there!

    Here is an example of creating a Mac loc file installer script.

    https://github.com/stasis78/7dtd-mod...acLocInstaller

    Simply create your Localization.txt with some prefix (i.e. "myCoolMod_") on all the keys (the first column in the csv file).

    Then you just need to modify the following lines in the script.

    Code:
    # CHANGE THIS TO YOUR MOD FOLDER NAME
    MY_COOL_MOD_NAME="TestMod"
    This should be the name of your mod folder.

    Code:
    # ALL LOC STRINGS SHOULD BE PREFIXED WITH THIS
    MY_COOL_PREFIX="myCoolMod_"
    This should be the prefix for all your string keys.

    Note that if you are editing this on windows do NOT use the built in windows text editor. Notepad++ is highly recommended. If the LFs are converted to CRLFs then Macs will not be happy

    The InstallStrings.command is already chmod +x but you may need to verify this after editing. Iím not sure how well windows will handle Unix permissions after editing. Sorry!
    Last edited by stasis78; 03-24-2019 at 05:09 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •