Hacking USB Loader... my turn ;)

Anarchia

Well-Known Member
Newcomer
Joined
Apr 11, 2009
Messages
78
Trophies
0
XP
2
Country
Italy
zorglub07 said:
In case anybody is trying to compile from the v6.6 or v6.7 sources without success, I found out why I had this error:
"c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld.exe: cannot find -lpng"
Starting from v6.6, the "lib" folder found in v5 source is missing (it just contains one file, libpng.a)

How can i fix this problem? I must compile because i have added colors
frown.gif
 

opium2k

Active Member
Newcomer
Joined
Feb 10, 2009
Messages
25
Trophies
0
Location
Canada
Website
www.youtube.com
XP
97
Country
Canada
bladexdsl i noticed a few images that aren't listed your site:

http://gbatemp.net/index.php?showtopic=147...t&p=1905189
http://gbatemp.net/index.php?showtopic=147...t&p=1905060
http://gbatemp.net/index.php?showtopic=147...t&p=1905068
http://gbatemp.net/index.php?showtopic=147...t&p=1905127
http://gbatemp.net/index.php?showtopic=147...t&p=1904541
http://gbatemp.net/index.php?showtopic=147...t&p=1904489
http://gbatemp.net/index.php?showtopic=147...t&p=1903893

i didn't want to post them myself since i'm not the author of any of them.
great job on the site by the way but if i can make a suggestion, could you add a section under the images to list what parameters are needed in config.txt for everything to line up properly. that way when people submit skins everyone who downloads them will be able to get everything to display correctly.

unrelated: this is the code evvil was referring to incase anyone is too young to remember it - http://en.wikipedia.org/wiki/Konami_Code
lol i didnt realize just how many games have used that over the years
 

WiiShizzza

Graphics juggler
OP
Member
Joined
Oct 10, 2008
Messages
1,201
Trophies
0
Website
Visit site
XP
230
Country
Gambia, The
@hungyip84

Yes, the 16:9 fix code on page 30 works!
problem is, that background pictures and covers need to get resized.

I gave a test version to sess, to test it out on a NTSC 4:3 TV
if the fix is implemented, pictures won't fit a 4:3 screen.

So there must be a 16:9 and a 4:3 version.

It would be great if you find a way to get the covers resized on the wii if the 16:9 fix is implemented.

Although it's some work to create "stretched images" so that thay will look good.
A lot of position changes and stuff needs to be done...

Here's a 16:9 background pic u could try with the fix:
http://i42.tinypic.com/20gh2ys.png
This is just a testpic to see if the stretched pic will come out good on wii in widescreen mode.
Well, it works. but needs a lil more optimization..

Would be great if normally created backgrounds and covers could be resized through the config file,
so we don't have to makeover every picture.

//EDIT:
Oh yes, NeoRame surly also got a test version
smile.gif

Although I must say, I'm not really sure if the 640x480 resolution is the right one for 16:9
Wii's usual EDTV resolution is 853x480. this works great with healthscreens, if you make them properly. But that'S another story. ^^
 

PNo4

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
259
Trophies
1
Website
Visit site
XP
252
Country
hungyip84 said:
I am also planning to get 16:9 to work. I remembered seeing some code at around page 32. Could someone confirm if that code would help 16:9?

Going to bed now, gd nite.


I guess you are thinking about this snippet:

Video.c
CODEvoid Video_SetMode(void)
{
ÂÂÂÂ/* Select preferred video mode */
ÂÂÂÂvmode = VIDEO_GetPreferredMode(NULL);

ÂÂÂÂ/* Aspectratio for Widescreen - Fix */
ÂÂÂÂvmode->viWidth = 678;
ÂÂÂÂvmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678)/2;

ÂÂÂÂ/* Allocate memory for the framebuffer */
ÂÂÂÂframebuffer = MEM_K0_TO_K1(SYS_AllocateFramebuffer(vmode));

It doesn't add a true widescreen mode, it "just" stretches the picture to fit a widescreen display (this is what all homebrew uses).

If you add this in 6.8 release make it so you can turn this ON/OFF from config.txt, whould be the best i think.
 

lou_weed

Well-Known Member
Member
Joined
Mar 11, 2008
Messages
232
Trophies
0
XP
102
Country
Iceland
hungyip84 said:
Deleting is fine in 1.1, that bug was fixed.


i got so confused... deleting/adding wont corrupt my files anymore under 1.1 ?
is there any thread about the differences ?
just left the forum for 30 hours (!) and i'm all mixed up :S
 

WiiShizzza

Graphics juggler
OP
Member
Joined
Oct 10, 2008
Messages
1,201
Trophies
0
Website
Visit site
XP
230
Country
Gambia, The
Yes, turning 16:9 on and off would be great.
Perfect would be if you find a way to stretch the bg and the cover on the fly.
Pictures should get streched 125% in height to get shown proper on a 16:9 TV.
 

PNo4

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
259
Trophies
1
Website
Visit site
XP
252
Country
WiiShizzza said:
@hungyip84

Here's a 16:9 background pic u could try with the fix:
http://i42.tinypic.com/20gh2ys.png
This is just a testpic to see if the stretched pic will come out good on wii in widescreen mode.
Well, it works. but needs a lil more optimization..

