Open littlegamer87 opened 5 days ago
Hello, I don't remember if I modified it or not, I think at some point it was working on snes9x-rr and bizhawk, but now it probably only works on bizhawk 2.6 or lower.
Thank you for responding. Unfortunately can't confirm, 2.6 also is one of those versions that doesn't seem to like the bitwise operations.
NLua.Exceptions.LuaScriptException: [string "main"]:36: unexpected symbol near '>'
https://github.com/Skarsnik/sneshacking/blob/c0813fb3386a6c4c842ecd5d3e135811bd621aac/Lua/alttp%20colision.lua#L36
If I comment out the line, it halts on the next line on the '|' operator. I tried getting these bitwise operations working with some dlls and require
, but no luck. What am I missing here?
https://github.com/Skarsnik/sneshacking/pull/15 breaks this script. Reverting to the bitwise functions from the bit library allows the script to run in snes9x-rr 1.57, potentially more. Current 'cleaned up' version does not run anywhere in my experience
Did you try with bizhawk 2.2 ? But good if you found a version that work x)
Le jeu. 17 oct. 2024 à 12:51, littlegamer87 @.***> a écrit :
15 https://github.com/Skarsnik/sneshacking/pull/15 breaks this script.
Reverting to the bitwise functions from the bit library allows the script to run in snes9x-rr 1.57, potentially more. Current 'cleaned up' version does not run anywhere in my experience
— Reply to this email directly, view it on GitHub https://github.com/Skarsnik/sneshacking/issues/16#issuecomment-2419198531, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDBK77U4M5Q3PD2XFRHJHDZ36JEPAVCNFSM6AAAAABQAYPG42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJZGE4TQNJTGE . You are receiving this because you commented.Message ID: @.***>
I don't think 2.2 exists. Any version of Bizhawk I try (oldest one is 2.4) gives an error of attempted read outside the memory. This one I am not able to explain.
Hi,
I tried your LUA script for alttp collision, but I can't get it to run. All snes9x-rr versions I've tried fail on the bitwise operations with an unexpected symbol error. A more recent bizhawk probably has a later lua version, but gives errors like "Warning: attempted read of 8260948 outside the memory size of 131072".
What did you use (emulator version and rom) to get this script to run? Help would be appreciated.