Hacking Homebrew A new way to experience StreetPass

sorunome

Well-Known Member
OP
Newcomer
Joined
Apr 13, 2024
Messages
61
Trophies
0
XP
196
Country
Germany
OK, soru has a new version with (hopefully) fixing the crashes and more verbose output to be able to more easily crunch bugs. Additionally, the server-side logic has been slightly updated to not constantly streetpass the exact same messages. Sadly, soru had to wipe the database, but yeah, this is still in very early stages. The new program is attached!
Post automatically merged:

You would be a miracle worker if you could have this run in the background, but I am not sure how possible that is. Maybe you're a coding wizard. Either way, if you're in need of translations, lmk. Glad to be of service when the time comes.
Sounds like soru needs to research how to become a coding wizard, thanks for the extra motivation :3
This sounds really exciting.

Hey, when I try and launch, I receive the error where an exception occurs and I have to shutdown. Error Info:

Processor: Arm11 (Core 1)
Exception Type: undefined instruction
Current process: loader (multiple 0s)


Any fixes for that? The system works fine, it's for this specific file.

Edit: Sorry, I don't have an image, I'm having trouble uploading it.
Could you re-try with the new version, please?
This seems to work! got a gem in kid ikarus, neat!
thanks a lot!
Yep atleast from the looks of it. obviously don't have the entire console in front of me but it does show the uploaded sign before crashing moments after
Can you re-try the new version, please?
Yes it said uploading 2 messages, downloading 10 messages. Press select to exit.
After that I don't have any new passes
Can you re-try the new version, please?
 

Attachments

  • 3ds-test.3dsx.txt
    937.3 KB · Views: 3

malekmaroc7

モロッコの人だよ
Member
Joined
Mar 18, 2017
Messages
243
Trophies
0
Age
22
XP
1,246
Country
Morocco
Now this is interesting! I still wish Streetpass was a thing even up today...

I tested your application with Tomodachi Life and it seems to work well! However you could tweak the UI a little.
I always get a feeling that the application hangs at uploading, because there is no reaction for a few minutes, even after pressing the HOME button. Maybe more information could be displayed (e.g. current status)?
Besides that, it works great!
 

Princeroo135

Member
Newcomer
Joined
Apr 16, 2024
Messages
9
Trophies
0
Age
14
XP
18
Country
United States
OK, soru has a new version with (hopefully) fixing the crashes and more verbose output to be able to more easily crunch bugs. Additionally, the server-side logic has been slightly updated to not constantly streetpass the exact same messages. Sadly, soru had to wipe the database, but yeah, this is still in very early stages. The new program is attached!
Post automatically merged:


Sounds like soru needs to research how to become a coding wizard, thanks for the extra motivation :3

Could you re-try with the new version, please?

thanks a lot!

Can you re-try the new version, please?

Can you re-try the new version, please?
I tried it again and I still got the error.

By now, I'm wondering if I'm missing something that's required to make it work.
Post automatically merged:

I tried it again and I still got the error.

By now, I'm wondering if I'm missing something that's required to make it work.
Oh, also, I tried it on my other one and It didn't work on there either.
 
Last edited by Princeroo135,

dicamarques

Definitely not Bruce Wayne.
Member
Joined
Jun 25, 2010
Messages
1,096
Trophies
1
Location
Your computer's Recycle Bin
Website
www.google.com
XP
1,933
Country
Portugal
I was one of the devs back when homepass was a thing, too bad we didnt do some packet capture back then... maybe we could have a re-implementation of the server
Anyway, i have some ideas to implement for this project to be more "interactive"
-First keep the 3DS side as is, a simple app, that syncs the streetpass data with the backend
-make a frontend (later can be an app) that has different "paths" (similiar to the pokewalker), and several "users" are on that path too, after a period of time you go across a some users and thats how you get matches.
-then after the day ends you open your 3ds again and download your new sp data

If you want to be more "real world" like, i would have an android app that counts your daily steps or kms done in a day and then syncs to the backend, does some randomization with the paths and picks some matches
but I wouldnt reimplement some sort of sp for android, since lets be honest, even when the 3ds was new it was "hard" to have matches, imagine passing by another user that also has some homebrew app running on his device ;)

