Luad icon indicating copy to clipboard operation
Luad copied to clipboard

[Refactoring] Split bclist into two processes

Open imring opened this issue 2 years ago • 0 comments

At the moment, the bclist component parses and outputs the result as an array of strings (bclist::div). For simple Luad writing, should divide the component into two parts:

  • Analysis: analyzes the script, outputting all offsets of function/variable/etc.
  • String conversion: Converts the result of the analysis into text (MASM-like code) with the ability to replace the names of functions or other variables.

Why not give disluapp a task to analyze?

The goal of disluapp is to read/write the compiled script without using offsets. Also, after modification (e.g., adding a variable), you would have to completely write/read the script to update the offsets.

imring avatar Jan 03 '23 19:01 imring