Hacking [linux] universal inject generator doesn't work

  • Thread starter Thread starter Nyap
  • Start date Start date
  • Views Views 1,605
  • Replies Replies 3

Nyap

HTML Noob
Banned
Joined
Jan 13, 2016
Messages
971
Reaction score
347
Trophies
0
Age
57
Location
That Chaos Site
XP
529
Country
I had this problem before but it never got answered
here's the terminal output:
nyap@nyap-HP-15-Notebook-PC ~/Downloads/Universal-Inject-Generator-master $ sudo /home/nyap/Downloads/Universal-Inject-Generator-master/go.sh

--- UNIVERSAL INJECT GENERATOR v0.6 ---
--- LINUX EDITION ---


[+] IDENTIFY SYSTEM ARCHITECTURE
[+] IDENTIFY FILES TO WORK WITH
[+] EXTRACT HS AND INJECT APP
[+] GENERATE NO BANNER EXEFS
cp: cannot stat ‘work/hs_exefs/banner.bnr’: No such file or directory
[+] GENERATE DUMMY ROMFS
mv: cannot stat ‘work/dummy_romfs.bin’: No such file or directory
[+] MERGE EXHEADER
[+] REBUILD HS INJECT APP
ls: cannot access input/FBI_inject_no_banner.app: No such file or directory
ls: cannot access input/FBI_inject_with_banner.app: No such file or directory
mv: cannot stat ‘input/FBI_inject_no_banner.app’: No such file or directory
mv: cannot stat ‘input/FBI_inject_with_banner.app’: No such file or directory
[+] HS APP ORIGINAL SIZE : 907264 bytes
[+] HS APP INJECT (N) SIZE: bytes
tools/process.sh: line 68: [: 907264: unary operator expected
[+] HS APP INJECT (B) SIZE: bytes
tools/process.sh: line 74: [: 907264: unary operator expected
I have put both the hs.app and FBI.cia into the input folder
 
As of commit fa5bc17 it uses different binaries for different architectures, but some of the files for specific architectures haven't been added.

The proper solution is for these files to be added, but as a quick workaround you can use the binaries from the architecutre which is there already:
Go into the tools directory and replace these files with the corresponding file of the other architecture (e.g. for 3dstool, delete 3dstool-Linux-x86_64, clone 3dstool-Linux-i686 and rename to 3dstool-Linux-x86_64):
  • 3dstool-Linux-x86_64
  • ctrtool-Linux-x86_64
  • MergeExHeader-Linux-i686
Then run it again and it should work.

edit: Added a github issue for this (https://github.com/d0k3/Universal-Inject-Generator/issues/16)
 
Last edited by xalri,
As of commit fa5bc17 it uses different binaries for different architectures, but some of the files for specific architectures haven't been added.

The proper solution is for these files to be added, but as a quick workaround you can use the binaries from the architecutre which is there already:
Go into the tools directory and replace these files with the corresponding file of the other architecture (e.g. for 3dstool, delete 3dstool-Linux-x86_64, clone 3dstool-Linux-i686 and rename to 3dstool-Linux-x86_64):
  • 3dstool-Linux-x86_64
  • ctrtool-Linux-x86_64
  • MergeExHeader-Linux-i686
Then run it again and it should work.

edit: Added a github issue for this (https://github.com/d0k3/Universal-Inject-Generator/issues/16)
thank you :D it worked
 

Site & Scene News

Popular threads in this forum