Hacking [Release] rxTools - Roxas75 3DS Toolkit [fw 2.0 - 9.2]

Status
Not open for further replies.

WhoAmI?

PASTA's dirty animal
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
  • Like
Reactions: Zidapi

WhoAmI?

PASTA's dirty animal
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
Known bug.

--------------------- MERGED ---------------------------


For getting the updates.
Oh, it's just a simple bash/sh script that runs every time I power the netbook on.

Install Dropbox (and dependencies used by rxTools) then run this (modify it to your own preferences):

Code:
#!/bin/bash

echo Building > Desktop/Building.txt
build_date=`date +"%m-%d-%y"`
rm -R -f rxTools
git clone --recursive https://github.com/roxas75/rxTools
cd rxTools
sha1=`git rev-parse --short HEAD`
echo Building...
make release
echo Compressing...
zip -r rxTools_$build_date.zip release
if ! [[ -f "/home/lavanoid/Dropbox/3DS/rxTools/rxTools_Nightlies/rxTools_$build_date.$sha1.zip" ]]; then
    echo Moving to Dropbox...
    mv rxTools_$build_date.zip /home/lavanoid/Dropbox/3DS/rxTools/rxTools_Nightlies/rxTools_$build_date.$sha1.zip
else
    echo Latest version already online. Removing...
    rm -f rxTools_$build_date.zip
fi
echo Sleeping for 5 minutes before shutdown.
echo Done > ../Desktop/Building.txt
sleep 300
if ! [[ -f "../Desktop/Building.txt" ]]; then
    echo Shutdown aborted.
else
    sudo shutdown -P now
fi

It's pretty dirty but it works. The script used to run the commands where it pulls the new commits without having to redownload the whole repository BUT GitHub seems to have a glitch where if you run "git rev-parse --short HEAD" after updating the local repo, it still shows the hash of the old commit :/

I did it this way, as a dirty "patch" because I'm lazy.
 
Joined
Feb 15, 2015
Messages
1,464
Trophies
0
XP
1,099
Country
United States
Oh, it's just a simple bash/sh script that runs every time I power the netbook on.

Install Dropbox (and dependencies used by rxTools) then run this (modify it to your own preferences):

Code:
#!/bin/bash

echo Building > Desktop/Building.txt
build_date=`date +"%m-%d-%y"`
rm -R -f rxTools
git clone --recursive https://github.com/roxas75/rxTools
cd rxTools
sha1=`git rev-parse --short HEAD`
echo Building...
make release
echo Compressing...
zip -r rxTools_$build_date.zip release
if ! [[ -f "/home/lavanoid/Dropbox/3DS/rxTools/rxTools_Nightlies/rxTools_$build_date.$sha1.zip" ]]; then
    echo Moving to Dropbox...
    mv rxTools_$build_date.zip /home/lavanoid/Dropbox/3DS/rxTools/rxTools_Nightlies/rxTools_$build_date.$sha1.zip
else
    echo Latest version already online. Removing...
    rm -f rxTools_$build_date.zip
fi
echo Sleeping for 5 minutes before shutdown.
echo Done > ../Desktop/Building.txt
sleep 300
if ! [[ -f "../Desktop/Building.txt" ]]; then
    echo Shutdown aborted.
else
    sudo shutdown -P now
fi

It's pretty dirty but it works. The script used to run the commands where it pulls the new commits without having to redownload the whole repository BUT GitHub seems to have a glitch where if you run "git rev-parse --short HEAD" after updating the local repo, it still shows the hash of the old commit :/

I did it this way, as a dirty "patch" because I'm lazy.
Could this be put on a web server?
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    and to make it worse, the heat didn't sway my brother away from wanting to spend some time swimming on his birthday tomorrow
  • Sicklyboy @ Sicklyboy:
    idr where in the US the heat wave is
  • Sicklyboy @ Sicklyboy:
    idk if I'm in it or not
  • BakerMan @ BakerMan:
    midwest, near me and bigonya
  • Sicklyboy @ Sicklyboy:
    ah fuck NJ is in the heat wave
  • BakerMan @ BakerMan:
    we're cooked, possibly literally
  • BakerMan @ BakerMan:
    if you have a habitable basement, the heat shouldn't be down there and that's where you should hang out
  • Sicklyboy @ Sicklyboy:
    No, but, the air conditioner in my living room gets fuckin icy
  • Sicklyboy @ Sicklyboy:
    In a good way, not as in a "my coils are freezing" kind of way
  • K3Nv2 @ K3Nv2:
    Not everyone lives in theirs mom's basement gosh
  • BakerMan @ BakerMan:
    nah, my mom's basement is just for the weekends to check in on the family
  • BakerMan @ BakerMan:
    i usually live in your mom's basement
    +1
  • BakerMan @ BakerMan:
    saves a lot of time fr
  • Sicklyboy @ Sicklyboy:
    It's 11:30 PM here, I just took the trash out and my god is it awful outside
  • Sicklyboy @ Sicklyboy:
    This heatwave can eat my ass
    +3
  • MysticStarlight @ MysticStarlight:
    omg same, it's VERY hot here, too
  • BakerMan @ BakerMan:
    fuck this heatwave, i don't usually sleep with a fan, but i believe the fan is getting put on the bed rather than beside it
  • BakerMan @ BakerMan:
    IT'S 12:30 IN THE FUCKING MORNING AND IT'S STILL 78°, WHAT THE FUCK?
    +1
  • NinStar @ NinStar:
    78º seems abnormal for any part of the day
  • BigOnYa @ BigOnYa:
    Yea it was 96 F for the high, 78 F for the low today, in Ohio, bout same for bakerman in Michigan
  • BigOnYa @ BigOnYa:
    F- fahrenheit C-Celsius. We in USA use F as our temp ratings
  • Sicklyboy @ Sicklyboy:
    F = Freedom units
    +1
  • HiradeGirl @ HiradeGirl:
    So... C = Cum units?
    HiradeGirl @ HiradeGirl: So... C = Cum units?