Btw, if you want lowlevel wifi "easily", you can try to use some microcontrollers, Esp32 or Esp8266, this is me saying that they can do the same as a 3DS wifi card, which i don't know...

Nevertheless i like the way this can go!
 

sorunome

Well-Known Member
OP
Newcomer
Joined
Apr 13, 2024
Messages
61
Trophies
0
XP
196
Country
Germany
I tried it again and I still got the error.

By now, I'm wondering if I'm missing something that's required to make it work.
Post automatically merged:


Oh, also, I tried it on my other one and It didn't work on there either.
Are you trying on O3DS's or N3DS's?
 

TheHaxForU

Well-Known Member
Member
Joined
Jan 19, 2012
Messages
192
Trophies
1
Age
33
XP
288
Country
United States
does it say that it downloaded messages? what you are doing is indeed for now the correct usage
Alright I just tried the new version. I get uploading outbox 1/1 failed -28
Uploaded 0
Checking inbox 1/1 failed -23
Downloaded 2 new messages.
Then the text that suppose to say press select to exit is jumbled and bugged out

Regardless it did work and I got those street passes !
 

kuro0628neko

Well-Known Member
Member
Joined
May 7, 2023
Messages
115
Trophies
0
XP
443
Country
United States
OK, soru has a new version with (hopefully) fixing the crashes and more verbose output to be able to more easily crunch bugs. Additionally, the server-side logic has been slightly updated to not constantly streetpass the exact same messages. Sadly, soru had to wipe the database, but yeah, this is still in very early stages. The new program is attached!
You should probably edit the original post to include this, no?
 

sorunome

Well-Known Member
OP
Newcomer
Joined
Apr 13, 2024
Messages
61
Trophies
0
XP
196
Country
Germany
You should probably edit the original post to include this, no?
soru did update the file attached in the first post
Post automatically merged:

My main one is a N3DS XL, and my other one is an O2DS.
Would you be OK with dumping & sharing your streetpass data? For that you have to go into godmode and then copy from sysnand ctrnand the following file: /data/-something-/sysdata/00010026/00000000
Thank you in advance!
Alright I just tried the new version. I get uploading outbox 1/1 failed -28
Uploaded 0
Checking inbox 1/1 failed -23
Downloaded 2 new messages.
Then the text that suppose to say press select to exit is jumbled and bugged out

Regardless it did work and I got those street passes !
alright, the 23 one soru noticed independently and already fixed locally, just didn't upload a binary for that yet. As for the 28 one....that is rather odd. Would you mind to also share your streetpass data for debugging? see above

EDIT: Oh, and what kind of internet do you have, like, would you consider it good, especially around up speed? Soru might have accidentally made some timeouts too short
Post automatically merged:

I was one of the devs back when homepass was a thing, too bad we didnt do some packet capture back then... maybe we could have a re-implementation of the server
Anyway, i have some ideas to implement for this project to be more "interactive"
-First keep the 3DS side as is, a simple app, that syncs the streetpass data with the backend
-make a frontend (later can be an app) that has different "paths" (similiar to the pokewalker), and several "users" are on that path too, after a period of time you go across a some users and thats how you get matches.
-then after the day ends you open your 3ds again and download your new sp data
Soru never played pokewalker and had the missfortune of never actually having experienced the 3ds during its peak, only got into it a few years ago ^^

Such a frontend for selecting paths could also be made on the 3ds itself, could it not? it would make little sense to push for a phone app to do just that if we don't need any more phone features.

If you want to be more "real world" like, i would have an android app that counts your daily steps or kms done in a day and then syncs to the backend, does some randomization with the paths and picks some matches
but I wouldnt reimplement some sort of sp for android, since lets be honest, even when the 3ds was new it was "hard" to have matches, imagine passing by another user that also has some homebrew app running on his device ;)
Mhmm, also thought about something like pedometer on phone syncing up step counts with 3ds to make a bit more sense
Btw, if you want lowlevel wifi "easily", you can try to use some microcontrollers, Esp32 or Esp8266, this is me saying that they can do the same as a 3DS wifi card, which i don't know...

