Hacking SNEEK v2

supersonic5000

Well-Known Member
Member
Joined
Sep 12, 2009
Messages
238
Trophies
0
Age
30
Location
My house
Website
Visit site
XP
153
Country
United States
tattar8 said:
supersonic5000 said:
Priiloader seems to refuse to load sneek...
When I pick bootmii ios it says unable to load bootmii ios.
Anyone else have this problem?
Are you sure you installed bootmii IOS?
Yes I use sneek all the time from HBC and my sneek channel.
However if I try from priiloader it says that.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
I HaZ uH sNEeK ChanUhL.

all you need is a dol that starts bootmii IOS.

Code:
int main(){__IOS_LaunchNewIOS(254); return 0;}
 

pepxl

GFX W!Z4RD
Member
Joined
Jun 19, 2009
Messages
3,263
Trophies
1
XP
328
Country
giantpune said:
I HaZ uH sNEeK ChanUhL.

all you need is a dol that starts bootmii IOS.

Code:
int main(){__IOS_LaunchNewIOS(254); return 0;}

lol i was actually gonna ask for a little help loading SNEEK from the real SM for the channel i made awhile back
wink.gif


will the GX source be any good loading SNEEK(bootmii/IOS) and if so what entries should be changed as it loads .dol files and we're wanting to load an IOS and im not to sure how gto go about loading a specific IOS?
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
compile that which i just posted into a dol. that is the entire thing. then you can put that dol in a channel with the banner you made for me a while back. or you can use that dol in a forwarder channel from a ISO or some shit.
 

pepxl

GFX W!Z4RD
Member
Joined
Jun 19, 2009
Messages
3,263
Trophies
1
XP
328
Country
giantpune said:
compile that which i just posted into a dol. that is the entire thing. then you can put that dol in a channel with the banner you made for me a while back. or you can use that dol in a forwarder channel from a ISO or some shit.

so it would replace

Code:
int main(int argc, char **argv)

then everything else commented out or deleted

so it would look like this

CODEstatic PNGUPROP imgProp;
static IMGCTX ctx;


u8 * GetImageData(void) {

ÂÂÂÂu8 * data = NULL;

ÂÂÂÂint ret;

ÂÂÂÂif (CONF_GetAspectRatio()) {
ÂÂÂÂÂÂÂÂctx = PNGU_SelectImageFromBuffer(background169_png);
ÂÂÂÂÂÂÂÂif (!ctx)
ÂÂÂÂÂÂÂÂÂÂÂÂreturn NULL;
ÂÂÂÂ} else {
ÂÂÂÂÂÂÂÂctx = PNGU_SelectImageFromBuffer(background_png);
ÂÂÂÂÂÂÂÂif (!ctx)
ÂÂÂÂÂÂÂÂÂÂÂÂreturn NULL;
ÂÂÂÂ}

ÂÂÂÂret = PNGU_GetImageProperties(ctx, &imgProp);
ÂÂÂÂif (ret != PNGU_OK)
ÂÂÂÂÂÂÂÂreturn NULL;

ÂÂÂÂint len = imgProp.imgWidth * imgProp.imgHeight * 4;

ÂÂÂÂif(len%32) len += (32-len%32);
ÂÂÂÂdata = (u8 *)memalign (32, len);
ÂÂÂÂret = PNGU_DecodeTo4x4RGBA8 (ctx, imgProp.imgWidth, imgProp.imgHeight, data, 255);
ÂÂÂÂDCFlushRange(data, len);

ÂÂÂÂPNGU_ReleaseImageContext(ctx);

ÂÂÂÂreturn data;
}

void Background_Show(int x, int y, int z, u8 * data, int angle, int scaleX, int scaleY, int alpha)
{
ÂÂÂÂ/* Draw image */
ÂÂÂÂMenu_DrawImg(x, y, z, imgProp.imgWidth, imgProp.imgHeight, data, angle, scaleX, scaleY, alpha);
}


int main(){__IOS_LaunchNewIOS(254); return 0;}
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
you don't need any of that other shit. the entire dol is just the main() function. period. no other files. no headers. no other functions. just link libogc and start ios 254. 1 line of code and since im releasing my line of code under GPL2, don't forget to put the 20 or so lines of GPL jargon above the 1 line.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
why the hell do you want a splash screen? the splash screen in the GX forwarder source everybody is using is only showed while it is loading a dol into memory. putting a splash screen in this dol would only waste time. there is nothing to wait for to load. it would be just a flash on the tv that you probably wouldn't even have enough time to tell what it is.
 

pepxl

GFX W!Z4RD
Member
Joined
Jun 19, 2009
Messages
3,263
Trophies
1
XP
328
Country
lol point proved

EDIT

mmmmmm im a fail, i cant seem to compile it
unsure.gif


