July 4

Dreancast: Daytona USA 2001 Online.

DT Logo

Did a quick packet capture for Daytona USA.

Download the captures form my G-Drive

But I found a few IPs and ports:

185.94.111.1:46287 (MEMCACHE Continuation):
Stats

Looks like chat protocol used maybe IRC like I have seen that they use that for other games too.

Here are the ips for TCP
45.82.153.2:40695
46.3.96.69:45036
5.188.87.19:45442

Full info of the 3 IPs below:

Captures

 

 

Captures

 

 

Captures

 

 

Here are the reset command because there is no server to reply on..

Captures

 

 

 

Captures

 

 

Category: DIY, Dreamcast, Info, information, Raspberry Pi | Comments Off on Dreancast: Daytona USA 2001 Online.
June 9

My Oric 1 Pi zero case :-D

o1logo1
Meet the Oric Atmos 1
220px-Oric1
Today it was father’s day and I wanted to make something special for my dad.
Back in the 80’s my dad got the Oric II and he still got it (and operational).
Oric_Atmos_System_s1
So why not give him the Oric 1 mini 😀 the nes mini theme would go good with this in retropie.
It was also my first computer, so after some searching I found a Oric 1 model that I could use for this.

Load that model in to ThinkerCad and a Raspberry Pi zero model, just for size’s.
Schermafbeelding 2019-06-09 om 20.47.29 
Schermafbeelding 2019-06-09 om 20.47.41

If you want to tinker more:
https://www.tinkercad.com/things/5aVdkiqgLMc-oric-raspberry-pi-zero-w

Added retropie installed the Oric emulator and added the roms.

Oric Atmos theme that i made for the Nes-mini theme:
ORIC THEME 1 ORIC THEME 2

Download link: Oric Atoms. (oops include the psd.. systembackground.png is a psd)

Location of the themes: /etc/emulationstation/themes/(nes-mini)

My dad/mom loved The Oric 1 mini 😀

Printed the model and painted it in the original colors.

Print the logo label and stick it on using glue. o1logo1

If you want the print ready package

Download here

Category: 3D Printing, Design, DIY, Raspberry Pi, Retro, Retro Hardware, RetroPie | Comments Off on My Oric 1 Pi zero case :-D
June 8

Dreamcast Now

DreamPi

This site Dreamcast.online kicks Ass 😀
It’s a nice add-on for DreamPi users:


No image, live stats Baby! Scroll down if you dare! (iframes <3 :-) )

Finished my DreamPI  project:

Love my Mini Dreamcast Raspberry Pi Case :-D
Love my Mini Dreamcast Raspberry Pi Case :-D
Modem light at the side :-p 
Modem light at the side :-p

The modem fits nice in to the case 😀 , and works perfect!

My dreamcast running smooth like always!
Nice Top view of my Dreamcast/controllers and The cute DreamPi.
Nice Top view of my Dreamcast/controllers and The cute DreamPi.
Some games that work online:
Games online Now!! Expand Me!

Online Now

4×4 Evolution

Max Players: 4

Connection: Modem

Features: Multiplayer, DLC

Hosted by: Dreamcast-Talk

ChuChu Rocket!

Max Players: 4

Connection: Modem

Features: Multiplayer, Leaderboards, DLC

Hosted by: Shuouma

Maximum Pool

Max Players: 4

Connection: Modem

Features: Multiplayer

Hosted by: Dreamcast-Talk

NBA 2K1

Max Players: 8

Connection: Modem

Features: Multiplayer

Hosted by: Shuouma

NCAA College Football 2K2

Max Players: 8

Connection: Modem

Features: Multiplayer, Leaderboards

Hosted by: Shuouma

NFL 2K1

Max Players: 8

Connection: Modem

Features: Multiplayer

Hosted by: Shuouma

Ooga Booga

Max Players: 4

Connection: Modem

Features: Multiplayer

Hosted by: Shuouma

Phantasy Star Online v1/v2

Max Players: 4

Connection: Modem, Broadband Adapter

Features: Multiplayer, DLC

Hosted by: Dreamcast-Talk | Sylverant

POD SpeedZone

Max Players: 4

Connection: Modem, Broadband Adapter (NTSC-U)

Features: Multiplayer, Leaderboards

Hosted by: Shuouma

Samba de Amigo

Max Players: N/A

Connection: Modem

Features: Leaderboards, DLC

Hosted by: DreamPipe

Sega Swirl

Max Players: 4

Connection: Modem

Features: Email Challenge

Hosted by: N/A

Sonic Adventure 2

Max Players: N/A

Connection: Modem

Features: DLC

Hosted by: DreamPipe

Toy Racer

Max Players: 4

Connection: Modem, Broadband Adapter

Features: Multiplayer, Leaderboards

Hosted by: Dreamcast Live

Worms World Party

Max Players: 4

Connection: Modem

Features: Multiplayer

Hosted by: Shuouma

Alien Front Online

Max Players: 8

Connection: Modem

Features: Multiplayer

Hosted by: Shuouma

Jet Grind Radio

Max Players: N/A

Connection: Modem

Features: Leaderboards, DLC

Hosted by: DreamPipe

Monaco Grand Prix Online

Max Players: 6

Connection: Modem

Features: Multiplayer, Leaderboards

Hosted by: Shuouma

NBA 2K2

Max Players: 8

Connection: Modem

Features: Multiplayer, Leaderboards

Hosted by: Shuouma

The Next Tetris: Online Edition

Max Players: 2

Connection: Modem

Features: Multiplayer

Hosted by: Shuouma

NFL 2K2

Max Players: 8

Connection: Modem

Features: Multiplayer, Leaderboards

Hosted by: Shuouma

PBA Tour Bowling 2001

Max Players: 4

Connection: Modem

Features: Multiplayer

Hosted by: Shuouma

Planet Ring

Max Players: 8

Connection: Modem

Features: Multiplayer, Leaderboards

Hosted by: Shuouma

Quake III Arena

Max Players: 4

Connection: Modem, Broadband Adapter (NTSC-U)

Features: Multiplayer

Hosted by: Dreamcast-Talk

San Francisco Rush 2049

Max Players: N/A

Connection: Modem

Features: Leaderboards, DLC

Hosted by: DreamPipe

Sonic Adventure

Max Players: N/A

Connection: Modem

Features: Leaderboards, DLC

Hosted by: DreamPipe

Starlancer

Max Players: 6

Connection: Modem

Features: Multiplayer

Hosted by: Shuouma

World Series Baseball 2K2

Max Players: 2

Connection: Modem

Features: Multiplayer, Leaderboards

Hosted by: Shuouma

[collapse]

Good for debugging errors:
sudo tail -f /var/log/syslog

Had some trouble getting Dreampi working so I checkt the syslog:

I need to wait to connect the the line inducer until Dreampi is started.
I need to wait to connect the the line inducer until Dreampi is started.

After this log I connect the power to my line inducer when i connect it before it’s started dreampi crashes because it cant find the modem.

Just a test when i connect to Quake 3 servers
Just a test when i connect to Quake 3 servers

We are connected!

Quake 3 is my goto test game. To check if my DreamPi works…

Now my dreamcast is almost ready for 2019 😀 one more mod (Noctua NF-A4x10) already printed the fan duc.

Don’t forget to CHANGE your Pi’s password, DMZ will make your Pi attractive to bad people….

 

Some game info:

More info

4×4 Evolution Nothing!
The game will connect without any modifications.

Alien Front Online*
Automatic with DreamPi. Currently it will not work with any other connection methods. Note: This game requires you to configure a standard length phone number (e.g. 111-1111) or it won’t even attempt to connect.

ChuChu Rocket!*
Automatic with DreamPi. For other connection methods, set your DNS server to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration.   Maximum Pool Automatic with DreamPi. For other connection methods, set your DNS to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration.To play online with all the tables and modes unlocked, download the save file from the Downloads section using your Dreamcast web browser.

Monaco Grand Prix Online
Automatic with DreamPi**. For other connection methods, set your DNS server to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration.**You must create an account before logging in. NBA / NFL / NCAA 2K Series* Automatic with DreamPi (1.7 required for these games). For real dial-up connections, set your DNS server to 46.101.91.123 using your Dreamcast web browser.

The Next Tetris: Online Edition*
Automatic with DreamPi**. For other connection methods, set your DNS server to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration.**You must create an account before logging in. When creating an account, use “pass” as the password.

Ooga Booga*
Automatic with DreamPi**. For other connection methods, set your DNS server to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration.**When creating an account, you will be assigned a random username (Player_).

PBA Tour Bowling 2001*
Automatic with DreamPi**. For other connection methods, set your DNS server to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration.**You must create an account before logging in. When creating an account, use “pass” as the password.

Phantasy Star Online
NTSC-U/J v2: Download the Sylverant PSO Patcher, burn it to a blank CD-R using ImgBurn, insert it into your Dreamcast, and swap it with the Phantasy Star Online disc when prompted.All other versions: Automatic with DreamPi.

For other connection methods, set your DNS to 46.101.91.123 in your Dreamcast web browser or in your Netopia/PC-DC configuration. POD SpeedZone Automatic with DreamPi**. For other connection methods, set your DNS server to 46.101.91.123 using the Dreamcast web browser or in your Netopia/PC-DC configuration.**You must create an account before logging in.

Planet Ring*
Automatic with DreamPi. For other connection methods, set your DNS to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration. If you’re using real dial-up, you may require the Sylverant Planet Ring Patcher

Quake III Arena US Version:
Automatic with DreamPi. For other connection methods, set your DNS in the game to 46.101.91.123. If you’re unable to see the master server list, you can manually connect to a server by selecting “More” and inputting the IP address of the server. You can find the list of servers here.
PAL Version: Automatic with DreamPi. For other connection methods, set your DNS to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration. Once connected, select any username from the list and input anything for the password

Sega Swirl
This game is played via e-mail so you must set up an email account from within a Dreamcast web browser.
Most modern e-mail providers are not supported so workarounds are needed.

Starlancer*
Automatic with DreamPi. For other connection methods, set your DNS server to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration.

Toy Racer
Broadband Adapter: When connecting, the game will ask you for an IP address and TCP port number. Input 209.42.147.174 for the IP and 2048 for the TCP port number.
Modem: Automatic with DreamPi. Set your DNS server to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration. Once connected, select any username from the list and input anything for the password.

World Series Baseball 2K2*
Automatic with DreamPi**. For all other connection methods, set your DNS to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration.**When creating an account, you will be assigned a random username (Player_).

Worms World Party* Automatic with DreamPi. For other connection methods, set your DNS to 46.101.91.123 using your Dreamcast web browser or in your Netopia/PC-DC configuration.

[collapse]
Category: 3D Printing, DIY, Dreamcast, Games, Homebrew, Info, information | Comments Off on Dreamcast Now
May 26

NES-Pi + Custom Amiibo (sort of)

RetroPieWebsiteLogo

New weekend project that I made:
Last year I a got a NES case of a co-worker, I did’t know what to do with it, until now…

IMG_3365 IMG_3370
Empty case, only the top and bottom and the buttons.  perfect for a Raspberry pi project….
The last weekend I started printing heavy on my Anycubric Photon.

  IMG_3382
And it felt if i was making Amiibo’s

After seeing the second picture above I got inspired to make a new RetroPie console.
Needed to be RFID and controller…
Left the NES case and the semi setup  Right a working setup only no working code at that point.
Even the RFID would’t read the cards because of the SPI-PY  its sort of broken.

IMG_3369   IMG_3420

How to connect?
DIY-RFID-Doggy-Door-Circuit-Schematic-w_-LED_Fig1 6IW3b-1

First install SPI-PY (git clone https://github.com/lthiery/SPI-Py.git) then rolle back:

git clone https://github.com/lthiery/SPI-Py.git
git checkout 8cce26b9ee6e69eb041e9d5665944b88688fca68
sudo python setup.py install

If you do that! Then and only then, you can get the RFID-RC533 working under latest Jessy or RetroPie latest build.
Then you can install the MFRC522 Library and start reading some card data.
IMG_3418 IMG_3417
IMG_3415

To get it working the way I wanted was a pain in the @ss. There is some info on runcommand:

example:
/opt/retropie/supplementary/runcommand/runcommand.sh','0', '_SYS_', 'gb', '/home/pi/RetroPie/roms/gb/Tetris (JUE) (V1.0) [!].gb'

But no info on Scummvm and i wanted to launch Monkey Island 1 SE talkie version I made back in the day.
When the Talkie Mod came out.. Been looking for a console that could play those 2 new Talkie versions.
And ScummVM is vers 2.0 on Raspberry so it would work.

Here is a Video showing off how it works and change between Monkey Island and EmulationStation.

More detailed view of how it works: Look at the LED LOL

Some close up photo’s

IMG_3421 IMG_3425
A almost done, want to mount the RFID on top. I want to keep the opening to load maybe custom NES cartridges.

Made also new printed USB controller ports:
Schermafbeelding 2019-05-26 om 21.39.11

How to Script it?

I made  2 bash scripts and 1 pyton script (reworked its the RFID reader):

Schermafbeelding 2019-05-26 om 22.25.41
Only added the import subprocess so i can run shell code.
Schermafbeelding 2019-05-26 om 22.26.17
Change your UID to the card you want to use to boot a game. (my card is 221,107,213,59,88)

The Time.sleep(15) needs to be removed to boot the game quicker but left it in because want to try loading splach screen or something. The Led is to indicate if the game is stopt or not. Then it will boot EmulationStation again.
The python program stops but is been rebooted with EmulationStation.

The bash scripts:

Schermafbeelding 2019-05-26 om 21.00.17
This will kill EmulationStation and load the game
Schermafbeelding 2019-05-26 om 20.58.42
This will restart EmulationStation and my Python script will check for a RFID card

And to make it boot at run you need to make this change:
Schermafbeelding 2019-05-26 om 22.48.26

And for the skin i used the NES-Mini theme.

But it was missing 2 themes, i used ScummVM and the Oric emulator on my Pi.
So i made them download link below:
ScummVM:
SCUMMTHEME 1 SCUMMTHEME 2
Download link: ScummVM.
Oric Atmos :
ORIC THEME 1 ORIC THEME 2

Download link: Oric Atoms.

The RFID fits perfect in the box that i made, now i can insert real NES cartridges 😀
IMG_3454
So if i buy empty nes cartridges i could insert a rfid tag and load that game

Tried that and works ;-)
Tried that and works ;-)

(cartridges and RFID tag)

Things to do:

Mount RFID on top case, make everything more durable.
Optimise the code, use some sort of database to use more UID’s and game titles.
Get more RFID tag’s, print more modes of old games… (open source Amiibo’s)

Sources needed to make this happen:

https://www.deviceplus.com/connect/integrate-rfid-module-raspberry-pi/
https://pimylifeup.com/raspberry-pi-rfid-rc522/
https://raspberrytips.nl/rc522-rfid-raspberry-pi-3/
https://github.com/mxgxw/MFRC522-python/issues/69
https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ
https://retropie.org.uk/forum/topic/2211/questions-about-runcommand-sh/2
https://retropie.org.uk/forum/topic/8230/start-game-from-command-line
https://retropie.org.uk/forum/topic/18937/runcommand-usage-from-python-script-not-working
https://github.com/Aloshi/EmulationStation/issues/236
https://www.hiscorebob.lu/2014/05/retropie-tips-n-tricks/#sound
https://www.codingepiphany.com/2013/06/23/running-gog-com-scummvm-games-on-raspberry-pi/
https://retropie.org.uk/forum/topic/13482/using-runcommand-from-the-terminal/3|
https://retropie.org.uk/forum/topic/5307/command-line-command-works-but-doesn-t-work-if-i-put-it-into-a-script

 

Category: 3d Model, 3D Printing, Coding, DIY, Nes, Raspberry Pi, Retro, RetroPie | Comments Off on NES-Pi + Custom Amiibo (sort of)
May 12

Raspberry Pi in Treasure chest

Its a project weekend….

Now Work in Progress Pix:

IMG_3337

 

The Idea: Touch screen and RFID for loading Different things on the screen.

Program a few RFID tags to open different web pages or programmes.
Maybe ad google speak or Magic Mirror, Webcam included

Getting started in node:

 

Category: DIY, information, Raspberry Pi, RFID | Comments Off on Raspberry Pi in Treasure chest
September 25

Howto make a GAMEBOY PI

splash

Tutorial Time :-)

For awhile I have been trying to make a GAMEBOY and Raspberry Pi Mod.

My last post showing some real progress and installation of the software.

Today I will write a better guide for myself and others so they can learn from my mistakes.
If you follow this guide for setting up your SD cart this progress will take about 1,5 h to complete.
(guide is below show and tell :-) )

Warning: I still have to remove a error that i getting but i din’t find a solution for this atm:
”At random times i get: alsa lib pcm.c 7843: (snd_pcm_recover) underrun occurred” 
not when playing a game only if i am in the front end and during boot….

Lets start with show and tell:

Hardware used:
Gameboy case, wires, tact switches, empty PCB, power bar, cheap speakers and a Dremel

And of course a
Raspberry 1b:

000f Q4 2012 B 2.0 512 MB (Mfg by Qisda)

And a Adafruit 2-8 pitft capacitive touch:PiTFT 2.8

Below are some pictures of my GAMEBOY Pi that is mostly finished.
Things todo build in the speaker and power bar remove some plastic form d-pad because its fits to well…
But thinking of making a custom cartridge to slide in to the slot of the Gameboy.

(not my Picture just for show my version will have a power-bar also. How? wait and see )

Pictures:
How it looks now:

 

Build in Wifi and dongle for keyboard for now, in the future I gone extend one port to the side.
Ethernet is still available but don’t use a High-end cables, my own made utp cable works perfect :-)

The mod of the case….

conversion:

Gameboy Upgrade / Hack / crack :-)
The Layout
Gameboy Upgrade / Hack / crack :-)
 Fitting the LayoutBezel of Gameboy on top of screen (will lose touchscreen function so will be a sticker)
Gameboy Upgrade / Hack / crack :-)
Gameboy Upgrade / Hack / Crack - Part IIMade my custom button pcb´sNext step refitting the original buttons Problem Video out and speaker jack are on the wrong side. Need to de-solder them.
Gameboy Upgrade / Hack / Crack - Part IIMade my custom button pcb´sNext step refitting the original buttons 
Gameboy Upgrade / Hack / Crack - Part IIMade my custom button pcb´sNext step refitting the original buttons 
Gameboy Upgrade / Hack / Crack - Part IIMade my custom button pcb´sNext step refitting the original buttons 
Gameboy Upgrade / Hack / Crack - Part IIMade my custom button pcb´sNext step refitting the original buttons PiTFT pcb is to big for the Gameboy case need to chip it down.
Removed the hole left side (seen from picture above) until the FFC connector.
Lost the tact solder position but then again i would use them anyway.
Gameboy Upgrade / Hack / Crack - Part IIMade my custom button pcb´sNext step refitting the original buttons 
Gameboy Upgrade / Hack / Crack - Part IIMade my custom button pcb´sNext step refitting the original buttons 
First idea for custom joystick control but scraped this in the end.
(Do little things at the time don’t do everything at once grrr……. :-) )
Gameboy Upgrade / Hack / Crack - Part IIMade my custom button pcb´sNext step refitting the original buttons 
Gameboy Upgrade / Hack / Crack - Part IIMade my custom button pcb´sNext step refitting the original buttons 
Gameboy Upgrade / Hack / Crack - Part IIMade my custom button pcb´sNext step refitting the original buttons 
They fit  :-)
They fit  :-)
They fit  :-)
They fit  :-)
They fit  :-)
They fit  :-)
They fit  :-)
 The Screen fits the case
