java.lang.Error: Invalid memory access
at com.sun.jna.Native.invokePointer(Native Method)
at com.sun.proxy.$Proxy0.definitionsModified(Unknown Source)
So enigma was working fine yesterday, but today I added a new hard drive and moved my Desktop folder (which contained enigma) and some other folders (Documents, etc - but not Program Files or ProgramData) to the new E: drive. It started throwing this error, so I reinstalled enigma to C:\gamedev\ENIGMA and tweaked the usual things:
...(I do java dev, so I needed to explicitly point it to my 32-bit java. I also told the console to stay around so I can see what's going on)
idecommand="C:\Program Files (x86)\Java\jre1.8.0_74\bin\java.exe -jar -Xms256m -Xmx1000m"
...(That directory does exist). As per the usual solution to Invalid Memory Address problems. Doesn't seem to make a difference if I change this or not, though.
Unfortunately, after the long build process, it's still throwing the exact same error as above.
I also did a "git pull", in case something was outdated, but after it rebuilt the necessary pieces, it still threw the exact same error.
This is quite bizarre since it just worked yesterday.
What exactly happens is I open ENIGMA.exe, the console appears and LateralGM appears, and the console text scrolls for a little bit, and then stops with the aforementioned error - and LateralGM shows the error in a popup.
In other words, it's during startup.
I can close the error and continue to use LateralGM without ENIGMA, but I kinda need ENIGMA, lol.
Update: Forgot to Run as administrator. It used to automatically run as admin, but the move must have changed that. Ran as admin again and it all works again.