Users browsing this thread: 4 Guest(s)
A Tip for Ripping Genesis Sprites
#9
Exclamation 
Guys now you don't need even to hack savestates!
The simple LUA script was created to change the canvas color any way you like!
It works only with Gens-rr 11b & Gens11svn296
http://code.google.com/p/gens-rerecordin...loads/list

Code:
gens.registerbefore(function(address,size)
  local p,t=vdp.readpalette(1,1);
  local c=pal.getcolor(t[1],1);
  c.A=255;
  c.B=255;
  c.G=0;
  c.R=255;
  pal.setcolor(t[1],1,c);
  vdp.writepalette(1,t[1]);
end)
Download this script here:
http://feos-theos.narod.ru/Gens11b-Canvas-Color.lua

I don't know what does c.A= do, but the rest are RGB setup for backdrop color.


Attached Files
.zip   Gens11b-Canvas-Color.zip (Size: 285 bytes / Downloads: 264)
Thanked by:


Messages In This Thread
A Tip for Ripping Genesis Sprites - by TheouAegis - 03-25-2010, 10:25 AM
RE: A Tip for Ripping Genesis Sprites - by feos - 04-03-2011, 07:33 AM
RE: A Tip for Ripping Genesis Sprites - by feos - 09-28-2013, 02:06 PM
RE: A Tip for Ripping Genesis Sprites - by Dazz - 09-29-2013, 12:29 PM

Forum Jump: