Welcome! Log In Create A New Profile

Advanced

Dop-IOS mod

Posted by SifJar 
Re: Dop-IOS mod
August 16, 2009 05:38PM
Hm. SifJar, could you PM me the source?

Is anyone else having success?
Re: Dop-IOS mod
August 16, 2009 05:39PM
@Arikado. the source is included with the .dol
Re: Dop-IOS mod
August 16, 2009 05:40PM
Ah, I see. Moment please, I'll have a looksie...

Edit: Hm. I found main() but I don't see any of my code anywhere...



Edited 1 time(s). Last edit at 08/16/2009 05:43PM by Arikado.
Re: Dop-IOS mod
August 16, 2009 05:45PM
"snigger"
Re: Dop-IOS mod
August 16, 2009 05:47PM
same here. It (un-synced?) the remotes and the remote would act like it wanted to connect but couldn't. Had to hard reset.
Re: Dop-IOS mod
August 16, 2009 05:52PM
Attempting to "make" without changing anything turns out a bunch of errors...
Re: Dop-IOS mod
August 16, 2009 06:46PM
Huh? "make" worked for me...I'll reupload the source. Give me a sec.

EDIT: Here we go : [www.mediafire.com] - That's the updated source.

Could it be because I still have the build folder that it will "make" for me and not you?

EDIT: Would the following need to come before your code Arikado?

basicInit();
WPAD_Init();

EDIT: The source in the old upload was wrong. Maybe the .dol was too. I'm gonna recompile, then upload again. Nope. I forgot to update the source, but the .dol was the latest one. Do I need those Init() statements before Arikado's code? I'll try that.

Here's a new .dol which may work : [www.mediafire.com]. Try that.



Edited 7 time(s). Last edit at 08/16/2009 07:01PM by SifJar.
Re: Dop-IOS mod
August 16, 2009 06:59PM
@SifJar
I won't be able to test as I am watching a movie now. Thanks!
Re: Dop-IOS mod
August 16, 2009 07:01PM
No worries. If you get a chance, try that new .dol, I think it may work. Thanks to all for your help.
Re: Dop-IOS mod
August 16, 2009 07:07PM
Yeah, you'll need those init calls before my code. Make sure you only use them once in your program. If you use them more than once, the program will freeze.
Re: Dop-IOS mod
August 16, 2009 07:09PM
It gives me some sort of continual code dump. It just keeps scrolling down. that's all that mine did. TopGun?
Re: Dop-IOS mod
August 16, 2009 07:14PM
That with the new .dol? Hmmm, I put the Init calls before Arikado's code, and deleted them from after it. I dont know what's wrong here.
Re: Dop-IOS mod
August 16, 2009 07:15PM
Quote
metroid_maniac
It gives me some sort of continual code dump. It just keeps scrolling down. that's all that mine did. TopGun?
My fault, whoops. Hold on... I'll edit this post with the fixed code in a second... (I got the same error BTW)

Here, fixed the code:
int ourios = 0;
int tracker = 0;
int totalios = 3;

for(;;){
WPAD_ScanPads();

if(WPAD_ButtonsDown(WPAD_CHAN_0)&WPAD_BUTTON_A)
break;

if(WPAD_ButtonsDown(WPAD_CHAN_0)&WPAD_BUTTON_HOME)
exit(0);

if(WPAD_ButtonsDown(WPAD_CHAN_0)&WPAD_BUTTON_RIGHT)
tracker++;

if(WPAD_ButtonsDown(WPAD_CHAN_0)&WPAD_BUTTON_LEFT)
tracker--;

if(tracker < 0)
tracker = totalios;

if(tracker > totalios)
tracker = 0;

if(tracker == 0)
ourios = 35;

if(tracker == 1)
ourios = 36;

if(tracker == 2)
ourios = 60;

if(tracker == 3)
ourios = 61;

printf("\x1b[2;0H");
printf("IOS: %d", ourios);

VIDEO_WaitVSync();
}

Problem was I forgot to reset the screen pointer :-P

(I also added the ability to return to the HBC by pressing HOME)

And now I'm off for a 7 hour shift dishwashing... :-( Laterz guyz



Edited 3 time(s). Last edit at 08/16/2009 07:20PM by Arikado.
Re: Dop-IOS mod
August 16, 2009 07:25PM
Thanks Arikado. Updated package with source and new .dol in a minute.

EDIT: Here we are, source and .dol are here : [www.mediafire.com]

EDIT: And here's a full package, readme, icon.png, meta.xml etc. : [www.mediafire.com]

Anyone tried this latest version yet?



Edited 3 time(s). Last edit at 08/16/2009 08:56PM by SifJar.
Re: Dop-IOS mod
August 16, 2009 08:57PM
Quote
metroid_maniac
It gives me some sort of continual code dump. It just keeps scrolling down. that's all that mine did. TopGun?

Sorry was out to lunch but yeah same thing happens here.
Re: Dop-IOS mod
August 16, 2009 08:58PM
Once it gets past the IOS select it freezes for me...
Re: Dop-IOS mod
August 16, 2009 08:59PM
Rage. Guess I probably did something wrong. I think I should give up here. If anyone wants to fix it, the source is still up, link in my last post. Maybe when I've learnt a bit more about C++ programming I'll come back. (I'm currently only a chapter and a half through C++ for Dummies, so I guess its understandable I can't manage something like this)



Edited 1 time(s). Last edit at 08/16/2009 09:01PM by SifJar.
Re: Dop-IOS mod
August 16, 2009 09:05PM
It will get past the IOS selection then freeze where you can pick which IOS to "dop"
Re: Dop-IOS mod
August 16, 2009 09:08PM
@ TopGun96
That pretty much sums up what happened on mine. Oh, and happy 101th post!



Edited 1 time(s). Last edit at 08/16/2009 09:09PM by metroid_maniac.
Re: Dop-IOS mod
August 16, 2009 09:10PM
hey thanks. LOL i didnt even notice. i will see what i can do to the source. (dont expect much) Nevermind.



Edited 2 time(s). Last edit at 08/16/2009 09:17PM by TopGun96.
Sorry, only registered users may post in this forum.

Click here to login