Hacking Configurator for Configurable USB Loader

  • Thread starter Thread starter Dr. Clipper
  • Start date Start date
  • Views Views 426,894
  • Replies Replies 609
v56.4 of Configurator is out

Download here or use online update (via Actions menu)

Changes:
  • * Made windows automatically shrink with added scroll bars when using small screen resolutions
No translation changes.
 
Im having problems with the Configurable USB Loader not wanting to download the image for the games. It was fine till a few weeks ago, now its Stack Dumping or Network error then freezes. Anyone else having this problem? (using version 51 and latest version of wbfs)
 
SwaintaN said:
Im having problems with the Configurable USB Loader not wanting to download the image for the games. It was fine till a few weeks ago, now its Stack Dumping or Network error then freezes. Anyone else having this problem? (using version 51 and latest version of wbfs)

You better have to write this in CFG Loader topic, not here, explaining the more details you can, eg. if you changed something in CFG and/or your HDD.
 
Dr. Clipper said:
v57 of Configurator is out

Download here or use online update (via Actions menu)

Changes:
  • Added return_to_channel option to match 57a
Sample_cdbs will be updated in a few minutes of this post.

Thanks for the update. Translation updated.

Just a thing: are you using alwasy .Net Framework 3.x to compile it? I ask you this because Configurator is getting slower after each update, and I thought it was because of the .Net Framework.
 
wiixale said:
Thanks for the update. Translation updated.

Just a thing: are you using alwasy .Net Framework 3.x to compile it? I ask you this because Configurator is getting slower after each update, and I thought it was because of the .Net Framework.
I switched back to .NET2.0 a few versions back. It's probably getting slower because of the sheer number of components on the main form. I might need to do something about that soon...
 
Dr. Clipper said:
v56.4 of Configurator is out

Download here or use online update (via Actions menu)

Changes:
  • * Made windows automatically shrink with added scroll bars when using small screen resolutions
No translation changes.
I forgot to say thank you for that.  It was lightning fast and it worked like a charm !! 

Pip'
 
Dr. Clipper said:
I switched back to .NET2.0 a few versions back. It's probably getting slower because of the sheer number of components on the main form. I might need to do something about that soon...

Oh, I thought they were just betas.

The speed is not a real issue. Maybe the code needs to be just tidied up?
 
v57.1 of Configurator is out

Download here or use online update (via Actions menu)

Changes:
  • Completely rewrote the entire option handling code
Some tips in the sample_cdbs have been updated slightly.


Please test this out and post if you find anything weird. I think I've tested all the options and they work, but I can't be 100% sure.
 
Dr. Clipper said:
Please test this out and post if you find anything weird. I think I've tested all the options and they work, but I can't be 100% sure.

Config file seems to be created as always. What do you want that we try in particular?

P.S. you gained almost 300kb in main exe, but boot is always slow (if you wanna know this).

P.P.S. I noticed that I had some bad strings in previous sample cdbs.
Some of them, like the antialias options, were corrected; other ones not, for example GO_download_cc_pal_rada doesn't work, while GO_download_cc_pal_rads yes.


Moreover, I have a question: I noticed that there is still the option for CFG Loader normal and "-fat": does it need to be changed in normal and "-222"?
 
wiixale said:
Dr. Clipper said:
Please test this out and post if you find anything weird. I think I've tested all the options and they work, but I can't be 100% sure.

Config file seems to be created as always. What do you want that we try in particular?

P.S. you gained almost 300kb in main exe, but boot is always slow (if you wanna know this).

P.P.S. I noticed that I had some bad strings in previous sample cdbs.
Some of them, like the antialias options, were corrected; other ones not, for example GO_download_cc_pal_rada doesn't work, while

GO_download_cc_pal_rads yes.


Moreover, I have a question: I noticed that there is still the option for CFG Loader normal and "-fat": does it need to be changed in normal and "-222"?

This is exactly the sort of info I wanted. Thanks.

I think you meant saved 300kB, right? Is it any slower for you than it used to be? It seems I may have very slightly increased loading speed with this version, but that wasn't really my goal.