This is how it looks on a Ultimate 1.4 v6.7 with widescreen code.

2lwreq0.jpg


Needs some doing, both on picture and sourcecode i'd say.
 

WiiShizzza

Graphics juggler
OP
Member
Joined
Oct 10, 2008
Messages
1,201
Trophies
0
Website
Visit site
XP
230
Country
Gambia, The
yes. proportions of the background are right, I guess. the buttons don't look like an egg. so that's good.
a lil makeover with the bg but must be done. also a resize to the covers...

So we must wait to one of the code gurus to make clear if a resize through the loader can be done.
 

PNo4

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
259
Trophies
1
Website
Visit site
XP
252
Country
WiiShizzza said:
yes. proportions of the background are right, I guess. the buttons don't look like an eg. so that's good.
a lil makeover with the bg but must be done. also a resize to the covers.

2 separate graphical layers would be nice to have.

Layer 1: draws the bg.png with the Widescreen code fix.
Layer 2: draws the covers + the text box without the widescreen code fix.

Then all we would need to do is make the "stretched" bg.png like yours.
 

geedub

Well-Known Member
Member
Joined
Dec 3, 2008
Messages
396
Trophies
0
Age
49
Location
Scotland
XP
94
Country
call me thick , but i really aint feeling great today ! so brains gone into reverse !

ive just installed 6.7 but i cant get the gui to display properley , i am trying to use shizzza's 1st one in 1st post ! now i have edited config.txt to ultimate2 ( black bar runs along bottom ) , and ultimate1 ( shows just a totally black screen ! )
 

RC89

Well-Known Member
Member
Joined
Nov 18, 2008
Messages
161
Trophies
0
XP
114
Country
So, do you have to make a .txt document called video.c and add the 16:9 line and put it in the usbloader folder to make it fit properly?
 

Pakatus

Well-Known Member
Member
Joined
Apr 13, 2009
Messages
779
Trophies
0
Age
44
Location
Portugal
XP
139
Country
Hi,

Just a little warning.
In first page, in the sample of config.txt it states:

"download = 0, 1 (Enable downloading Covers/disable downloading Covers)"

It should be corrected...i spent 10 minutes trying to understand why the covers werent downloading
unsure.gif


Anyhow, thank for everything.

PS: BTW anyone knows a good text editor to use on homebrew to change the config in the wii? The 2 i've tried TopEdit(i dont understand how to open a file) and txtEd (crashes, maybe cause i'm using SDHC).
Any help welcome
smile.gif
 

WiiShizzza

Graphics juggler
OP
Member
Joined
Oct 10, 2008
Messages
1,201
Trophies
0
Website
Visit site
XP
230
Country
Gambia, The
@RC89
You have to add the 16:9 fix code to the source file video.c and recompile it.

@Pakatus
Thanks for the hands up.
Consider first post to be changed!
 

User423

Well-Known Member
Member
Joined
Dec 8, 2008
Messages
330
Trophies
0
Website
Visit site
XP
53
Country
Ok, so I can use the 1.1 Version, and wait for cIOS rev11.
grog.gif

Btw, thats the best loader, only one problem on 16x9 TV, in the bottom is a black bar, when will that be fixed?.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    There are different ways of fanservice
  • Skelletonike @ Skelletonike:
    the first manga I bought, was Psychic Academy, when I was like 12?
  • Skelletonike @ Skelletonike:
    That was good 2000s ecchi
  • Skelletonike @ Skelletonike:
    Great plot too
  • Vetusomaru @ Vetusomaru:
    psychic academy. lol. it was meh even back then when i bought volume 1. also same author also made one of the manga adaptions of Escaflowne.
  • Skelletonike @ Skelletonike:
    Pfffft!
  • Skelletonike @ Skelletonike:
    I have all the volumes.
  • Vetusomaru @ Vetusomaru:
    btw do u have discord?
  • Vetusomaru @ Vetusomaru:
    last tv anime i remember with nipples i personally watched was Senran Kagura
  • Skelletonike @ Skelletonike:
    yeah I do
  • Skelletonike @ Skelletonike:
    I mostly read, haven't watched much, but I do keep my cunchyroll sub.
  • Skelletonike @ Skelletonike:
    Found out one of my fave animes got an adaptation this season

    the other day lol
  • Skelletonike @ Skelletonike:
    Yuusha ga Shi
    nda
  • Vetusomaru @ Vetusomaru:
    crynchyrolls is cancer, especially with the censorship they do like they did with Oshimai
  • Vetusomaru @ Vetusomaru:
    can u post your discord here or at dm?
  • Skelletonike @ Skelletonike:
    No idea
  • Skelletonike @ Skelletonike:
    it's my username
  • Vetusomaru @ Vetusomaru:
    and number?
  • Skelletonike @ Skelletonike:
    it needs the number?
  • Vetusomaru @ Vetusomaru:
    okey dokey. i ve sent u friend request.
  • Vetusomaru @ Vetusomaru:
    i have same username with here
  • Skelletonike @ Skelletonike:
    alright, accepted
    +1
    Skelletonike @ Skelletonike: alright, accepted +1