Code:
main.cpp
c:/Projects/Forwarders_Sources/IOS_Forwarder/source/main.cpp:28:47: warning: no newline at end of file
c:/Projects/Forwarders_Sources/IOS_Forwarder/source/main.cpp: In function 'int main()':
c:/Projects/Forwarders_Sources/IOS_Forwarder/source/main.cpp:28: error: '__IOS_LaunchNewIOS' was not declared in this scope
make[1]: *** [main.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:00
 

pepxl

GFX W!Z4RD
Member
Joined
Jun 19, 2009
Messages
3,263
Trophies
1
XP
328
Country
supersonic5000 said:
tattar8 said:
supersonic5000 said:
Priiloader seems to refuse to load sneek...
When I pick bootmii ios it says unable to load bootmii ios.
Anyone else have this problem?
Are you sure you installed bootmii IOS?
Yes I use sneek all the time from HBC and my sneek channel.
However if I try from priiloader it says that.

if your using priiloader v0.3 and not v0.3b you will get that error, as v0.3 had a bug that didnt load bootmii IOS
 

supersonic5000

Well-Known Member
Member
Joined
Sep 12, 2009
Messages
238
Trophies
0
Age
30
Location
My house
Website
Visit site
XP
153
Country
United States
pepxl said:
supersonic5000 said:
tattar8 said:
supersonic5000 said:
Priiloader seems to refuse to load sneek...
When I pick bootmii ios it says unable to load bootmii ios.
Anyone else have this problem?
Are you sure you installed bootmii IOS?
Yes I use sneek all the time from HBC and my sneek channel.
However if I try from priiloader it says that.

if your using priiloader v0.3 and not v0.3b you will get that error, as v0.3 had a bug that didnt load bootmii IOS
Oh, thanks. I feel stupid now...
 

cwstjdenobs

Sodomy non sapiens
Member
Joined
Mar 10, 2009
Messages
1,756
Trophies
0
Location
Ankh-Morpork
Website
Visit site
XP
205
Country
pepxl said:
lol point proved

EDIT

mmmmmm im a fail, i cant seem to compile it
unsure.gif


Code:
main.cpp
c:/Projects/Forwarders_Sources/IOS_Forwarder/source/main.cpp:28:47: warning: no newline at end of file
c:/Projects/Forwarders_Sources/IOS_Forwarder/source/main.cpp: In function 'int main()':
c:/Projects/Forwarders_Sources/IOS_Forwarder/source/main.cpp:28: error: '__IOS_LaunchNewIOS' was not declared in this scope
make[1]: *** [main.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:00

Try IOS_ReloadIOS(254) instead
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
launch_new_ios() and reloadIOS() are in the exact same file. ios.h

Code:
s32 __IOS_InitializeSubsystems(void);
s32 __IOS_ShutdownSubsystems(void);
s32 __IOS_LoadStartupIOS(void);
s32 __IOS_LaunchNewIOS(int version);
s32 IOS_GetPreferredVersion(void);
s32 IOS_ReloadIOS(int version);
s32 IOS_GetVersion();
s32 IOS_GetRevision();
s32 IOS_GetRevisionMajor();
s32 IOS_GetRevisionMinor();

make sure you link libogc in your makefile.
 

pepxl

GFX W!Z4RD
Member
Joined
Jun 19, 2009
Messages
3,263
Trophies
1
XP
328
Country
still not compiling, i must not be linking right just keeps saying

*__IOS_LaunchNewIOS' was not declared in this scope"

EDIT

i added the ios.h in the same folder a main.cc and it compiled, whever or not it works is a different story
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    why
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, it's not funny
  • K3Nv2 @ K3Nv2:
    ok
  • BigOnYa @ BigOnYa:
    Wut?
  • K3Nv2 @ K3Nv2:
    That's not funny
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So two cannibals where eating a clown and one says to the other. Hey does this taste funny to you?
    +2
  • K3Nv2 @ K3Nv2:
    What do you call a slow car? Retired
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Did you hear about the police car that someone stole the wheels off of? The police are working tirelessly to find the thieves.
    +2
  • K3Nv2 @ K3Nv2:
    A firefighter got arrested for assault his main claim was what I was told he was on fire
    +2
  • BigOnYa @ BigOnYa:
    What do you call a hooker with a runny nose? Full
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    What do you tell a woman with two black eyes? Nothing you already told her twice!
  • K3Nv2 @ K3Nv2:
    Diddy also works
  • K3Nv2 @ K3Nv2:
    A scientist heard the word batman so he put a naked lady in a cage with a bat
  • Psionic Roshambo @ Psionic Roshambo:
    Chuck Norris won a staring contest, with the sun.
  • K3Nv2 @ K3Nv2:
    A vampires favorite thing to do is moon you
  • BigOnYa @ BigOnYa:
    What's the difference between an airplane, and Ken's mom? Not everyone has been in an airplane.
  • K3Nv2 @ K3Nv2:
    What's the difference between @BigOnYa and his wife? Nothing both want to bone me
    +3
  • RedColoredStars @ RedColoredStars:
    How much wood could a wood chuck chuck if a wood chuck could chuck norris
    +1
  • BakerMan @ BakerMan:
    how do i know? you're a guy, and he wants to bone every guy on this site (maybe, idk)
    +1
  • K3Nv2 @ K3Nv2:
    He wants to bone anything with a dick
    +1
  • Xdqwerty @ Xdqwerty:
    Good night
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, big day tomorrow. Congrats.
    K3Nv2 @ K3Nv2: https://www.instagram.com/reel/C7iLZ35NrQt/?igsh=MWd2Z3U0dmNlMmNxcw==