Page 1 of 1

How to default the setting of properties again

Posted: October 11th, 2011, 9:02 am
by Konsong
Hey Guys,

I've changed the properties as well as the default properties in either slk object optimizer or xdep but if i try to put the inputmap (mymap.w3x or yourmap.w3x) it says cant open file mymap.w3x or cannot find source map file yourmap.w3x i just do it because i am trying to change the mode from optimizer into data recovery for slk object optimizer.

so guys please help me how i can change that properties into its original settings and able to open the file because before it didnt work i did apply properties to current window only

thanks guys who can help in this problem!

Re: How to default the setting of properties again

Posted: October 11th, 2011, 10:33 am
by naturesfury
hmm?
don't really get what you're saying but from what I gather, you are working with SOC or xdep and you need to change the config back to the original settings?
if so...you can just redownload it

Re: How to default the setting of properties again

Posted: October 11th, 2011, 12:40 pm
by Konsong
ive already tried to re-download the silk object optimizer or xdep, to copy the file from other computer (its work in other computer) to me and to extract it in my computer and also to copy and set all properties settings of slk object optimizer or xdep from other computer into mine but also it didnt work.

so i am just asking if there is other way to solve this problem and work properly my 2 programs.

Edited: Its not a SOC but it is silk object optimizer or silk object v3.2.

Request: Maybe you can give me the latest version of SOC not the optimizer but data recovery or just tell me how to change the mode from optimizer into data recovery for silk object optimizer or SOC.

thanks guys!

Re: How to default the setting of properties again

Posted: October 11th, 2011, 2:09 pm
by GeorgeMots
Thats how it should be. Copy spoiler and save as config.ini
Spoiler:
// Maximum string length = 65535

// Path to map u want to process (optimize or recover)
// It's recommended to use wc3map optimizer to decrease map file size after optimization,
// however, vxopt seems not to work properly with slk tables optimized with this tool =\
// The path to the map you want to handle
INPUT_MAP = MyMap.w3x

[ListFiles]
// Internal listfile name
// Name fayllista
MPQ_LISTFILE = (listfile)
// External listfile name
// Basic external fayllist
EXTERNAL_LISTFILE =

[Recovery]
// Set this parameter to 0 for map optimization
// or to 1 for object data recovery (recovered w3* files are put in the same folder with executable)
// If this flag is set, then the card will be restored by the method of restoration of object files (instead of the optimization).
// Recovered object files will be placed in a folder with the executable file, with the remaining files will remain unremoved.
EXPORT_OBJECT_DATA = 1


// Relative paths
// Relative paths
[Paths]
// Subfolder containing standart object files
// Subdirectory with the standard object files
STD_DIR = STD\
// Subfolder containing meta-tables
// Subdirectory with meta-tablitsami
META_DIR = META\
// Working dir for temporary files which also contains output map
// Working directory for temporary files, also in this folder is updated result - Treated map
WORK_DIR = OUT\
// Temporary files extension
// Extension for temporary files
MPQ_TEMP_FILE_EXT = .tmp

// Parameters of the next section to change is strictly not recommended
[System]
// Responsible for removing the script file card Scripts \ war3map.j from the previous session, if the flag is disabled, you should delete the file manually before each run, otherwise you may have errors due to the fact that the wrong script file
REMOVE_SCRIPTS_WAR3MAP_J = 1
// Optional external fayllist
//! Option is not used yet!
// CUSTOM_LISTFILE =
// Use the same external and fayllist, even if that card was found fayllist (in the map may be empty or invalid fayllist)
ADD_EXT_LISTFILE = 1
// Primary Key Table
KEY_FIELD_CODE = code
// The maximum increase in the number of files
NEW_FILES_MAX_COUNT = 60
/ / Maximum index fields - change is strictly forbidden, crashes when loading map
/ / Default: 0
/ / Value <0: the level is not limited
/ / Value = 0: the level is chosen according to the meta-tables
/ / Value> 0: its significance level
SLK_LEVEL_LIMIT = 0
/ / Set the flag can eliminate some of the errors associated with the old format for object files, however, if the object files are present objects without modification, it will not be correctly read
OLD_STYLE_POSSIBLE = 0


