Hacking Configurable USB Loader

  • Thread starter Thread starter oggzee
  • Start date Start date
  • Views Views 7,866,974
  • Replies Replies 18,482
  • Likes Likes 22
oggzee said:
TyRaNtM said:
I have this music.mp3: 1.49mb, 128kbps, 44100hz, MPEG 1.0 Layer 3.
And still not working. Nothing in ID tags.
music=1 need to be in config.txt or isn't necessary?

music=1 is not needed in config.txt, as that is the default.

Can you please send me that mp3, so I can have a look?

Ready.
PD: Thanks for adding the game counter in footer, is helpful.
 
oggzee, can you send me the mp3 i sent you? (one that you fixed and is supposed to be working now).
i deleted the cover image and id3v2 tag using winamp and it's still not working.
 
hi oggzee,

thanks for your GREAT loader,

i have downloaded the cfg v17 and i noticed that the loader takes more times to load.

this is an issue?

thanks.
 
Narolez said:
@oggzee: Please include the Retry-On-Fail mod in your next release: http://gbatemp.net/index.php?showtopic=147...t&p=1927394

Looks right, I will include it.
Thanks for the reminder, sorry I overlooked your original post!
smile.gif
 
NEW: cfg v18:

http://www.mediafire.com/file/t45tjzmfmzi/...oader_cfg18.zip

Changes:

- Improved USB and SD retry initialize on fail (tnx: Narolez)
- Improved mp3 loading
- Added support for mod files as background music
- option: music = [1], 0, filename
option music will now accept a filename (.mp3 or .mod) which
can be relative to sd:/usb-loader or an absolute pathname
if option is set to: music = 1 then it will search for music.mp3
or music.mod whichever is found first in sd:/usb-loader
 
oggzee said:
NEW: cfg v18:

http://www.mediafire.com/file/t45tjzmfmzi/...oader_cfg18.zip

Changes:

- Improved USB and SD retry initialize on fail (tnx: Narolez)
- Improved mp3 loading
- Added support for mod files as background music
- option: music = [1], 0, filename
option music will now accept a filename (.mp3 or .mod) which
can be relative to sd:/usb-loader or an absolute pathname
if option is set to: music = 1 then it will search for music.mp3
or music.mod whichever is found first in sd:/usb-loader

Music now works.
But now exist a bigger problem.. if you still stay in the USB Loader choosing a game, when the song finish, it stop and the USB Loader freezes, you have to press RESET button. Should the music repeat it when finish, no?
 
TyRaNtM said:
oggzee said:
NEW: cfg v18:

http://www.mediafire.com/file/t45tjzmfmzi/...oader_cfg18.zip

Changes:

- Improved USB and SD retry initialize on fail (tnx: Narolez)
- Improved mp3 loading
- Added support for mod files as background music
- option: music = [1], 0, filename
option music will now accept a filename (.mp3 or .mod) which
can be relative to sd:/usb-loader or an absolute pathname
if option is set to: music = 1 then it will search for music.mp3
or music.mod whichever is found first in sd:/usb-loader

Music now works.
But now exist a bigger problem.. if you still stay in the USB Loader choosing a game, when the song finish, it stop and the USB Loader freezes, you have to press RESET button. Should the music repeat it when finish, no?

yea same happened to me
 
Now all works fine
yaynds.gif


BTW, i read in somewhere of this forum, that exist a way to use normal covers into widescreen mode, is something like auto fix image dimensions of 160 to 130 pixels. If is that really possible, can you try to implement it?
 
TyRaNtM said:
Now all works fine
yaynds.gif


BTW, i read in somewhere of this forum, that exist a way to use normal covers into widescreen mode, is something like auto fix image dimensions of 160 to 130 pixels. If is that really possible, can you try to implement it?

Well, the covers that you can download from the loader are already resized to fit widescreen mode.

So, there is practically no reason to add that. Besides, the resizing alghoritms used are probably inferior to the alghoritm used for the online covers, I guess online covers are resized using bicubic method, while runtime resizing does it probably by match nearest or maybe linear...

With little added benefit for that, I don't see any reason to do it at the moment.
 
oggzee said:
TyRaNtM said:
Now all works fine
yaynds.gif


BTW, i read in somewhere of this forum, that exist a way to use normal covers into widescreen mode, is something like auto fix image dimensions of 160 to 130 pixels. If is that really possible, can you try to implement it?

Well, the covers that you can download from the loader are already resized to fit widescreen mode.

So, there is practically no reason to add that. Besides, the resizing alghoritms used are probably inferior to the alghoritm used for the online covers, I guess online covers are resized using bicubic method, while runtime resizing does it probably by match nearest or maybe linear...

