Commit Graph

21 Commits

Author SHA1 Message Date
CPunch 63756b3bcd ported refactoring from LuaDecompy 2022-09-01 15:12:32 -05:00
CPunch 379efb0f82
Update README.md 2022-08-11 16:14:40 -05:00
CPunch 8a1802ad9b better _get_bits() 2022-08-10 17:39:51 -05:00
CPunch 3eecd3a8b0 Added some comments that explain some '???' moments 2021-12-08 16:35:04 -06:00
CPunch efb4ef5035 Added some minor context info 2021-12-08 16:26:29 -06:00
CPunch fda8ec118c Fixed local vector deserialization
- minor refactoring
2021-12-08 16:19:08 -06:00
CPunch 0b94b64c89 Major refactoring
- Added enums
- Added structures to hold data instead of huge generic dictionaries
- Pretty sure my instruction register decoding was wrong, but it works properly now (checked against chunkspy)
- Leaves room for some better dissasembly annotations in the future
2021-12-08 15:53:40 -06:00
CPunch 74dfb5f241 More sensible get_bits() implementation 2021-04-11 18:47:59 -05:00
CPunch 88d669f3c8 Refactoring, remove compiler support
- LuaCompiler has been renamed to LuaUndump
- LuaUndump has been striped of the connection to luac, focusing on strictly parsing Lua 5.1 bytecode, not compiling.
- Updated README.md to reflect changes
2021-04-09 09:21:55 -05:00
CPunch 005567fee1 Added loadBlock for abstraction purposes
This was for a personal project where the bytecode was XOR'd with a key. Each call
to lundump.c:LoadBlock() xor'd the data against a static key. This lets me easily
reimplement that behavior.
2021-04-08 23:16:14 -05:00
CPunch 82fea6cf8f
i'm an idiot
wow i am so dumb
2019-08-15 15:04:35 -05:00
CPunch a6f1318373
better examples 2019-08-15 12:03:53 -05:00
CPunch a5cbcfd1f6
better readable code 2019-08-15 12:02:55 -05:00
CPunch 97c558956e
updated example 2019-08-15 11:25:34 -05:00
CPunch 9bdeecc601
removed unused function 2019-08-14 15:47:42 -05:00
CPunch 559ea05287
fixed get_double 2019-08-14 15:47:18 -05:00
CPunch 1d965e8684
fixed dumb dumb comments left over
the function used to get the bytes at the position with k as the size. lol
2019-08-14 15:25:09 -05:00
CPunch 636e00bc01
whoops 2019-08-14 15:19:24 -05:00
CPunch a45b04af15
inital release 2019-08-14 15:19:03 -05:00
CPunch 4fdaf0542b
intial readme 2019-08-14 15:18:12 -05:00
CPunch 4c9b2c0cb4
Initial commit 2019-08-14 14:59:33 -05:00