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

Status
Not open for further replies.

AlbertoSONIC

Pasta Team Member
Member
Joined
Jun 27, 2014
Messages
927
Trophies
0
Age
52
Website
www.albertosonic.com
XP
1,396
Country
Italy
Does it say which file the error occurs in? Current rxTools source does not have that file.

cc -std=c11 -O2 -Wall -Wextra -o tools/addxor_tool tools/toolsrc/addxor_tool/
main.c
tools/toolsrc/addxor_tool/main.c:1:19: fatal error: stdio.h: No such file or dir
ectory
#include <stdio.h>
^
compilation terminated.
make: *** [tools/addxor_tool] Error 1
Premere un tasto per continuare . . .

It's tools/addxor_tool
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,449
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,832
Country
United States
cc -std=c11 -O2 -Wall -Wextra -o tools/addxor_tool tools/toolsrc/addxor_tool/
main.c
tools/toolsrc/addxor_tool/main.c:1:19: fatal error: stdio.h: No such file or dir
ectory
#include <stdio.h>
^
compilation terminated.
make: *** [tools/addxor_tool] Error 1
Premere un tasto per continuare . . .

It's tools/addxor_tool


I see what went wrong. "arm-none_eabi" might be missing from your path (as this is the library that has stdio.h among other things). Here's what I have in my system PATH variable at the moment and rxTools compiles just fine for me:

C:\MinGW\bin;c:\devkitPro\msys\bin;C:\devkitPro\devkitARM\bin\;C:\devkitPro\devkitARM\arm-none-eabi\bin\;C:\Python27

(the full path string is longer, but I only included the relevent parts that were added for devkitArm/Pro and rxTools)

Also make sure these system path entries are present:

Variable Name: DEVKITARM
Variable value: /c/devkitPro/devkitARM

Variable Name: DEVKITPRO
Variable value: /c/devkitPro/devkitPro
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
My first theme for rxTools:
rxpasta.png
 

AlbertoSONIC

Pasta Team Member
Member
Joined
Jun 27, 2014
Messages
927
Trophies
0
Age
52
Website
www.albertosonic.com
XP
1,396
Country
Italy
I see what went wrong. "arm-none_eabi" might be missing from your path. Here's what I have in my system PATH variable at the moment and rxTools compiles just fine for me:

C:\MinGW\bin;c:\devkitPro\msys\bin;C:\devkitPro\devkitARM\bin\;C:\devkitPro\devkitARM\arm-none-eabi\bin\;C:\Python27

(the full path string is longer, but I only included the relevent parts that were added for devkitArm/Pro and rxTools)

Also make sure these system path entries are present:

Variable Name: DEVKITARM
Variable value: /c/devkitPro/devkitARM

Variable Name: DEVKITPRO
Variable value: /c/devkitPro/devkitPro
I have everything!
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,449
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,832
Country
United States
Try reinstalling devKitPro and restart your computer. Note that changes to your PATH setting may not work until you restart the computer. ;)

Also I'm compiling mine on Windows. I assume you are too? If it's linux I can't help you there. I don't use it, so the build environment for it I'm not familiar with.
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,449
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,832
Country
United States
I've honestly lost track of the things I've done to make it compile. But I never had that perticular error. Usually was command not found errors that I was trying to get around. I eventually fix it.

Also do you have armips added to your msys\bin directory? I recall having to copy it there before rxTools could use armips correctly.
 

AlbertoSONIC

Pasta Team Member
Member
Joined
Jun 27, 2014
Messages
927
Trophies
0
Age
52
Website
www.albertosonic.com
XP
1,396
Country
Italy
I've honestly lost track of the things I've done to make it compile. But I never had that perticular error. Usually was command not found errors that I was trying to get around. I eventually fix it.

Also do you have armips added to your msys\bin directory? I recall having to copy it there before rxTools could use armips correctly.
Yeah i have it
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,449
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,832
Country
United States
I used the latest version of devKitpro installer. I installed devkitPPC lib even though I've been told it wasn't needed. Not sure if that factors in anything, but I'll mention it anyways.

I installed this version of make:

http://gnuwin32.sourceforge.net/packages/make.htm
(although I don't think I had to replace make in msys/bin or add that to the paths. I just installed it. tried to add it to paths, got a crash and removed from paths and it then compiled. It was one of the last things I added before rxTools finally compiled for me. Not sure how this makes it compile even though it's not in my paths right now.)

