Hacking Sharpii

  • Thread starter Thread starter person66
  • Start date Start date
  • Views Views 27,865
  • Replies Replies 153
  • Likes Likes 4
I just updated to v1.2. Here are the changes:
  • Added some color
  • The window size is fixed
  • It now has a title and credit is given to person66 for Sharpii
  • It now checks to make sure you entered a valid IP address
  • Instead of automatically saving a new IP, you are prompted if you want to change it or not
  • Added a little threat/easter egg
  • Cleaned up some useless code
  • Added a lot of notes to the source code
  • The version number is now shown
SendWad v1.2

SendWad v1.2 Source
Did you mean to say treat? Or are you threatening me? :P
It's on purpose. Just a nudge not to make mistakes again. It's pretty easy to find (especially if you are Canadian!). Lol, j/k but go ahead and try it.

PS. don't forget to give credit to Canada since person66 is Canadian :D
Eh, statistical anomaly. Canada had nothing to do with his success. :P
 
Just an update:

I have been quite busy the past few weeks, so I haven't had much time to work on this, but school will be out for a couple weeks on friday, so after that I should be able to fix some bugs I found with the U8 packing, and also work on adding a few new things.

Also, Joostin, I might add your batch file to the Sharpii googlecode page if you don't mind :)
Not a problem, I was hoping you would do that as it would be an example for others who want to make batch files. I still have the old one for patching IOS36/236, so go ahead and upload that if you want too. I may need to update it so the parameters are those of the latest version, but I'll have to look at it first. Do you mind if I distribute the exe outside of googlecode? That will be easier for people who don't have it installed already.

Btw, do you plan to offer version changing and/or info for IOS wads?

PS: I've got an update to SendWad that I will be releasing today.
It already can patch IOS wads: Sharpii.exe IOS [args]

And feel free to distribute it outside of googlecode. I not a GPL expert or anything, but I think as long as you have a link to download to the source you should be fine, although you may want to ask someone who knows the licence better :)

PS. don't forget to give credit to Canada since person66 is Canadian :D
Eh, statistical anomaly. Canada had nothing to do with his success. :P
I beg to differ
gallery_183494_68_217.gif
 
Here is v1.3. I made a really stupid mistake in checking if the IP was valid, causing it to always report an IP as invalid:
SendWad v1.3
SendWad v1.3 Source

Edit: I'm a failure. If you downloaded v1.3 before this edit, do so again. The old one doesn't work unless Sharpii is installed.
 
PS: Why don't you get the IP from the environment variable, and run Sharpii from Path? I also suggest you disable the IOS install and enable AHBPROT by default.

Thanks for the suggestions JoostinOnline, i've changed the AHBPROT to be enabled by default, it will run Sharpii from path anyway, i just never installed it.
I'm going to leave the ip as it is, simply because my wii ip changes sometimes.

I've edited my post above to reflect new changes.

Thanks again
 
Well I feel obsolete, lol. Here is v1.5 (I forgot to post v1.4 on this site). It includes some optimizations by person66:
http://www.mediafire...7uf6epue93iehlh
Source
http://www.mediafire...le64y27270rpfa2

PS: Why don't you get the IP from the environment variable, and run Sharpii from Path? I also suggest you disable the IOS install and enable AHBPROT by default.

Thanks for the suggestions JoostinOnline, i've changed the AHBPROT to be enabled by default, it will run Sharpii from path anyway, i just never installed it.
I'm going to leave the ip as it is, simply because my wii ip changes sometimes.

I've edited my post above to reflect new changes.

Thanks again
It didn't work for me actually, even though Sharpii is installed.

Btw, is your gui based on my code at all? If so, would you mind sharing yours with me? I'll keep it private if you want, I'm just curious.
 
Well I feel obsolete, lol. Here is v1.5 (I forgot to post v1.4 on this site). It includes some optimizations by person66:
http://www.mediafire...7uf6epue93iehlh
Source
http://www.mediafire...le64y27270rpfa2

PS: Why don't you get the IP from the environment variable, and run Sharpii from Path? I also suggest you disable the IOS install and enable AHBPROT by default.

Thanks for the suggestions JoostinOnline, i've changed the AHBPROT to be enabled by default, it will run Sharpii from path anyway, i just never installed it.
I'm going to leave the ip as it is, simply because my wii ip changes sometimes.

I've edited my post above to reflect new changes.

Thanks again
It didn't work for me actually, even though Sharpii is installed.

Btw, is your gui based on my code at all? If so, would you mind sharing yours with me? I'll keep it private if you want, I'm just curious.

