Homebrew (WIP) Undertale NDS

regedw7

Member
Newcomer
Joined
Aug 26, 2022
Messages
20
Trophies
0
Location
SP
XP
69
Country
Brazil
Quando tento aplicar o patch UPS, ele me diz "Falha! O arquivo de entrada é inválido."
O que exatamente eu preciso fazer lá? baixei o tsukuyomi, tentei aplicar patch a um arquivo existente e aplicar patch a um novo arquivo. usou UndertaleNDS.nds.ups como arquivo de patch e data.win como arquivo de destino. Existe uma versão específica do undertale que você precisa?

Sorry everyone, it seems like the building process is somewhat broken. I know the instructions are not great as they were rushed, and I don't think I can improve them right now. If you just want to play the game, you can patch the data.win file with UndertaleNDS.nds.ups and rename the resulting file to UndertaleNDS.nds. Then you can plug it into an emulator without the need to build anything.
well I changed the file extension to nds before but I tried to run it in the 3DS twilight menu, and it gave corrupt file error or something, I think it's really necessary to compile the file
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
well I changed the file extension to nds before but I tried to run it in the 3DS twilight menu, and it gave corrupt file error or something, I think it's really necessary to compile the file
well, what I found is that the ups files, each needs a separate data.win. the reason is that the file is turned into a zip (add zip extension to the data.win after patching, and you should have a folder called tools, which you merge into the root). that's why it would never let you patch it multiple times. do that for both ups files, but the nds ups is different. I did get an error that the op acknowledged was a mistake, he accidentally left some things in the source code. that's all for building it.
 
  • Like
Reactions: Cervi

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I just tried it and it worked. Could you maybe give an in-depth explanation at how you did it? It booted in No$GBA.
I patched two separate data.win files with the tools.zip.ups and whatever the other one is called (not the nds one), both had a folder named tools after renaming the data.win to data.win.zip. I then patched a third data.win with the nds.ups. after that, I used the all python script, and it was going through everything, then error'd with that message I showed you on github.
 

regedw7

Member
Newcomer
Joined
Aug 26, 2022
Messages
20
Trophies
0
Location
SP
XP
69
Country
Brazil
Acabei de tentar e funcionou. Você poderia, talvez, dar uma explicação detalhada de como você fez isso? Ele inicializou em No$GBA.

Oh yeah, yeah I meant what xbmbooy said, I already know what that issue is. Sorry for the misunderstanding.
well and to solve this would we have to wait for an update or something like that? Or can we solve it ourselves?
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I'll go check github and try to run the game in 3ds again
oh god I forgot to remove the debug prints... well until I get that fixed on the next release, you could edit pngToCbgf.py to remove all prints, which should correct this issue
Post automatically merged:

that's how to fix it.
 
  • Like
Reactions: regedw7

regedw7

Member
Newcomer
Joined
Aug 26, 2022
Messages
20
Trophies
0
Location
SP
XP
69
Country
Brazil
oh deus, esqueci de remover as impressões de depuração ... bem, até que eu conserte isso na próxima versão, você pode editar pngToCbgf.py para remover todas as impressões, o que deve corrigir esse problema
Post automatically merged:

é assim que conserta.
ty
Post automatically merged:

oh god I forgot to remove the debug prints... well until I get that fixed on the next release, you could edit pngToCbgf.py to remove all prints, which should correct this issue
Post automatically merged:

that's how to fix it.
how would i modify pngToCbgf.py? do i apply the patches get the zip file and then open it to get this file? I really do not know
Post automatically merged:

oh god I forgot to remove the debug prints... well until I get that fixed on the next release, you could edit pngToCbgf.py to remove all prints, which should correct this issue
Post automatically merged:

that's how to fix it.
and what exactly would I change inside the file? I have no idea how I'm going to do this, I just want to play :cry:
 
Last edited by regedw7,

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
ty
Post automatically merged:


how would i modify pngToCbgf.py? do i apply the patches get the zip file and then open it to get this file? I really do not know
Post automatically merged:


