Press "Enter" to skip to content

TriplusTutorials Posts

Retropie 4.1 – WiFi, Scraper, Runcommand, Remove kodi from Ports and Themes

Hi guys

With the release of retropie 4.1 some new features where introduced. I’ll also try to clear up some questions on last few videos.

Many people wanted to remove Kodi from the ports system after they made Kodi its own system. After some checking I was able to come up with a solution that is very easy to implement. I’ve also added some fun tips and tricks to the video.

Want more? Leave a comment here or on the video!

Leave a Comment

2017 – The future

Best wishes and a happy new year!

So… we are 2017 now. A new year to explore new gadgets, build up home-office software contraptions and play around with a wide array of software available out there!

While I have been (s)lacking new video uploads, I have been thinking what I will do first. As RetroPie & Kodi are still my most popular videos out there, I will try to respond to most of the questions with a new video. I am planning to release this one either this or next week. I do need to prepare a new SD card for this. After that I may start looking into “AlexaPi”. I have gotten voiceCommand working, but I feel amazon powered software is just more reliable for this.

I hope 2017 will be an as beautiful year as 2016 was. See you soon!

Leave a Comment

Raspberry Pi Zero necessary accessories: Connectors, cases and expansion boards (USB hub)

Looking into some awsome and must-have accessories for the raspberry pi zero!

I bought some of these to protect the pi and expand some of its capabilities. The ZERO4U is also one of (if not THE best) USB hubs for the pi zero out there!

Check it out below:

Today we are checking out some awsome Pi Zero accessories:

  • Pi Zero + HDMI & usb connectors: https://shop.pimoroni.com/products/raspberry-pi-zero
  • Protection case for pi Zero: http://www.banggood.com/Acrylic-Case-For-Raspberry-Pi-Zero-p-1025873.html?p=XA21121527197201504D
  • Zero4u: http://www.uugear.com/product/zero4u/
  • ACRYLIC CASE FOR ZERO4U: http://www.uugear.com/product/acrylic-case-for-zero4u-and-raspberry-pi-zero-clear/

Hope you guys enjoy!

Leave a Comment

Share your Unity game’s URL every build!

As a game developer I want to share my current game quickly with friends and testers. As going to the build page, clicking the share-link and then updating a webpage is a lot of work, I went looking for other ways.

Luckily Unity Build has an API. It also has a webhook to notify when the build is completed. Putting these all together, my website buttons now automatically link to the latest build on the Unity Build platform. Unfortunately I spent a lot of item trying to figure out what parameters were the correct ones, which took more time than which I had hoped. For that reason, please find the references in step 4.

Requirements

  • A webserver with php installed (MySQL optional)
  • A Unity cloud build project with automated builds set-up

 

 

  1. Go to your webserver and create 2 files: webhook.php and index.php
  2. Open webhook.php and paste in the following code (explanation will follow)

     
  3. Paste the following code in index.php
  4. Now we can look up the required information:
    1. Your api-key can be found in your cloud build > Preferences > API-key
      apiKey
    2. Your organisation, project and build id’s can be found by making the following API get-request

      From there you can find all the required ids from above (per project).
    3. Your build target is the name of your target system in small letters (eg. webgl)
  5. Now it is time to set up the actual webhooks. Go to the notifications tab of your cloud build project and choose “Add new”. Fill in the URL of your php script on your web server and keep the json content type.  Click the check boxes so only “ProjectBuildSuccess” remains and use SSL only if your site has https.
    newWebhook

 

After filling everything in, start a new build (or commit a change). The cloud should send a post message to your website and the URL in the text file will be updated. When you go to your index.php page, you will be redirected to the build of your game’s latest commit!

Leave a Comment

Retropie 4.0 – Start Kodi on Launch

Using my retropie-Kodi combo for a while now I walked into some issues where Kodi wasn’t active for some reason (usually me forgetting about it after rebooting my Pi). This interfered with my SickRage Kodi notification.

With the release of Retropie 4.0 this option has finally been built-in! After upgrading to the new Retropie release you can go to the retropie-setup menu and choose the following options:

C Configuration / tools > 001 autostart – Auto-start Emulation Station / Kodi on boot > 2 Start Kodi at boot (exit for Emulation Station)

Exit the retropie setup and restart your raspberry. You will now be greeted by your Kodi! On exiting Kodi you will go back to emulation station.

Leave a Comment

