Resource icon

FbGrab (Dingux) 27/02/2010

FBGrab Deamon Version
---------------------

What Is It ?
------------
Fbgrab is a program that lets you take screenshots from games and emulators, however up until now it was only possible to use fbgrab from a commandline console (telnet).
I made the fbgrab program into a deamon so that it keeps running in the background and listens for a certain keypress (specified in the keyconfig file), if the key (combination)
has been pressed it will make a screenshot of whatever you are currently seeing on the dingoo screen.

How To use ?
------------
first edit the keyconfig file to your liking, you can specify key combinations by just editing the current config file setting 1 if the key needs to be pressed or 0 if it doesn't.
for example this is the default keyconfig file where you'll have to press L+R+UP to make a screenshot:

SELECT=0
START=0
UP=1
LEFT=0
DOWN=0
RIGHT=0
Y=0
A=0
B=0
X=0
L=1
R=1

Do not delete any of the "not used keys" and also do not change the order of the file, after you have chosen your configiration, copy the fbgrab.dge and keyconfig file into a directory on your sd
and start the program. You won't see anything come up on the screen so when using a menu you will be returned directly back to it after running fbgrab.dge. The deamon should be running
now and whenever you press the key combination you have choosen a new screenshot will be generated in your local directy named Screenshot1.png, Screenshot2.png, Screenshot3.png... etc
It will never overwrite an existing screenshot !


Notes:
------
DO NOT RUN THE PROGRAM TWICE,
it doesn't make your dingoo explode but you will get double screenshots ! (obviously).

DO NOT FORGET TO COPY THE KEYCONFIG FILE AND DO NOT SET ALL KEYS TO 0
failing to do so will make the deamon keep taking screenshots

if you changed the keyconfig file while the deamon was already running you'll have to reboot the dingoo (or kill the previous running deamon process somehow) and restart the fbgrab deamon.

I couldn't figure out a way to let you (the user) know if they screenshot was succesfull or not (i tried audio and writing to the framebuffer but both were not a great option).
Anyway just test it out by using the default config and see if it creates your screenshots !

Credits:
--------
Deamon version created by willems davy aka joyrider

Original version sources come from this website : http://hem.bredband.net/gmogmo/fbgrab/

Thanks to the guys #dingoonity (freenode) for helping with a few issues.
General chit-chat
Help Users
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
  • BigOnYa @ BigOnYa:
    @Xdqwerty you can use a "spawner" function on any object.
    +1
  • BigOnYa @ BigOnYa:
    Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does not exist, then create enemy at certain spot. (This would be a pain tho for lots of emeies)
    +1
  • BigOnYa @ BigOnYa:
    Easiest, simple way would be just restart scene, but player would restart from beginning.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, thx in advance
    +1
  • Spider2190 @ Spider2190:
    Heya
  • Spider2190 @ Spider2190:
    How are you doing, @Xdqwerty
    ?
  • Psionic Roshambo @ Psionic Roshambo:
    Dolphin porn??? This man has my vote!!! Lol
    Psionic Roshambo @ Psionic Roshambo: Dolphin porn??? This man has my vote!!! Lol