I've recently been shown the power of scripts in the macro forum, and it's made me excited about streamlining a translation workflow. However, scripting seems way beyond my comprehension!
For a translation script, would UE be able to; measure a string length and insert at start, convert a string to hex, based on previous string, if shorter, pad with null until original length, if longer than previous string, ignore? e.g.
Input:
Find "レイヤー"
Replace "Layer"
Find "フォルダー"
Replace "Folder"
Find "ペン"
Replace "Airbrush"
Find "ファイル"
Replace "File"
Output:
Find "0C E3 83 AC E3 82 A4 E3 83 A4 E3 83 BC"
Replace "05 4C 61 79 65 72 00 00 00 00 00 00 00"
Find "0F E3 83 95 E3 82 A9 E3 83 AB E3 83 80 E3 83 BC"
Replace "06 46 6F 6C 64 65 72 00 00 00 00 00 00 00 00 00"
Find "06 E3 83 9A E3 83 B3"
Replace "Airbrush"
Find "0C E3 83 95 E3 82 A1 E3 82 A4 E3 83 AB"
Replace "04 46 69 6C 65 00 00 00 00 00 00 00 00"
For a translation script, would UE be able to; measure a string length and insert at start, convert a string to hex, based on previous string, if shorter, pad with null until original length, if longer than previous string, ignore? e.g.
Input:
Find "レイヤー"
Replace "Layer"
Find "フォルダー"
Replace "Folder"
Find "ペン"
Replace "Airbrush"
Find "ファイル"
Replace "File"
Output:
Find "0C E3 83 AC E3 82 A4 E3 83 A4 E3 83 BC"
Replace "05 4C 61 79 65 72 00 00 00 00 00 00 00"
Find "0F E3 83 95 E3 82 A9 E3 83 AB E3 83 80 E3 83 BC"
Replace "06 46 6F 6C 64 65 72 00 00 00 00 00 00 00 00 00"
Find "06 E3 83 9A E3 83 B3"
Replace "Airbrush"
Find "0C E3 83 95 E3 82 A1 E3 82 A4 E3 83 AB"
Replace "04 46 69 6C 65 00 00 00 00 00 00 00 00"