and what exactly would I change inside the file? I have no idea how I'm going to do this, I just want to play :cry:
I'll dm you, but be quick about it.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
@Cervi , how did you mean to patch the rom itself instead of doing the entire compilation. do you mean the rom that's already been build? how do you do that if that's the case?
 

Cervi

Well-Known Member
OP
Newcomer
Joined
Aug 25, 2022
Messages
46
Trophies
0
Location
Catalonia
XP
394
Country
Spain
has there been any headway to fix the problem I encountered? early builds were much easier to build.
I thought the same but some complained that the old system could lead to piracy (even though I don't fully agree), therefore I had to take them down. I still haven't had time to rework the system but maybe in late december I could manage to work on it. I'm really sorry for taking so long.
Post automatically merged:

Jesus christ, no sprites?! JUST C++???? How crazy are you, man? And where can I try this out?
There are sprites, although they aren't shared together with the code to avoid piracy on the original material
 
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I thought the same but some complained that the old system could lead to piracy (even though I don't fully agree), therefore I had to take them down. I still haven't had time to rework the system but maybe in late december I could manage to work on it. I'm really sorry for taking so long.
Post automatically merged:


There are sprites, although they aren't shared together with the code to avoid piracy on the original material
nah, you're fine. you might have it back the way it used to be. as long as git repository isn't offering the data.win file, it should be okay. I've compiled every version of sonic mania and sm64. I've shared all of my sonic mania builds, because it doesn't contain any assets. the assets are backed into sm64, which is why I haven't shared them publicly.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    It would be funny to pick up a girl in a real expensive car, then next date show up in a piece o shit car just to see her reaction. If she was real, it wouldn't matter.
  • Psionic Roshambo @ Psionic Roshambo:
    Everyone is disposable and replaceable, lies and deception are the coin of the realm. I have never felt so alone and so at odds with the world.
  • K3Nv2 @ K3Nv2:
    I don't think we should see others as disposable just if they can show any glimps of care about humanity should be forgiven
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, she would leave you inmediately
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    For a time I considered creating a new big bang. Wipe the slate clean and start from scratch....
  • K3Nv2 @ K3Nv2:
    Your closest friend probably talks negative about you the most
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I know I talk shit about that Ken guy constantly lol
    +1
  • K3Nv2 @ K3Nv2:
    Yeah I just had to consile it's a age thing and I can get erect
    +1
  • BigOnYa @ BigOnYa:
    Right.. Take a number
  • SylverReZ @ SylverReZ:
    @BigOnYa, Binkinator is still around you guys. I just saw him in one of the Discord servers that I'm in.
    +1
  • K3Nv2 @ K3Nv2:
    People get more mad when they learn you aren't as dimwitted as they think
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, that guy who was dissappeared?
  • Psionic Roshambo @ Psionic Roshambo:
    My favorite thing about that Ken, if they talk bad about others to you. They doing it to you too.
  • Psionic Roshambo @ Psionic Roshambo:
    Always remember that
  • K3Nv2 @ K3Nv2:
    More or less then they drop you and blame you when you find out
  • Psionic Roshambo @ Psionic Roshambo:
    Well taking responsibility for their own actions would mean doing work and self reflection lol easier to just be a pile of crap rolling down hill
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I dont mean to be rude but what was so important about them?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, He truly shared his great knowledge about Switch modding.
    +1
  • SylverReZ @ SylverReZ:
    People miss him because he used to be active a lot.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I modified a switch in a bathroom one time by wiping poop on it... Lol
  • K3Nv2 @ K3Nv2:
    Been noticing it more these days alot has to do with coperation attitude manipulation people work in it so long they think it's a good way to live
    +1
  • BigOnYa @ BigOnYa:
    And he/she used to do any/every mod to the Switch, just to learn and teach others as well. A true Switch genius.
    +2
    BigOnYa @ BigOnYa: And he/she used to do any/every mod to the Switch, just to learn and teach others as well. A... +2