Jump to content


  • Please log in to reply

Configurable USB Loader

(Go to first unread post)
oggzee Post #31 Posted 11 April 2009 - 11:50 PM

    GBAtemp Addict


  • Group: Members
  • Posts: 2,311
  • Member No.: 173,040
  • Joined: 11-April 09

  •  

QUOTE(hungyip84 @ Apr 11 2009, 03:56 AM) <{POST_SNAPBACK}>
Great! I would like this as the main configurable option:

Console x position
Console y position
Console width
Console height
Boxart x position
Boxart Y position

So we don't need to recompile everytime


Done! options are:

console_coords=x,y,width,height
covers_coords=x,y

and also:
console_color=foreground,background (color values: 0-15)



QUOTE(WiiShizzza @ Apr 11 2009, 04:40 AM) <{POST_SNAPBACK}>
Another nice Idea. ike it so far... we'll see what comes out at the end.

I'll second hungyip84!

+ maybe you could add the force mode in the way it was mentioned in the other thread.
QUOTE
Read the 4-letter game code. If the fourth letter is J or E, default video on NTSC systems, force PAL on PAL systems. If it's P, force NTSC on NTSC systems, default video on PAL systems.

That way everything should be automatic. Did I miss anything?


Maybe you can also implement parts from nIxx MiniMP3-Player to use a background music in the loader.
the mp3 file could maybe also been added to the config file.


Nut sure I understand how is that video force mode supposed to work, has anyone been able to make it work as is described?

I'll think about the mp3 player, sounds like a great idea, but there are others things first..

QUOTE(ether2802 @ Apr 11 2009, 08:44 AM) <{POST_SNAPBACK}>
wich background format we have to use...?? huh.gif
EDIT: Almost like Nixx, but the covers are a little bit off the space..!! wink.gif
EDIT2: Nope, is the usptactical template mthrnitesmiley.gif


The default one is nixx I think, although I have added 2 layout options for nixx/usptactical: layout=large or layout=large2





oggzee Post #32 Posted 12 April 2009 - 12:10 AM

    GBAtemp Addict


  • Group: Members
  • Posts: 2,311
  • Member No.: 173,040
  • Joined: 11-April 09

  •  

QUOTE(Anarchia @ Apr 11 2009, 03:44 PM) <{POST_SNAPBACK}>
USB Loader configurable is an exelent idea for me but ... anyone couldn't join this version with the last modifications of Knocks ? Unfortunately i'm not a coder and i can't do it... frown.gif


Hey, that layout from Knocks looks good actually! smile.gif
Yes it works with the cfg v2 loader with these options:

background=knocks.png
console_coords=40,40,340,280
console_color=0,15
covers_coords=452,106
covers=1

Not sure if the coords are exactly correct, didn't check his source, but it seems to match fine.



oggzee Post #33 Posted 12 April 2009 - 12:14 AM

    GBAtemp Addict


  • Group: Members
  • Posts: 2,311
  • Member No.: 173,040
  • Joined: 11-April 09

  •  

QUOTE(MadBob @ Apr 11 2009, 11:27 AM) <{POST_SNAPBACK}>
It would be nice to be able to configure the images path (SDRoot\Images) so we can use the same images for other loaders instead of having to place them in a different folder for this loader.


Done. Option is:

covers_path=sd:/Images




Knocks Post #34 Posted 12 April 2009 - 12:32 AM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 525
  • Member No.: 42,286
  • Joined: 12-June 06

ogzee: are you talking about the background included in the zip or the one posted underneath it in the thread? If in the zip, the coordinates are (24,54) console, (480, 115 image). If it's the one in the thread, then it's not ready yet because it's not fixed for overscan (a problem with most current backgrounds on 4:3 NTSC analog TVs).


ether2802 Post #35 Posted 12 April 2009 - 03:31 AM

    Damn Girl...!!


  • Group: Moderators
  • Posts: 4,349
  • Member No.: 106,935
  • Joined: 14-October 07
  • Location: Pto. Vallarta

  •  

Don't let this die, cause it is the best loader so far..!!! biggrin.gif


palasx Post #36 Posted 12 April 2009 - 05:38 AM

    Advanced Member

  • PipPip

  • Group: Newcomers
  • Posts: 94
  • Member No.: 107,442
  • Joined: 17-October 07

  •  

QUOTE(Knocks @ Apr 11 2009, 08:36 AM) <{POST_SNAPBACK}>
I'm all for individual preferences. Since you seem to speak computer language, maybe you can figure out the proper code for this. I proposed earlier to use the 4th letter of the game ID (E, J, or P) to launch with the appropriate video mode and language options.


if a FORCE_VIDEO_AUTO is enabled, a few things need to happen:
1. get the DISCID. i dont know how to do this on the wii, but i will assume that it can be returned as a STRING or CSTRING (or arracy of chars, same difference)
2. DISCID[3] will give the 4th character/letter in the disc id if its a CSTRING or array of characters, otherwise use the WII's equivilent of IGNORE(3) to ignore the first 3 characters and then read from whatever return-source the DISCID comes from.
3. compare the e/u/j status of the disc id to the consoles default region. if same, use default video mode. if E game on U/J Wii, force NTSC, if U/J game on E Wii, force pall.
4. clean garbage, delete array, close any handles opened to read DISCID.

