Homebrew Injecting roms into VC? With only the web browser? Sure.

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
Ok. So, I've figured out my problem:

Code:
        for(j = offset; j < (offset + 0x100000); j += 0x10000){
                IFile_Read(this, read_len, buf, 0x10000);
                GSPGPU_FlushDataCache(buf, 0x10000);
                GX_SetTextureCopy(buf, j, 0x10000, 0, 0, 0, 0, 8);
                GSPGPU_FlushDataCache(j, 0x10000);
                //flashes mostly black screen on the bottom screen for a few frames, this is so i know the program is running and not frozen
                GSPGPU_FlushDataCache(0x18000000, 0x00038400);
                GX_SetTextureCopy(0x18000000, 0x1F48F000, 0x00038400, 0, 0, 0, 0, 8);
                svcSleepThread(0x400000LL);
                GSPGPU_FlushDataCache(0x18000000, 0x00038400);
                GX_SetTextureCopy(0x18000000, 0x1F4C7800, 0x00038400, 0, 0, 0, 0, 8);
                svcSleepThread(0x400000LL);
                }
                IFile_Open(this, L"dmc:/memdump2.lol", 0x6);
                IFile_Write(this, written, buf, 0x10000);
                GSPGPU_FlushDataCache(0x18000000, 0x00038400);
                GX_SetTextureCopy(0x18000000, 0x1F48F000, 0x00038400, 0, 0, 0, 0, 8);
                svcSleepThread(0x400000LL);
                GSPGPU_FlushDataCache(0x18000000, 0x00038400);
                GX_SetTextureCopy(0x18000000, 0x1F4C7800, 0x00038400, 0, 0, 0, 0, 8);
                svcSleepThread(0x400000LL);
                }

This code seems to be completely overwriting the buffer! So, according to a RAM dump, only the last 0x10000 bytes are there... the rest is just 0x00.
 

ad2099

Active Member
Newcomer
Joined
Jan 26, 2015
Messages
28
Trophies
0
Age
28
XP
60
Country
Mexico
30hwqqq.jpg


The amazing Spider man 1990 GB
 
  • Like
Reactions: KazoWAR

blopa

Well-Known Member
Member
Joined
Jan 19, 2009
Messages
145
Trophies
0
XP
243
Country
Brazil
kinda of topic, and I'm sorry about that, but is it possible to inject only a .sav data into the VC game? Like a save file from my emulator on PC?
 

duke_srg

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
Ok, the next version is ready! This time, it has support for up to 512kb roms, and STILL no gbc support :(... It's in the works :P
Here's the NEW google forms :D
http://goo.gl/forms/RzGnDgjoAu
Bad luck, this version gives a black screen after restoring to a VC with Paragon5 Music Cart at least.

BTW, is it possible to scan Web browser memory for the URL, It may be the easiest way to specify a rom filename.

2ALL: guys, please check my html exploit on fw 9.3/9.4
 

Hiccup

Well-Known Member
Member
Joined
Nov 21, 2009
Messages
1,000
Trophies
1
XP
1,806
Country
Could this, in theory, be used to inject custom stuff into physical games (e.g. custom levels in nsmb2 cartridge)? i.e. a bit like riivolution.
 
  • Like
Reactions: Margen67

Xuman

Well-Known Member
Member
Joined
Jan 26, 2012
Messages
407
Trophies
0
XP
980
Country
United States
Could this, in theory, be used to inject custom stuff into physical games (e.g. custom levels in nsmb2 cartridge)? i.e. a bit like riivolution.

I Don't believe so but it doesnt rule out the possibility of doing SOMETHING with the browser exploit.
 
  • Like
Reactions: Margen67

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://www.kctv5.com/2024/05/22/woman-says-casino-is-refusing-pay-12-million-jackpot-she-won-pla... +1