Hacking Cfg USB Loader cheat download fix

  • Thread starter Thread starter nitraiolo
  • Start date Start date
  • Views Views 4,446
  • Replies Replies 6

nitraiolo

Well-Known Member
Newcomer
Joined
May 5, 2013
Messages
81
Reaction score
136
Trophies
1
Age
47
Website
cfgusbloader.ntd.homelinux.org
XP
376
Country
Italy
Hello,
I've just finished the patch for Cfg Usb Loader v70 MOD r65 that restores the cheats download function.
See attached patch. I cannot post links now, if someone wants the dol file (ios249 or ios222 version) please pm me.

bye
 

Attachments

1 post

images
 
I modified r65 simply because it is the lastest binary released on google code site. I've not checked the more recent revisions on svn. I've just saw the change was already done in another release. I'll test it soon today.
Thanks!
 
Ok, I've checked the r78 patch by pabloacurielz. It works but simply removes referer from the downloadfile_fname() function. Referer sometime is used by sites to allow the access of the contents. My patch leaves the referer in downloadfile_fname() adds a downloadfile_noreferer_fname() function and it's wrapper downloadfile_noreferer() and in cheats.c calls the noreferer instead the original one. This allow the cheats download from geckocodes but allow also the use of referer if needed in the other calls. I agree this is a quick and dirty patch, the best way is adding a parameter to the original cople downloadfile() / downloadfile_fname() but such change in the http functions interface implies a review of the entire source code to fix every call to these functions. I've ported my philosophy to r78 and here is the patch.
Thanks!
 

Attachments

Ok, I've checked the r78 patch by pabloacurielz. It works but simply removes referer from the downloadfile_fname() function. Referer sometime is used by sites to allow the access of the contents. My patch leaves the referer in downloadfile_fname() adds a downloadfile_noreferer_fname() function and it's wrapper downloadfile_noreferer() and in cheats.c calls the noreferer instead the original one. This allow the cheats download from geckocodes but allow also the use of referer if needed in the other calls. I agree this is a quick and dirty patch, the best way is adding a parameter to the original cople downloadfile() / downloadfile_fname() but such change in the http functions interface implies a review of the entire source code to fix every call to these functions. I've ported my philosophy to r78 and here is the patch.
Thanks!

Hello,
How to install this patch? I don't know what to do with this file.

Thanks and Happy New Year.
 

Site & Scene News

Popular threads in this forum