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

Status
Not open for further replies.

Orkna

Well-Known Member
Member
Joined
Feb 7, 2014
Messages
379
Trophies
0
Location
Sviiiiiden
XP
277
Country
My script already does that by checking if a file with the same sha1 already exists...

Anyway, I still can't get it working with cron, even with the vars. in the script itself :(

Terminal output:
Code:
[............]
arm-none-eabi-strip: '-o': No such file
arm-none-eabi-strip: '/home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm.elf': No such file
Makefile:79: set di istruzioni per l'obiettivo "/home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm.elf" non riuscito
make[2]: *** [/home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm.elf] Errore 1
rm /home/nastys/rxNightly/rxTools/rxmode/build/ktr/p9_emunand_hook_2.o /home/nastys/rxNightly/rxTools/rxmode/build/ktr/p9_signatures_spoof_1.o /home/nastys/rxNightly/rxTools/rxmode/build/ktr/p9_signatures_spoof_2.o /home/nastys/rxNightly/rxTools/rxmode/build/ktr/k9_fix_flags.o /home/nastys/rxNightly/rxTools/rxmode/build/ktr/p9_mythread_hook_1.o /home/nastys/rxNightly/rxTools/rxmode/build/ktr/p9_mythread_hook_2.o /home/nastys/rxNightly/rxTools/rxmode/build/ktr/p9_emunand_hook_1.o
make[2]: uscita dalla directory "/home/nastys/rxNightly/rxTools/rxmode/native_firm"
Makefile:22: set di istruzioni per l'obiettivo "build/ktr/native_firm.elf" non riuscito
make[1]: *** [build/ktr/native_firm.elf] Errore 2
make[1]: uscita dalla directory "/home/nastys/rxNightly/rxTools/rxmode"
Makefile:101: set di istruzioni per l'obiettivo "rxmode/build/ktr/native_firm.elf" non riuscito
make: *** [rxmode/build/ktr/native_firm.elf] Errore 2
Compressing...
ln: l'obiettivo "release/" non è una directory: File o directory non esistente
ln: creazione del collegamento simbolico "./IMPORTANT.txt" non riuscita: File già esistente
   zip warning: name not matched: release
  adding: IMPORTANT.pdf (deflated 7%)
  adding: IMPORTANT.txt (deflated 69%)
rm: impossibile rimuovere "release/rxTools.dat.README.txt": File o directory non esistente
Moving to the cloud...

Script run by cron:
Code:
#!/bin/bash
export DEVKITPRO=/opt/devkitpro
export DEVKITARM=$DEVKITPRO/devkitARM
export DEVKITPPC=$DEVKITPRO/devkitPPC
export PATH=$PATH:$DEVKITARM/bin:/$DEVKITPRO/devkitPPC/bin
cd rxNightly
echo "$(date) $(ls -1 | wc -l)" >> runlog.txt
./rxNightly.sh
sleep 30

rxNightly.sh:
http://gbatemp.net/threads/release-...olkit-fw-2-0-9-2.382782/page-475#post-5623205

Could you share your script, please?

Yes I know but you check the zip-filename? I use your script with some modifications. I could do it like that but I have date and time in the filename so that would require me to list all of the files and look for the sha1 in the filenames. Or something like that. ;-)

I can't share the script right now. I have some hard linked stuff that I need to move first. I haven't cleaned up the script yet. I'll do it today and then I can share it.

Edit
Will your filename check make it build unconditionally after midnight? Your filename will not match any more when you use the current date as a part of the filename when you look for the file a day later even if the sha1 are the same. That's why I'm using a separate file that I compare with and I only compare the sha1. If there is a change it will compile and delete the old sha1.last file and create a new one with the new sha1.
 
Last edited by Orkna,

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
Yes I know but you check the zip-filename? I use your script with some modifications. I could do it like that but I have date and time in the filename so that would require me to list all of the files and look for the sha1 in the filenames. Or something like that. ;-)

I can't share the script right now. I have some hard linked stuff that I need to move first. I haven't cleaned up the script yet. I'll do it today and then I can share it.

