Jump to content

nin187

Members
  • Posts

    2
  • Joined

  • Last visited

nin187's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I made an executable patch based on my post with CodeFusion 3.0. Here's the link. NDSL_Wi-Fi_Patcher.zip Attention: Do not apply this patch if you don't have any problem.
  2. I've been suffered from this problem too. I couldn't make it by myself, so I asked a Japanese programmer named Rudolph. Here's his blog.(Unfortunately, all the stuffs are Japanese) http://blog.so-net.ne.jp/Rudolph/ I can translate it for you, but you should keep in mind that I'm not so good at English and Japanese because I'm Korean. Below is the contents from the Rudolph's blog. WiFiを使用するHomebrewなソフトについて、現在分かっていることを まとめておきます。 I'm arranging what I know about bunch of problems of homebrew softwares which uses Wi-fi connection. 当然正規のゲームでは問題ないのですが、devkitProのlibdswifiに不具合が あるため以下のDSではWiFiが動作しません。 It is natural that there's no problem with DS games, but because devikit pro and libds have problems, it is impossible to connect on the Wi-fi homebrew with DSs listed below. ①Firmware用に512KBのFlashが搭載されている機種(iQueDS、韓国向DS、台湾向DS...) ①DSs which are loaded with 512KB of Flash memory for the firmware.(iQueDS、Korean version of DS、Taiwan version of DS...) ②最近のDS(詳細不明) ②Newest DS(Don't know about detailed things) ①については、Flashのサイズが変わったことによりユーザの接続情報が格納されている アドレスが変更になっているようです(0x03FA00から0x100*4が、0x07FA00からに変更)。 In the case of no.①, I think the address where the user connedtion settings are loaded is changed, according to the change of the size of flash memory.(The address from 0x03FA00 to 0x100*4、is changed to start from 0x07FA00) ②のタイプについては詳細は不明ですが、最近出荷されているDSでは搭載されている RFユニットが変更されているのか電源ON時の初期状態でWiFiが無効(Shutdown)に なっているようです。libdswifiのWifi_WakeUpが正常に動作していない為、動作しません。 I'm not sure about details but, in the case of no.②, the change on RF unit of the newest DSs is not enabled to use Wi-fi connection(the state of shutdown) when the power is switched on. Because Wifi_WakeUp of libdswifi is not working properly, Wi-fi connection is not working either. 「wifi_arm7.c」 (上記2点を修正したlibdswifi 0.3.1のwifi_arm7.cのソース) 「wifi_arm7.c」 (The source of wifi_arm7.c from libdswifi 0.3.1 that solved the problems of ① and ② mentioned above) libdswifiを使って作成された、WiFiを使用するHomebrewなソフトを強制的に動かす為の パッチも公開します。 I'm releasing the patch that forces to work the Wi-fi Homebrews which are based on libdswifi. ①に対応する為のパッチ(通常のFlashが256KBのDSでは当ててはいけません) The patch to solve the problem ① (Attention: This patch should not be applied on old DSs which uses 256KB of flash memory)    "FE 0B 80 E2 02 0C 80 E2" を検索して、そこを   "7F 0A 80 E2 0A 0C 80 E2" に、8byte書き換える    Find "FE 0B 80 E2 02 0C 80 E2" with your HEXCODE Editor(such as UltraEdit etc.,)   Change into "7F 0A 80 E2 0A 0C 80 E2" ②に対応する為のパッチ(チョット強引だが、全てのDSで使用できる?) The patch to solve the problem ① (It is somewhat compulsive but I wonder this might be used by all DSs)    "81 1C 83 E2 02 39 83 E2 10 40 2D E9 B6 23 C3 E1" を検索して、そこを    "01 1C 83 E2 10 40 2D E9 B6 23 C3 E1 0D 00 00 EB" に、16byte書き換える。    Find "81 1C 83 E2 02 39 83 E2 10 40 2D E9 B6 23 C3 E1"    and change into "01 1C 83 E2 10 40 2D E9 B6 23 C3 E1 0D 00 00 EB"    そこから56(0x38)Byte後の    56(0x38)Byte from that address, you could find these addresses    "10 40 BD E8 XX FF FF EA 04 E0 2D E5 40 00 A0 E3" -    "XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX" の部分を    "01 00 00 EB 10 40 BD E8 1E FF 2F E1 06 28 A0 E3" -    "02 28 82 E2 01 20 52 E2 FD FF FF 1A 1E FF 2F E1" に、32byte書き換える。    (XはVerにより不定)    Change the address "10 40 BD E8 XX FF FF EA 04 E0 2D E5 40 00 A0 E3" -    "XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX"    into "01 00 00 EB 10 40 BD E8 1E FF 2F E1 06 28 A0 E3" -    "02 28 82 E2 01 20 52 E2 FD FF FF 1A 1E FF 2F E1"    (XX varies with the version of libdswifi) 一応、DSLiveWeatherで動作を確認しましたが、いつもの通り責任は持てません。 特に②のパッチは強引で、Wifi_Shutdown()を潰していますのでソースが公開されている 場合は修正したwifi_arm7.cでリビルドした方がいいです。 I confirmed working with DSLiveWeather but, as usual, I don't have any responsibilities for applying this patch. Especially, it is recommended to rebuild the source code with corrected wifi_arm7.c when you have the source of the Wi-fi homebrew because the patch no.② is quite compulsive that it is ignoring Wifi_Shutdown().
×
×
  • Create New...