TASEmulators / gens-rerecording

The Gens rerecording project, a Sega Genesis, 32x, Sega CD emulator. The primary purpose is to expand features related to creating Tool-Assisted movies.
http://tasvideos.org/EmulatorResources/Gens.html
20 stars 10 forks source link

LUA inconsistency #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Load ROM Blackthorne (32X) (U) [!].32x
2. Start running the following lua file:
while true do 
    joypad.set({left=true,B=true,C=true});
    gens.frameadvance();
end
3. Load the following savestate a few times (F5 when put in Gens folder):
http://blackboard.tudelft.nl/bbcswebdav/users/dterra/Public/Blackthorne%20%2832X
%29%20%28U%29%20%5B%21%5D.gs5

LUA does not provide the same input every time?
The script should feed LEFT+B+C to Gens every frame. From the savestate,
the hero in blue pants should start a jump and run off the screen (avoiding
the gun that comes from the ceiling). Sometimes (I didn't find any pattern)
when you load the state however, the hero will miss a frame of input which
in this case makes him do a stand-still and results in the gun shooting him.

What version of the product are you using? On what operating system?
I'm using Gens rerecording v11a on Windows Vista

ps. I have an ~50:50 chance of having the correct/wrong result so it's not
some one-in-a-million thing

Original issue reported on code.google.com by datel...@hotmail.com on 28 Oct 2009 at 3:51

GoogleCodeExporter commented 9 years ago
sorry.... just found out (from other posts in here) that it's Lua and not LUA
;)

Original comment by datel...@hotmail.com on 28 Oct 2009 at 4:05

GoogleCodeExporter commented 9 years ago
When using lua to load a state everything is fine btw. This will only happen 
when
loading a savestate manually... . still undesirable of course :)

Original comment by datel...@hotmail.com on 28 Oct 2009 at 9:23