Nevertheless i like the way this can go!
Yeah, is aware that it is way easier with the ESPs and stuffs, thanks c:
 
Last edited by sorunome,

Princeroo135

Member
Newcomer
Joined
Apr 16, 2024
Messages
9
Trophies
0
Age
14
XP
18
Country
United States
soru did update the file attached in the first post
Post automatically merged:


Would you be OK with dumping & sharing your streetpass data? For that you have to go into godmode and then copy from sysnand ctrnand the following file: /data/-something-/sysdata/00010026/00000000
Thank you in advance!

alright, the 23 one soru noticed independently and already fixed locally, just didn't upload a binary for that yet. As for the 28 one....that is rather odd. Would you mind to also share your streetpass data for debugging? see above

EDIT: Oh, and what kind of internet do you have, like, would you consider it good, especially around up speed? Soru might have accidentally made some timeouts too short
Post automatically merged:


Soru never played pokewalker and had the missfortune of never actually having experienced the 3ds during its peak, only got into it a few years ago ^^

Such a frontend for selecting paths could also be made on the 3ds itself, could it not? it would make little sense to push for a phone app to do just that if we don't need any more phone features.


Mhmm, also thought about something like pedometer on phone syncing up step counts with 3ds to make a bit more sense

Yeah, is aware that it is way easier with the ESPs and stuffs, thanks c:
Here you go!

Edit: It won't let me upload it. It says that it doesn't allow the file extension.
 

NickSplat2077

New Member
Newbie
Joined
Jan 17, 2024
Messages
3
Trophies
0
Age
23
XP
38
Country
United States
I was one of the devs back when homepass was a thing, too bad we didnt do some packet capture back then... maybe we could have a re-implementation of the server
Anyway, i have some ideas to implement for this project to be more "interactive"
-First keep the 3DS side as is, a simple app, that syncs the streetpass data with the backend
-make a frontend (later can be an app) that has different "paths" (similiar to the pokewalker), and several "users" are on that path too, after a period of time you go across a some users and thats how you get matches.
-then after the day ends you open your 3ds again and download your new sp data

If you want to be more "real world" like, i would have an android app that counts your daily steps or kms done in a day and then syncs to the backend, does some randomization with the paths and picks some matches
but I wouldnt reimplement some sort of sp for android, since lets be honest, even when the 3ds was new it was "hard" to have matches, imagine passing by another user that also has some homebrew app running on his device ;)

Btw, if you want lowlevel wifi "easily", you can try to use some microcontrollers, Esp32 or Esp8266, this is me saying that they can do the same as a 3DS wifi card, which i don't know...

Nevertheless i like the way this can go!
i already gave my idea before, but this idea is kinda like what i wanted to say
the 3ds already has a step counter, so the project could be more interactive if it used that to match you with other people

i am not 100% sure if homebrew apps can run stuff while you are in a game or in sleep mode, so i assume you cant and you would need to open the app in order to check for any matches

so my idea of how the app could work would be like this
- whenever the user want they can open the app and check if theres any streetpass matches
- the app would check your current step count and if someone else already matched with you before
- if someone else matched with you, it would download the other user streetpass data so you can check it out too
- then it would compare your step count with the sumbissions of that day
- then the app would match you with someone who did a similar number of steps that day, and the other user would be able to download your streetpass data whenever they connect to the app

this way, there wouldnt be a need to make a phone app, since everything could be handled by the console, the only issue i see is that maybe it would be needed to only allow the user to check for matches every certain amount of time, since i dont think the 3ds would be able to check it by itself at a certain time of the day
 

kuro0628neko

Well-Known Member
Member
Joined
May 7, 2023
Messages
115
Trophies
0
XP
443
Country
United States
i already gave my idea before, but this idea is kinda like what i wanted to say
the 3ds already has a step counter, so the project could be more interactive if it used that to match you with other people

i am not 100% sure if homebrew apps can run stuff while you are in a game or in sleep mode, so i assume you cant and you would need to open the app in order to check for any matches

