View unanswered posts | View active topics It is currently June 25th, 2017, 1:08 am



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: March 26th, 2010, 9:12 pm
Posts: 19
Location: Brazil, No, it's not in Africa.
Has thanked: 0 time
Have thanks: 1 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?


April 9th, 2010, 8:11 pm
Report this post
Profile
Wii Theme Team
User avatar

Joined: March 14th, 2010, 5:04 pm
Posts: 198
Has thanked: 0 time
Have thanks: 35 time
Post Re: Black screen error in custom channels
look here

_________________
Image


April 9th, 2010, 8:35 pm
Report this post
Profile

Joined: March 26th, 2010, 9:12 pm
Posts: 19
Location: Brazil, No, it's not in Africa.
Has thanked: 0 time
Have thanks: 1 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


April 10th, 2010, 11:58 pm
Report this post
Profile
Wii Theme Team
User avatar

Joined: March 14th, 2010, 5:04 pm
Posts: 198
Has thanked: 0 time
Have thanks: 35 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


April 11th, 2010, 12:51 am
Report this post
Profile
Beta Tester
User avatar

Joined: March 18th, 2010, 1:05 am
Posts: 98
Location: earth
Has thanked: 5 time
Have thanks: 5 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.


April 11th, 2010, 1:25 am
Report this post
Profile WWW

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

?????


April 11th, 2010, 3:08 am
Report this post
Profile
Beta Tester
User avatar

Joined: March 18th, 2010, 1:05 am
Posts: 98
Location: earth
Has thanked: 5 time
Have thanks: 5 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.


April 11th, 2010, 6:44 pm
Report this post
Profile WWW
Site Admin
User avatar

Joined: March 13th, 2010, 11:57 am
Posts: 457
Has thanked: 29 time
Have thanks: 72 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


April 12th, 2010, 12:47 am
Report this post
Profile

Joined: March 26th, 2010, 9:12 pm
Posts: 19
Location: Brazil, No, it's not in Africa.
Has thanked: 0 time
Have thanks: 1 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 52 times
source wii vnc.part02.rar [1.39 MiB]
Downloaded 54 times
source wii vnc.part01.rar [1.39 MiB]
Downloaded 62 times
April 14th, 2010, 9:28 pm
Report this post
Profile

Joined: March 26th, 2010, 9:12 pm
Posts: 19
Location: Brazil, No, it's not in Africa.
Has thanked: 0 time
Have thanks: 1 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 51 times
April 14th, 2010, 9:40 pm
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 1 guest


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
Donate Now
Donate Now


Hosted by © 2017 FreeForums.org | Create a free forum | Powered by phpBB
About FreeForums | Legal | Advertise Here | Investors | Contact FreeForums.org
suspicion-preferred