/ / Section Optimization
[Optimization]
/ / Do not handle objects of type Destructable - they remain unchanged
SKIP_DESTRUCTABLES = 1
/ / Do not handle objects such as Doodad - they remain unchanged
SKIP_DOODADS = 1
/ / Align your text fields - simply removes the spaces from the left and right values
TRIM_TXT_DATA = 1
/ / Removes the extension. Mdl and. Mdx where this is possible without loss of efficiency maps
REMOVE_MDL_EXTENSION = 1
/ / Does not write zero values in the SLK table and TXT files - they are empty
REMOVE_ZERO_VALUES = 1
/ / Remove fields that lack thereof in META - tables, and optional for playing field
REMOVE_EDITOR_ONLY_FIELDS = 1
/ / Fields that are considered optional
EDITOR_ONLY_FIELDS = race, EditorSuffix, tilesets, campaign, inEditor, isEffect, EditorName

/ / Script file cards (war3map.j)
/ / Do not change the original script
DONT_CHANGE_SCRIPT = 1
/ / Remove comments
REMOVE_COMMENTS = 0
/ / Remove the padding
REMOVE_INDENTS = 0

/ / Optimize files to objects (w3a, w3b, w3u, w3d, w3h, w3d)
OPTIMIZE_W3O = 1
/ / Delete empty fields in a text file
REMOVE_NULL_TXT_FIELDS = 1
/ / Remove unused fields
/ / If the option will remove the objects that can not be displayed in the game (a description of units for purchase, construction costs, etc.), if the card is used to add effects or trigger unit to the store (type functions AddItemToStock ), then this option may be to remove the required fields
/ / Value <0: auto - if the script uses the trigger additions to the shops (type function AddItemToStock), then the fields do not will be removed
/ / Value = 0: the field will not be removed in any case
/ / Value> 0: fields will be removed in any case
REMOVE_INVISIBLE_FIELDS = -1
/ / Fields, among which is sought objects that can not be cleansed of special fields
BUY_OBJECT_FIELDS = Makeitems, Sellitems, Builds, DependencyOr, Sellunits, Trains, Upgrade, Researches, BuffID, heroAbilList, abilList
/ / Special fields that can be removed for NOT visible objects
VSTATUS_BUY_COMMON = stockMax, stockRegen, stockStart, Buttonpos, Tip, BuildingSoundLabel, Requirescount, Requiresamount, DependencyOr, bldtm, preventPlace, requirePlace, goldbase, goldmod, lumberbase, lumbermod, timebase, timemod, checkDep
/ / Special fields that can be removed for objects NOT visible in case object is not to resurrect
VSTATUS_REVIVE_COMMON = Awakentip, Revivetip
/ / Special fields that can be removed for NOT visible objects such as Upgrade
VSTATUS_BUY_UPGRADE = Art
/ / Special fields that can be removed for NOT visible objects such as Ability
VSTATUS_BUY_ABILITY = Researchbuttonpos, ResearchArt, Researchtip, Researchubertip, Researchhotkey, reqLevel, levelSkip


/ / In this section are defined unused objects to be omitted from object files
[Object References]
/ / Depth of search-related objects - most of the time the utility has specifically search for related objects
/ / The depth corresponds to the depth of retained search for identity among the fields of the object, respectively, the less the depth, the faster the search, the smaller the volume of object files and the smaller objects will be left on the card (and thus more likely be short of any Object)
/ / If it Does not value: 2-6, however, there is no restriction on the value
/ / Depth <0: From the object files will not be removed, no object
/ / Depth = 0: In the first stage the search is among the objects arranged on a map - that is, all the identifiers of objects are searched for in the script file card war3map.j (definitely will be found all objec used in triggers), it should be noted that objects can be created with the implied identifiers - for example, with the number instead of ID, such objects are not detected. Just found out to be objects that are present only in the comments
/ / Depth = 1: The object files will all spaced objects, and those to which they refer in their fields, for example if your card is installed unit, it will be on his own, as well as all his ability, dependence, and so improve n.
/ / Depth = 2: For example if your card is installed unit, it will be on his own, as well as all of his abilities (and dependence, improve, etc.), as well as all buffs posted abilities
MAX_REFERENCE_DEPTH = 999