With little added benefit for that, I don't see any reason to do it at the moment.

The thing i say, is that will be good if you don't need to download 2 types of covers, only normal and if you use widescreen mode, the USB Loader resize to fit it.
(But, is only a idea).
 
Real quick, this is stupid but do you have to have REV10 installed to play the music off your SD. I have REV9 installed but I dont need the SD Feature to load games with so I dont have REV10. The reason why I ask is because I cannot get the music to work at all. I tried your file you let us use and put it in
sd:/usb-loader/ area and it never reads it. I then changed the name to music.mp3, no go. I have music = 1 in the config, didnt work then I erased the music = 1 and still no go. Just curious what I am doing wrong. It seems simple but this is the only thing I cant get to work. I have tried numerous other songs too.
 
musicman61554 said:
Real quick, this is stupid but do you have to have REV10 installed to play the music off your SD. I have REV9 installed but I dont need the SD Feature to load games with so I dont have REV10. The reason why I ask is because I cannot get the music to work at all. I tried your file you let us use and put it in
sd:/usb-loader/ area and it never reads it. I then changed the name to music.mp3, no go. I have music = 1 in the config, didnt work then I erased the music = 1 and still no go. Just curious what I am doing wrong. It seems simple but this is the only thing I cant get to work. I have tried numerous other songs too.

cios rev 10 should not be required. If the loader can read config.txt, titles.txt and covers, then it should be able to read the music files as well. So I don't know what's wrong
frown.gif

Have you tried it with the latest loader version (cfg v19)?
Have you tried it with some .mod file as well?
Maybe I should add an option to turn on some diagnostic messages when loading music...


Posts merged

QUOTE(TyRaNtM @ Apr 24 2009, 08:25 PM) The thing i say, is that will be good if you don't need to download 2 types of covers, only normal and if you use widescreen mode, the USB Loader resize to fit it.
(But, is only a idea).

Maybe what would be more useful is to make the loader download both cover sizes at the same time, so you would already have both of them ready
smile.gif

Also, I need to add an option to download all missing covers in one go.
 
@oggzee
few ideas for you, how about an option to tag games to put in the prefered list,
a diagnostic boot mode for everything at startup not just music?,
any way of downloading/managing ocarina codes from within the loader?
 
Thanks for the response Oggzee. Yea I am on V19. Im a huge music buff so I was really wanting to try and get this to work it just isnt right now. Thanks again
 
olliepop2000 said:
@oggzee
few ideas for you, how about an option to tag games to put in the prefered list,
a diagnostic boot mode for everything at startup not just music?,
any way of downloading/managing ocarina codes from within the loader?

There is a preferred list already, option:

# pref_game = [0], GAMEID1, GAMEID2, ...
# Preffered games, to be shown first in the list.
# Syntax is same as with hide_game.
# Example: pref_game = RHAP, RSSP

There actually already is a debug mode, enabled with debug=1, but it doesn't show music related info at the moment.
smile.gif
 
oggzee said:
olliepop2000 said:
@oggzee
few ideas for you, how about an option to tag games to put in the prefered list,
a diagnostic boot mode for everything at startup not just music?,
any way of downloading/managing ocarina codes from within the loader?

There is a preferred list already, option:

# pref_game = [0], GAMEID1, GAMEID2, ...
# Preffered games, to be shown first in the list.
# Syntax is same as with hide_game.
# Example: pref_game = RHAP, RSSP

There actually already is a debug mode, enabled with debug=1, but it doesn't show music related info at the moment.
smile.gif

i meant tag it from within the loader, damn im lazy
laugh.gif
 
oggzee said:
There is a preferred list already, option:

# pref_game = [0], GAMEID1, GAMEID2, ...
Thats nice. Is it or will it be possible to put a game on the preferred games list from within the loader, e.g. using the already existing game-settings dialog? That would be even better, like everything else I don't have to manually edit some config files for.
wink.gif
 
olliepop2000 said:
i meant tag it from within the loader, damn im lazy
laugh.gif


Cypherdias said:
QUOTE(oggzee @ Apr 25 2009, 07:35 AM) There is a preferred list already, option:

# pref_game = [0], GAMEID1, GAMEID2, ...
Thats nice. Is it or will it be possible to put a game on the preferred games list from within the loader, e.g. using the already existing game-settings dialog? That would be even better, like everything else I don't have to manually edit some config files for.
wink.gif

Ah! Ok, idea noted, we'll see about that
wink.gif
 

Site & Scene News

Popular threads in this forum