so my idea of how the app could work would be like this
- whenever the user want they can open the app and check if theres any streetpass matches
- the app would check your current step count and if someone else already matched with you before
- if someone else matched with you, it would download the other user streetpass data so you can check it out too
- then it would compare your step count with the sumbissions of that day
- then the app would match you with someone who did a similar number of steps that day, and the other user would be able to download your streetpass data whenever they connect to the app

this way, there wouldnt be a need to make a phone app, since everything could be handled by the console, the only issue i see is that maybe it would be needed to only allow the user to check for matches every certain amount of time, since i dont think the 3ds would be able to check it by itself at a certain time of the day
Steps shouldn't have to determine pairings. Simply using your 3DS that day should count. Those who don't use it likely aren't carrying it with them to places they don't.
 
  • Like
Reactions: dusk_atl

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,364
Trophies
3
Age
46
Location
At my chair.
XP
18,741
Country
Colombia
Hello there, I am trying to build the package, and found this problems:

First my setup is default MSYS with DevKitPro setup just now:

Installed the packages 3ds-dev 3ds-curl
Then cloned the repo, and executed make without problem.

Then I tried to run build_release.sh but found this errors:

On the line #13 arm-none-eabi-strip netpass.elf

but arm-none-eabi-strip on the default setup of DevKitPro is on $DEVKITARM/bin/ which by default is not on the path, will be better if you put on the line #13: $DEVKITARM/bin/arm-none-eabi-strip netpass.elf

Also on the line #15 is: ../makerom
But normally you copy makerom to /bin folder so you don't need the explicit location of makerom, so the line #15 should be:


Code:
makerom -f cia -v -target t -exefslogo -o netpass.cia \
    -elf netpass.elf -rsf netpass.rsf \
    -major 0 -minor 1 -micro 0 \
    -icon netpass.smdh
Also I can not figure if you need Python in order to build the CIA file or is only needed by the Docker image.

Thanks a lot for your great work.
 

sorunome

Well-Known Member
OP
Newcomer
Joined
Apr 13, 2024
Messages
61
Trophies
0
XP
196
Country
Germany
Big new update!

Now, upon opening the app, you can chose to which location you can go. While you are at a location, you can streetpass others who are at the same location. But, watch out! You can only switch locations once every 10 hours.

Soru has also worked on some basics for a nicer user interface

Sadly, among all this, the build is somewhat crashy :/ if you are having issues, just re-start and hope it'll work again. Soru is trying to fix those bugs, but is having a really hard time debugging them due to the nature of them and sorus inability to get GDB working properly :(

Soru was also hoping someone might be willing to help her with GUI :3

That being said, there are now also .cia builds available! Soru also decided to name this NetPass, as it is like StreetPass.....but over the net!

Releases with downloads & QR code: https://gitlab.com/Sorunome/3ds-streetpass/-/releases
Post automatically merged:

Hello there, I am trying to build the package, and found this problems:

First my setup is default MSYS with DevKitPro setup just now:

Installed the packages 3ds-dev 3ds-curl
Then cloned the repo, and executed make without problem.

Then I tried to run build_release.sh but found this errors:

On the line #13 arm-none-eabi-strip netpass.elf

but arm-none-eabi-strip on the default setup of DevKitPro is on $DEVKITARM/bin/ which by default is not on the path, will be better if you put on the line #13: $DEVKITARM/bin/arm-none-eabi-strip netpass.elf

Also on the line #15 is: ../makerom
But normally you copy makerom to /bin folder so you don't need the explicit location of makerom, so the line #15 should be:


Code:
makerom -f cia -v -target t -exefslogo -o netpass.cia \
    -elf netpass.elf -rsf netpass.rsf \
    -major 0 -minor 1 -micro 0 \
    -icon netpass.smdh
Also I can not figure if you need Python in order to build the CIA file or is only needed by the Docker image.

Thanks a lot for your great work.
you managed to catch this repo in a really bad state x.x soru had already updated the server for the new locations logic and only after that noticed very breaking crashes and was then trying to debug stuffs. Soru will look at your stuffs over the coming day(s). For now, to build the 3dsx, just a simple make will do!
You do not need python or the dockerfile, those are only needed for the server side.
 
Last edited by sorunome,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro