Homebrew Homebrew HelpDesk

  • Thread starter Thread starter BurningDesire
  • Start date Start date
  • Views Views 13,162
  • Replies Replies 106
  • Likes Likes 7
Thanks so much for the quick reply! (the thread hadn't been used in a month so I wasn't expecting anything so fast) However, I think I am being stupid and using the parameters wrongly, could you show me an example of how it's used? Thanks again!

Code:
svcSleepThread(1000000);

This will wait a second.
 
Code:
svcSleepThread(1000000);

This will wait a second.
OK, thanks, that builds without error however, I think I am going about what I am trying to achieve all wrong - I am trying to get a basic animation going (frame A -> *wait one second* -> frame B -> *wait one second* -> frame A... etc.) I knew that using gfxDrawSprite and sleep probably wasn't the correct way of going about things but I wanted to see if it worked but the image doesn't animate. What is the 'proper way' of animating an image? (I was following Xem's tutorial but the trail just sort of dies after it tells you how to display a still image) Sorry for asking so many noob questions...
 
OK, thanks, that builds without error however, I think I am going about what I am trying to achieve all wrong - I am trying to get a basic animation going (frame A -> *wait one second* -> frame B -> *wait one second* -> frame A... etc.) I knew that using gfxDrawSprite and sleep probably wasn't the correct way of going about things but I wanted to see if it worked but the image doesn't animate. What is the 'proper way' of animating an image? (I was following Xem's tutorial but the trail just sort of dies after it tells you how to display a still image) Sorry for asking so many noob questions...

You should create a timer to do this.
 
OK, I'm back with another question - how do I get the 3ds to check a file on a remote server and download it if it is different to one on the SD card. I know that it requires SDMC and HTTP commands and I know homebrew has this capability, I just have no idea how to use it!
 
OK, I'm back with another question - how do I get the 3ds to check a file on a remote server and download it if it is different to one on the SD card. I know that it requires SDMC and HTTP commands and I know homebrew has this capability, I just have no idea how to use it!

You should use some hashing checksum algorithm like the popular MD5 ones ( https://en.wikipedia.org/wiki/MD5 ).
 
What is the Homebrew HelpDesK?

  • The Homebrew HelpDesk is a place where you can ask for help with 3DS Homebrew related Software/Coding problems
  • This is a safe place for anyone to ask questions! Please no hate.
  • Topics can include anything from How do I install Homebrew to how do I get the scroll function to work with the d-pad on the lower screen?
  • If this gets popular enough there will be a website launched

If you have anything you want me to add just let me know down below!

Webmaster, If you need help creating a web, I can help.
PM me.
 
Hello, yesterday I saw a thread saying that you can inject an app into Health & Safety. My question is, can we inject Cubic Ninja?
if you use the script by that chinese dude.

--------------------- MERGED ---------------------------

Webmaster, If you need help creating a web, I can help.
PM me.
We'll create our own web. With blackjack, and hookers.
 
is there anyway to wait a number of seconds before continuing with the program? I tried using sleep(1) and #include <unistd> but that does not seem to work. Total noob to homebrew developing and I want to get this to work, thanks in advance!
What app is this for HB menu?
 
it would be nice if someone could talk me through it step by step - here's what I need:
What app is this for HB menu?
not that one, I sorted that a while ago I now need help making a different app as stated in my latest request on this page of the thread.
 
OK, maybe I haven't been clear enough. What I need to do is make a tool that will update a .romfs file that is being used in hans.
the tool needs to do the following:
  • check the name of the romfs on the sd card which will contain the version (eg 100.romfs)
  • check the name of the romfs located on a server (eg 101.romfs)
  • compare the two names and if the one on the server is a higher version than the one on the sd card, it will delete the one on the sd card and download the new one as well as a new hans shortcut pointing to it.
 

Site & Scene News

Popular threads in this forum