No need for a prototype! Real deal is here: https://github.com/ToadKing/wii-u-gc-adapter
This file contains 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
#!/usr/bin/env bash | |
# Demuxes 3D videos from Nintendo 3DS into two (left and right) videos | |
# and splits the videos into image frames. | |
# REQUIRES FFMPEG, can be installed with Homebrew on Mac | |
# Install FFmpeg on ubuntu with: http://askubuntu.com/a/451158 | |
if [ $# -ne 1 ] | |
then |
This file contains 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
[quote="reprep"]Hi, | |
can you please summarize your tweets about 3DS CFW here too? People like me are interested in those but we can't understand because of language barrier. Thanks.[/quote] | |
It's very easy. | |
I just want to make better CFW. | |
Relocatable ELF (Plugin) loader, Better signature check of CIA (support both enrypted and decrypted one), Allowing kernel access from homebrews, enabling exception display for debugging, debugger plugin(ctrlink?), screenshot plugin... | |
When I say such a hope, Japanese PSP developers also dream of that. | |
But, there is no source code. We must reverse it. | |
Why don't they release their source code? |
This file contains 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
//-------------------------------------- | |
//--- 010 Editor v5.0 Binary Template | |
// | |
// File: 3DSCIATemplate.bt | |
// Author: Subv | |
// Revision: 0.1 | |
// Purpose: Parsing .CIA files for the Nintendo 3DS | |
//-------------------------------------- | |
struct CIAFile | |
{ |
This file contains 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
StartOfRom | |
Header | |
Checksum | |
ROMEndLoc | |
EndOfHeader | |
ErrorTrap | |
EntryPoint | |
PortA_Ok | |
SkipSecurity | |
VDPInitLoop |
This file contains 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 sys | |
import wave | |
import struct | |
# bit0 is a single period sine wave at 1024Hz with a given amplitude | |
# bit1 is the same but with ~2.7 times the amplitude | |
bits = [[0x00, 0x09, 0x12, 0x1A, 0x21, 0x27, 0x2C, 0x2F, 0x30, 0x2F, 0x2C, 0x27, 0x21, 0x1A, 0x12, 0x09, 0x00, 0xF6, 0xED, 0xE5, 0xDE, 0xD8, 0xD3, 0xD0, 0xD0, 0xD0, 0xD3, 0xD8, 0xDE, 0xE5, 0xED, 0xF6], [0x00, 0x18, 0x30, 0x46, 0x59, 0x69, 0x75, 0x7C, 0x7F, 0x7C, 0x75, 0x69, 0x59, 0x46, 0x30, 0x18, 0x00, 0xE7, 0xCF, 0xB9, 0xA6, 0x96, 0x8A, 0x83, 0x81, 0x83, 0x8A, 0x96, 0xA6, 0xB9, 0xCF, 0xE7]] | |
bits[0] = [b^0x80 for b in bits[0]] | |
bits[1] = [b^0x80 for b in bits[1]] | |
bits[0] = struct.pack('%sB' % len(bits[0]), *bits[0]) |
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <inttypes.h> | |
void tea_decrypt (uint32_t *v, uint32_t *k) { | |
uint32_t v0=0, v1=0, sum=0; | |
uint32_t delta=0x61C88647; | |
uint32_t k0=k[0], k1=k[1], k2=k[2], k3=k[3]; | |
do { | |
sum -= delta; |
This file contains 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
.nds | |
.create "spider_rop.bin",0x0 | |
;define constants | |
DLPLAY_CODE_LOC_VA equ 0x00192800 | |
DLPLAY_CODE_LOC equ (DLPLAY_CODE_LOC_VA-0x00100000+0x03F50000+0x14000000) | |
DLPLAY_HOOK_LOC equ (0x03FF3500+0x14000000) | |
DLPLAY_NSSHANDLE_LOC_VA equ 0x001A5200 |
This file contains 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
enum { | |
RCT1_RIDE_TYPE_NULL = 255, | |
RCT1_RIDE_TYPE_WOODEN_ROLLER_COASTER = 0, | |
RCT1_RIDE_TYPE_STAND_UP_STEEL_ROLLER_COASTER, | |
RCT1_RIDE_TYPE_SUSPENDED_ROLLER_COASTER, | |
RCT1_RIDE_TYPE_INVERTED_ROLLER_COASTER, | |
RCT1_RIDE_TYPE_STEEL_MINI_ROLLER_COASTER, | |
RCT1_RIDE_TYPE_MINIATURE_RAILROAD, | |
RCT1_RIDE_TYPE_MONORAIL, | |
RCT1_RIDE_TYPE_SUSPENDED_SINGLE_RAIL_ROLLER_COASTER, |
This file contains 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
Dummy .rsf file for 3DS games |