Edit
Will your filename check make it build unconditionally after midnight? Your filename will not match any more when you use the current date as a part of the filename when you look for the file a day later even if the sha1 are the same. That's why I'm using a separate file that I compare with and I only compare the sha1. If there is a change it will compile and delete the old sha1.last file and create a new one with the new sha1.
Fixed ;) (not tested yet because I still have to solve that problem...)
http://gbatemp.net/threads/release-...olkit-fw-2-0-9-2.382782/page-475#post-5623205
 

lemanuel

Maxconsole's All-Knowing Lurker
Member
Joined
Dec 11, 2014
Messages
2,095
Trophies
0
XP
1,254
Country
Portugal
trying to set up rxTools for first time to check it out.
Which ROP do I have to use for an original 4.x O3DS?
>> 4.x rxTools
>> 4.x DG rxTools
>> 4.x NDG rxTools

I'm trying to use the "reverted" release from before that was supposedly working with O3DS.

Thanks in advance ;)
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
trying to set up rxTools for first time to check it out.
Which ROP do I have to use for an original 4.x O3DS?
>> 4.x rxTools
>> 4.x DG rxTools
>> 4.x NDG rxTools

I'm trying to use the "reverted" release from before that was supposedly working with O3DS.

Thanks in advance ;)
Try "4.x rxTools" and if it doesn't work, try the others...
 

Rasa39

Pervert Deluxe
Member
Joined
Aug 16, 2015
Messages
453
Trophies
0
XP
2,631
Country
United Kingdom
Code.bin won't load, via mset or browser. I'm assuming I'm somehow doing something wrong since it seems to work for most people, but the code.bin just refuses to load and give "an error has occured" popup window regardless of which method I use.