And have the base install of MinGW GCC installed.

You can try contacting @duke_srg . He's the one who helped me getting rxTools to compile. ;)
 
  • Like
Reactions: AlbertoSONIC

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
I can't build armips :(
Code:
nastys@ULNS:~/GIToth/armips/build$ cmake ..
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
CMake Error at CMakeLists.txt:8 (add_executable):
  Cannot find source file:

  Util/StringFormat.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


-- Build files have been written to: /home/nastys/GIToth/armips/build
nastys@ULNS:~/GIToth/armips/build$ LANG=en make
make: *** No targets specified and no makefile found.  Stop.
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,449
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,832
Country
United States
I can't build armips :(
Code:
nastys@ULNS:~/GIToth/armips/build$ cmake ..
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
CMake Error at CMakeLists.txt:8 (add_executable):
  Cannot find source file:

  Util/StringFormat.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


-- Build files have been written to: /home/nastys/GIToth/armips/build
nastys@ULNS:~/GIToth/armips/build$ LANG=en make
make: *** No targets specified and no makefile found.  Stop.

Is there spaces in the folder names leading up to where you have your source code at? I recall having an issue where spaces in the paths causes issues with compiling. My current rxTools source is just on my desktop and there's no spaces in the path that leads to it. Not sure if this is the issue you are having. I have not had issues getting armips to compile. Though I don't recall ever trying to compile it as I did not have a need to do that. :P
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
Is there spaces in the folder names leading up to where you have your source code at?
No, there aren't :(
Though I don't recall ever trying to compile it as I did not have a need to do that. :P
What do you mean? I can't build rxTools because it keeps calling the armips binary, which does not exist:
Code:
nastys@ULNS:~/GIToth/rxTools$ LANG=en make
make[1]: Entering directory '/home/nastys/GIToth/rxTools/rxtools'
linking rxtools.elf
built ... rxtools.bin
make[1]: Leaving directory '/home/nastys/GIToth/rxTools/rxtools'
0+1 records in
1+0 records out
917504 bytes (918 kB) copied, 0.000487251 s, 1.9 GB/s
Base : 67893421
Seed : 12756342
make[1]: Entering directory '/home/nastys/GIToth/rxTools/rxmode'
make[2]: Entering directory '/home/nastys/GIToth/rxTools/rxmode/native_firm'
make[3]: Entering directory '/home/nastys/GIToth/rxTools/rxmode/native_firm/source/arm9'
arm-none-eabi-gcc -g -Wall source/myThread/myThread.c source/myThread/lib.c -c -mcpu=arm946e-s -march=armv5te -mlittle-endian -fshort-wchar -std=c99
arm-none-eabi-gcc -g source/EmuNAND.s source/CreateThread.s source/myThread/FS.S -I source/myThread -c -mcpu=arm946e-s -march=armv5te -mlittle-endian -fshort-wchar
arm-none-eabi-gcc -nostdlib -T 3ds.ld EmuNAND.o CreateThread.o myThread.o lib.o FS.o
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/4.9.2/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 000000000801a4c0
arm-none-eabi-objcopy -O binary a.out arm9.bin
rm -f *.o *.out
mv arm9.bin ../../build/0801a4c0.bin
make[3]: Leaving directory '/home/nastys/GIToth/rxTools/rxmode/native_firm/source/arm9'
/bin/sh: 1: armips: not found
/bin/sh: 1: armips: not found
/bin/sh: 1: armips: not found
/bin/sh: 1: armips: not found
/bin/sh: 1: armips: not found
/bin/sh: 1: armips: not found
Makefile:28: recipe for target 'patch.bin' failed
make[2]: *** [patch.bin] Error 127
make[2]: Leaving directory '/home/nastys/GIToth/rxTools/rxmode/native_firm'
Makefile:13: recipe for target 'nat_patch.bin' failed
make[1]: *** [nat_patch.bin] Error 2
make[1]: Leaving directory '/home/nastys/GIToth/rxTools/rxmode'
Makefile:53: recipe for target 'rxmode/*.bin' failed
make: *** [rxmode/*.bin] Error 2
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...