When no wifi module is connected to the system, all nn::ac::Connect
calls will fail, since /dev/net/ifmgr/ncl
cannot be opened without /dev/net/ifmgr/wd
being opened successfully.
This is done to ensure that the wifi driver (wifi24
) has finished successfully, which will of course never happen without a wifi module.
This causes some funny issues in /dev/emd
, since it will abort and go into an endless loop causing the console to freeze due to the cooperative thread model in IOS.
This patch simply allows opening /dev/net/ifmgr/ncl
without /dev/net/ifmgr/wd
, maybe don't use this on a console with an actual wifi module installed though.
I hereby claim:
- I am garyodernichts on github.
- I am garyodernichts (https://keybase.io/garyodernichts) on keybase.
- I have a public key ASBN0rEu_FapFsQWzTMQdNLaASebkzdU3Cxxl4gurJ3IlAo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zlib | |
import sys | |
import struct | |
""" | |
.cx file header (0x14 in size): | |
word[0] 0xe0000000 -> Magic, only the 0x0e is checked | |
word[1] little endian value, uncompressed size | |
word[2] 0x624d414c -> "bMAL" Magic | |
word[3] little endian value, compressed size |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import sys | |
pattern = r"^\[ ([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}) \] Addr\. ([0-9A-F]+)+ : .*" | |
compiled_regex = re.compile(pattern, re.MULTILINE) | |
with open(sys.argv[1]) as inf: | |
with open(sys.argv[2], "wb") as outf: | |
for l in inf.readlines(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#define FSA_CAPABILITY_ODD_READ (1llu << 0) | |
#define FSA_CAPABILITY_ODD_WRITE (1llu << 1) | |
#define FSA_CAPABILITY_ODD_RAW_OPEN (1llu << 2) | |
#define FSA_CAPABILITY_ODD_MOUNT (1llu << 3) | |
#define FSA_CAPABILITY_SLCCMPT_READ (1llu << 4) | |
#define FSA_CAPABILITY_SLCCMPT_WRITE (1llu << 5) | |
#define FSA_CAPABILITY_SLCCMPT_RAW_OPEN (1llu << 6) | |
#define FSA_CAPABILITY_SLCCMPT_MOUNT (1llu << 7) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; $MODE = "UniformRegister" | |
; $NUM_SPI_PS_INPUT_CNTL = 1 | |
; texCoords R0 | |
; $SPI_PS_INPUT_CNTL[0].SEMANTIC = 0 | |
; $SPI_PS_INPUT_CNTL[0].DEFAULT_VAL = 1 | |
; $SAMPLER_VARS[0].name = "tex0" | |
; $SAMPLER_VARS[0].type = "SAMPLER2D" | |
; $SAMPLER_VARS[0].location = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Find Wii IOS syscalls via undefined instruction | |
//@author rw, GaryOderNichts | |
//@category ARM | |
//@keybinding | |
//@menupath | |
//@toolbar | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileReader; |
This guide will set up VS Code to work with debugging Wii U apps using the GDB stub plugin for Aroma.
To debug you will need a compatible GDB version installed which supports the powerpc:750
archtitecture.
The one which is bundled with devkitPPC
is not recommended, due to being several versions behind.
Edit: It has now been updated to the latest version and can be used without issues. Use /opt/devkitpro/devkitPPC/bin/powerpc-eabi-gdb
for the gdb path.
You can also install a PowerPC specific version, or use gdb-multiarch
which comes with several linux distributions.
Note down the path to the gdb executable, this is required for the next steps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.arm.big | |
.open "patches/sections/0x5000000.bin","patches/patched_sections/0x5000000.bin",0x05000000 | |
; patch IOS_CheckDebugMode to always return 0 | |
.org 0x0501fc98 | |
.thumb | |
mov r0, #0 | |
mov r0, #0 |
NewerOlder