ROM Hack What went wrong here?

Arthurfogo7

Member
OP
Newcomer
Joined
Jul 31, 2022
Messages
23
Trophies
0
Age
22
Location
Brazil
XP
137
Country
Brazil
I'm trying to recompile .nca files, but it seems that this error always happens. I don't know if there is a better way to do that, but that's the only way I learned.
 

Attachments

  • Sem título54364564.png
    Sem título54364564.png
    130.6 KB · Views: 20
  • Like
Reactions: Donnie-Burger

Donnie-Burger

Well-Known Member
Member
Joined
Oct 27, 2021
Messages
927
Trophies
0
Website
www.youtube.com
XP
1,815
Country
United States
I'm trying to recompile .nca files, but it seems that this error always happens. I don't know if there is a better way to do that, but that's the only way I learned.
I have the same issues with a few backups myself. Most work with new 14.1.2 keys and all. Looks like nscbuilder finally needs an update.
 
Joined
Sep 9, 2019
Messages
904
Trophies
1
Location
Switch scene
Website
github.com
XP
2,663
Country
Korea, North
Looking at your screenshot it looks like the error is in the program itself, not something that you have done. There's some Python code somewhere that's trying to convert a boolean value in to an integer. I've narrowed it down to somewhere in this file but I don't know which line. It might also be the case that this file is completely bug free but another part of the program passes it the wrong data types as arguments.

https://github.com/julesontheroad/N...35e9bce7f9e8bf1493b2f21/py/ztools/squirrel.py

I think it is somewhere below line 3812 if anyone wants to try to fix it, I don't have the tools (nor the time) to trace the origin of the bug.

Edit: Some good potential candidates for the broken line are 3850, 3856, 3894, and 3900. I haven't used Python very much but I don't think you can do what the dev did there, trying to convert a comparison in to an integer with int()
 
Last edited by CompSciOrBust,

Arthurfogo7

Member
OP
Newcomer
Joined
Jul 31, 2022
Messages
23
Trophies
0
Age
22
Location
Brazil
XP
137
Country
Brazil
What exactly are you trying to do? We get that your trying to make an nsp but for what purpose? Or you just learning to learn
To be honest, I was trying to translate a game. Well, I gave up precisely because I don't have the knowledge needed for that. But I don't like to give up on something without trying to learn, at least. So here we are.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    Well then.. Go wash your clothes to make it all perfect :D ☹️
  • AncientBoi @ AncientBoi:
    And I'll get off my butt n make ME some lunch :D
  • Xdqwerty @ Xdqwerty:
    im not your boyfriend
  • AncientBoi @ AncientBoi:
    :cry: You arent'? :cry:
  • AncientBoi @ AncientBoi:
    [tells my mom not to send you anymore Christmas presents] :evil: :rofl2: :tpi:
  • Xdqwerty @ Xdqwerty:
    im a minor
  • AncientBoi @ AncientBoi:
    So. I'm a Major
  • Xdqwerty @ Xdqwerty:
    im under 18
  • AncientBoi @ AncientBoi:
    I'm waaaaaaaaaay over 18. lol
  • Xdqwerty @ Xdqwerty:
    that makes you a pedo
  • AncientBoi @ AncientBoi:
    Pedo = 1. child 2. boy 3. ? I forgot. But I wish I were still a "Boy" :sad::cry::cry::cry:
  • Xdqwerty @ Xdqwerty:
    i meant simping over someone under 18 while you are over 18 makes you a pedophile
  • AncientBoi @ AncientBoi:
    And when did I "simp" you?
  • AncientBoi @ AncientBoi:
    Just go make me the darn coffee :angry:
  • AncientBoi @ AncientBoi:
    Tea?
  • AncientBoi @ AncientBoi:
    LoL lmao
  • AncientBoi @ AncientBoi:
    L8er dude. going to watch YT's on the Ukraine/ruskie war.
    +1
  • Xdqwerty @ Xdqwerty:
    @AncientBoi,tbh i think im
    not interested in whats going on irl
  • BakerMan @ BakerMan:
    tomorrow's memorial day, so i've been looking for a playlist, but it's all just country and alternative rock
  • Xdqwerty @ Xdqwerty:
    @BakerMan, memorial day for who?
  • BakerMan @ BakerMan:
    why the hell can't i find one with a song about the soldiers who died in battle, the very reason we celebrate
    BakerMan @ BakerMan: why the hell can't i find one with a song about the soldiers who died in battle, the very reason...