its fairly trivial, unless reading the DISCID or wii settings hasnt been done before, then its tiem to invent the wheel, otherwise, pretty trivial smile.gif


Knocks Post #37 Posted 12 April 2009 - 09:23 AM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 525
  • Member No.: 42,286
  • Joined: 12-June 06

palasx: Thanks! I thought it through again and decided it's best to have per-game settings instead of blindly going by game id. That allows for full user control and reduces forced modes to a minimum. Full explanation and GUI example here.


schnitzelbrain Post #38 Posted 12 April 2009 - 09:53 AM

    Advanced Member

  • PipPip

  • Group: Newcomers
  • Posts: 64
  • Member No.: 173,159
  • Joined: 11-April 09

  •  

QUOTE
if a FORCE_VIDEO_AUTO is enabled, a few things need to happen:
1. get the DISCID. i dont know how to do this on the wii, but i will assume that it can be returned as a STRING or CSTRING (or arracy of chars, same difference)
2. DISCID[3] will give the 4th character/letter in the disc id if its a CSTRING or array of characters, otherwise use the WII's equivilent of IGNORE(3) to ignore the first 3 characters and then read from whatever return-source the DISCID comes from.
3. compare the e/u/j status of the disc id to the consoles default region. if same, use default video mode. if E game on U/J Wii, force NTSC, if U/J game on E Wii, force pall.
4. clean garbage, delete array, close any handles opened to read DISCID.


U have to take care of another possibility, when I ripped Harry potter to my HDD via the Wii Loader it had R5PX69 as code and not R5PE69 as I thought !
My Fitness Coach RFKX41 instead of RFKE41.
Both official bought in Germany !
Maybe thats also a problem for some people not showing the covers

Edited by schnitzelbrain, 12 April 2009 - 01:14 PM.


Cypherdias Post #39 Posted 12 April 2009 - 10:27 AM

    Advanced Member

  • PipPip

  • Group: Newcomers
  • Posts: 60
  • Member No.: 171,068
  • Joined: 31-March 09

  •  

QUOTE(schnitzelbrain @ Apr 12 2009, 10:53 AM) <{POST_SNAPBACK}>
Maybe thats also a problem for some people not showing the covers

The same here, the so called "PAL cover package" only works withhalf of my games, as even the codes of my dumped originals differ from that of the package in many cases.

Anyway, this loader sounds great! I love being able to configure as many settings as possible. smile.gif Just keep on the great work!


dodol Post #40 Posted 12 April 2009 - 11:17 AM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 113
  • Member No.: 102,807
  • Joined: 24-September 07

  •  

ocarina can't seem to find any codes. I already put the codes in sd:/codes/*.gct


oggzee Post #41 Posted 12 April 2009 - 03:05 PM

    GBAtemp Addict


  • Group: Members
  • Posts: 2,311
  • Member No.: 173,040
  • Joined: 11-April 09

  •  

QUOTE(dodol @ Apr 12 2009, 12:17 PM) <{POST_SNAPBACK}>
ocarina can't seem to find any codes. I already put the codes in sd:/codes/*.gct


Note that ocarina is disabled by default, you have to enable it in config.txt by setting:
ocarina=1
Did you do it? If yes, then I'll have to check what's the problem...

EDIT: actually, yes there is a problem with ocarina path, will be fixed in next version.

Edited by oggzee, 12 April 2009 - 05:41 PM.


MadBob Post #42 Posted 12 April 2009 - 04:03 PM

    Nostalgia ain't what it used to be!


  • Group: Members
  • Posts: 1,522
  • Member No.: 3,348
  • Joined: 06-November 02

  •  

just doesn't seem to find config.txt wherever i put it, tried in \apps\USBloader also tried \apps\USBloader_cfg and \USBloader but it simply reloads the old style 1.1 graphics and layout.


ether2802 Post #43 Posted 12 April 2009 - 05:28 PM

    Damn Girl...!!


  • Group: Moderators
  • Posts: 4,349
  • Member No.: 106,935
  • Joined: 14-October 07
  • Location: Pto. Vallarta

  •  

I have it in SD:/USBLoader/config.txt and SD:/apps/usbloader_cfg/config.txt...!!! wink.gif


Anarchia Post #44 Posted 12 April 2009 - 07:02 PM

    Advanced Member

  • PipPip

  • Group: Newcomers
  • Posts: 78
  • Member No.: 173,079
  • Joined: 11-April 09

  •  

The second version of this loader is very good... I will wait the next version with all the fix ;-)
Congratulations...


vettacossx Post #45 Posted 12 April 2009 - 07:18 PM

    GBAtemp Maniac


  • Group: Members
  • Posts: 1,299
  • Member No.: 135,437
  • Joined: 19-September 08
  • Location: Zen

  •  

QUOTE
I believe waninkoko is just laughing his a*s off, cos of all that messing with his source


i think your prob spot on shizza LOL







Users browsing this topic

38 user(s) are reading this topic

1 members, 37 guests, 0 anonymous users