No forum or anything else to discusse so...
Hello, I am trying to create my own version but when I go to constants.html and Run I don't get the same kind f result as the original file. Are we supposed to replace the whole contant of the file "constants.bundle.min.js" ??? Original is like : var constants=function(e){var i={};function
Mine is like : window.constants = {"constants": {"classes":[{"n":"Amazon","c":"ama","ts":[null,null,null],"s":{"lpl":8,"mpl":6,"spl":4,"lpv":12,"spv":4,"mpe":6}},{"n":"Sorceress","c":"sor","ts":[null,null,null],"s":{"lpl":4,"mpl":8,"sp
In mine I have a lot of "null" (you can already see that just above) and "{}" : "rare_names":[null,{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]
Same for magic_prefixes etc.
Anyone has a full guide of which files I need to extract from original storage ?
My goal is to try to create an editor that works for any mods with replacing unknow items, etc., with default item (like UdieToo did on its time, and it worked fine with a lot of mods).
You would need to make something offline then and extracting them when running your tool. The txt files you need to extract from the casc are
"data/local/LNG/ENG/string.txt",
"data/local/LNG/ENG/patchstring.txt",
"data/local/LNG/ENG/expansionstring.txt",
"data/global/excel/CharStats.txt",
"data/global/excel/PlayerClass.txt",
"data/global/excel/SkillDesc.txt",
"data/global/excel/Skills.txt",
"data/global/excel/RareSuffix.txt",
"data/global/excel/RarePrefix.txt",
"data/global/excel/MagicPrefix.txt",
"data/global/excel/MagicSuffix.txt",
"data/global/excel/Properties.txt",
"data/global/excel/ItemStatCost.txt",
"data/global/excel/Runes.txt",
"data/global/excel/SetItems.txt",
"data/global/excel/UniqueItems.txt",
"data/global/excel/ItemTypes.txt",
"data/global/excel/Armor.txt",
"data/global/excel/Weapons.txt",
"data/global/excel/Misc.txt",
"data/global/excel/Gems.txt",
Nice it works (without changing the the constants file for now).
Still, why is the format not the same as original file when I generate it ? constants.bundle.min.txt constants.bundle.min generated from original game.txt
Nice it works (without changing the the constants file for now).
Still, why is the format not the same as original file when I generate it ? constants.bundle.min.txt constants.bundle.min generated from original game.txt
i got same issue did you mange to figure it out .. if so how? x,x
Nice it works (without changing the the constants file for now). Still, why is the format not the same as original file when I generate it ? constants.bundle.min.txt constants.bundle.min generated from original game.txt
i got same issue did you mange to figure it out .. if so how? x,x
I just does what dschu012 said, extract all fils from mpq and put them at the same place as "css", "js", etc. so in at the root of the project.
For now I stoped working on it by the way as it is not my primary language.
"data/local/LNG/ENG/string.txt",
"data/local/LNG/ENG/patchstring.txt",
"data/local/LNG/ENG/expansionstring.txt",
these coems as .tbl files not txt and i also tried converting them to txt using AFJ tbl Edit 1.12u no matter how i do it the file dont generate correctly.. am i dented or what? o.o cause i got all the files mentioned in the correct folders as listed above
#188