Homebrew [Upcoming]: SDHelper - Easy SD setup tool

Should a(n) alpha/beta release now?

  • Ya bruh

    Votes: 10 32.3%
  • Nah u keep workin'

    Votes: 21 67.7%

  • Total voters
    31
  • Poll closed .

MarioMasta64

hi. i make batch stuff and portable shiz
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,096
Country
United States
Running apt-get default-jre right now. I'll see if the official works.
Seems that "default-jre" is Java 7, but SDHelper uses Java 8. I'll see if I can manually install it.
okay so apparently you have to run it via terminal inside the directory java -jar sdhelper.jar or it wont work as default directory is ~/

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

I use System.getProperty("user.dir") to find where the jar is being run from. Didn't think to check if that was version dependent.
problem solved, however running the jar directly sets the directory as ~/ (home) so thats why it doesnt work so my solution was to open terminal and "cd /directory/to/file/" then "java -jar SDHelper.jar" also its case sensitive
 

Somebody Whoisbored

it's all okeydokey
OP
Member
Joined
May 12, 2016
Messages
478
Trophies
0
Age
22
Location
hypeland
XP
227
Country
United States
okay so apparently you have to run it via terminal inside the directory java -jar sdhelper.jar or it wont work as default directory is ~/

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


problem solved, however running the jar directly sets the directory as ~/ (home) so thats why it doesnt work so my solution was to open terminal and "cd /directory/to/file/" then "java -jar SDHelper.jar" also its case sensitive
That is a problem though, but a good workaround. I'll add this to the issues.
 

MarioMasta64

hi. i make batch stuff and portable shiz
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,096
Country
United States
heres a screenshot

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

That is a problem though, but a good workaround. I'll add this to the issues.
also the green bar moving back and forth might confuse people and make them think something went wrong. it looks fancy but still, just a thought.
 

Attachments

  • Screenshot from 2017-01-11 22-07-39.png
    Screenshot from 2017-01-11 22-07-39.png
    66 KB · Views: 97

Somebody Whoisbored

it's all okeydokey
OP
Member
Joined
May 12, 2016
Messages
478
Trophies
0
Age
22
Location
hypeland
XP
227
Country
United States
heres a screenshot

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


also the green bar moving back and forth might confuse people and make them think something went wrong. it looks fancy but still, just a thought.
Yea that's a known bug. Probably an easy fix. It was intended to only show that when extracting then be set back to normal.

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

heres a screenshot

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


also the green bar moving back and forth might confuse people and make them think something went wrong. it looks fancy but still, just a thought.
Did you move the zip files there or did they just appear there?
 

MarioMasta64

hi. i make batch stuff and portable shiz
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,096
Country
United States
Yea that's a known bug. Probably an easy fix. It was intended to only show that when extracting then be set back to normal.

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


Did you move the zip files there or did they just appear there?
they just appear.
 

Attachments

  • Screenshot from 2017-01-11 22-11-53.png
    Screenshot from 2017-01-11 22-11-53.png
    62.8 KB · Views: 96

MarioMasta64

hi. i make batch stuff and portable shiz
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,096
Country
United States
Yea that's a known bug. Probably an easy fix. It was intended to only show that when extracting then be set back to normal.

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


Did you move the zip files there or did they just appear there?
no starter.zip extraction im guessing?

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

It should be going in SDHelper/sd and download. Check if there is anything there.
well then ._. seems decrypt9 / starter dont get moved or extracted
 

Attachments

  • Screenshot from 2017-01-11 22-13-41.png
    Screenshot from 2017-01-11 22-13-41.png
    52.2 KB · Views: 91

MarioMasta64

hi. i make batch stuff and portable shiz
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,096
Country
United States
here have some debug

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

That should have worked. Seems zip extraction is also not working. Check what is in the download folder. Are all the folders empty there?
seems the zip-files decrypt9 and starter become null at some point in the process, ill delete everything and retry

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

files are still nulled, but while downloaded they are full. strange

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

That should have worked. Seems zip extraction is also not working. Check what is in the download folder. Are all the folders empty there?
could you make a build for me that doesnt auto-update? so i can test out something with the download.xml i think i might have an idea
 

Attachments

  • debug.txt
    5.4 KB · Views: 274

Somebody Whoisbored

it's all okeydokey
OP
Member
Joined
May 12, 2016
Messages
478
Trophies
0
Age
22
Location
hypeland
XP
227
Country
United States
here have some debug

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


seems the zip-files decrypt9 and starter become null at some point in the process, ill delete everything and retry

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

files are still nulled, but while downloaded they are full. strange
Very strange. Perhaps someone with more knowledge of Linux and Java's interactions could look into this. If anyone decides to help with this, that is.

Just don't change the version tag, or host your own update site on GitHub or something.
 
Last edited by Somebody Whoisbored,

MarioMasta64

hi. i make batch stuff and portable shiz
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,096
Country
United States
I've added a note as well. You could also remove the updatesite tag and I believe that will make it not check for an update.
ah ok.

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

I've added a note as well. You could also remove the updatesite tag and I believe that will make it not check for an update.
by quickly replacing the nulled out Decrypt9 in the downloads folder (as it clears out everything i have a sort timeframe) ive concluded its not the .zip extraction but rather however it gets moved from root to downloads

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

I've added a note as well. You could also remove the updatesite tag and I believe that will make it not check for an update.
guess what the problem is xD its cause it has \ (a windows directory) instead of / (a linux directory) so until that gets fixes it wont copy / move on linux

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

ah ok.

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