GO_download_cc_pal_rada is my fault. I didn't change its name properly when replacing it with its new counterpart. It will work in the next version.

I changed the -fat version to -222 back when the change was made with Cfg but forgot to change the hint text in Configurator.cdb. Note that when you want to leave something untranslated, it is best to delete that part from your translation rather than include the one I put in the sample. That way, it won't undo any changes I make to the value. This goes for when you just want to translate the tool tip but not the text of radio buttons and so on too; delete the text part when translating.

If you find anything else which is missing translation, let me know. Every single control on the theme, override and global option tabs has been replaced with new controls, so I may have accidentally forgotten to name a few things correctly, like what happened with download_cc_pal_rada.

Edit: On the speed issue, I don't think there is anything I can do to reduce the startup time. The only thing might be to remove some of the embedded support files from the exe to put them into the .zip instead, but I'll see if it's worth doing that later on. I think what I will do is add a splash screen during load. Anybody want to volunteer to make one?
 
Dr. Clipper said:
This is exactly the sort of info I wanted. Thanks.

You're welcome.

QUOTE said:
I think you meant saved 300kB, right? Is it any slower for you than it used to be? It seems I may have very slightly increased loading speed with this version, but that wasn't really my goal.

Yeah, kB, not kb.
tongue.gif

For me, it's not slower nor faster. It takes almost 5-6 seconds to completely boot.

QUOTE said:
GO_download_cc_pal_rada is my fault. I didn't change its name properly when replacing it with its new counterpart. It will work in the next version.

Thanks.
wink.gif

Just a question: if new version is coming soon, can I update the translation later?

QUOTEI changed the -fat version to -222 back when the change was made with Cfg but forgot to change the hint text in Configurator.cdb. Note that when you want to leave something untranslated, it is best to delete that part from your translation rather than include the one I put in the sample. That way, it won't undo any changes I make to the value. This goes for when you just want to translate the tool tip but not the text of radio buttons and so on too; delete the text part when translating.

You're right, I didn't notice it.
tongue.gif

I will follow your advice: in this way, translations could be lighter.

QUOTE
Edit: On the speed issue, I don't think there is anything I can do to reduce the startup time. The only thing might be to remove some of the embedded support files from the exe to put them into the .zip instead, but I'll see if it's worth doing that later on. I think what I will do is add a splash screen during load. Anybody want to volunteer to make one?

Mmh, I don't know how you structured the program, but yes: you can split the app in more parts, eg. the main *.exe will be just a launcher, maybe with essential options within (eg. Global ones), but, for example, you can "unbundle" the Wizards into separate processes, recalled only when the user needs them.

I think the ultimate choice is between (taken up) space and speed.
 
wiixale said:
Yeah, kB, not kb.
tongue.gif

For me, it's not slower nor faster. It takes almost 5-6 seconds to completely boot.
Ah no, I was more referring to the saved part (you said gained). And yeah, that's about how long it takes for me.

QUOTE said:
Just a question: if new version is coming soon, can I update the translation later?
The new version won't require any new translations (well, except for the 222 thing if you haven't updated that yourself).

QUOTE
Mmh, I don't know how you structured the program, but yes: you can split the app in more parts, eg. the main *.exe will be just a launcher, maybe with essential options within (eg. Global ones), but, for example, you can "unbundle" the Wizards into separate processes, recalled only when the user needs them.

I think the ultimate choice is between (taken up) space and speed.
I doubt the wizards are causing the issue, they are tiny and aren't loaded until needed. It's probably the fact that there's a large .ttf font file embedded into the app that I probably could remove and load from an external file instead. Alternatively, it could be the sheer number of controls in the main Configurator window, and I don't want to create a 'lite' version if that's the issue.
 
Dr. Clipper said:
I doubt the wizards are causing the issue, they are tiny and aren't loaded until needed. It's probably the fact that there's a large .ttf font file embedded into the app that I probably could remove and load from an external file instead. Alternatively, it could be the sheer number of controls in the main Configurator window, and I don't want to create a 'lite' version if that's the issue.

Can't you just replace the font with a lighter one to see if it's the problem.

