Меню сайта


[DS]: Half-Life Server
[DS]: Half-Life Server


[DS]: CS:S GunGame v34 Server
[DS]: CS:S GunGame v34 Server


[DS]: CS:S v34 Server
[DS]: CS:S v34 Server


Поиск

add_newДобавить новость
Последние добавленные

<JAM>
m1-palinka


HL-HEV
hl-hev

DS-Servers
Dump
Stalker
Call of Pripyat
Utilities
S.T.A.L.K.E.R Configuration File Cleaner


S.T.A.L.K.E.R Configuration File Cleaner

Добавил: The DSystem
2012-03-14 23:03:00
5 просмотров
only is this less horrifyingly ugly, but it makes editing things in Vim or other advanced text editors much easier. In other words, this script will turn the following: [pre] variable1 = 1 var2 = 2 mylongvariablename = 3 [/pre] into [pre] variable1 = 1 var2 = 2 mylongvariablename = 3 [/pre] Vertical alignment is calculated per-section, so one long variable name in a single section won\'t push all the alignments way off to the right. Tabs are used on both sides of the equal sign so that block-assignments such as [pre] var = val1, val2, val3, val4 [/pre] retain their correct alignment, without needing to mix spaces and tabs (always the wrong thing to do).
This is a simple perl script to make the configuration (.ltx) files in STALKER less unreadable; it does this by making variable assignments within sections all align vertically with one another. Not
File Name:
cleanconfigs.zip
File Size:
2.7 KB
Download Last 2 Week:
3
Downloads All Time:
172
Поделиться:
Тэги: