Author Archives

Justin Ide

Building RetroPie PiGrrl Zero Plus with Sound

May 16, 2017 0 comments

Here is my entire build out of the RetroPie PiGrrl Zero Plus (WITH Sound) Retro Handled Gaming System.  What an awesome and a fun project to build; since my time is limited this took about 3-4 days to fully complete.  I did mess up in the beginning when I went to remove the the GPIO pins that come preinstalled.  I actually removed 2 pad’s from the board and I had to retrace the entire pad’s back to the build (this costed me a day in build time).

The device itself is pretty nice the battery time lasts about 1-3 hours depending on usage the buttons are clicky I actually went and installed soft buttons of A,B,X,Y buttons and kept the clicky buttons on the DPAD.  If you notice once I screwed down the screen the screws provided with the 3D printed build I over turned them causing the screws to come out of the plastic which pissed me off a lot.  I was able to sand the plastic down which made it less noticeable.
This can play almost anything from Arcade, Atari, Super Nintendo, Nintendo. Almost everything up til N64 (I tested playing Nintendo 64 ROMs it loaded them just could not handle them on the Pi Zero).

Here are the following guides I followed:
Main PiGrrl Build from Adafruit:
https://learn.adafruit.com/pigrrl-zer…

PiGRRL Zero Plus Build by Jpete (Jpete 3d prints most of the cases and hardware I used for this build he also helped me out a lot during this build).
http://www.thingiverse.com/thing:1769656

Some of the products I used:
Adafruit PiTFT 2.2″ – http://amzn.to/2qmOtML
Raspberry Pi Zero – http://amzn.to/2oFaEBi
PowerBoost 1000C – http://amzn.to/2qeVIHs
Battery Packs Lithium Ion Battery 3.7v 2000mAh – http://amzn.to/2pcdRa8
10x 6mm Tactile Buttons – https://www.adafruit.com/products/367
1x Slide Switch – https://www.adafruit.com/products/805
USB Mini Wifi Adapter – http://amzn.to/2ptDMLn
Tiny OTG Adapter – USB Micro to USB – http://amzn.to/2pcbowH
2×20-pin Strip Dual Male Header – http://amzn.to/2oQgaMK
Uxcell a13070200ux0794 SPST Momentary Push Button SMD Tactile Tact Switch, 6 mm x 3.5 mm x 4.3 mm – http://amzn.to/2oF8OAF

Products for the Audio
Mini Metal Speaker w/ Wires – 8 ohm 0.5W http://amzn.to/2oPXSvm
5Pcs 16mmx2mm 10K ohm Stereo Volume Control Wheel Potentiometer B103 http://amzn.to/2oTez9H
Adafruit Silicone Cover Stranded-Core Wire – 2m 30AWG White
http://amzn.to/2qfdhY3
Adafruit Silicone Cover Stranded-Core Wire – 2m 30AWG Yellow – http://amzn.to/2pGogN6
Adafruit Silicone Cover Stranded-Core Wire – 2m 26AWG Yellow – http://amzn.to/2pccqZr
Hakko CHP CSP-30-1 Wire Stripper, 30-20 Gauge Maximum Cutting Capacity – http://amzn.to/2ptt4US

These helping hands helped me out so much in this build
QuadHands™ Flex – Helping Hands Soldering Tool Add On – Add Four Flexible Metal Arms to Your Favorite PanaVise – http://amzn.to/2oT6nXg

PiGRRL Zero Plus Case https://www.etsy.com/listing/46545611…

PiGRRL Buttons https://www.etsy.com/listing/45984778…

PiGRRL PCB Gamepads https://www.etsy.com/listing/48642710…

PiGRRL Screw Kit https://www.etsy.com/listing/28069127…

Windows Batch File to Remove Sample files

May 12, 2017 0 comments

Another Windows batch file I wrote up that will delete all folders and files with (SAMPLE) in the file or folder name.

Please note you can download the full .bat file below.

'On Error Resume Next
 

Set objFSO = CreateObject("Scripting.FileSystemObject")
 
 

ShowSubFolders objFSO.GetFolder("E:")
 
 

Sub ShowSubFolders(Folder)

    

    For Each file In Folder.Files

        Set objCurFile = objFSO.GetFile(file)

        If Instr(ucase(objCurFile.Name), UCase("sample")) Then objCurFile.Delete
        On Error Resume Next



    

    For Each Subfolder in Folder.SubFolders

        ShowSubFolders Subfolder

    Next

End Sub

Remove Samples Batch Files (149 downloads)

Windows Batch File to Remove Junk Files (.png, .txt, .srt, .nfo)

May 12, 2017 0 comments

Since I download a ton of different files I’m always left with a hard drive cluttered with a mess of junk files.

So I wrote up a Windows bat file that will scan a directory on my computer and remove the following junk files:

  • txt
  • jpg
  • nfo
  • png
  • gif
  • bmp
  • srt

You can easily add your own file extensions to remove.  This will also check inside of folders as well.

Here is the complete batch file code, please note you can also download this below.

OPTION EXPLICIT
DIM strExtensionsToDelete,strFolder
DIM objFSO, MaxAge, IncludeSubFolders

' ************************************************************
' Setup
' ************************************************************

' Folder to delete files
strFolder = "I:###Downloads"
' Delete files from sub-folders?
includeSubfolders = true
' A comma separated list of file extensions
' Files with extensions provided in the list below will be deleted
strExtensionsToDelete = "txt,jpg,nfo,png,gif,bmp,srt"
' Max File Age (in Days).  Files older than this will be deleted.
maxAge = 0

' ************************************************************

set objFSO = createobject("Scripting.FileSystemObject")

DeleteFiles strFolder,strExtensionsToDelete, maxAge, includeSubFolders



sub DeleteFiles(byval strDirectory,byval strExtensionsToDelete,byval maxAge,includeSubFolders)
    DIM objFolder, objSubFolder, objFile
    DIM strExt

    set objFolder = objFSO.GetFolder(strDirectory)
    for each objFile in objFolder.Files
        for each strExt in SPLIT(UCASE(strExtensionsToDelete),",")
            if RIGHT(UCASE(objFile.Path),LEN(strExt)+1) = "." & strExt then
                IF objFile.DateLastModified < (Now - MaxAge) THEN
                    
                    objFile.Delete
                    exit for
                END IF
            end if
        next
    next    
    if includeSubFolders = true then ' Recursive delete
        for each objSubFolder in objFolder.SubFolders
            DeleteFiles objSubFolder.Path,strExtensionsToDelete,maxAge, includeSubFolders
        next
    end if
end sub

Remove Junk Files Batch (28 downloads)