View unanswered posts | View active topics It is currently 16 May 2012, 21:41



Welcome
Welcome to WADder

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!


Reply to topic  [ 33 posts ]  Go to page 1, 2, 3, 4  Next
 Black screen error in custom channels (code dump on exit) 
Author Message

Joined: 26 Mar 2010, 21:12
Posts: 19
Location: Brazil, No, it's not in Africa.
Has thanked: 0 time
Have thanks: 0 time
Post Black screen error in custom channels (code dump on exit)
In some of my channels which I use the original .dols, they get a black screen with a LOT of things written when you exit them. I KNOW this is because they are meant to be launched from HBC and when you exit, the code tells the app to go back to HBC. That's why I get my error. It works when I launch them from HBC and exit, it doesn't get the error.
These apps are open-source, I wonder if any of you guys could help me find where in the source I should change so it goes back to the LOADER not exactly HBC but anywhere it was loaded from, you know?


09 Apr 2010, 20:11
Report this post
Profile
Wii Theme Team
User avatar

Joined: 14 Mar 2010, 17:04
Posts: 194
Has thanked: 0 time
Have thanks: 29 time
Post Re: Black screen error in custom channels
look here

_________________
Image


09 Apr 2010, 20:35
Report this post
Profile

Joined: 26 Mar 2010, 21:12
Posts: 19
Location: Brazil, No, it's not in Africa.
Has thanked: 0 time
Have thanks: 0 time
Post Re: Black screen error in custom channels
Ok i have the code you told me to look at
but im N00BIE and dont know where to change or put the code
so can u help?
oh and also this is the source:
http://code.google.com/p/wiivnc/source/checkout


10 Apr 2010, 23:58
Report this post
Profile
Wii Theme Team
User avatar

Joined: 14 Mar 2010, 17:04
Posts: 194
Has thanked: 0 time
Have thanks: 29 time
Post Re: Black screen error in custom channels
well im no coder and i might have this wrong but i would look at the main.cpp file at lines 26

Code:
void WiimotePowerPressed(s32 chan) { fadeToExit = SYS_POWEROFF_STANDBY]; }


if you change that to
Code:
void WiimotePowerPressed(s32 chan) { fadeToExit = SYS_RETURNTOMENU; }

that should make pressing the power button on your wiimote will take you back to the channels screen

please someone correct me if im wrong

_________________
Image


11 Apr 2010, 00:51
Report this post
Profile
Beta Tester
User avatar

Joined: 18 Mar 2010, 01:05
Posts: 98
Location: earth
Has thanked: 5 time
Have thanks: 4 time
Post Re: Black screen error in custom channels
use exit(0); it should detect the loader (sysmenu, or hbc).

_________________
Image
Image
Channels
To see all channels, go here: http://www.dsipages.tk/dloads/wad/
To download my channels the username is wadder, and the password is xuzz.
  • MPlayer CE Channel
  • [url=http://www.youtube.com/redirect?username=HunterM28025&q=http%3A%2F%2Fwww.box.net%2Fshared%2F1nt6k1mt8g&video_id=G1f0eTQQMLs&event=url_redirect&url_redirect=True&usg=XHg-
    ZYyOPtY0tzcwCviyGnSv7OI=]Game Channel[/url]
  • Deleter Channel
  • Installer Channel
Find the ones without links at the list of all channels.


11 Apr 2010, 01:25
Report this post
Profile WWW

Joined: 26 Mar 2010, 21:12
Posts: 19
Location: Brazil, No, it's not in Africa.
Has thanked: 0 time
Have thanks: 0 time
Post Re: Black screen error in custom channels
so hunter the code would be
Code:
void WiimotePowerPressed(s32 chan) { fadeToExit = exit(0); }

?????


11 Apr 2010, 03:08
Report this post
Profile
Beta Tester
User avatar

Joined: 18 Mar 2010, 01:05
Posts: 98
Location: earth
Has thanked: 5 time
Have thanks: 4 time
Post Re: Black screen error in custom channels
yep, i believe so.

_________________
Image
Image
Channels
To see all channels, go here: http://www.dsipages.tk/dloads/wad/
To download my channels the username is wadder, and the password is xuzz.
  • MPlayer CE Channel
  • [url=http://www.youtube.com/redirect?username=HunterM28025&q=http%3A%2F%2Fwww.box.net%2Fshared%2F1nt6k1mt8g&video_id=G1f0eTQQMLs&event=url_redirect&url_redirect=True&usg=XHg-
    ZYyOPtY0tzcwCviyGnSv7OI=]Game Channel[/url]
  • Deleter Channel
  • Installer Channel
Find the ones without links at the list of all channels.


11 Apr 2010, 18:44
Report this post
Profile WWW
Site Admin
User avatar

Joined: 13 Mar 2010, 11:57
Posts: 448
Has thanked: 24 time
Have thanks: 43 time
Post Re: Black screen error in custom channels (code dump on exit)
Here's a worked example using AnyTitle Deleter

  1. Get ATDdb 1.0v4 from wiibrew.org
  2. Get the zip file from post62.html

Compare the end of main.c

Oh, and "black screen with a LOT of things written" is known as a "code dump"

_________________
This signature is loading. Please wait.
Image


12 Apr 2010, 00:47
Report this post
Profile

Joined: 26 Mar 2010, 21:12
Posts: 19
Location: Brazil, No, it's not in Africa.
Has thanked: 0 time
Have thanks: 0 time
Post Re: Black screen error in custom channels (code dump on exit)
ok guys now as im a n00bie
i now need to close all this up into a .dol
so i could make my channel from it
but all i got is all the files i got from the wiivnc code.google page with my modified main.cpp in it
so now how do i close all this things up in a .dol?
the exact folder i have is the one here
so if you wanna know what i got check this folder attached
thanks
PS1:oh and also if you dont already know you have to get all of them so then they can be unrared
PS2:oh and the last part of the folder is in the next post


Attachments:
source wii vnc.part03.rar [1.39 MiB]
Downloaded 11 times
source wii vnc.part02.rar [1.39 MiB]
Downloaded 12 times
source wii vnc.part01.rar [1.39 MiB]
Downloaded 14 times
14 Apr 2010, 21:28
Report this post
Profile

Joined: 26 Mar 2010, 21:12
Posts: 19
Location: Brazil, No, it's not in Africa.
Has thanked: 0 time
Have thanks: 0 time
Post Re: Black screen error in custom channels (code dump on exit)
here is the last part of the folder


Attachments:
source wii vnc.part04.rar [981.55 KiB]
Downloaded 11 times
14 Apr 2010, 21:40
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 33 posts ]  Go to page 1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
suspicion-preferred