All 4th Gen pokemon games don't work without BIOS. Extracting it from your console or importing it from an online one didn't give me any problem, never got the green check tho :/
When i open the hex editor, while i use a DS game, and i try to scroll down or jump to an address the app crashes and give me this error:
https://pastebin.com/PGY3sZCF
After this, i get this Exception window:
https://pastebin.com/LuDX9y6T
Last commit also seems to have broken the firmware.bin BIOS detection. I'm getting this error when i try to set the firmware.bin:
https://pastebin.com/KzVmvpJm
sha1:22A7547DBC302BCBFB4005CFB5A2D426D3F85AC6
I'm not getting the green check, but orange question mark. I can anyway boot in both screens (warning and main one)
It would be great to be able to fix time too.
Also lua writings in screen aren't anchored to the correct screen position. If you reduce windows size, they disappear
I'm having problems in loading save files. I tryed all pokemon games but 4th gen games (Diamond/Pearl/Platinum/HeartGold/SoulSilver) always gives me the blue error screen.
Saving in game works great, save files are created correctly, the problem is always loading them with these games.
th gen Pokémon games instead save and load save files without any problems.
Other thing is that i can't load the BIOS firmware.bin file. I successfully loaded bios7.bin and bios9.bin, but firmware.bin gives this error: note: given hash is with blank user data)
The solution wasn't a solution to the generic problem of saving a value on a savestate.
It was a solution to the specific problem which could be solved without that feature.
How?
Here's my example but it doesn't fire consistently for some odd reason.
Language: lua
prev_keys = input.get()
function lol()
keys = input.get()
if keys["shift"] then
if keys["F1"] and not prev_keys["F1"] then
print("Hey you saved state 1!")
end
end
prev_keys = input.get()
end
gui.register(lol)
I was also thinking a something like that. Does it works?
Attach to keyboard key that you use to save a state?
I need to make save state and reload back all the value...but the problem is that i can't relaod the correct "frame". I can pass you the code if you want...so you can understand...
There is no function in DeSmuMe that is being called when you save a state.
The only thing you can do is use lua itself to save a state (with the savestate.save() and savestate.load() functions).
Ah ok...so there is no solution for this t.t thanks!
I'm making a lua script for DeSmuMe. I want to use this command to save a value on save state: savestate.registersave(function() return frame end). But the emulator gives me this error: :50: attempt to call field 'registersave' (a nil value). Why? How can i solve this error?