ROM Hack Discussion smash bros ultimate amiibo editor?

Mikefrost

Member
Newcomer
Joined
Jan 6, 2019
Messages
9
Trophies
0
Age
27
XP
87
Country
United States
Love what you are doing and looks fantastic. Not totally sure how to encrypt and decrypt amiibo bin files though. I feel like I'm missing something.
 

odwdinc

Well-Known Member
OP
Newcomer
Joined
Dec 11, 2018
Messages
57
Trophies
0
Age
36
XP
287
Country
United States
Love what you are doing and looks fantastic. Not totally sure how to encrypt and decrypt amiibo bin files though. I feel like I'm missing something.
  • Amiibo Key File. (Don't ask for these google is fine)
    MD5: 45fd53569f5765eef9c337bd5172f937
    SHA1: bbdbb49a917d14f7a997d327ba40d40c39e606ce
needs to be named retail.key and in the root of the repo.
 

Wanderer0891

Well-Known Member
Member
Joined
Dec 18, 2008
Messages
108
Trophies
0
XP
282
Country
United States
I do like this editor but I've never been able to get the Decrypt and Encrypt options to work, they show up in the menu and I know I have the right retail.key as I've been using AmiiBomb for Decrypting and Encrypting.
Python spits out this message when I try to decrypt an amiibo.bin file:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Wanderer\AppData\Local\Programs\Python\Python37\lib\tkinter\__init__.py", line 1705, in __call__
return self.func(*args)
File "C:\SSBU_Amiibo-master\ui.py", line 152, in Decrypt
file = open(fName+"d", "rb+")
FileNotFoundError: [Errno 2] No such file or directory: 'C:/SSBU_Amiibo-master/Mario.bind'
Any idea if its something on my end or a bug?
 

odwdinc

Well-Known Member
OP
Newcomer
Joined
Dec 11, 2018
Messages
57
Trophies
0
Age
36
XP
287
Country
United States
O wow, yah that is a bug lol mybad, gues trying to send the binary vs compiling was a no-go
updated repo shoud be fixed, will need to run setup.sh or if you want to see what going on >
Code:
git submodule update --init --recursive
cd ./amiitool
make
sudo make install PWD=$(pwd)
 

Wanderer0891

Well-Known Member
Member
Joined
Dec 18, 2008
Messages
108
Trophies
0
XP
282
Country
United States
What os and any errors you are seeing.

Windows 7 64 bit using Cygwin64 Terminal.

git submodule update --init --recursive
19 [main] gettext (1432) C:\devkitPro\msys2\usr\bin\gettext.exe: *** fatal error - cygheap base mismatch detected - 0x18031D410/0x1802FF410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
6 [main] envsubst (8564) C:\devkitPro\msys2\usr\bin\envsubst.exe: *** fatal error - cygheap base mismatch detected - 0x18031D410/0x1802FF410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
13 [main] envsubst (7296) C:\devkitPro\msys2\usr\bin\envsubst.exe: *** fatal error - cygheap base mismatch detected - 0x18031D410/0x1802FF410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
/cygdrive/c/devkitPro/msys2/usr/bin/gettext.sh: line 87: 7800 Segmentation fault envsubst "$1"

make
"make" lib -C /usr/local/bin/amiitool/mbedtls CFLAGS="-DMBEDTLS_CONFIG_FILE='\"/usr/local/bin/amiitool/configs/mbedtls.h\"' -Wall -pedantic -O2 -fsigned-char"
make[1]: Entering directory '/usr/local/bin/amiitool/mbedtls'
make[1]: Leaving directory '/usr/local/bin/amiitool/mbedtls'
cc -I /usr/local/bin/amiitool/include -I /usr/local/bin/amiitool/mbedtls/include -Wall -pedantic -O2 -fsigned-char -c version.c -o version.o
In file included from version.c:9:0:
version.c: In function ‘nfc3d_version_commit’:
gitversion.h:1:23: error: invalid suffix "x" on integer constant
#define GIT_COMMIT_ID 0x
^
version.c:17:9: note: in expansion of macro ‘GIT_COMMIT_ID’
return GIT_COMMIT_ID;
^~~~~~~~~~~~~
version.c: In function ‘nfc3d_version_build’:
version.c:21:2: warning: ‘return’ with no value, in function returning non-void
return GIT_COMMIT_COUNT;
^~~~~~
version.c:20:10: note: declared here
uint32_t nfc3d_version_build() {
^~~~~~~~~~~~~~~~~~~
version.c: In function ‘nfc3d_version_commit’:
version.c:18:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [Makefile:49: version.o] Error 1

I'm honestly not sure what I'm missing.
 

odwdinc

Well-Known Member
OP
Newcomer
Joined
Dec 11, 2018
Messages
57
Trophies
0
Age
36
XP
287
Country
United States
Windows 7 64 bit using Cygwin64 Terminal.

I'm honestly not sure what I'm missing.
I would strongly suggest trashing Cygwin64, virtualbox and Ubuntu would be much easier to get going with.
look at https://mobaxterm.mobatek.net/ for X11 support for windows,

My setup is Ubuntu VM, connected to via SSH with mobaxterm. This support file transfer and X11(aka UI/graphics).


I will look in to seeing if its posable to port amiitool to windows.
 

Wanderer0891

Well-Known Member
Member
Joined
Dec 18, 2008
Messages
108
Trophies
0
XP
282
Country
United States
I would strongly suggest trashing Cygwin64, virtualbox and Ubuntu would be much easier to get going with.
look at https://mobaxterm.mobatek.net/ for X11 support for windows,

My setup is Ubuntu VM, connected to via SSH with mobaxterm. This support file transfer and X11(aka UI/graphics).


I will look in to seeing if its posable to port amiitool to windows.

As far as porting amiitool to windows I did remember that I came across this while looking around if it can be of help to you:
https://github.com/tobywf/pyamiibo
 
D

Deleted User

Guest
using the amiibo cheat tool on 3ds gives the amiibo max lvl (50) but when its brought into smash ultimate its only lvl 13 lmao
 
  • Like
Reactions: Xpartyman

AbnormalAdept

Well-Known Member
Newcomer
Joined
Jan 9, 2017
Messages
75
Trophies
0
Age
73
XP
437
Country
United States
@odwdinc so how exactly do u execute ui.py?
instructions in the readme.md and in the doc folder is confusing. the pic in the doc folder has an extra pyamiibo folder and uses ui.py to execute not ssbu_amiibo
 

AbnormalAdept

Well-Known Member
Newcomer
Joined
Jan 9, 2017
Messages
75
Trophies
0
Age
73
XP
437
Country
United States
i still cant seem to figure out how to run that command for the ui. i keep getting errors like "this command doesnt exist"
could u precompile it for a release instead? sorry for troubling u
 

odwdinc

Well-Known Member
OP
Newcomer
Joined
Dec 11, 2018
Messages
57
Trophies
0
Age
36
XP
287
Country
United States
i still cant seem to figure out how to run that command for the ui. i keep getting errors like "this command doesnt exist"
could u precompile it for a release instead? sorry for troubling u

i cant do release at this time, still working to maybe support one day :(

if you have run
python -m pip install --user git+https://github.com/odwdinc/SSBU_Amiibo.git
and there was no errors??

assuming you are on windows 10?
  1. Type %AppData%\Python\Python37\Scripts
    into the address bar and hit enter.
  2. you should see ssbu_amiibo.exe
  3. you can copy your "key_retail.bin" into this folder with ssbu_amiibo.exe and create a desktop shortcut.
if you dont have a "%AppData%\Python\Python37\Scripts" folder or if there is no ssbu_amiibo.exe in the folder, we can try somethinge else.
 

AbnormalAdept

Well-Known Member
Newcomer
Joined
Jan 9, 2017
Messages
75
Trophies
0
Age
73
XP
437
Country
United States
i get this error when running the pip line. im pretty sure i have pip and python installed.

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

yea i followed the instructioned exactly and ik im missing something else u prob installed beforehand btw idk what it is
 

Attachments

  • Screenshot (148).png
    Screenshot (148).png
    258.6 KB · Views: 178

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: 10 tabs open on chrome and no slow downs suck it low ram plebs lol