SkillAgentSearch skills...

XVMConfigEnNativeEditor

Library for working with XVM-config in "InnoSetup"

Install / Use

/learn @StranikS-Scan/XVMConfigEnNativeEditor
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

XVMConfigEnNativeEditor

Library for working with XVM-config from "InnoSetup":

Text replacement functions

function XCTextReplace(FileName, OldText, NewText: PAnsiChar; AllReplace: Boolean): Boolean; external 'XCTextReplace@files:XVMConfigEnNativeEditor.dll stdcall';

OldText:='battle';
NewText:='bottle';
XCTextReplace(FileName, OldText, NewText, True);
function XCTextReplaceExt(FileName, OldText, NewText: PAnsiChar; SkipLineNumbers: PAnsiChar; AllReplace: Boolean): Boolean; external 'XCTextReplaceExt@files:XVMConfigEnNativeEditor.dll stdcall';

OldText:='    // false - Disable tank icon mirroring (good for alternative icons).'#13#10
         '    // false - отключить зеркалирования иконок танков'#13#10
         '    //         (полезно для альтернативных иконок).'#13#10
         '    "mirroredVehicleIcons": true,';
NewText:='    // false - Disable tank icon mirroring (good for alternative icons).'#13#10
         '    // false - отключить зеркалирования иконок танков'#13#10
         '    //         (полезно для альтернативных иконок).'#13#10
         '    "mirroredVehicleIcons": false,';
SkipLines:='[2,3]'; //The skipped line can not be the first
XCTextReplaceExt(FileName, OldText, NewText, SkipLines, False);

OldText:='    // false - Disable pop-up panel at the bottom after death.'#13#10
         ''#13#10
         '    "showPostmortemTips": true';
NewText:='    // false - Disable pop-up panel at the bottom after death.'#13#10
         ''#13#10
         '    "showPostmortemTips": false';
SkipLines:='[2]'; //The skipped line can not be the first
XCTextReplaceExt(FileName, OldText, NewText, SkipLines, False);
View on GitHub
GitHub Stars4
CategoryDevelopment
Updated10mo ago
Forks0

Languages

Pascal

Security Score

62/100

Audited on May 27, 2025

No findings