Homebrew Homebrew HelpDesk

Rinnegatamante

Well-Known Member
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
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.
 

Spatchy

Active Member
Newcomer
Joined
Oct 17, 2015
Messages
37
Trophies
0
Age
24
Location
Kent, UK
XP
75
Country
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...
 

Rinnegatamante

Well-Known Member
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
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.
 

Spatchy

Active Member
Newcomer
Joined
Oct 17, 2015
Messages
37
Trophies
0
Age
24
Location
Kent, UK
XP
75
Country
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!
 

Rinnegatamante

Well-Known Member
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
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 ).
 
D

Deleted User

Guest
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.
 

OctopusRift

GBATemp's Local Octopus, Open 9am-2am. "Not Yet"
Member
Joined
Nov 19, 2014
Messages
1,460
Trophies
0
XP
947
Country
Saint Kitts and Nevis
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.
 

OctopusRift

GBATemp's Local Octopus, Open 9am-2am. "Not Yet"
Member
Joined
Nov 19, 2014
Messages
1,460
Trophies
0
XP
947
Country
Saint Kitts and Nevis
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?
 

Spatchy

Active Member
Newcomer
Joined
Oct 17, 2015
Messages
37
Trophies
0
Age
24
Location
Kent, UK
XP
75
Country
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.
 

OctopusRift

GBATemp's Local Octopus, Open 9am-2am. "Not Yet"
Member
Joined
Nov 19, 2014
Messages
1,460
Trophies
0
XP
947
Country
Saint Kitts and Nevis

Spatchy

Active Member
Newcomer
Joined
Oct 17, 2015
Messages
37
Trophies
0
Age
24
Location
Kent, UK
XP
75
Country
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    ZeroT21 @ ZeroT21: only ps5 updated to latest firmware can go on psn, jailbroken ones just don't use psn or they...