The VG Resource
Mega Drive/Genesis ripping tutorial - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Spriters Resource (https://www.vg-resource.com/forum-110.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-114.html)
+---- Thread: Mega Drive/Genesis ripping tutorial (/thread-26177.html)



Mega Drive/Genesis ripping tutorial - LooneyTunerIan - 11-11-2014

OK, bringing this back up for questions:

I tried to open up the Gens11svn emulator, but when the moment that I do, my computer tells me that it is an invalid Win32 application and then my Norton Security Suite recognizes it as a virus and completely removes it from my computer. Sad

Does anyone have this problem, too?

Are there any better Sprite Ripping/BG Rip-Extracting Emulators out there?


RE: Mega Drive/Genesis ripping tutorial - Dazz - 11-11-2014

hmm, that's curious. Where did you download it from?


RE: Mega Drive/Genesis ripping tutorial - LooneyTunerIan - 11-11-2014

Well, last time I remembered...

I think it was in a forum post somewhere in this forum.

This one to be exact: www.vg-resource.com/thread-23494.html

This link led me to the false-working emulator: https://code.google.com/p/gens-rerecording/downloads/list


RE: Mega Drive/Genesis ripping tutorial - puggsoy - 11-11-2014

Works fine for me, and I'm not getting told that it's a virus. Personally I find this to be the best emulator for Mega Drive ripping, the palettes are accurate and you can modify the background colour using an LUA script (instead of just black).

I've been using Gens11b though, I didn't know there was a later version. Try using that version instead and see if it works.


RE: Mega Drive/Genesis ripping tutorial - LooneyTunerIan - 11-12-2014

Nevermind, I fixed the problem.

But now I've got another problem: How to change the background color from black to a different color.

Does anyone know how to do that?


RE: Mega Drive/Genesis ripping tutorial - eureka - 11-12-2014

Then you should disable Norton For a while or something like that.
My Program Has NEVER done that, so dunno what you're experiencing.


RE: Mega Drive/Genesis ripping tutorial - LooneyTunerIan - 11-12-2014

That's ok, I fixed the problem somehow.

But now I've got another problem: How to change the color of the background from black to a different color.

I know there was a color key feature, but I don't know how to get it. Sad


RE: Mega Drive/Genesis ripping tutorial - eureka - 11-12-2014

(11-12-2014, 08:55 PM)LooneyTunerIan Wrote: But now I've got another problem: How to change the color of the background from black to a different color.
LUA script.
Code:
BLUE = {r=0, g=0, b=1}
    ...
    background = BLUE
I don't know much LUA, but maybe someone can help you with that Smile


RE: Mega Drive/Genesis ripping tutorial - puggsoy - 11-12-2014

This LUA script changes the background to magenta:

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)

If you know how colour channels work you should be able to modify this to any colour you want. Magenta should be sufficient though.

Copy-paste that into a text file called "bg-change.lua". In the emulator go to Tools -> Lua Scripting -> New Lua Script Window. Click Browse and select bg-change.lua.


RE: Mega Drive/Genesis ripping tutorial - LooneyTunerIan - 11-12-2014

It works, but it won't stay in its color. Sad

It goes back to black after the next scene comes in.


RE: Mega Drive/Genesis ripping tutorial - puggsoy - 11-12-2014

Hmm, I don't know why that would happen. What do you mean by next scene? Try clicking Run in the Lua window once it's gone back to black.


RE: Mega Drive/Genesis ripping tutorial - LooneyTunerIan - 11-13-2014

No worries, I fixed the problem now. Smile All is working properly.