[Release] Non-Stop Nyan Cat (Smile please)

Discussion in '3DS - Homebrew Development and Emulators' started by Marco D, Apr 24, 2015.

  1. Marco D
    OP

    Marco D Advanced Member

    Newcomer
    66
    121
    Mar 26, 2015
    Mexico
    Queretaro
    Team

    im new and im still learning, but i was finally able to code something that i like. I ported Non-Stop Nyan Cat using LIBSF2D. Thanks xerpi for the lib.

    Smile please :) and use this app at work to help you relieve your stress.

    Controls

    • D Pad Up: + 2 Cat Selection
    • D Pad Down: - 2 Cat Selection
    • D Pad Left: - 1 Cat Selection
    • D Pad Right: + 1 Cat Selection
    • A: Select Random Cat
    • X: Select Last Cat
    • Y: Select First Cat
    Setup

    Place audio folder and 3dsx file in the same folder.

    Nyan Cats Order

    • Original
    • Mummy
    • GB
    • Jamaicnyan
    • Pikanyan
    • J5
    • America
    • Grumpy
    • Zombie
    • Slomo
    • Sad
    • Jazz
    • Tacnayn
    • Technyancolor
    • Dub
    • Balloon
    Error: New error will loading sound. ( meed to work on it) exit app and restart to resolve issue.

    Setup: Place audio folder and 3dsx file in the same folder.

    Directory structure:
    • sdmc:\
      • 3ds\
        • nyan_cat\
          • nyan_cat.3dsx
          • nyan_cat.smdh
          • audio\
            • america_raw.bin
            • dub_raw.bin
            • ...
    Source Code:GIT repo is now available(remember that I'm learning C and i don't have a lot of experience or knowledge)

    https://github.com/markwinap/3DS_Nyan_Cat


    Downloads

    Download CIA(requires audio folder placed at SD root) - 5/31/2015
    https://www.dropbox.com/s/cc10m54o89bc8gy/nyan_cat_cia.zip?dl=0
    Download(3dsx , elf and audio folder) - 5/26/2015 - All Required Files
    https://www.dropbox.com/s/e400my3xm0zw74r/nyan_cat.zip?dl=0

    Download (Audio Folder ONLY) - 5/26/2015
    https://www.dropbox.com/s/7w4qvvvnhmsil4a/audio.zip?dl=0

    Download (3dsx and elf ) - 5/26/2015
    https://www.dropbox.com/s/dq5xfngnyuis2q0/nyan_cat.zip?dl=0



    Updates

    5/26/2015 - 3D slider is now working to select 3D depth . Added Balloon Nyan Cat. Re added 3D affect to all Nyan Cat. Start Random Cat on boot. Added new controls..

    5/20/2015 - App now starts with a random Nyan Cat. Github source posted.


    5/13/2015 - Change Sound loading method to load from file. Change audio sample rate to 32000, remixed most of the song to better fit audio loop mode. ( i hope you like it)
    Added gb, technyancolor, jazz, j5, pikanyan, zombie, mummy, jamaicnyan, america, slomo, sad, tacnayn.

    4/29/2015 - Finally, fixed sound issue on exit, thanks "elhobbs" for the info. Set max value for counter to 99999999.9 Secs.

    4/25/5015 - Added 3D (popping effect) Thanks Technicmaster0 for the guidance.


    Pending
    • Add more Nyan Cat versions
    • Add some starts when 3d is enabled
    • Use 3D slider to set 3D intensity
    • Possibly add achievements (why not)
    Credits
    • markwinap
    • Smealum - Ninjhax and CTRULIB
    • Xerpi - sf2dlib
    • WhoAmI? - Biggest supporter.
    Videos:
    Warning: Spoilers inside!

    Screenshots:
    Warning: Spoilers inside!
     
    Last edited by Marco D, Jun 1, 2015
  2. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    812
    300
    Jul 28, 2008
    United States
    Maybe you already know. But make sure you stop looping sounds, flush the CSND command queue , and exit CSND. In that order before exiting.
     
  3. ChrisX930

    ChrisX930 Banned

    Banned
    788
    317
    Sep 3, 2013
    Gambia, The
    Germany
    Is this in... 3D? o.o
     
  4. zoogie

    zoogie simple pimp tool

    Member
    6,574
    8,466
    Nov 30, 2014
    United States
    It's in 3DSX, which means most people won't even see it. :P
     
    Kafke and ChrisX930 like this.
  5. ChrisX930

    ChrisX930 Banned

    Banned
    788
    317
    Sep 3, 2013
    Gambia, The
    Germany
    Q_Q
     
  6. Marco D
    OP

    Marco D Advanced Member

    Newcomer
    66
    121
    Mar 26, 2015
    Mexico
    Queretaro
    I didnt know. i had trouble with sound implementation

    Unfortunately the lib is supporting 2D only. Xerpi will update the lib later with 3D support.
     
    Margen67 likes this.
  7. Cid2mizard

    Cid2mizard GBAtemp Fan

    Member
    364
    210
    Aug 16, 2007
    France
    Maubeuge
    Good job :)
     
    Margen67 and Marco D like this.
  8. WeedZ

    WeedZ Possibly an Enlightened Being

    Member
    GBAtemp Patron
    WeedZ is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,976
    5,950
    Jan 13, 2015
    United States
    The State of Denial
    Best homebrew yet. (not most useful though)
     
    WhoAmI?, Margen67 and DoJo_Master like this.
  9. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,956
    Jun 9, 2007
    Antarctica

    At least he included the elf file. We can turn it into a .3ds and .cia with it.
     
    Margen67 and Marco D like this.
  10. DoJo_Master

    DoJo_Master GBAtemp Advanced Fan

    Member
    605
    154
    May 7, 2013
    Canada
    I need this as a .cia file, instant nyan!
     
    Marco D and Margen67 like this.
  11. Marco D
    OP

    Marco D Advanced Member

    Newcomer
    66
    121
    Mar 26, 2015
    Mexico
    Queretaro
    :)
    Please help me create cia ver
     
    Margen67 likes this.
  12. Chelsea_Fantasy

    Chelsea_Fantasy GBAtemp Maniac

    Member
    1,015
    719
    Mar 25, 2014
    Cuba
    compile as elf

    and then:
    Code:
    arm-none-eabi-strip [ELF file]
    makerom -f cia -o [.cia file] -rsf [RSF file] -target d -exefslogo -elf [ELF file] -icon [icon file] -banner [banner file] -desc app:4
    or send me the elf and I will make the cia file for you

    if you want, you can make it downloadable with my app "SOON!" (thats the app name) will be like DownloadMii for CIA files
     
    Marco D and Margen67 like this.
  13. keven3477

    keven3477 Fresh Prince of Lemonade

    Member
    900
    1,522
    Jul 12, 2012
    United States
    Somewhere you can never find.
    when you are finished with this make a tutorial on how to make it, it can be a basic tutorial to instruct people on making 3ds hombrew for their first time
     
    Margen67, Marco D and WhoAmI? like this.
  14. Chelsea_Fantasy

    Chelsea_Fantasy GBAtemp Maniac

    Member
    1,015
    719
    Mar 25, 2014
    Cuba
    agreed
     
    Margen67 and Marco D like this.
  15. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    4,765
    2,619
    Dec 8, 2014
    United States
    Ohio
    Lol, good job!
     
    Margen67 and Marco D like this.
  16. Technicmaster0

    Technicmaster0 GBAtemp Psycho!

    Member
    3,286
    681
    Oct 22, 2011
    Gambia, The
    Well you can use "side by side sprites" in 3D:
    Code:
    sf2d_start_frame(GFX_TOP, GFX_LEFT);
    	
    		sf2d_draw_texture_part(FUK_Logo_3D, 0, 0, 0, 0, 400, 240);		//For both sides in one pic
    		//sf2d_draw_texture(TSLeft, 0, 0);								//For one file per side
    			
    	sf2d_end_frame();
    	
    	sf2d_start_frame(GFX_TOP, GFX_RIGHT);
    		
    		sf2d_draw_texture_part(FUK_Logo_3D, 0, 0, 400, 0, 400, 240);
    		//sf2d_draw_texture(TSRight, 0, 0);
    			
    	sf2d_end_frame();
    /edit
    And the homebrew should pause if you turn the volume under 40%.
     
    Margen67 likes this.
  17. WhoAmI?

    WhoAmI? PASTA's dirty animal

    Member
    1,273
    1,009
    Mar 15, 2015
    Poké Ball
    I was laughing at this xD. Thank you!

    IT GOES ON 4EVA! :rofl:

    [​IMG]
     
    Margen67 and Marco D like this.
  18. Marco D
    OP

    Marco D Advanced Member

    Newcomer
    66
    121
    Mar 26, 2015
    Mexico
    Queretaro
    T
    Thanks a lot, i will give it a try later today (once i have free time) but please help me make the cia.
     
    Margen67 likes this.
  19. Chelsea_Fantasy

    Chelsea_Fantasy GBAtemp Maniac

    Member
    1,015
    719
    Mar 25, 2014
    Cuba
    just give me a ELF file
    Im not only all the day Im at a cyber cofee, so if you want my help hurry
     
    Margen67 likes this.
  20. Marco D
    OP

    Marco D Advanced Member

    Newcomer
    66
    121
    Mar 26, 2015
    Mexico
    Queretaro

    For sure :) - text with screenshots and video tutorials soon.

    The
    The elf and 3dx files are im the same zip file. (First post) thanks
     
    Margen67 likes this.