You may have to rename all those tmd.x to tmd in case the update fetches those. Or yes you can simply change the source code to let it extract it to "tmd".Question: do you need to unblock nintendo update servers in order to use this update method? I keep on getting error and I don't want to accidentally update somebody's 3DS.
This is what I put in the NTR debugger:
Code:write(0x15E424, tuple(map(ord, "http://192.168.2.2:8000/ss.php\0")), pid=0x25) write(0x15E0EC, tuple(map(ord, "http://192.168.2.2:8000/GASR.xml\0")), pid=0x25) write(0x15E463, tuple(map(ord, "http://192.168.2.2:8000/GASR.xml\0")), pid=0x25)
Update process seems to hit GetSystemTitleHash, then error appear on the n3ds:
(yes, $variables were replaced with identifying information)Code:<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><GetSystemTitleHashResponse xmlns="urn:nus.wsapi.broadon.com"><Version>$Version</Version><DeviceId>$DeviceID</DeviceId><MessageId>$MessageID</MessageId><TimeStamp>$TimeStamp</TimeStamp><ErrorCode>0</ErrorCode><TitleHash>7E745F7B67D553BEA847859404790C94</TitleHash></GetSystemTitleHashResponse></soapenv:Body></soapenv:Envelope>
The archive below contains every file I'm using, except the update files extracted with UnpackCdnCia (those are copyrighted..)
You may have to re-calculate the hash if the package is different from the original complete package. That's what i don't know.
Also, i doubt if someone can find out the calculation with IDA and proper module.
And yes, the XML is likely to need the modification, like ronhero said.
Last edited by Syphurith,