Hacking GUI USB Loader

  • Thread starter Thread starter trottolo
  • Start date Start date
  • Views Views 168,579
  • Replies Replies 847
hey guys,
(coding question)

if I've managed to make my gameslist longer but the extra space is emtpy, how do I make it actually show more games?
 
It's still based on Waninkokos Loader 1.1 and going to be updated in sometime later.

@giantpune clicking off the screen is because the option_browser options button is too long. Change it in the for loop in gui_optionbbrowser.cpp to the browsers without scrollbar.

optionBtn = new GuiButton(320,30);
 
hey guys, does any of you know how i can display my background instead of those grey/white stripes.

im editing nixx`s source.
 
It's not just the size of the option button. On nixx's latest version, you can highlight a game, then put the cursor in a non-clickable area. And if you move the cursor off the screen, or if you cover up the IR, so it disappears, and then you click, it will still try to start the game. I haven't looked into it, but I think it's in the clickstate "if, else if" statement from one of the menu functions in menu.cpp.
unsure.gif
Does that make sense? I'm not sure how else to phrase it.

Your version doesn't do it, just his.
 
SpaceJump said:
Just tried the new Snes9x 4.0.1 and the scrolling there is great. Maybe you can take a look at that.

Oh yeah thats a good idea lol. Why didnt i think of it
unsure.gif
. Well i will but not today and the next changes will be made on n1xx GUI.


Well i made a little addition:



I always wanted to implement it later and forgot that lol. Anyway now its in. Now i really wont work on that code
rolleyes.gif
lol.
If you like having % and "Time left" in your progressbar just look into menu.cpp there is the change (4 new statics and a few changes in progresswindow and showprogress).

Here is the download:

http://www.mediafire.com/download.php?krkyn01yynw
 
@dimok, can you help me to display the background picture`? i really could use some help
frown.gif


nice that % and timeleft addon
wink.gif
, is that to nixxs mod`?
 
dimok said:
Well i made a little addition:
I was just looking at those little comment slashes by that part of the source. I was gonna remove them just to save a few bytes it the final app.
rolleyes.gif


Have you tried the throbber out yet?
 
Its not yet in but i am going to work with n1xx from now....though i wont be a lot of help since i dont have much time right now.

Your problem with the backgroundimage:

First of all: Did you just change the png? it sizes needs to be devidable by 2 or 4 not sure.

Second: All the background stuff is in menu.cpp in the MainWindow function (best would be if you look into one of the newer releases):

mainWindow = new GuiWindow(screenwidth, screenheight);
background = new GuiImageData(background_png);
bgImg = new GuiImage(background);
mainWindow->Append(bgImg);

I hope that helps you.


@giantpune i didnt try it. but it shouldnt be to hard to change it into it. thats why i left it in there. maybe i can use it somehow later
wink.gif
. Of course you can remove it and the whole showprogress = 1; thing and the if check for it if you dont need it.
 
nIxx said:
So here
Covers must be divisable by 4
for example 160x225 will not work but 160x224 works anyway i packed into the archive over 800 already resized cover images.
Download
I uploaded the source on GoogleCode but if you guys really want i can upload it here too
http://code.google.com/p/usbloader-gui/

unbenannt1n.png


EDIT: fixed the download link
wink.gif


how to select games by “up or down”?
 
@dimok, does your newest version have covers mod also? if so i will use your version.

(i didn`t change the png, but here`s the source, if you have any time, please take a look at it.)
source
 
nope no boxart in there. nIxx said he is going to add the new features from my newest source to his.

for you problem just remove this lines:

bgImg = new GuiImage(screenwidth, screenheight, (GXColor){212, 213, 216, 255});
bgImg->ColorStripe(10);
mainWindow->Append(bgImg);

they are overwritting your background with stripes.
 
@dimok, great it worked
smile.gif
it was kinda obvious, but when you ain`t a coder you ain`t a coder
biggrin.gif


so have you started to work with nixx?
 
JussiPik said:
@dimok, can you help me to display the background picture`? i really could use some help
frown.gif


nice that % and timeleft addon
wink.gif
, is that to nixxs mod`?

look for

//bgImg = new GuiImage(background);

and

//mainWindow->Append(CoverImg);

And remove the comment

then add comment to

bgImg = new GuiImage(screenwidth, screenheight, (GXColor){212, 213, 216, 255});
bgImg->ColorStripe(10);
mainWindow->Append(bgImg);

I haven't tried it, but that should do it.
 
@giantpune,yeah that worked,thx:)

now next problem i noticed, the scrollbar has a problem, i cant scroll down by clicking the down arrow. but up i can scroll up.
 
Supercool330 said:
... My only recommendation would be to add some horizontal lines to the scroll bar thing to give it a little texture (like you see on a windows scroll bar).

do you mean something like this?
wiimenutemplatev2.png
 
One thing I noticed about that pic...
( besides it looks sweet)

The batteries. The 4 lines that show the life of it are all the same picture in the code as it is now. You either have to make them all look the same, or somebody has to redo the code. IDK if anybody has yet.

You may be able to make the color change go on a horizontal line to make it work.

Also, What do your prompt menus, buttons, and progress bar look like?
 
JussiPik said:
now next problem i noticed, the scrollbar has a problem, i cant scroll down by clicking the down arrow. but up i can scroll up.


fixed!

@giantpune

what changes did you do to the codes to get those battery images to work?
 

Site & Scene News

Popular threads in this forum