[Release] - LövePotion - LÖVE API for 3DS Homebrew - BETA

Discussion in '3DS - Homebrew Development and Emulators' started by VideahGams, Sep 17, 2015.

  1. xXDungeon_CrawlerXx

    xXDungeon_CrawlerXx GBAtemp Addict

    Member
    10
    Jul 29, 2015
    Liverpool
    thank you a lot! I'll try this out :)
     
  2. xXDungeon_CrawlerXx

    xXDungeon_CrawlerXx GBAtemp Addict

    Member
    10
    Jul 29, 2015
    Liverpool
    okay, tried it now.
    Copied the files from inside of "LovePotion-1.0.8-beta\game" into the romfs.
    Got the error "Could not initialize audio".
    Tried the Undertale Lua Demo and got an error with "newFont". Not sure what it was.
     
  3. VideahGams
    OP

    VideahGams Advanced Member

    Newcomer
    2
    Aug 29, 2015
    Glasgow, Scotland
    The 1.0.8 test game probably won't run due to audio changes, the game folder from this unstable version should work.

    And as for the Undertale Lua Demo, are you using XavyrrVaati's LOVE or the old demo from a while back?
     
  4. xXDungeon_CrawlerXx

    xXDungeon_CrawlerXx GBAtemp Addict

    Member
    10
    Jul 29, 2015
    Liverpool
    Thank you!
    I'll try it! Used the old one LOVE, I guess.

    EDIT: is audio still supported? what has been changed?
     
    Last edited by xXDungeon_CrawlerXx, Mar 20, 2016
  5. VideahGams
    OP

    VideahGams Advanced Member

    Newcomer
    2
    Aug 29, 2015
    Glasgow, Scotland
    Audio is still supported, but LövePotion will only load valid PCM .wav's now
     
  6. xXDungeon_CrawlerXx

    xXDungeon_CrawlerXx GBAtemp Addict

    Member
    10
    Jul 29, 2015
    Liverpool
    oh, okay.
    Shouldn't be a problem to create valid PCM wav's :D Thank you!
     
  7. XavyrrVaati

    XavyrrVaati Hobbyist programmer?

    Member
    4
    Feb 23, 2014
    United States
    I thought .ogg support was added in the master build? Unless you mean that only valid PCM .wavs work and not other .wav files. Also, is my LOVE project working for you? I'll try that build you just posted when I get home.
     
  8. VideahGams
    OP

    VideahGams Advanced Member

    Newcomer
    2
    Aug 29, 2015
    Glasgow, Scotland
    Yeah, .ogg's are supported, just not other .wav's
    Your project won't load for me because it runs out of linear memory, which I will have to add audio streaming to fix
     
    XavyrrVaati likes this.
  9. XavyrrVaati

    XavyrrVaati Hobbyist programmer?

    Member
    4
    Feb 23, 2014
    United States
    But when I remove all audio it doesn't work either.
     
  10. VideahGams
    OP

    VideahGams Advanced Member

    Newcomer
    2
    Aug 29, 2015
    Glasgow, Scotland
    As in, you don't load any audio? Can you link that version?
     
  11. XavyrrVaati

    XavyrrVaati Hobbyist programmer?

    Member
    4
    Feb 23, 2014
    United States
    I can in like 2-3 hours, I'm still working lol.
     
  12. XavyrrVaati

    XavyrrVaati Hobbyist programmer?

    Member
    4
    Feb 23, 2014
    United States
    Alright, I compiled the latest off of github, and it gives me the Supertoast-nogame screen (using .3dsx). So I went back to build that Picroxx uses, that one gives me linear memory errors with music/sound. I commented every reference to any audio, and it it crashes (Also pressing buttons? All booleans are evaluated wrong or something, since it skips the intro which requires A pressed). I'm also including the original version, which works, every version has identical game files minus the muted once which every audio related line is commented. I'm running an O3DS via Menuhax.
    Zip containing all of the builds: https://goo.gl/kDpJLd
     
    Last edited by XavyrrVaati, Mar 21, 2016
  13. XavyrrVaati

    XavyrrVaati Hobbyist programmer?

    Member
    4
    Feb 23, 2014
    United States
    I should point out, that when I disable music AND all code related to input, the it plays 'properly'. When I add a debug line to print if A is pressed, it flickers rapidly (meaning it cycles true/false). Therefore when the input code is enabled, it skips the intro because of A press, then potentially escapes back to the intro because B press does that. Or it jumps to the first menu screen because of A and then backs out immediately, resulting in the flickering that occurs with the menu screen... This is with a recent, but not most recent build that Picroxx uses. Building the most recent as of last night resulted in the game files being ignored and displaying the no game screen with supertoast. As for the linear memory thing, it might not be the problem, at least for me, since the exact same code runs fine on the last release of LovePotion, and all of my audio isn't loaded at once, it's loaded on the screen change. It throws allocation errors when I try to load too many/too big audio files.

    Example, use the working LOVE build with old LovePotion, select core from the main menu and press A and it will throw an allocation error because the core bgm wav takes up too much space with the intro sound and the menu music already loaded. The latest build apparently has a source remove command, which I assumed would solve my problem, since I could 'unload' an audio source and then re load when necessary, but it has issues with other stuff.
     
    Last edited by XavyrrVaati, Mar 21, 2016
  14. szymon170

    szymon170 Pr0FessiuNal HelPeR wiTh HaxXX

    Member
    3
    Jan 2, 2016
    Poland
    Where I live
    Umm, it may seem like a noobish question, but I really don't know how to do this. You've said that you will continue the development of Undertale port for 3DS called LOVE. So I have downloaded it, i have created a folder in my 3ds folder and called it LovePotion, and then I have copied the files to the /3ds/LovePotion folder. When I launch lovepotion on my Homebrew Launcher it just displays supertoast. How can I play LOVE?
     
  15. XavyrrVaati

    XavyrrVaati Hobbyist programmer?

    Member
    4
    Feb 23, 2014
    United States
    Not really relevant to the thread, so feel free to just PM me/comment on my profile until I decide to make a thread for LOVE. Anyways, have stated a several times that LOVE isn't an Undertale port. It's going to be an interactive visual homebrew. As of current, you can't 'play' LOVE. It's not really a game. If you want to see what it does, you can go to my profile where I have posted a couple working builds. There isn't too much to look at yet. I'm currently trying to find out what's up with my latest build of LP, so I can include more music.
     
    Last edited by XavyrrVaati, Mar 23, 2016
  16. DutchyDutch

    DutchyDutch COPYRIGHT LOLOLOLOL

    Member
    5
    Nov 16, 2014
    Netherlands
    Is this still being updated? Started learning Lua/Love for PC today, and once I know the basics I wanna start on 3DS, so this would be very useful.
     
  17. VideahGams
    OP

    VideahGams Advanced Member

    Newcomer
    2
    Aug 29, 2015
    Glasgow, Scotland
    When I can, busy with IRL stuff right now, but the project isn't dead :P
     
  18. DutchyDutch

    DutchyDutch COPYRIGHT LOLOLOLOL

    Member
    5
    Nov 16, 2014
    Netherlands
    Great to hear! Don't stress it dude, this is already amazing, so good luck with your IRL stuff. :D
     
  19. NichyXD

    NichyXD GBAtemp Regular

    Member
    2
    Feb 13, 2015
    Italy
    Hi :) I'm very interested in this project. I've compiled LovePotion and it works flawless in *hax 2.7. Now i want to do some serious work... It needs more documentation :) Keep up the good work.
     
    Last edited by NichyXD, Jun 6, 2016
  20. XavyrrVaati

    XavyrrVaati Hobbyist programmer?

    Member
    4
    Feb 23, 2014
    United States
    You can check out my project, though my coding style might be hard to read. See my signature.
     
    Last edited by XavyrrVaati, Jun 6, 2016
    NichyXD likes this.
Quick Reply
Draft saved Draft deleted
Loading...