I'm using 4.4 old 3DS. Guess I'll have to wait for a stable release before it decides to work for me :(
 

lemanuel

Maxconsole's All-Knowing Lurker
Member
Joined
Dec 11, 2014
Messages
2,095
Trophies
0
XP
1,254
Country
Portugal
Try "4.x rxTools" and if it doesn't work, try the others...

unfortunately already did. lol

Code.bin won't load, via mset or browser. I'm assuming I'm somehow doing something wrong since it seems to work for most people, but the code.bin just refuses to load and give "an error has occured" popup window regardless of which method I use.

I'm using 4.4 old 3DS. Guess I'll have to wait for a stable release before it decides to work for me :(

Same here except I'm 4.5 O3DS
 

Orkna

Well-Known Member
Member
Joined
Feb 7, 2014
Messages
379
Trophies
0
Location
Sviiiiiden
XP
277
Country
Fixed ;) (not tested yet because I still have to solve that problem...)
http://gbatemp.net/threads/release-...olkit-fw-2-0-9-2.382782/page-475#post-5623205

Great. Changed to your solution. New commit now so just when I was testing my script the sha1 changed. lol. I got a bit confused. hehe

Code:
#!/bin/bash

export DEVKITPRO=/opt/devkitpro
export DEVKITARM=$DEVKITPRO/devkitARM
export PATH=$PATH:$DEVKITARM/bin

CLOUD_DIR="/home/banana/Dropbox/rxTools/unstable"
BUILD_DIR="/home/banana/build"

cd $BUILD_DIR

build_date=`date +"%Y-%m-%d_%H.%M"`
if [ -d $BUILD_DIR/rxTools ]; then
   cd $BUILD_DIR/rxTools
   git pull origin master
   git submodule update --init --recursive
else
   git clone --recursive https://github.com/roxas75/rxTools
   cd $BUILD_DIR/rxTools
fi
sha1=`git rev-parse --short HEAD`

#if ! [ -f "$BUILD_DIR/$sha1.last" ]; then

if ! ls $CLOUD_DIR/rxTools_*$sha1*_unstable.zip 1> /dev/null 2>&1; then
   echo Cleaning...
   make clean
   echo Building...
   make release
   echo Compressing...
   ln -s $BUILD_DIR/rxTools.dat.README.txt $BUILD_DIR/rxTools/release/rxTools.dat.README.txt
   ln -s $BUILD_DIR/IMPORTANT.txt $BUILD_DIR/rxTools/IMPORTANT.txt
   cd $BUILD_DIR/rxTools
   zip -9 -r $BUILD_DIR/rxTools_$sha1$build_date.zip release IMPORTANT.txt
   rm $BUILD_DIR/rxTools/release/rxTools.dat.README.txt $BUILD_DIR/rxTools/IMPORTANT.txt
   echo Moving to the cloud...
     mv $BUILD_DIR/rxTools_$sha1$build_date.zip "$CLOUD_DIR/rxTools_$build_date""CEST_$sha1""_unstable.zip"
     #rm $BUILD_DIR/*.last
     #touch $BUILD_DIR/$sha1.last
else
   echo Latest version already online.
fi
 
  • Like
Reactions: nastys

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
Code.bin won't load, via mset or browser. I'm assuming I'm somehow doing something wrong since it seems to work for most people, but the code.bin just refuses to load and give "an error has occured" popup window regardless of which method I use.

I'm using 4.4 old 3DS. Guess I'll have to wait for a stable release before it decides to work for me :(
Use this version
Great. Changed to your solution. New commit now so just when I was testing my script the sha1 changed. lol. I got a bit confused. hehe

Code:
#!/bin/bash

export DEVKITPRO=/opt/devkitpro
export DEVKITARM=$DEVKITPRO/devkitARM
export PATH=$PATH:$DEVKITARM/bin

CLOUD_DIR="/home/banana/Dropbox/rxTools/unstable"
BUILD_DIR="/home/banana/build"

cd $BUILD_DIR

build_date=`date +"%Y-%m-%d_%H.%M"`
if [ -d $BUILD_DIR/rxTools ]; then
   cd $BUILD_DIR/rxTools
   git pull origin master
   git submodule update --init --recursive
else
   git clone --recursive https://github.com/roxas75/rxTools
   cd $BUILD_DIR/rxTools
fi
sha1=`git rev-parse --short HEAD`

#if ! [ -f "$BUILD_DIR/$sha1.last" ]; then

if ! ls $CLOUD_DIR/rxTools_*$sha1*.zip 1> /dev/null 2>&1; then
   echo Cleaning...
   make clean
   echo Building...
   make release
   echo Compressing...
   ln -s $BUILD_DIR/rxTools.dat.README.txt $BUILD_DIR/rxTools/release/rxTools.dat.README.txt
   ln -s $BUILD_DIR/IMPORTANT.txt $BUILD_DIR/rxTools/IMPORTANT.txt
   cd $BUILD_DIR/rxTools
   zip -9 -r $BUILD_DIR/rxTools_$sha1$build_date.zip release IMPORTANT.txt
   rm $BUILD_DIR/rxTools/release/rxTools.dat.README.txt $BUILD_DIR/rxTools/IMPORTANT.txt
   echo Moving to the cloud...
     mv $BUILD_DIR/rxTools_$sha1$build_date.zip "$CLOUD_DIR/rxTools_$build_date""CEST_$sha1""_unstable.zip"
     #rm $BUILD_DIR/*.last
     #touch $BUILD_DIR/$sha1.last
else
   echo Latest version already online.
fi
Thanks for sharing your script ;)
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
I like to specify full folder structure. Then you can run the script wherever you want.
Still not working :(
Code:
[·...·]
arm-none-eabi-strip /home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm_unstrip.elf -o /home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm.elf
arm-none-eabi-strip: '-o': No such file
arm-none-eabi-strip: '/home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm.elf': No such file
Makefile:79: set di istruzioni per l'obiettivo "/home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm.elf" non riuscito [·failed·]
make[2]: *** [/home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm.elf] Errore [·error·] 1
[·...·]
But it works fine when launched without cron... this doesn't make any sense :(
 

Orkna

Well-Known Member
Member
Joined
Feb 7, 2014
Messages
379
Trophies
0
Location
Sviiiiiden
XP
277
Country
Still not working :(
Code:
[·...·]
arm-none-eabi-strip /home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm_unstrip.elf -o /home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm.elf
arm-none-eabi-strip: '-o': No such file
arm-none-eabi-strip: '/home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm.elf': No such file
Makefile:79: set di istruzioni per l'obiettivo "/home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm.elf" non riuscito [·failed·]
make[2]: *** [/home/nastys/rxNightly/rxTools/rxmode/build/ktr/native_firm.elf] Errore [·error·] 1
[·...·]
But it works fine when launched without cron... this doesn't make any sense :(

Something must be wrong with the path?

Run echo $PATH as the user where the build works.
Then, run echo $PATH from cron, output to file and compare?

How do you use cron? I did crontab -e as my user and added it there. I did not edit /etc/crontab like some people likes to do.
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
Something must be wrong with the path?

Run echo $PATH as the user where the build works.
Then, run echo $PATH from cron, output to file and compare?

How do you use cron? I did crontab -e as my user and added it there. I did not edit /etc/crontab like some people likes to do.
I added env > env.txt at the end of the script.

With cron:
Code:
XDG_VTNR=7
LC_PAPER=it_IT.UTF-8
ORBIT_SOCKETDIR=/tmp/orbit-nastys
LC_ADDRESS=it_IT.UTF-8
XDG_SESSION_ID=c2
DEVKITARM=/opt/devkitpro/devkitARM
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/nastys
LC_MONETARY=it_IT.UTF-8
CLUTTER_IM_MODULE=xim
SESSION=ubuntu
GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1
TERM=xterm
VTE_VERSION=3803
SHELL=/bin/bash
WINDOWID=102760459
LC_NUMERIC=it_IT.UTF-8
OLDPWD=/home/nastys/rxNightly/rxTools
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1412
GNOME_KEYRING_CONTROL=
GTK_MODULES=overlay-scrollbar:unity-gtk-module
USER=nastys
LC_TELEPHONE=it_IT.UTF-8
DEVKITPRO=/opt/devkitpro
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
POSIXLY_CORRECT=enabled
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
DESKTOP_SESSION=ubuntu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/devkitpro/devkitARM/bin
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=appmenu-qt5
LC_IDENTIFICATION=it_IT.UTF-8
XDG_SESSION_TYPE=x11
PWD=/home/nastys/rxNightly/rxTools
JOB=unity-settings-daemon
XMODIFIERS=@im=ibus
GNOME_KEYRING_PID=
LANG=it_IT.UTF-8
GDM_LANG=it
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
LC_MEASUREMENT=it_IT.UTF-8
COMPIZ_CONFIG_PROFILE=ubuntu
IM_CONFIG_PHASE=1
PAPERSIZE=a4
GDMSESSION=ubuntu
JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar
SESSIONTYPE=gnome-session
SHLVL=3
HOME=/home/nastys
XDG_SEAT=seat0
LANGUAGE=it:en
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
UPSTART_INSTANCE=
UPSTART_EVENTS=xsession started
XDG_SESSION_DESKTOP=ubuntu
LOGNAME=nastys
COMPIZ_BIN_PATH=/usr/bin/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-5O9p15MXQ1
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
QT4_IM_MODULE=xim
INSTANCE=
UPSTART_JOB=unity7
XDG_RUNTIME_DIR=/run/user/1000
DISPLAY=:0
XDG_CURRENT_DESKTOP=Unity
GTK_IM_MODULE=ibus
LC_TIME=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
XAUTHORITY=/home/nastys/.Xauthority
_=/usr/bin/env

Without cron:
Code:
LC_PAPER=it_IT.UTF-8
XDG_VTNR=7
XDG_SESSION_ID=c2
LC_ADDRESS=it_IT.UTF-8
DEVKITPPC=/opt/devkitpro/devkitPPC
DBUS_STARTER_ADDRESS=unix:abstract=/tmp/dbus-xxx,guid=xxx
CLUTTER_IM_MODULE=xim
LC_MONETARY=it_IT.UTF-8
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/nastys
DEVKITARM=/opt/devkitpro/devkitARM
SHELL=/bin/bash
XDG_MENU_PREFIX=gnome-
VTE_VERSION=3803
TERM=xterm
LC_NUMERIC=it_IT.UTF-8
WINDOWID=100663307
OLDPWD=/home/nastys/rxNightly/rxTools
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1412
GTK_MODULES=overlay-scrollbar:unity-gtk-module
USER=nastys
LC_TELEPHONE=it_IT.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
DEVKITPRO=/opt/devkitpro
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
SESSION_MANAGER=local/ULNS:@/tmp/.ICE-unix/1598,unix/ULNS:/tmp/.ICE-unix/1598
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/devkitpro/devkitARM/bin://opt/devkitpro/devkitPPC/bin:/opt/devkitpro/devkitARM/bin
DESKTOP_SESSION=ubuntu
QT_QPA_PLATFORMTHEME=appmenu-qt5
QT_IM_MODULE=ibus
LC_IDENTIFICATION=it_IT.UTF-8
JOB=xsession-init
PWD=/home/nastys/rxNightly/rxTools
XDG_SESSION_TYPE=x11
XMODIFIERS=@im=ibus
LANG=it_IT.UTF-8
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
GDM_LANG=it
LC_MEASUREMENT=it_IT.UTF-8
IM_CONFIG_PHASE=1
COMPIZ_CONFIG_PROFILE=ubuntu
PAPERSIZE=a4
JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar
GDMSESSION=ubuntu
DBUS_STARTER_BUS_TYPE=session
SESSIONTYPE=gnome-session
XDG_SEAT=seat0
HOME=/home/nastys
SHLVL=2
LANGUAGE=it:en
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
UPSTART_INSTANCE=
LOGNAME=nastys
XDG_SESSION_DESKTOP=ubuntu
UPSTART_EVENTS=starting
QT4_IM_MODULE=xim
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xxx,guid=xxx
LESSOPEN=| /usr/bin/lesspipe %s
UPSTART_JOB=dbus
INSTANCE=
DISPLAY=:0
XDG_RUNTIME_DIR=/run/user/1000
DBUS_DEBUG_OUTPUT=1
GTK_IM_MODULE=ibus
XDG_CURRENT_DESKTOP=Unity
LC_TIME=it_IT.UTF-8
LESSCLOSE=/usr/bin/lesspipe %s %s
XAUTHORITY=/home/nastys/.Xauthority
LC_NAME=it_IT.UTF-8
_=/usr/bin/env

I use Gnome Schedule.
 

Orkna

Well-Known Member
Member
Joined
Feb 7, 2014
Messages
379
Trophies
0
Location
Sviiiiiden
XP
277
Country
I added env > env.txt at the end of the script.

With cron:
Code:
XDG_VTNR=7
LC_PAPER=it_IT.UTF-8
ORBIT_SOCKETDIR=/tmp/orbit-nastys
LC_ADDRESS=it_IT.UTF-8
XDG_SESSION_ID=c2
DEVKITARM=/opt/devkitpro/devkitARM
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/nastys
LC_MONETARY=it_IT.UTF-8
CLUTTER_IM_MODULE=xim
SESSION=ubuntu
GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1
TERM=xterm
VTE_VERSION=3803
SHELL=/bin/bash
WINDOWID=102760459
LC_NUMERIC=it_IT.UTF-8
OLDPWD=/home/nastys/rxNightly/rxTools
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1412
GNOME_KEYRING_CONTROL=
GTK_MODULES=overlay-scrollbar:unity-gtk-module
USER=nastys
LC_TELEPHONE=it_IT.UTF-8
DEVKITPRO=/opt/devkitpro
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
POSIXLY_CORRECT=enabled
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
DESKTOP_SESSION=ubuntu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/devkitpro/devkitARM/bin
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=appmenu-qt5
LC_IDENTIFICATION=it_IT.UTF-8
XDG_SESSION_TYPE=x11
PWD=/home/nastys/rxNightly/rxTools
JOB=unity-settings-daemon
XMODIFIERS=@im=ibus
GNOME_KEYRING_PID=
LANG=it_IT.UTF-8
GDM_LANG=it
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
LC_MEASUREMENT=it_IT.UTF-8
COMPIZ_CONFIG_PROFILE=ubuntu
IM_CONFIG_PHASE=1
PAPERSIZE=a4
GDMSESSION=ubuntu
JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar
SESSIONTYPE=gnome-session
SHLVL=3
HOME=/home/nastys
XDG_SEAT=seat0
LANGUAGE=it:en
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
UPSTART_INSTANCE=
UPSTART_EVENTS=xsession started
XDG_SESSION_DESKTOP=ubuntu
LOGNAME=nastys
COMPIZ_BIN_PATH=/usr/bin/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-5O9p15MXQ1
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
QT4_IM_MODULE=xim
INSTANCE=
UPSTART_JOB=unity7
XDG_RUNTIME_DIR=/run/user/1000
DISPLAY=:0
XDG_CURRENT_DESKTOP=Unity
GTK_IM_MODULE=ibus
LC_TIME=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
XAUTHORITY=/home/nastys/.Xauthority
_=/usr/bin/env

Without cron:
Code:
LC_PAPER=it_IT.UTF-8
XDG_VTNR=7
XDG_SESSION_ID=c2
LC_ADDRESS=it_IT.UTF-8
DEVKITPPC=/opt/devkitpro/devkitPPC
DBUS_STARTER_ADDRESS=unix:abstract=/tmp/dbus-xxx,guid=xxx
CLUTTER_IM_MODULE=xim
LC_MONETARY=it_IT.UTF-8
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/nastys
DEVKITARM=/opt/devkitpro/devkitARM
SHELL=/bin/bash
XDG_MENU_PREFIX=gnome-
VTE_VERSION=3803
TERM=xterm
LC_NUMERIC=it_IT.UTF-8
WINDOWID=100663307
OLDPWD=/home/nastys/rxNightly/rxTools
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1412
GTK_MODULES=overlay-scrollbar:unity-gtk-module
USER=nastys
LC_TELEPHONE=it_IT.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
DEVKITPRO=/opt/devkitpro
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
SESSION_MANAGER=local/ULNS:@/tmp/.ICE-unix/1598,unix/ULNS:/tmp/.ICE-unix/1598
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/devkitpro/devkitARM/bin://opt/devkitpro/devkitPPC/bin:/opt/devkitpro/devkitARM/bin
DESKTOP_SESSION=ubuntu
QT_QPA_PLATFORMTHEME=appmenu-qt5
QT_IM_MODULE=ibus
LC_IDENTIFICATION=it_IT.UTF-8
JOB=xsession-init
PWD=/home/nastys/rxNightly/rxTools
XDG_SESSION_TYPE=x11
XMODIFIERS=@im=ibus
LANG=it_IT.UTF-8
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
GDM_LANG=it
LC_MEASUREMENT=it_IT.UTF-8
IM_CONFIG_PHASE=1
COMPIZ_CONFIG_PROFILE=ubuntu
PAPERSIZE=a4
JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar
GDMSESSION=ubuntu
DBUS_STARTER_BUS_TYPE=session
SESSIONTYPE=gnome-session
XDG_SEAT=seat0
HOME=/home/nastys
SHLVL=2
LANGUAGE=it:en
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
UPSTART_INSTANCE=
LOGNAME=nastys
XDG_SESSION_DESKTOP=ubuntu
UPSTART_EVENTS=starting
QT4_IM_MODULE=xim
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xxx,guid=xxx
LESSOPEN=| /usr/bin/lesspipe %s
UPSTART_JOB=dbus
INSTANCE=
DISPLAY=:0
XDG_RUNTIME_DIR=/run/user/1000
DBUS_DEBUG_OUTPUT=1
GTK_IM_MODULE=ibus
XDG_CURRENT_DESKTOP=Unity
LC_TIME=it_IT.UTF-8
LESSCLOSE=/usr/bin/lesspipe %s %s
XAUTHORITY=/home/nastys/.Xauthority
LC_NAME=it_IT.UTF-8
_=/usr/bin/env

Yeah, different paths. Did you try my script "as is" with the exports at the top? Run as .sh?
and are the paths same as mine to devkit etc?
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
Yeah, different paths. Did you try my script "as is" with the exports at the top? Run as .sh?
and are the paths same as mine to devkit etc?
Schermata del 2015-08-18 18:23:13.png
The PATH is different because I also have devkitPPC in my PATH, but I don't think it's needed for rxTools.

EDIT: it magically worked this time... :huh: NVM...
EDIT2: it works if I don't launch it manually from Gnome Schedule, WTF... :O
 

Orkna

Well-Known Member
Member
Joined
Feb 7, 2014
Messages
379
Trophies
0
Location
Sviiiiiden
XP
277
Country
  • Like
Reactions: nastys
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    I @ idonthave: :)