Homebrew [WIP] (More) undertale_techdemo

Kitlith

Well-Known Member
OP
Newcomer
Joined
Jan 29, 2016
Messages
93
Trophies
0
Location
Trapped between a rock and a hard place
Website
kitl.pw
XP
218
Country
United States
Expressing a desire is 'entitled'? Okay then.

cia or no dice

This sounds like a demand more than a desire to me... Sorry, @Ella897, I guess that's 'no dice'. Let me go over why I'm not going to offer a cia myself.

  1. I don't want to distribute copyrighted content in a romfs.
  2. I really don't want to distribute copyrighted content in a romfs. It's bad enough that it's in the history of the repo/in the repo/in the releases.
  3. I actually have no idea how to make a CIA build... lol
I've experimented with romfs and 3dsx, so it should be possible with a few tweaks, I just have no desire to do so at the moment.

On topic: While I'm not a fan of Undertale by any means, I do find this port very interesting and (potentially) impressive, so good luck, @Kitlith.

anyway this isn't a port but more of a remake right? good luck with your efforts!

It's more like a remake... A port would be like recreating the actual Game Maker engine. Then again, would I really want to recreate the Game Maker engine? (not really.) Would I be able to recreate the GM engine? (not really.)

All the same, we'll see where this goes. This is actually my first game-like project, and my first project with graphics, and my first homebrew project. Phew, that's quite a few firsts.

I once had a similar project but didn't have time to learn how to do things so I gave up lol (a certain game to the DS... huehue)

Welp, all I can say, if you're looking to start on a project like this again, is to become comfortable with c/c++ (though not necessarilly fluent!) outside of homebrew. Play with examples. Play with other people's code. Technically, *I'm* playing with someone else's code, and hopefully improving it. We'll see how it goes in the end.

---

I fixed fading on the master branch. I also added a linter to my enviroment, so I fixed some warnings and such. Next stop, sound effects! I've got it down alright at the moment, but I also want to change how bgm works.

At the moment, entire files are loaded into a buffer in memory, and played. For audio files that expand to several megabytes, this may be a bit much. In fact, last time I checked, this code crashes for some reason if you swap out home for megalovania. Why? Dunno, but it happens. Maybe some sort of out of memory?

I want to change this to be two small buffers, and always be loading from the file, going back to the beginning of the file when necessary. This way, not so much memory is used... *shrugs*

EDIT: Dear lord, I make huge posts.

TL;DR;
I'm not making cias because I don't want to distribute copyrighted content.
This is most likely a remake instead of a port.
I made progress, and my next plans are to do stuff with audio.
Thank you for the support!
 
Last edited by Kitlith,

Exavold

eeh
Member
Joined
Nov 9, 2015
Messages
1,019
Trophies
1
XP
1,113
Country
France
Sorry if you already responded to this but how far are you going to go with this project ?

You appearently want to remake stuff from the original UNDERTALE game but how far ? The whole game ? A small portion.

Anyways, good luck.
 

Kitlith

Well-Known Member
OP
Newcomer
Joined
Jan 29, 2016
Messages
93
Trophies
0
Location
Trapped between a rock and a hard place
Website
kitl.pw
XP
218
Country
United States
*Seeing this thread fills you with DETERMINATION.*

Sorry if I'm acting like an ASSriel

*snerk* Love it! Don't stop!


Oh, wait... Ahem.

Sorry if you already responded to this but how far are you going to go with this project ?

You appearently want to remake stuff from the original UNDERTALE game but how far ? The whole game ? A small portion.

You could read the whole thread to see whether I had already answered it, it's not *that* long yet. But, in any case, I don't believe I have. To be frank, I have no clue how far I'll take it. I'd *like* to at least get to a recreation of the demo, but at that point, the engine would already mostly be in place, so why not continue? Honestly, if I stop, it'll be some time before that as I'll get caught up in some other project... then another... then I might come back to this eventually... I'm bad like that. ._.

Anyways, good luck.

Thank you!

I'll need it.
 
  • Like
Reactions: Exavold

TheTrueDream42

Well-Known Member
Member
Joined
Jun 26, 2015
Messages
182
Trophies
0
Age
27
XP
994
Country
United States
You don't have to include anything legal wise to a CIA file (or possibly any changes), it's just a different way of launching the file. The nyan cat app uses music from the SD card in both the 3dsx and CIA versions. I think that there was a simple way to convert to a CIA file but I'm not sure where it was. Also having a bunch of files would be just fine if you put it all into a folder(s).

EDIT: Here is a quick search I did:
https://gbatemp.net/threads/is-it-possible-to-convert-3dsx-to-cia.420907/
https://gbatemp.net/threads/convert-3dsx-to-3ds.378553/
 
Last edited by TheTrueDream42,

Kitlith

Well-Known Member
OP
Newcomer
Joined
Jan 29, 2016
Messages
93
Trophies
0
Location
Trapped between a rock and a hard place
Website
kitl.pw
XP
218
Country
United States
You don't have to include anything legal wise to a CIA file (or possibly any changes), it's just a different way of launching the file. The nyan cat app uses music from the SD card in both the 3dsx and CIA versions. I think that there was a simple way to convert to a CIA file but I'm not sure where it was. Also having a bunch of files would be just fine if you put it all into a folder(s).

EDIT: Here is a quick search I did:
https://gbatemp.net/threads/is-it-possible-to-convert-3dsx-to-cia.420907/
https://gbatemp.net/threads/convert-3dsx-to-3ds.378553/

Welp then, I might just provide a cia version, as long as I can get it to read from the same place. It isn't a priority at the moment, though.
 

Kitlith

Well-Known Member
OP
Newcomer
Joined
Jan 29, 2016
Messages
93
Trophies
0
Location
Trapped between a rock and a hard place
Website
kitl.pw
XP
218
Country
United States
I'M NOT DEAD! Yet...

Took me long enough, made another 'release': https://github.com/kitling/undertale_techdemo/releases/tag/v0.1.2-alpha

The branch isn't merged into master yet because there is a small gap between the end and the beginning of the audio now. Any help with this would be appreciated.

Aand... sorry, mods, if this counts as a necro. >_< I don't feel that starting a new thread would be appropriate, though?

EDIT: For those that want to compile this, I will warn you: DO NOT use the latest versions of ctrulib and sf2dlib(+citro3d). Drawing gets waaaay slower. You have been warned!
 
Last edited by Kitlith,

XavyrrVaati

Hobbyist programmer?
Member
Joined
Feb 23, 2014
Messages
385
Trophies
0
XP
478
Country
United States
I'M NOT DEAD! Yet...

Took me long enough, made another 'release': https://github.com/kitling/undertale_techdemo/releases/tag/v0.1.2-alpha

The branch isn't merged into master yet because there is a small gap between the end and the beginning of the audio now. Any help with this would be appreciated.

Aand... sorry, mods, if this counts as a necro. >_< I don't feel that starting a new thread would be appropriate, though?

EDIT: For those that want to compile this, I will warn you: DO NOT use the latest versions of ctrulib and sf2dlib(+citro3d). Drawing gets waaaay slower. You have been warned!
Congrats! And, no this doesn't count as a necro since this a project thread, and you are the OP. Keep up the good work! :)
 
  • Like
Reactions: Deleted User

smileyhead

I like cute stuff.
Member
Joined
Aug 31, 2015
Messages
4,802
Trophies
3
Age
23
Location
Budakeszi, Hungary
Website
sites.google.com
XP
10,572
Country
Hungary
GitHub said:
  • I'm streaming the audio from the SD card now. This fixes the crash when trying to play Megalovania. ## Known Issues
  • There is still a gap between the end and start of a song. This is noticable with megalovania.
@Kitlith When is Megalovania supposed to play? I haven't found any clues in the house or the debug screen. :unsure:
 

Kitlith