No it's not based on your code, i haven't actually seen your source but since we are only using cmd they are sure to be the same are they not?

umm the 1st file i posted worked from path after i installed Sharpii, same for my 2nd edit.

*EDIT
ok after just looking at your 1.5 source i can say that apart from the actual cmd eg: Sharpii.exe SendWAD -ip -ahb etc..... nothing else is the same. ( not even the var names :) )
 
Lol, it's funny that you used the same name as my drag and drop file but didn't even look at it.

I still get "WadInstaller.dll not found, please download from http://code.google.com/p/sharpii" if I don't put it in the Sharpii folder.
 
Lol, it's funny that you used the same name as my drag and drop file but didn't even look at it.

I still get "WadInstaller.dll not found, please download from http://code.google.com/p/sharpii" if I don't put it in the Sharpii folder.

what drag and drop file, i haven't read every post in this thread, i'll rename if you like.

WadInstaller.dll not found fixed.
 
Lol, it's funny that you used the same name as my drag and drop file but didn't even look at it.

I still get "WadInstaller.dll not found, please download from http://code.google.com/p/sharpii" if I don't put it in the Sharpii folder.

what drag and drop file, i haven't read every post in this thread, i'll rename if you like.

WadInstaller.dll not found fixed.
Lol, that's what SendWad is. You drag it a wad file on the exe and it will install the wad.
 
Lol, it's funny that you used the same name as my drag and drop file but didn't even look at it.

I still get "WadInstaller.dll not found, please download from http://code.google.com/p/sharpii" if I don't put it in the Sharpii folder.

what drag and drop file, i haven't read every post in this thread, i'll rename if you like.

WadInstaller.dll not found fixed.
Lol, that's what SendWad is. You drag it a wad file on the exe and it will install the wad.


ooops fail by me, well of course i'm gonna have sendwad in the title, thats just logical, anyhow i've rename to Sharpii Wad Dol Sender..... happy now?
 
Lol, it's funny that you used the same name as my drag and drop file but didn't even look at it.

I still get "WadInstaller.dll not found, please download from http://code.google.com/p/sharpii" if I don't put it in the Sharpii folder.

what drag and drop file, i haven't read every post in this thread, i'll rename if you like.

WadInstaller.dll not found fixed.
Lol, that's what SendWad is. You drag it a wad file on the exe and it will install the wad.


ooops fail by me, well of course i'm gonna have sendwad in the title, thats just logical, anyhow i've rename to Sharpii Wad Dol Sender..... happy now?
You didn't have to change the name. I think it would sound better if you changed it back tbh.
 
  1. I have a suggestion. It would be nice if you could save the wad installer as a dol file instead of sending it via wiiload.
  2. Sometimes when installing cIOS wads, I have to use a cIOS to do it because AHBPROT doesn't work. If you want I can try installing a bunch of cIOS wads to find a common factor in the ones that don't install with AHBPROT.
 
It would be nice if Sharpii could set an errorlevel if for example a wad file couldn't be send because the HBC was not startet or there is no network connection. I tried sending a .wad file without a connection to see if it would report an error, but Sharpii still reported the file as being sent successfully which of course was not the case. The reason I ask is because I would like to write a batch script that runs a certain command depending on if the file transfer to the wii was successfull or not.

If something like this cannot be implemented into sharpii (or you simply don't want to), I would like to know if there is any other way to check from the pc if the wii is connected to the network or not through the command line. I thought about a simple ipconfig command, but I don't think it lists the wii as a device if connected.

Any help is appreciated.

EDIT: Well I searched for myself a bit, and found out that I can use a ping to reach the wii. The problem is that even when in stand-by mode with wiiconnect24 switched on, there will be a valid internet connection. As far as I now there is no way to check if a specific channel is startet on the wii from the pc (well it could probably done with a usb gecko, but not alone over the network and/or without modifiying the channel to send a signal to the pc over the network, which would be too much work for such little effort anyways), so I can probably forget about that. Oh well.
 
this new tool might be able to do what you're looking for:
http://www.wii-addict.fr/forum/Wadload-Manager-10-t26921.html

(sorry person66, I don't mean to take people away from sharpii, it's still a SWEET tool that can do a whole lot more than install WADs :D)
 
thanks a lot for the suggestion, XFlak. will try this out for sure. and also I will still use sharpii pretty often, because as XFlak already stated, it's more then just a tool to install wads and load dol files over the network. in fact sharpii is the magic behind many batch files I wrote for example one that builds games channels for games on an usb drive, so keep up the good work^^
 

Site & Scene News

Popular threads in this forum