Here's a question regarding the CON files.
Is there any real reason that LUA used in them needs to be compiled?
I find the compiling step to be a real pain in the ass when editing CON files
Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators
PurpleYouko wrote:Here's a question regarding the CON files.
Is there any real reason that LUA used in them needs to be compiled?
I find the compiling step to be a real pain in the ass when editing CON files
Sethanye wrote:and that's it? lol seems kinda pointless, i mean there isn't that much data compared to like stbs with 6k+ entries.
Juan wrote:Maybe it's faster to execute.
PurpleYouko wrote:Juan wrote:Maybe it's faster to execute.
No it will actually be slower to execute since it has to be XORed and then decompiled before it can even be used.
Assuming the CONs are all loaded then stored in memory then it will load slower but then be ok
Assuming CONs are loaded on need then they will still load a lot slower and the operational speed will remain the same.
I see no advantage (other than saving a few bytes of storage space) in encrypting or compiling the LUA. There aren't that many CON files anyway and the LUA in them is pretty small.
PurpleYouko wrote:Juan wrote:Maybe it's faster to execute.
No it will actually be slower to execute since it has to be XORed and then decompiled before it can even be used.
Assuming the CONs are all loaded then stored in memory then it will load slower but then be ok
Assuming CONs are loaded on need then they will still load a lot slower and the operational speed will remain the same.
I see no advantage (other than saving a few bytes of storage space) in encrypting or compiling the LUA. There aren't that many CON files anyway and the LUA in them is pretty small.
Return to [Project] Custom client (new 3d engine, new files formats)
Users browsing this forum: No registered users and 2 guests