/ / When looking for check
/ / Fields with a list of identifiers
REF_SCAN_LIST = 1
/ / Fields of types of objects (or lists of types of objects, if set REF_SCAN_LIST flag)
REF_SCAN_ABILITY = 1
REF_SCAN_BUFF = 1
REF_SCAN_EFFECT = 1
REF_SCAN_ITEM = 1
REF_SCAN_TECH = 1
REF_SCAN_UNIT = 1
REF_SCAN_UPGRADE = 1
/ / Exceptions (objects that must be present in the map in any case)
/ / Standard exceptions
USE_BASIC_UNITS = 1
BASIC_UNITS = hpea, nwgt
USE_BASIC_EFFECTS = 1
BASIC_EFFECTS = YTlb, Ytlc, YTab, YTac, YTfb, YTfc, YTpb, YTpc
USE_BASIC_ABILITIES = 1
BASIC_ABILITIES = Anei, Agld, Awrp, Adda, Ahar, ANha, Aalr, Aatk, ANbu, AHbu, AObu, AEbu, AUbu, AGbu, Abdt, Ane2, Asud, Aihn, Aien, Aion, Aiun, Asid, Argl, Argd, AHer, Aawa, Arev, Arlm, AInv, Apit, Achd, Amin, Aall, Aneu, Apit, Apiv, Aloa, Adtg, ANtr, Adro, Sdro, Arng, ARal, Awan, Avul, Abdl, Abds, Amnx, Amnz, ACsp, Adtn, Abun, Sloa, Arep, Ahrp, Abgm, Ahrl, Aegm, Aetl, Aren, Aloc, Amov, Afir, Afih, Afio, Afin, Afiu, Atol, Agho, Aeth, Abgl, Abgs, Alit, Ault, Auns, Atru
USE_MELEE_OBJECTS = 1
MELEE_OBJECTS = hpea, htow, opeo, ogre, uaco, ugho, unpl, ewsp, etol, stwp

/ / Exceptions, User defined to enter here
CUSTOM_OBJECTS =

/ / Additional options
[Extraz]
/ / Sort table fields
REARRANGE_SORT_SLK = 0
/ / Automatic correction of errors in input TXT files (missing commas, quotation marks, etc.) can lead to errors in the Object
TRY_ERROR_CORRECTION = 1
/ / Automatic correction of errors in input TXT files (bug fixes Widgetizer'a), can lead to errors in the Object
FIX_MISTMACHES = 0
/ / Additional checking of value types
DO_EXTRA_VALUE_TYPE_TEST = 1
/ / Flag which is responsible for creating the optimized map fayllista
ADD_LISTFILE_TO_OUTPUT = 1
/ / Delete files editor (w3c, w3s, imp, w3r, wct, wtg, war3mapUnits.doo)
REMOVE_EDITOR_FILES = 0
/ / Ignore errors and warnings
SKIP_GETCH_ERRORS = 0

Re: How to default the setting of properties again

Posted: October 12th, 2011, 4:51 am
by Konsong
oh thanks georgemots, thats what i am waiting before, the data recovery mode but my problem is right now that my 2 programs which are silk object optimizer and xdep dont work properly even there are inputmap exist such as mymap.w3x and yourmap.w3x because before it didnt work, i change some setting in properties as well as the default properties in slk object optimizer and also xdep was affected because i save the properties and it says apply properties to current window only and i click OK.

but if i try in other computer, those 2 programs work properly.

maybe the problem is i already save the properties permanently in my current window, and it still doesnt work until i must change the current window or maybe there is other tool in computer that can solve this problem and if you guys have any idea how to solve this problem, please free to reply with my topic

Re: How to default the setting of properties again

Posted: October 12th, 2011, 8:06 am
by haxorico
Any reason you got space between some of the comment lines?
at the top you have "//"
and somewhere at the bottom its "/ /"

Re: How to default the setting of properties again

Posted: October 12th, 2011, 12:24 pm
by GeorgeMots
Make sure the map is not in use.