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

Marco D

Well-Known Member
OP
Newcomer
Joined
Mar 26, 2015
Messages
66
Trophies
0
Age
37
Location
Queretaro
XP
206
Country
Mexico
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:






Screenshots:
jF5ixat.png


update_zpsmay35y77.jpg


nrRfJtY.jpg


Sf4Qm2x.jpg
 
Last edited by Marco D,

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,030
Country
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.
 

Marco D

Well-Known Member
OP
Newcomer
Joined
Mar 26, 2015
Messages
66
Trophies
0
Age
37
Location
Queretaro
XP
206
Country
Mexico
Maybe you already know. But make sure you stop looping sounds, flush the CSND command queue , and exit CSND. In that order before exiting.

I didnt know. i had trouble with sound implementation

Is this in... 3D? o.o

Unfortunately the lib is supporting 2D only. Xerpi will update the lib later with 3D support.
 
  • Like
Reactions: Margen67

WeedZ

Possibly an Enlightened Being
Global Moderator
Joined
Jan 13, 2015
Messages
3,825
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,666
Country
United States
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.

Errors
If you exit this app and start other app from HB channel the 3DS crashes. ( error with audio buf )

Download
https://www.dropbox.com/s/e400my3xm0zw74r/nyan_cat.zip?dl=0



jF5ixat.png

Best homebrew yet. (not most useful though)
 

Chelsea_Fantasy

Someone who hates slow internet connections
Member
Joined
Mar 25, 2014
Messages
1,141
Trophies
0
Age
34
XP
1,513
Country
Cuba
:)
Please help me create cia ver
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
 

Technicmaster0

Well-Known Member
Member
Joined
Oct 22, 2011
Messages
4,406
Trophies
2
Website
www.flashkarten.tk
XP
3,496
Country
Gambia, The
Unfortunately the lib is supporting 2D only. Xerpi will update the lib later with 3D support.
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%.
 
  • Like
Reactions: Margen67

Marco D

Well-Known Member
OP
Newcomer
Joined
Mar 26, 2015
Messages
66
Trophies
0
Age
37
Location
Queretaro
XP
206
Country
Mexico
T
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
Thanks a lot, i will give it a try later today (once i have free time) but please help me make the cia.
 
  • Like
Reactions: Margen67

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sicklyboy @ Sicklyboy: @Xdqwerty, Osu! Tatakae! Ouendan! is the Japanese version of the game, different... +1