by quickly replacing the nulled out Decrypt9 in the downloads folder (as it clears out everything i have a sort timeframe) ive concluded its not the .zip extraction but rather however it gets moved from root to downloads

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


guess what the problem is xD its cause it has \ (a windows directory) instead of / (a linux directory) so until that gets fixes it wont copy / move on linux
essentially you just need to do a os check somehow, or, change the method of everything (id reccomend a os check if its linux put / if its windows put \ another solution is to make a seperate build for each but that'd be complicated id suspect

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

I've added a note as well. You could also remove the updatesite tag and I believe that will make it not check for an update.
perhaps remove the "\" default directory and just add "/" onto the front of files instead?

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

I've added a note as well. You could also remove the updatesite tag and I believe that will make it not check for an update.
maybe something along the lines of this, im not to sure how java programming works but it seems to work only for the ones that go to a relative path than a hard-linked path "\" as root

<?xml version="1.0" encoding="UTF-8"?>
<root>
<general>
<name>Test File</name>
<author>shadowninja108</author>
<version>1</version>
<binaryversion>1</binaryversion>
<updatesite>https://raw.githubusercontent.com/shadowninja108/SDHelper/master/update/update.xml</updatesite>
</general>
<downloads>
<global>
<link type="zip">
<value>http://smealum.github.io/ninjhax2/starter.zip</value>
<path>/</path>
<extract>/starter/</extract>
</link>
<link type = "direct">
<value>https://github.com/nedwill/soundhax/blob/master/soundhax-usa-n3ds.m4a?raw=true</value>
<path>/soundhax.m4a</path>
</link>
<link type = "direct">
<value>https://github.com/TiniVi/safehax/releases/download/r18/safehax.3dsx</value>
<path>/3ds/safehax/safehax.3dsx</path>
</link>
<link type = "direct">
<value>https://github.com/TiniVi/safehax/releases/download/r18/safehax.3dsx</value>
<path>/3ds/safehax/safehax.smdh</path>
</link>
<link type = "direct">
<value>https://github.com/nedwill/fasthax/releases/download/v1.0.1/fasthax.3dsx</value>
<path>/3ds/fasthax/fasthax.3dsx</path>
</link>
<link type = "zip">
<value>https://github.com/d0k3/Decrypt9WIP...61113/Decrypt9WIP-20161113-135126.zip</value>
<path>/safehaxpayload.bin</path>
<extract>/Decrypt9WIP.bin</extract>
</link>
<link type="7zip">
<value>https://github.com/AuroraWright/Luma3DS/releases/download/v6.6/Luma3DSv6.6.7z</value>
<path>/hax/arm9loaderhax.bin</path>
<extract>/arm9loaderhax.bin</extract>
</link>
</global>
<if type="NEW" region="USA">
<command>
<link type = "direct">
<value>https://github.com/nedwill/soundhax/blob/master/soundhax-usa-n3ds.m4a?raw=true</value>
<path>/soundhax.m4a</path>
</link>
</command>
</if>
</downloads>
</root>
 

Attachments

  • debug.txt
    3.2 KB · Views: 193

MarioMasta64

hi. i make batch stuff and portable shiz
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,096
Country
United States
The download handle error'd. Have you tried deleting it and trying again?
same problem as before files are being nulled out but properly stored alongside the sdhelper.

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

same problem as before files are being nulled out but properly stored alongside the sdhelper.
however if i quickly replace the null versions with the proper ones it extracts them.
 

Attachments

  • Screenshot from 2017-01-11 23-36-42.png
    Screenshot from 2017-01-11 23-36-42.png
    50.8 KB · Views: 84

Somebody Whoisbored

it's all okeydokey
OP
Member
Joined
May 12, 2016
Messages
478
Trophies
0
Age
22
Location
hypeland
XP
227
Country
United States
same problem as before files are being nulled out but properly stored alongside the sdhelper.

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


however if i quickly replace the null versions with the proper ones it extracts them.
Could be that the \ in directories are hardcoded and Linux uses /.
 

MarioMasta64

hi. i make batch stuff and portable shiz
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,096
Country
United States
Could be that the \ in directories are hardcoded and Linux uses /.
no it only runs into that problem after it gets the unzips (as it needs to go up a directory to copy/paste or whatever it does there) plus the address actually does go /blah/blach/blah/lel( \ )file,meh so something wrote in as a "root" directory is causing the problem (root being beside helper) try coding them to goto relative directories. that could help.
 

Somebody Whoisbored

it's all okeydokey
OP
Member
Joined
May 12, 2016
Messages
478
Trophies
0
Age
22
Location
hypeland
XP
227
Country
United States
same problem as before files are being nulled out but properly stored alongside the sdhelper.

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


however if i quickly replace the null versions with the proper ones it extracts them.
Try this build, the interpreter (I think) will take the OS's file separator char instead of being hardcoded.
no it only runs into that problem after it gets the unzips (as it needs to go up a directory to copy/paste or whatever it does there) plus the address actually does go /blah/blach/blah/lel( \ )file,meh so something wrote in as a "root" directory is causing the problem (root being beside helper) try coding them to goto relative directories. that could help.
But it uses similar code to figure out where the downloads go. That is why I think your downloads are ending up next to the jar. I'm compiling a jar for you to test now.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
  • S @ salazarcosplay:
    does update 19 really block it
  • SylverReZ @ SylverReZ:
    Update 19 never came out yet. Just the 18.1.
    SylverReZ @ SylverReZ: Update 19 never came out yet. Just the 18.1.