Hacking Configurator for Configurable USB Loader

  • Thread starter Thread starter Dr. Clipper
  • Start date Start date
  • Views Views 427,198
  • Replies Replies 609
Dr. Clipper said:
OK, this is a slight problem. If you check the Configurator itself, you'll note it's meant to be a "a # in the console", but you physically can't translate that due to the commenting system. I'll add some sort of escape character to the next version to allow for this.

I imagined the "# in the console" was referring to the rest of the phrase, but I didn't know how to pass the commenting system.
"#" means "number", doesn't it? If yes, we can use the whole word (number).
 
wiixale said:
Dr. Clipper said:
OK, this is a slight problem. If you check the Configurator itself, you'll note it's meant to be a "a # in the console", but you physically can't translate that due to the commenting system. I'll add some sort of escape character to the next version to allow for this.

I imagined the "# in the console" was referring to the rest of the phrase, but I didn't know how to pass the commenting system.
"#" means "number", doesn't it? If yes, we can use the whole word (number).
Not really. The thing is that Cfg actually uses a hash character "#" as a mark against the affected games. You could use the word for hash, whatever that is, but I should have a fix released in the next version that will allow you to add the # character to strings.
 
Dr. Clipper said:
Not really. The thing is that Cfg actually uses a hash character "#" as a mark against the affected games. You could use the word for hash, whatever that is, but I should have a fix released in the next version that will allow you to add the # character to strings.

Understood.

But I'm wondering: actually can we translate the phrase using quotes ("") surrounding the #-symbol or there's no compatibility with them?

EDIT: I overcame the problem. ;-)

Another question I was forgotting: in the last versions there is the "Global Options 4" tab, but in the configurator.cdb file I cannot find the relative line to translate.
I tried adding a "TabConfig4" line with the label, but it didn't work. What can I do?
 
wiixale said:
Dr. Clipper said:
Not really. The thing is that Cfg actually uses a hash character "#" as a mark against the affected games. You could use the word for hash, whatever that is, but I should have a fix released in the next version that will allow you to add the # character to strings.

Understood.

But I'm wondering: actually can we translate the phrase using quotes ("") surrounding the #-symbol or there's no compatibility with them?
No, quotes won't work. For the new version, I've implemented a system using % as an escape char. Thus you can use %# to get a # to appear in your translation. %\, %| and %% will also work.
 
Dr. Clipper said:
No, quotes won't work. For the new version, I've implemented a system using % as an escape char. Thus you can use %# to get a # to appear in your translation. %\, %| and %% will also work.

EDIT: Okay, I thought it was valid also for the 52.3. Sorry.
tongue.gif
 
v52.4 of Configurator is out

download here or use online update

Changes:
  • Added button remapping options
  • Changed home from global option to theme option with overrides
  • Added new excape character, %, to translation to encode special chars.
  • %\, %#, %| and %% can be used to display \,#,| & % chars.
Translators: Sample CDBs were updated.
 
Dr. Clipper said:
v52.4 of Configurator is out

download here or use online update

Changes:
  • Added button remapping options
  • Changed home from global option to theme option with overrides
  • Added new excape character, %, to translation to encode special chars.
  • %\, %#, %| and %% can be used to display \,#,| & % chars.
Translators: Sample CDBs were updated.

Thaaaaaaaaaanks so much!
tongue.gif


EDIT: even in this new release of the samples there's not a "Global Options 4" label. Maybe it's me who doesn't see it?
 
wiixale said:
EDIT: even in this new release of the samples there's not a "Global Options 4" label. Maybe it's me who doesn't see it?
Check the "Fixed in 52.1" comment. I forgot to mention it when I added it and left it out until then. In any case, it would have been easy to guess what I called it
wink.gif
.
 
Great Tool Doc!

I've a feature request:
A search function in favorite and option wizard would be great.

Thanks for your great work on Configurator and CFG Loader,
WiiNero
 
WiiNero said:
I've a feature request:
A search function in favorite and option wizard would be great.

The "option wizard" can be substituted by the great guide Dr Clipper wrote here.

What do you mean for "search function"?

@Dr. Clipper: thanks for help, I looked for "global options 4".
biggrin.gif
 
v52.5 of Configurator is out

download here

Changes:
  • Option changes to match v52b4 of Cfg
Translators: Sample CDBs were updated (only one addition).


As for a search function, you can click the title column header and the games will sort by title. That should be enough...
 
Dr. Clipper, I noticed that the option added (Games are installed to /wbfs/Title [GAMEID].wbfs ) is set as

GO_fat_install_dir_3

while it should be

GO_fat_install_dir_rad3


I changed it and all went fine.
It's just a remark.
wink.gif


P.S. Sorry for the delay, I'm trying to speed up the translation-writing time.
 
Italian translation for Configurator is now done.

The translation is ready for the 52.5 version of the Configurator.

I hope Italian people contact me if they find out mistakes and/or mispells.
Here's the link at google docs.
It's a zip file with all the CDBs.

Tell me if you want the package into another format.

You can find 'em even in "Languages" thread.
 
v52.6 of Configurator is out

download here

Just something I forgot to add a few versions ago...

Changes:
  • Added Title [ID].wbfs/Title [ID].iso formats when reading game folders for games
No translation changes necessary.
 
v53.1 of Configurator is out

Download here or use online update (via Actions menu)

Changes:
  • Changed URL defaults to match 53b
  • Added unifont.dat generation to install wizard.

    Note: the unifont.dat font is best when its height is 16. It also might take a few minutes to generate if you turn on the extended option (which will generate almost every Unicode character).
Sample cdbs have been updated.
 
Dr. Clipper, I noticed right now I have a problem.

With the previous translation, I didn't notice that a button wasn't translated. But the problem is that this button is repeated in 2 tabs: into one it's translated, in the other not.

I'm talking about the ButtonManageProfGS and ButtonManageProfGO strings (under the "New in 49.4" section).
The first (the one in the Game Settings tab) is translated, but the other not.

I rechecked the code, and I think it's right, so what could it be?

P.S. Is it possible to create a folder into which we can save the language CDBs? It should be less confusing to manage 'em.
 
Dr. Clipper said:
v53.1 of Configurator is out

Download here or use online update (via Actions menu)

Changes:
  • Changed URL defaults to match 53b
  • Added unifont.dat generation to install wizard.

    Note: the unifont.dat font is best when its height is 16. It also might take a few minutes to generate if you turn on the extended option (which will generate almost every Unicode character).
Sample cdbs have been updated.



when I tried to update online, I get the following error, what do I need to do to have it update online? thanks



See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'Ionic.Zip.Reduced, Version=1.9.1.2, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c' or one of its dependencies. The system cannot find the file specified.
File name: 'Ionic.Zip.Reduced, Version=1.9.1.2, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c'
at CfgLoaderConfigurator.Form1.UpdateRator()
at CfgLoaderConfigurator.Form1.MenuItem36_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItem.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Command.DispatchID(Int32 id)
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
CfgLoaderConfigurator
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Wii%20USB%20Loader/CfgLoaderConfigurator.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
bnm81002 said:
when I tried to update online, I get the following error, what do I need to do to have it update online? thanks

Are you sure that the "Ionic.Zip.Reduced.dll" file is in the directory with the Configurator EXE?
 

Site & Scene News

Popular threads in this forum