:-)
I Saw of a part of the display driver board and its still working :)next step connecting the wires to the raspberry pi directly without the header pins.
At first i wanted to solder all 26 pins to the pcb’s but then i ordered a FFC extender
This saved my so much time and cost 6 Euro 😛
I Saw of a part of the display driver board and its still working :)next step connecting the wires to the raspberry pi directly without the header pins.
I Saw of a part of the display driver board and its still working :)next step connecting the wires to the raspberry pi directly without the header pins.
I Saw of a part of the display driver board and its still working :)next step connecting the wires to the raspberry pi directly without the header pins.
I Saw of a part of the display driver board and its still working :)next step connecting the wires to the raspberry pi directly without the header pins.
 These pictures showing the concept of the build.

I started this project awhile back so if you want to do this. Do little things, one thing at the time.
Don’t start doing lots of things at once because in the end you will need to change or rework it again…
(Tip from Ben Heck and now from me 😀 )

The Arivale of the FFC extender and extra Cable

 You need controls.

I have rebuild the pcb for the controls because this way its much stronger then before. And the board looks more like the original Gameboy PCB haha.
Also i made some video’s that show the different stages of the build :
RetroPi and PiTFT from Ada fruit test!

(I have 4 Pi’s: two models B and one Model 2B+

RetroPi and PiTFT and DIY Joystick test!

Testing the tact switches…

RetroPi and PiTFT and DIY Joystick test 2!

More testing of the tact switches… 😀 Mario is fun hahaha.

For those how notice i have some strange glitching in my screen in the video’s above.
This is because at that time my raspberry pi setup was not perfect. Not that its now LOL.
But the screen glitching is gone…

GAMEBOY PI Semi complete Test!

This is my last video i made for now showing it closed (taped down) and using the original GAMEBOY buttons on my custom pcb using those 8 tact switches.

If I have time i will make a new video showing it closed with screws and without glitches in the screen.

How i Did my software side:

This install will take about 1,5 hours

First download the 2016-03-25-28c.img.


Make sd img from 2016-03-25-28c.img

Boot in Raspberry pi, let it boot in to startx and then quit it to command line
And launch Raspi-config: (sudo raspi-config)

Last things: 1 Overscan disable, 4 SSH Enable, 5 Device tree Enable, 6 SPI 7 I2C and  8 Serial disable, 9 Audio force 3.5mm headphone jack.
Side note for those how need Tochscreen: I disable 6, 7 and 8 to get more Gpio pins working
but this will disable touchscreen control.

But this is not needed for this project anyway. And also you can make another SD card that can use the Touchscreen interface but you will lose the Gpio pins that use SPI, I2C and Serial.

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

Close Nano and Save ( CTRL+X, Yes, ENTER)

cd .. ( goto home cd /~/ will do just fine)

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

Almost done:

sudo dpkg-reconfigure console-setup

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

sudo nano /boot/config.txt

sudo nano /etc/emulationstation/themes/carbon/carbon.xml

Close Nano and Save ( CTRL+X, Yes, ENTER)

sudo reboot

And check if everything is still working if you want to add your own controls continue below

Adding Controls:

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

nano retrogame.c

Edit the file retrogame.c, looking for the table called ioStandard  and the input.h table. 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

My setup:

// Input Output (from /usr/include/linux/input.h)
{ 22, KEY_LEFT }, // Joystick (4 pins)
{ 14, KEY_RIGHT },
{ 17, KEY_DOWN },
{ 4, KEY_UP },
{ 2, KEY_LEFTCTRL }, // A/Fire/jump/primary
{ 3, KEY_LEFTALT }, // B/Bomb/secondary
{ 15, KEY_5 }, // Credit
{ 18, KEY_1 }, // Start 1P
{ -1, -1 } }, // END OF LIST, DO NOT CHANGE

You’ll need to be careful in your GPIO pin selection…some are used by the PiTFT display, others have certain reserved functions. Any green GPIO pin is free to use…yellow pins may be okay with additional setup. If you’ve configured a tactile button on the PiTFT for shutdown, that pin is unavailable for game controls.

One wire from each button connects to a GPIO pin, while the other wire connects to an available ground pin (GND). The 2.8″ PiTFT boards have an extra header breakout for the first 26 pins…for the remaining pins, you’ll need to get clever with female jumper wires on the exposed part of the Raspberry Pi GPIO header.
That is why i disable I2C and Serial so i can use gpio 2, 3, 14 and 15. Made a mistake and was easier to use gpio 14 and 15 instead. otherwise i would only disable I2C…