Remove torrents that finished downloading in transmission (WebUI)

Ever found your transmission queue filling up with torrents that have been completed which makes you lose the overview? I have, and coming home to start removing these files was a major waste of time, so I stared writing my first ever Bash script to solve this issue.

First thing you have to do is ensure you have “transmission-remote” installed. For me it was included when I installed transmission on my raspberry pi.

Once you have verified you have this installed you can continue with the creation of the script. Create a new file using you favorite text editor (for example “nano”) and paste the following code:

This is assuming you are running transmission and this script on the same server, and transmission-daemon is listening on localhost:9091. For other hosts/ports you need to pass additional parameters to the transmission-remote command.

Now that you have your script in place, remember to call it using crontab. In below example it is getting called once a day at noon.

The reason I am using this instead of the ability to call a script once a download completes, is because I had to clean up a whole chunk of backlog torrents that were still in my queue. This script will clean up ALL torrents that have status “Finished” once a day.

 

Note: In case your torrents never have status “Finished”, this will not work. Torrents are only set to status Finished if they are not seeding or downloading anymore. This can be forced in transmission by changing the options under “Seeding”.

transmission settings

Leave a Comment

RetroPie and Kodi – Disable auto usbmount and choose mount location

I recently installed Kodi next to my RetroPie installation. While all was going well, I disliked that my external drives would be mounted automatically, hence I was not able to specify a permanent Kodi library path to my media. It seemed that when attaching multiple devices the order they got mounted wouldn’t be consistent. I quickly found out RetroPie comes with “usbmount” which auto mounts the USB storage devices.

Disabling the usbmount is as easy as editing the file located at

There are a few changes you can make here, but the one we are interested in is one of the first ones available. Changing ENABLED to 0 will disable this add-on (at least not auto mount your drives).

Now you can edit you /etc/fstab file and mount the drive to a location of your choosing at boot.

Kodi is able to find your media files in the same directory every time now!

Leave a Comment

Unity Cloud Build – Continuous integration and Unity3d

I’ve had an svn running for my Unity project for a while now, and this tool has saved me countless hours and heart attacks. I work on 2 computers so I would have to transfer my project each time which is a painstaking task. It is also very useful in case you want to revert a certain script to the precious commit (I’ve had some major brainfarts…). Svn keeps my files nice and organised and I can check the history of all my commits.

Repo browser

My next step was to start automating the build process. While I was looking to get a Jenkins server set-up I discovered Unity Cloud Build. It is an amazing tool that allows you to build for the different platforms without the need of a locally hosted build server. The free version enables you to build every 60 minutes for the different platforms. You can even play the WebGL version right from the Cloud Build cockpit!

cockpit

There is a small amount of config required, compared to setting up Jenkins with Unity3d. I read that for Jenkis you require to add additional classes and do some config, while Cloud Build takes care of that for you. The only issue I ran into is that you can’t use native Blender files, so you have to export them into a .fbx format. Apart from that everything is working as expected. Unity Cloud Build checks my Svn server often and when a new change was made starts the build process. I receive mails when the builds I configured are done with an excellent error/warning log. I must say I am really amazed by the simplicity of use of the Cloud Build, while providing such a good and useful service!

Mail

Leave a Comment

RetroPie – My adventures into Retro-gaming

So it has been a while since I did anything interesting except for playing some games… Like most of the time.

Recently I had the idea of utilizing my Raspberry Pi for something else than my “perfectly legal” Torrent box. Quickly I came to the idea of using my pi as an oldschool gaming console using the wonderful work of the guys at RetroPie. I quickly found out I can emulate a whole lot of different consoles, from SNES (Super Nintendo Entertainment System) to GBA (GameBoy Advanced) to PS 1 (PlayStation 1) and DOSBox. I quickly found some ROMS and started my adventures with a plain old keyboard. Turns out retro gaming with a Keyboard is not that easy…

To fully breath the retro-gaming feel I decided to order some SNES controlles with USB extensions (from one of my favorite online WebShops, Banggood). Now I haven’t received them yet so I hope they’ll work without to much of a hassle. For now I will keep playing with a keyboard and hope my controllers arrive soon.

If I have more games set-up I might jump in some more advanced stuff with the RetroPie and share the details, as this is -in my opinion- a very fun little project.

RetroPie worms
RetroPie worms

See you guys later… I’ll be retro-gaming for now!

Leave a Comment

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close