Well-Known Member
OP
Newcomer
Joined
Jan 29, 2016
Messages
93
Trophies
0
Location
Trapped between a rock and a hard place
Website
kitl.pw
XP
218
Country
United States
@Kitlith When is Megalovania supposed to play? I haven't found any clues in the house or the debug screen. :unsure:
Doh! I should've mentioned: just rename megalo.ogg to house1.ogg after renaming house1.ogg to something else. Or recompile the game. Sorry 'bout that.

EDIT: You are right though, I should've made a way to switch files for this... oh well.
 
Last edited by Kitlith,
  • Like
Reactions: Deleted User
D

Deleted User

Guest
Doh! I should've mentioned: just rename megalo.ogg to house1.ogg after renaming house1.ogg to something else. Or recompile the game. Sorry 'bout that.

EDIT: You are right though, I should've made a way to switch files for this... oh well.
You can edit the release on github to say that :)
 

Kitlith

Well-Known Member
OP
Newcomer
Joined
Jan 29, 2016
Messages
93
Trophies
0
Location
Trapped between a rock and a hard place
Website
kitl.pw
XP
218
Country
United States
Glad to see this is still going on! Hopefully we will have a full clone one day.
Heh, it's still going... slowly... eventually...

Pushed another commit to the streaming branch, sound now runs in its own thread, instead of in the main thread. I feel like I should refactor sound stuff.

This means that the 60 FPS cap imposed by citro3d via newer versions of sf2dlib no longer affect sound! (It wasn't drawing getting slower, it was effectively VSync) This means you can now use the latest commits of sf2dlib, citro3d, and ctrulib. Woo! Unfortunately, the slight skip between the end and the beginning is still there... which means I still don't want to merge to master.

Someone suggested that if I managed to feed the first sound packet back into the decoder, I would be good to go. I'll be looking into this.

And, well, I don't know about a full clone. I still haven't done interaction or sprites set. >_>
 

XavyrrVaati

Hobbyist programmer?
Member
Joined
Feb 23, 2014
Messages
385
Trophies
0
XP
478
Country
United States
Heh, it's still going... slowly... eventually...

Pushed another commit to the streaming branch, sound now runs in its own thread, instead of in the main thread. I feel like I should refactor sound stuff.

This means that the 60 FPS cap imposed by citro3d via newer versions of sf2dlib no longer affect sound! (It wasn't drawing getting slower, it was effectively VSync) This means you can now use the latest commits of sf2dlib, citro3d, and ctrulib. Woo! Unfortunately, the slight skip between the end and the beginning is still there... which means I still don't want to merge to master.

Someone suggested that if I managed to feed the first sound packet back into the decoder, I would be good to go. I'll be looking into this.

And, well, I don't know about a full clone. I still haven't done interaction or sprites set. >_>
I'm working on interaction code on mine as well. Anyways, while I don't think I can help with coding (maybe? IDK if my NDA lets me haha.) I can probably help out with spritesheets if you need it. :)
 

Kitlith

Well-Known Member
OP
Newcomer
Joined
Jan 29, 2016
Messages
93
Trophies
0
Location
Trapped between a rock and a hard place
Website
kitl.pw
XP
218
Country
United States
I'm working on interaction code on mine as well. Anyways, while I don't think I can help with coding (maybe? IDK if my NDA lets me haha.) I can probably help out with spritesheets if you need it. :)
Nah, spritesheets probably won't be a problem. I can extract them from the game, and should be able to get them from rawr.ws. (assuming the site isn't dead?) The real problem will be *using* them without cutting them up. /me has never actually worked with spritesheets before...

As for your NDA... If I understand correctly working on your project would probably also be covered under NDA if mine is. Also, remember that you worked on part of this long before I did, and given that the original author has fled the scene, you're closer to the creator than I am, I'm merely continuing what was started... That said, you do what you want. I'd love help, but if you feel like you shouldn't, that's your choice, and I'm fine with that.

Sprites... once I add those I should be able to make my collision more precice and less... rectangley... and less based on the top-left corner of frisk. I guess that'll also mean I'm rewriting more code that was left by lolzvid and not licenced.
 
  • Like
Reactions: XavyrrVaati

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=hke2YUirpf4 +1