raspberry_pi_gpio-map.png

After editing, compile and install the code with:

make retrogame
sudo mv retrogame /usr/local/bin

Test fist before making something boot that is not working.

sudo /usr/local/bin/retrogame &

It works!

sudo nano /etc/rc.local

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

Or make it more fancy:

HOW TO HIDE BOOT TEXT:

sudo nano /boot/cmdline.txt

Add splach screen

Adding a splash screen can be done from in retropie so this is optional. but this way you know what is changed in retropie to show the splashscreen at start up, same method.
Custom Splash Screen for Raspberry Pi

This is a quick and dirty solution for an unanimated custom splash screen during boot.

First of all, you need to install fbi:

apt-get install fbi

Copy your custom splash image to /etc/ and name it “splash.png”

example code:

sudo mv splash.png /etc/init.d/

Next, create an init.d script called “asplashscreen” in “/etc/init.d/”.

sudo nano /etc/init.d/asplashscreen

I chose “asplashscreen” with an “a” at the beginning to be sure it starts first.

#! /bin/sh
### BEGIN INIT INFO
# Provides: asplashscreen
# Required-Start:
# Required-Stop:
# Should-Start:
# Default-Start: S
# Default-Stop:
# Short-Description: Show custom splashscreen
# Description: Show custom splashscreen
### END INIT INFO
do_start () {

/usr/bin/fbi -T 1 -noverbose -a /home/pi/RetroPie/splashscreens/splash.png
exit 0
}

case “$1″ in
start|””)
do_start
;;
restart|reload|force-reload)
echo “Error: argument ‘$1′ not supported” >&2
exit 3
;;
stop)
# No-op
;;
status)
exit 0
;;
*)
echo “Usage: asplashscreen [start|stop]” >&2
exit 3
;;
esac

:

Then make that script executable and install it for init mode:

chmod a+x /etc/init.d/asplashscreen
insserv /etc/init.d/asplashscreen

Reboot and watch your custom splash screen:

sudo reboot

If everything is correct you still boot in console but now is everything setup to start retropie

Start by typing:

emulationstation

After the startup you need to setup you fresh made controls by pressing one of the keys and then follow the onscreen text. Skipping by holding down one button.

After that your done and can start adding roms, you have 2 options for this by usb or by samba.

So you probably need to set that up 2 lucky for us you can do this from in emulationstation

choose retropie setup from the menu.

The let it boot directly in to emulationstation.
Next Samba: Oleee

and if you did’t follow my splashscreen install you can choose it here:

 

For now i leave this project to rest, i am glad whit the progress that i made.
also after 6 months I can close the case 😀 hooray!!!

Recap of what to do:
-Fix asla error….
-Build power cartridge for power.
-Build in speaker
-Extend usb to connector port and replace it by usb.

 

 

Category: Coding, DIY, Gameboy Pi, Homebrew, Linux, Mod´s, Raspberry Pi, Retro Hardware, RetroPie, Software, Soldering, Upgrade | Comments Off on Howto make a GAMEBOY PI
September 20

Test card/screen Simulator!

My dad is a Ham Radio/TV amateur and he asked if i could write a better version of his version Test card/screen program that he found on the internet.

http://home.worldonline.nl/~peterdb/testcard/ Site is offline 

My version is almost a one 2 one copy of Peter his program the only different aspect is: custom screen options.

My dad complains that after he upgrade his video card he could get Peter’s version working correct.

So i looked at the application and told my dad that i could code that in one day and make it better.
I took this challenge because i written some code for custom screen options before.

My version got all basic functions that peter’s version got i left out the RGB options because otherwise i couldn’t make the dead line of one day 😀

If you select view set location Testbeeld you get another window and you can drag it to the desired screen/location…
after hitting the Set button the location is fixed.
If you hit the fullscreen button it will load the Test card/screen on that location.
Some more test card options:

Download: Dropbox download. Testscreen app

Source code : Github
Video demo:

Category: Coding, Design, DIY, Download, Programs | Comments Off on Test card/screen Simulator!