About the "lite" version: if it should be more "compressed" (visually talking) than now, don't do it.
tongue.gif
 
wiixale said:
Can't you just replace the font with a lighter one to see if it's the problem.

About the "lite" version: if it should be more "compressed" (visually talking) than now, don't do it.
tongue.gif
I just tried removing the font from the .exe and it didn't change startup time at all. Thus, it has to be the sheer number of controls being initialised at startup. The 'lite' I refer to is only showing some of the controls at first and loading the rest after you push a button or something, but I have very little desire to do that.

It looks like a splash screen is the only real solution.

On your point about compression, many of the options are now a little bit better suited for translators. You may have noticed (but probably didn't
nyanya.gif
) that the options that have both radio buttons and a text box (e.g., pref_game, download_cc_pal, etc.) now correctly resize the text box to fill the option field when you change the text on the radio buttons. Previously, the boxes remained the same size and could get misaligned or cut off if you translated the radio button text. The checkbox text can also be made slightly longer (by a few characters). Some of the labels have also increased in size to allow you to write more in them if need be.
 
v57.2 of Configurator is out

Download here or use online update (via Actions menu)

Changes:
  • Fixed download_cc_pal_rada name
  • Added splash screen
Some tips in the sample_cdbs are unchanged.

The current splash is just something I whipped up quickly. I welcome any new designs others may have. The only requirements I have is that there are places for the App title (perhaps graphically) and version number (this must be text as I auto-generate it). Submit either a .png with the needed background (and maybe another indicating where the option text should be placed), or even a VB.net form that I can just use in the app. The one I and/or the other users like best will become the new splash.
 
Dr. Clipper said:
I just tried removing the font from the .exe and it didn't change startup time at all. Thus, it has to be the sheer number of controls being initialised at startup. The 'lite' I refer to is only showing some of the controls at first and loading the rest after you push a button or something, but I have very little desire to do that.

It looks like a splash screen is the only real solution.

Mmh, I just downloaded 57.2 and I think that the splash screen makes the boot time less annoying.
wink.gif

This solution seems to came from an engineer's mind.
yay.gif


QUOTEOn your point about compression, many of the options are now a little bit better suited for translators. You may have noticed (but probably didn't
nyanya.gif
) that the options that have both radio buttons and a text box (e.g., pref_game, download_cc_pal, etc.) now correctly resize the text box to fill the option field when you change the text on the radio buttons. Previously, the boxes remained the same size and could get misaligned or cut off if you translated the radio button text. The checkbox text can also be made slightly longer (by a few characters). Some of the labels have also increased in size to allow you to write more in them if need be.

I noticed it (
nyanya.gif
) because it's a problem I always fought against, during translation, so thank you very much.
smile.gif

They remain just few situations in which translation caused a "deformation", like this:

Immagine.jpg


By the way, regarding this image: where is the translation for the title ("File Collection Wizard")?

EDIT: I've uploaded the translation with just the strings translated. When I have a little spare time I will delete all the useless strings (eg. untranslated ones), hoping this will decrease translation size.
 
I think I've fixed all the above issues. The base directory one in your image is actually not related to translation, it did that as standard too, but it doesn't stand out as much on my screen so I didn't notice it. As for the titles, I remember making a conscious decision at one stage to leave them untranslated, but I can't remember why (The reason may have been waiting for someone to ask me to make them translatable
nyanya.gif
).

I'll release the changes in the next version, but I'll leave that a while in case any other potential translation corrections are spotted by anyone.
 
v57.3 of Configurator is out

Download here or use online update, but read note below (via Actions menu)

Changes:
  • Fixed gui = start
  • Fixed all select/list options (e.g., hide_game, return_to_channel)
  • Started to add a fully fledged help feature (only theme options done for now, push F1).
  • Titles of windows now translatable
  • Minor corrections for translation placement
Sample cdbs have been updated (most of them).

Note: The new help feature is technically still in beta. You will need to extract the Help directory and place it in the application's directory in order to use it. The automatic update feature will not extract this file for you.

To access the help pages, select any of the theme options or global theme overrides (via Tab or clicking them) and push F1.
 

Site & Scene News

Popular threads in this forum