Post subject: Gens for ripping level maps
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11478
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Our common Gens 11 is awesome for creationg lossless AVIs from movie files. It even allows to handle with layers. But it can't change the canvas color, which is black when the A layer is off. Maxim from VGMaps has made a mod that allows to change this color directly in Config file & switch it from black to pink in CPU - Degug - Layers menu. http://www.vgmaps.com/forums/index.php?topic=540.0 He released a source, so maybe anyone could compile our Gens with his "Color key" option? http://www.smspower.org/maxim/forumstuff/gens_kmod_maxim_src_20081024.zip Then both our & their community would thank you for that feature. ---- Why I don't use his own mod for ripping maps? It allows recording movies, but no rerecording & can't even play back properly. Also, it allows screenshots, even every frame, but can't export AVIs. And at last, it's not so handy in total. And AVIs are necessary because the special tool Screenshot Autostitcher recognizes lossless video besides screenshots, which is far more easy to work with.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Post subject: Gens11b-CanvasColor.lua
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11478
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
The problem was happily solved! One shall get the latest version of Gens-rr (either svn, or 11b) & JUST run that script: Download Gens11b-CanvasColor.lua
Language: lua

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)
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.