Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - crazygerry

Pages: [1]
1
Hello together,

this forum is awesome and it showed me some ways to play Lemmings. Thank you all, to keep Lemmings alive !
My favorite is SuperLemminiToo, especially because of all the available levels and it's easy/fast way to get it running.
Nevertheless... I'm also used to use my favorite controlls and the look and feel (sound, animation sequences)
of emulated SNES Lemmings on a modern PC (it's not that special, but I really like it).
The only drawback of the original game was the missing mouse support, so I added mouse support.
I want to share this with you, maybe someone will give it a try.

You need gocha's snes9x https://github.com/gocha/snes9x-rr or maybe another emulator with lua support,
the Lemmings ROM and the according lua script
Lemmings https://github.com/agehring80/snes-mouse-lua/blob/master/lemmings.lua
Lemmings 2 https://github.com/agehring80/snes-mouse-lua/blob/master/lemmings2.lua

Right mouse button is the Start/Pause button,
Left mouse button is the main button.
Fast forward is the TAB key.

HowTo:
1. Run gocha snes9x and load the lemmings rom
2. Load the according lua script
3. hide the lua script window (move it to the edge, or to the second monitor)
4. goto fullscreen
5. have fun

It is very cool to click the right mouse button to have a thinking break.


Keep playing :lemming:, have fun !

2
Lemmings Main / Re: Can we hack lemmings for Genesis and Snes?
« on: August 07, 2018, 09:47:15 PM »
Hello again,

now I have a solution to play the Genesis version with a mouse.

1.    Save the following code as lemmmouse.lua

Code: [Select]
function LEMMINGSMouse()
inp = input.get()
pad = joypad.get(1)
offset = -7
--cursorx = memory.readbyte(0x00FFF46D)
--cursory = memory.readbyte(0x00FFF46F)

--gui.text(2, 60, cursorx)
if(inp.xmouse+offset >= 0 and inp.xmouse+offset <= 239) then
memory.writebyte(0x00FFF46D,inp.xmouse+offset)
elseif(inp.xmouse+offset < 0) then
memory.writebyte(0x00FFF46D,0)
elseif(inp.xmouse+offset > 239) then
memory.writebyte(0x00FFF46D,239)
end
--gui.text(2, 70, inp.xmouse+offset)


--gui.text(2, 100, cursory)
if(inp.ymouse+offset >= 0 and inp.ymouse+offset <= 191) then
memory.writebyte(0x00FFF46F,inp.ymouse+offset)
elseif(inp.ymouse+offset < 0) then
memory.writebyte(0x00FFF46F,0)
elseif(inp.ymouse+offset > 191) then
memory.writebyte(0x00FFF46F,191)
end
--gui.text(2, 110, inp.ymouse+offset)


if (inp.xmouse+offset > 238) then
        pad.right = true
joypad.set(1,pad)
end

if (inp.xmouse+offset < 1) then
        pad.left = true
joypad.set(1,pad)
end

if (inp.leftclick) then
pad.C = true
joypad.set(1,pad)
end

if (inp.B) then
pad.B = true
pad.left = true
joypad.set(1,pad)
end

if (inp.N) then
pad.B = true
pad.right = true
joypad.set(1,pad)
end

end
gui.register(LEMMINGSMouse)

2.   Use Gens with LUA support.
      hxxp...adelikat.tasvideos.org/emulatordownloads/gens/Gens11svn.zip

3.   Load Lemmings (Japan).zip (MD5 21ce8bb46d99446c3d5d79e845864135) - emuparadise

4.   Load my LUAscript and enjoy Lemmings with mouse :-)

The European Lemmings version that I tested worked too.

Have fun !

3
Lemmings Main / Re: Can we hack lemmings for Genesis and Snes?
« on: August 06, 2018, 09:13:18 PM »
I have to say I agree with 607 there. The DOS or Amiga version is better suited to playing on PC than a retro console version. The SNES version only has a single level that's unique to it; plus five more levels shared only between it and Genesis. But the Genesis version itself would be a better target for a mouse hack; it has a lot of levels that aren't on any other platform (excluding fanmade clones that support as many official levels as possible; ie: Lemmix, NeoLemmix and SuperLemmini).

I guess though, there is always the "I did this to prove I can" factor - and the learning experience that goes along with that. ;)

OK. In this case, the Genesis version sounds really interesting, in deed.
I will investigate it and look for a possibility to make mouse support happening.

CU

4
Lemmings Main / Re: Can we hack lemmings for Genesis and Snes?
« on: July 27, 2018, 10:02:04 AM »
Quote
But if you're emulating it on pc, why would you play 'on SNES' at all? I feel like you might as well be playing a pc version.

Because I can !   ;-)

No seriously... I like the retro feeling. My favorite version is the Amiga version.
I like the SNES version to... but the game is annoying without mouse support.
Now it playable for me.
Off course, NeoLemmix is a good thing and I like it!
But as a great fan of SNES generally, I liked to see that we can play it with a mouse now.

Greetings
Gerry

5
Lemmings Main / Re: Can we hack lemmings for Genesis and Snes?
« on: July 26, 2018, 02:25:06 PM »
Hello,

very old thread, but I have a solution to play with a mouse.

1.    Save the following code as lemmmouse.lua

Code: [Select]
function LEMMINGSMouse()
inp = input.get()
pad = joypad.get(1)
offset = -4
--cursorx = memory.readbyte(0x7E0071)
--cursory = memory.readbyte(0x7E0073)

    --gui.text(2, 60, cursorx)
if(inp.xmouse+offset >= 0 and inp.xmouse+offset <= 246) then
memory.writebyte(0x7E0071,inp.xmouse+offset)
elseif(inp.xmouse+offset < 0) then
memory.writebyte(0x7E0071,0)
elseif(inp.xmouse+offset > 246) then
memory.writebyte(0x7E0071,246)
end
--gui.text(2, 70, inp.xmouse+offset)


--gui.text(2, 100, cursory)

if(inp.ymouse+offset >= 0 and inp.ymouse+offset <= 214) then
memory.writebyte(0x7E0073,inp.ymouse+offset)
elseif(inp.ymouse+offset < 0) then
memory.writebyte(0x7E0073,0)
elseif(inp.ymouse+offset > 214) then
memory.writebyte(0x7E0073,214)
end
--gui.text(2, 110, inp.ymouse+offset)


if (inp.xmouse+offset > 245) then
        pad.right = true
joypad.set(1,pad)
end

if (inp.xmouse+offset < 1) then
        pad.left = true
joypad.set(1,pad)
end

if (inp.leftclick) then
pad.A = true
joypad.set(1,pad)
end

if (inp.rightclick) then
pad.X = true
joypad.set(1,pad)
end

end
gui.register(LEMMINGSMouse)



2.   Use snes9x with LUA support.
      hxxps:..github.com/gocha/snes9x/releases

3.   Load Lemmings (Europe).zip (MD5 e51730370bf2b04a426b2a55b3f1972c)

4.   Load my LUAscript and enjoy Lemmings with mouse :-)

For other Lemmings rom versions I have to change the memory locations for the cursor.

Have fun !

Pages: [1]