GBATemp notifier written in bash

  • Thread starter Thread starter Sono
  • Start date Start date
  • Views Views 1,140
  • Replies Replies 2
  • Likes Likes 2

Sono

cripple piss
Developer
Joined
Oct 16, 2015
Messages
2,997
Solutions
2
Reaction score
11,999
Trophies
3
XP
11,122
Country
Hungary
As some of you may remember, I was working on a GBATemp notifier, because of reasons :P
Now, I've made it 100% working, so I decided to post it :P

397c5bf92f.png

Installation

  1. Acquire these binaries (ALL of these are required!)
  2. Download the script from GitHub
  3. Open up a command prompt
  4. bash path/to/gbanotif.sh
  5. Follow the on-screen instructions
  6. Make the script run in a loop (60s is a good checking interval, or 15s if you're popular :P): bash path/to/gbanotif.sh loop <checking frequency>
  7. Optionally, edit the payload at ~/.gbacmd
  8. Optionally, make an automated startup script that automatically runs the notifier as mentioned above.
 
Last edited by Sono,
As some of you may remember, I was working on a GBATemp notifier, because of reasons :P
Now, I've made it 100% working, so I decided to post it :P

397c5bf92f.png

Installation

  1. Acquire some binaries
    • bash
    • grep
    • sed
    • tr
    • rev
    • cut
    • curl
    • head
    • xargs
    • notify-send
    • zenity
    • perl + URI::Escape
    • sleep
  2. Download the script from GitHub
  3. Open up a command prompt
  4. bash path/to/gbanotif.sh
  5. Follow the on-screen instructions
  6. Make the script run in a loop (60s is a good checking interval, or 15s if you're popular :P): bash path/to/gbanotif.sh loop <checking frequency>
  7. Optionally, edit the payload at ~/.gbacmd
  8. Optionally, make an automated startup script that automatically runs the notifier as mentioned above.
I get this on Windows:
Code:
C:\Users\Adam>bash C:\Users\Adam\Downloads\85bae93bc3534cca239b-c76acedce9858dc8
a6bf48d1835078e12296a522\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e122
96a522\gbanotif.sh
C:\Users\Adam\Downloads\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e1229
6a522\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e12296a522\gbanotif.sh:
 line 17: //.gbanotif: No such file or directory
C:\Users\Adam\Downloads\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e1229
6a522\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e12296a522\gbanotif.sh:
 line 93: curl: command not found
grep: Support for the -P option is not compiled into this --disable-perl-regexp
binary
C:\Users\Adam\Downloads\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e1229
6a522\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e12296a522\gbanotif.sh:
 line 141: zenity: command not found
C:\Users\Adam\Downloads\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e1229
6a522\85bae93bc3534cca239b-c76acedce9858dc8a6bf48d1835078e12296a522\gbanotif.sh:
 line 144: zenity: command not found
 
I get this on Windows:
Code:
too long error list

I should explicitly mention, that this is for Linux only :P I'll edit the post in a bit.

Also, did you really follow the installation steps? It clearly says in the log, that it's missing curl and zenity, and probably notify-send.
 
Last edited by Sono,

Site & Scene News

Popular threads in this forum