Page 1 of 1

ARK Survival Command Creator

Posted: 28 Sep 2019, 16:21
by J_D_SKAlpel
I would like to ask if anyone would help me create a skritp that would create a command from the path to a file and the file name usable in the game Ark Survival Evolved.
I know this can be done with the StrReplace function and some others. Unfortunately, my English is not so good, and the translator makes mistakes, so I don't understand all the variables what and how to do.
Here's an example of what I'd like:
In Explorer, or Altap Salamander, Total Commander etc., I select a file, press a some shortcut, and the script reads the path and file name, and creates a game command that it copies to the clipboard.
Example of path with filename:


And here the resulting string.


So all that is in front of Mods (that's always there) to replace "Blueprint '/Game/ in the rest of the file path just replace / with \ and insert the file name without .uasset but twice for separated by a dot.

I have tried several attempts, unfortunately I have always been entangled in it and I do not know what to do.

Thank you very much for your help.