Hi /g/,
I dont any any skills in programmation, but i can fairly read code (if its not that complicated, logical reading you see)
Actually, i have a huge lua file (around 8mb) that contains a lot of stuff and i want to extract specific string from it and save them into a new organized txt file.
Its something like :
name = xxxx
specificity = xxxx
It can be also good if this sript (or whatever is) can also "translate" the extracted value to custom name i chose (for example, if the name in code is "melee_buff_heal_tier3" it would be displayed with a name i chose for this value)
Dont know if is that possible.
And i hope i was clear enough.
Pic related.
Thx guys.
grep
>>60790268
Python 2.7
Make it search through all of the file
Something like
for line in file:
if 'name' in line:
new_txt.append(#append the name and data after the = sign and terminate if it finds a null or newline)
for names in new_txt:
name.replace(whatever string that replaces it)
>>60790268
Write a Lua script for it.
>>60790268
This is vermintide, right?
Just run the decompiled code in lua and create a function that dumps it to file.
>>60790932
This is the best option
>>60790858
>>60790932
/thread