Homebrew Homebrew HelpDesk

Rinnegatamante

Well-Known Member
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
28
Location
Bologna
Website
rinnegatamante.it
XP
4,744
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
23
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
28
Location
Bologna
Website
rinnegatamante.it
XP
4,744
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
23
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
28
Location
Bologna
Website
rinnegatamante.it
XP
4,744
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
937
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
937
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
23
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
937
Country
Saint Kitts and Nevis

Spatchy

Active Member
Newcomer
Joined
Oct 17, 2015
Messages
37
Trophies
0
Age
23
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.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
  • Iron_Masuku @ Iron_Masuku:
    Hello
    Skelletonike @ Skelletonike: hmm