ROM Hack make: armips: Command not found

3nvys

New Member
OP
Newbie
Joined
Jan 20, 2017
Messages
4
Trophies
0
Age
27
XP
62
Country
United States
I'm running Ubuntu 14.04 and I'm trying to patch my code.bin for SaltySD but whenever I use make it gives me that error.

In my folder I have
-armips.exe
-code.bin
Makefile
-patch.s
-PATCHING.md
-uncode.tbl
Thanks.
 

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,040
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,001
Country
Portugal
I'm running Ubuntu 14.04 and I'm trying to patch my code.bin for SaltySD but whenever I use make it gives me that error.

In my folder I have
-armips.exe
-code.bin
Makefile
-patch.s
-PATCHING.md
-uncode.tbl
Thanks.
Obviously, if you're running Linux, you won't use the Windows binary of armips.

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

Here's a Linux x86_64 build of armips:
https://github.com/gnmmarechal/armipshost/raw/master/armips

You can just go and copy the armips binary to your /bin directory, or whatever.
 
Last edited by gnmmarechal,

3nvys

New Member
OP
Newbie
Joined
Jan 20, 2017
Messages
4
Trophies
0
Age
27
XP
62
Country
United States

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,040
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,001
Country
Portugal
I tried it and got the same error. Also I'm dual booted with Windows 7 and had the same problem. Thanks though.
You didn't do it. Did you just copy armips to the directory? That's not how Linux works.

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

Open a terminal in whatever directory you have armips and do:

sudo cp armips /bin/armips

Or something like that.
 

3nvys

New Member
OP
Newbie
Joined
Jan 20, 2017
Messages
4
Trophies
0
Age
27
XP
62
Country
United States
You didn't do it. Did you just copy armips to the directory? That's not how Linux works.
I did put it in the right directory, but now whenever I run it (even with sudo) it tells me permission denied.

make: execvp: armips: Permission Denied
 
Last edited by 3nvys,

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,040
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,001
Country
Portugal
That worked! Thanks for the help.
So you know what you're doing next time, essentially:

- You generally don't want to run *.exe binaries on Linux. It *can* be done through Wine, but is generally unwanted.
- To set a file as executable, you have to set its permissions (ex. chmod +x somefile)
- To run it, you need to either add it to your PATH (which allows you to run from the terminal directly, like when you copy it to /bin) or run it from the directory with ./somefile
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
    Veho @ Veho: :(