July 30 2016

Old AR demo I made forgotten about until Pokemon Go appeared.

Some time back i tried the hole Augmented Reality thing and now that Pokemon Go is so popular

I remembered this project that i did below is a video showing a demo of the project that i did:

If you enable your Webcam in this flash app you can try it your self.

The X-wing will rotated on the Code and if you move it it will follow your movement.

Needs Webcam!

This code is used to display the xwing print it out or display it on your tablet or phone

Place it so the webcam can see the code

Category: 3d Model, augmented reality, Coding, Design, DIY | Comments Off on Old AR demo I made forgotten about until Pokemon Go appeared.
June 25 2016

New Mp3 player for my Touchscreen Radio.

unnamed
 Last week i tried DWjukebox on my Touchscreen Radio,
the read me file states that it will not work with a touchscreen or mouse above windows xp
 
So i lost all my touchscreen goodness if i use that program.
I did a search for alternative for it but could’t find any good that looked good enough for standalone player….
So i decided to code my own version in Visual Studio 2010 (VB)
It works very easy:
 First time you run the program you will need to setup the Database.
I do this by making a simple TXT file containing the location of the files.
First select the location of you mp3 files:
Example users/My Music
Then Press the button Prepare TXT and wait until the console screen closes it self and
you return to the first screen.
The program will use a predetermined folder for saving the TXT file.
if you click the Use Mp3 TXT file you will be pointed in to the right folder.
Just select the mp3list.txt and the contend of the txt file will be loaded in to the database.
You can check it and I suggest you do this the first time you Run the program.
When you don’t check the database the Jukebox player will not load the database.
But if you close (click the 25 cent button) and restart it will load the Jukebox and the database
directly. This is a little bug and is in reality very easy to fix only did’t do it for now.
Honestly its not that a big bug because it will only happen at first setup. After setup it will correct
the bug at loading.

Demo video, sorry for no original music from the video.
The source code and the project files are available on Github.
A compiled version can be Downloaded here: Touchscreenmp3Radio
June 10 2016

Lets Play some Games…

My Console games and other things:
Lets Play some Games…
My Game corner:
Lets Play some Games…
 Dreamcast online, N64 running fire demo, Pc ready for playing half life 2 survivor…
Lots of old consoles and hardware 😀

 

 

 

Category: Games, Photo's | Comments Off on Lets Play some Games…
May 9 2016

Progress on the Gameboy Pi

raspberry_pi_gaming_pigrrl-adabot
 
 
 
 

Some progress pictures for my Gameboy Pi

Gameboy Pi install:

Make sd img from 2016-03-25-28c.img
Then install retropi:

sudo raspi-config

Enable ssh
Resize SD
Disable boot Gui boot Console:

sudo reboot.

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y git dialog
cd
git clone –depth=1 https://github.com/RetroPie/RetroPie-Setup.git
cd RetroPie-Setup
chmod +x retropie_setup.sh
sudo ./retropie_setup.sh

Install binary-based.
Install fb

sudo apt-get install cmake
sudo apt-get install libbsd-dev

Create file: /usr/share/X11/xorg.conf.d/99-fbdev.conf

sudo nano /usr/share/X11/xorg.conf.d/99-fbdev.conf

add in nano

Section “Device”
Identifier “myfb”
Driver “fbdev”
Option “fbdev” “/dev/fb1″
EndSection

Exit Nano

sudo apt-get install cmake
git clone https://github.com/AndrewFromMelbourne/raspi2fb
cd raspi2fb/
mkdir build
cd build
cmake ..
make
sudo make install
sudo cp ../raspi2fb@.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable raspi2fb@1.service
sudo systemctl start raspi2fb@1

TEST

sudo nano /etc/rc.local
add before exit 0
sudo systemctl daemon-reload
sudo systemctl enable raspi2fb@1.service
sudo systemctl start raspi2fb@1

END TEST

sudo dpkg-reconfigure console-setup

Select “UTF-8”, “Guess optimal character set”, “Terminus” and “6×12 (framebuffer only).”

sudo nano /boot/config.txt

Add

framebuffer_width=810
framebuffer_height=540
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt=320 240 51 1 0 0 0
dtoverlay=pitft28-capacitive-overlay,rotate=90,speed=80000000,fps=51
gpu_mem=44

sudo nano /etc/emulationstation/themes/carbon/carbon.xml
fontSize to 0.05

Controls

cd
git clone https://github.com/adafruit/Adafruit-Retrogame
cd Adafruit-Retrogame

Edit the file retrogame.c, looking for the table called ioStandard (not the ioTFT table — that’s for other projects). Each line in brackets represents one pin on the GPIO header and a corresponding key code.
The full list of available keycodes can be found in /usr/include/linux/input.h
raspberry_pi_retrogame.png
After editing, compile and install the code with:
Copy Code

make retrogame
sudo mv retrogame /usr/local/bin

To make retrogame start automatically when the system boots:
Copy Code

sudo nano /etc/rc.local

Before the final “exit 0” line, insert this one line:

Copy Code

/usr/local/bin/retrogame &

Just one more file needs editing, so that EmulationStation recognizes retrogame as a keyboard:
Copy Code

sudo nano /etc/udev/rules.d/10-retrogame.rules

Copy and paste this line exactly into the new file:
Copy Code

SUBSYSTEM==”input”, ATTRS{name}==”retrogame”, ENV{ID_INPUT_KEYBOARD}=”1″

Reboot and you should now have “virtual” keys associated with GPIO buttons.

Category: DIY, Linux, Mod´s, Raspberry Pi, Retro Hardware, Soldering | Comments Off on Progress on the Gameboy Pi
April 8 2016

Half Life² Survivor 2.0 Nesys Simulator App Wip

Here is a construct of my new Half Life² loader.
I bought a Rfid reader and now i want to simulate the arcade feeling more.

In later clips you will see the custom player menu´s weapon shop item shop etc.

This clip shows the possible way´s to save or load the game.

Will add a option for dual screens so you can have a marquee effect:
show loading maps have player info etc…

this app/loader will give you the beste Half life² survivor arcade experience that you can have on pc.

 

Category: Coding, Design, DIY, Games, hl², Homebrew, Mod´s, PC, RFID | Comments Off on Half Life² Survivor 2.0 Nesys Simulator App Wip