It is currently Mon Mar 16, 2020 1:51 pm

All times are UTC - 7 hours



Post new topic Reply to topic  [ 7 posts ] 
Author Message
Post subject: Hacking Bulk Preset Dumps
Posted: Tue Mar 22, 2011 9:24 am
Offline
Aspiring Musician
Aspiring Musician

Joined: Sun Jan 30, 2011 4:43 pm
Posts: 318
Recently, stratski posted a message to the forum in which he had several questions. I have no answer for the other questions, but this one I'll address:
Quote:
"Can you bulk-add or bulk-delete presets off of the amp? This should be added for sure."

I suppose he wants a utility where he can bring up a list of all the presets that are on the amp and delete/over write them on the amp or save them to the computer individually. That isn't practical and is overly complicated from a utility point of view. What we have are utilities to Backup and Restore to the amp. You can find these utilities under the Main Menu -> Utilities in FUSE.

Hacking Bulk Preset Dumps

Here is a way to hack bulk preset dumps to the amp which may be less time consuming than bringing up a preset and writing it to amp individually. You can do all of this in FUSE to a certain extent but if you want to create several setups quickly, there may be an atvantage in doing it this way.

Even if your not interested in doing this, at the very least you'll learn something of FUSE's filing structure. I'm going to explain this from a PC user and Mustang I/II owner's perspective because that's what I have. But, Mustang III-V owners and Mac users should be able to get the gist of it.

You'll need some basic computer knowledge such as understanding file structure, how to use a file manager (Windows Explorer), how to use a plain text editor (Windows Notepad) and having a mass file renaming utility (I use "Bulk Rename") would be a plus.

The first thing you need to do, if you haven't done so already is to make a backup of your amp using the Backup utility in FUSE. Next, open Windows Explorer, it should open to your "Documents" folder. In that folder you'll see a sub-folder named "Fender" - open that folder. While your there, create a new folder and name it "backup template" - you'll see why in a second.

Next, navigate to: ...DOCUMENTS\Fender\FUSE\Backups\

You'll see a folder there with the following naming convention used:

YEAR(underscore)MONTH#(underscore)DAY#(underscore)HOUR(underscore)MINUTES(underscore)SECONDS

This naming convention is very important! If a folder exists in the ...\Fender\FUSE\Backups\ directory that doesn't have that structure, FUSE will become CONFUSED and not show any of the backups when you go to the Restore utility until you correct the mistake.

Next, COPY the folder ...\Fender\FUSE\Backups\2011_03_BLAH_BLAH_BLAH to the ...\Fender\backup template that you created.

Next, navigate to the ...\Fender\backup template directory and rename "2011_03_BLAH_BLAH_BLAH" to "template". This folder is your bulk dump template.

Next, make a copy the "template" folder to the same directory and rename it again using the naming convention for the current date and time. For instance: "2011_03_22_12_00_00". Accuracy of the exact time is not necessary.

Now let's look inside this "2011_03_22_12_00_00" and see what we've got. Hmmm, two files and 3 folders:

- MU_BackupName.fuse
- SystemSettings.fuse
- Effects (folder)
- FUSE (folder)
- Presets(folder)

If you open MU_BackupName.fuse in a plain text editor (NOTEPAD), you'll see it has one line of text. It is the name you gave FUSE to name the backup. Change this to reflect how you want to name this bulk dump - but you should probably keep it brief, this is a title, not a full blown description. Save the file and exit the text editor.

SystemSettings.fuse contains info pertaining to your amp's system settings; LCD contrast, memory lock, foot switch modes etc. and has data for both G-DEC and Mustang amps. There is nothing in this file that you should change by hand - DON'T MESS WITH IT.

Navigate to the 2011_03_22_12_00_00\Effects folder and you will see that it contains 2 sub-folders: "DlyRvb" and "Mod". Each of these folders contain 12 files named "00.fuse" through "11.fuse". These files have to do with the DLY/REV and MOD FX knobs on your amp. Muleya made a post about making custom FX setups a little while back. There is nothing in these file that you should change by hand . However, as Muleya pointed out, you could use FUSE to set up custom FX, save them to a backup and then make templates for those custom setups. I won't go any further on this subject, just wanted to mention it for the possibilities.

Next, navigate to the "2011_03_22_12_00_00\FUSE" folder and you'll see 24 files (100 for M III-V amps) named "00.fuse" through "23.fuse". As of the current FUSE version, the only data held by these file is for color of the FX pedals on each preset (yawn). b]There is nothing in these file that you should change by hand [/b]. Let's move on.

Navigate to the 2011_03_22_12_00_00\Presets folder. Finally were at the meat and potatoes of this post. Here you'll find 24 files (100 for M III-V amps) named "00.fuse" through "23.fuse". If you open one of these files in a plain text editor, you'll find that they are normal preset files. In fact, if you rename one of these files with a "MU_" prefix and put it in the "...\Fender\FUSE\Presets" folder then open up FUSE, you will see it listed with the other presets - NOT by it's file name but by the "Info name=" data given in the XML of the file.

The "00.fuse" through "23.fuse" files relate to the following Mustang I/II presets:

Amber #1 (A): 00.fuse
Amber #2 (B): 01.fuse
Amber #3 (C): 02.fuse
Amber #4 (D): 03.fuse
Amber #5 (E): 04.fuse
Amber #6 (F): 05.fuse
Amber #7 (G): 06.fuse
Amber #8 (H): 07.fuse
Green #1 (A): 08.fuse
Green #2 (B): 09.fuse
Green #3 (C): 10.fuse
Green #4 (D): 11.fuse
Green #5 (E): 12.fuse
Green #6 (F): 13.fuse
Green #7 (G): 14.fuse
Green #8 (H): 15.fuse
Red #1 (A): 16.fuse
Red #2 (B): 17.fuse
Red #3 (C): 18.fuse
Red #4 (D): 19.fuse
Red #5 (E): 20.fuse
Red #6 (F): 21.fuse
Red #7 (G): 22.fuse
Red #8 (H): 23.fuse

So, say you like all the presets how they are except Amber #4, Amber #7, Green #2 and Red #1... Then delete 03.fuse, 06.fuse, 09.fuse and 16.fuse and copy the preset files from "...\Fender\FUSE\Presets" folder to the "2011_03_22_12_00_00\FUSE" folder and rename them 03.fuse, 06.fuse, 09.fuse and 16.fuse.

Now, move the entire "2011_03_22_12_00_00" folder to "...\Fender\FUSE\Backups\". Open up FUSE, go to the Main Menu -> Utilities -> Restore and find the "restore" by the date/time and the title you gave it and send the restore to the amp.

This whole process takes a lot less time than it took to explain it. And you could do things like grab 24 presets from the "...\Fender\FUSE\Presets" folder, copy them to a temp folder and use a file renaming utility to rename them to "00.fuse" through "23.fuse" in a matter of milliseconds and drop them into a bulk dump directory you've made.

You can also zip these folders up and share them with other Mustang/FUSE users.

Hope someone finds this info useful.

dude


Top
Profile
Fender Play Winter Sale 2020
Post subject: Re: Hacking Bulk Preset Dumps
Posted: Tue Mar 22, 2011 12:39 pm
Offline
Amateur
Amateur

Joined: Mon Jan 24, 2011 1:07 pm
Posts: 121
:? I need an asprin . . .. . . Great job man . . . better living through hacking!! :D


I did something similar with a conversion process of RP500 to RP1000 files but it took a lot less "steps" to get that done.

One thing to make CLEAR is that you MUST use a plain text editor and NOT a Word Processing program that will add hidden characters.

"Some day" I'll give this a try. What I'm doing at the moment is setting up present in sets of 5 or ten per amp. Making each of the 5 or ten within a set different. Then, if I need a certain set for a gig I can load those 5 or ten into the first 5 or ten "slots" and I'm good to go. Not as elligent - but it's good enough for now.

Thanks again for sharing . . good insight.

Bo


Top
Profile
Post subject: Re: Hacking Bulk Preset Dumps
Posted: Tue Mar 22, 2011 2:14 pm
Offline
Aspiring Musician
Aspiring Musician

Joined: Sun Jan 30, 2011 4:43 pm
Posts: 318
Gary Baker wrote:
One thing to make CLEAR is that you MUST use a plain text editor and NOT a Word Processing program that will add hidden characters.

Thanks for bringing that up Gary. It is very important to to use a plain text editor.

Actually, the process isn't a complicated as it may appear. Basically the work flow is like this:

  • - Copy a backup folder to a temporary place
  • - Rename the folder
  • - Open MU_BackupName.fuse in a plain text editor and edit the backup's name
  • - Rename the replacement presets your going to use to ##.fuse and copy them to the "Presets" sub-folder of the new backup directory over writing the unwanted ones
  • - Move the nest of folders to ...\Fender\FUSE\Backups\

I just thought that explaining what all those other files and folders were would be a good idea - just to let people know that they can ignore everything except MU_BackupName.fuse and the files in the "Presets" folder.

The Effects folder is a completely different ball game... One I haven't explored yet but will once I learn more about it and it becomes more useful to me. It would seem to be useful in a gigging situation (not gigging ATM).


Top
Profile
Post subject: Re: Hacking Bulk Preset Dumps
Posted: Thu Mar 24, 2011 12:08 am
Offline
Amateur
Amateur

Joined: Fri Aug 27, 2010 9:31 pm
Posts: 171
p90sdude

great post - I've made a copy just incase these forums change again and bookmarks no longer access these threads.

This should be a sticky.


Top
Profile
Post subject: Re: Hacking Bulk Preset Dumps
Posted: Sat Mar 26, 2011 2:37 pm
Offline
Amateur
Amateur

Joined: Thu Oct 14, 2010 12:56 pm
Posts: 189
A nice util for editing fuse files in batch, is XMLStarlet http://xmlstar.sourceforge.net/.

In other words, you can write a dos batch job or whatever wrapper you want and call the util to process one or more fuse files.


Top
Profile
Post subject: Re: Hacking Bulk Preset Dumps
Posted: Tue Mar 29, 2011 2:12 pm
Offline
Amateur
Amateur

Joined: Thu Oct 14, 2010 12:56 pm
Posts: 189
Correct me if I'm wrong, anytime you do a Restore your going to lose Band Track info (song name and repeat option). This information is NOT BACKED up unless this beta version of the firmware is different from the older versions.

Also, it's just amp presets that are backed up, not any presets that you have on the Computer.


Top
Profile
Post subject: Re: Hacking Bulk Preset Dumps
Posted: Tue Mar 29, 2011 3:50 pm
Offline
Amateur
Amateur

Joined: Thu Oct 14, 2010 12:56 pm
Posts: 189
Here's some perl code that I wrote, maybe it will save somebody some time if they get into it. It sets a band track and repeat option ON.

Typically, you'd run this (with the amp option) on files that are in the Ampdata directory (Amp presets). With the preset option you'd run this on files in the ~\Documents\Fender\FUSE\Presets directory (these are Computer presets).

Code:
#!PERL
use strict;
use warnings;
use XML::Smart;

my $fname='';
my $sname='';
my $amppre='';

print "Need fuse file name, song name in quotes and amp|preset\n" if ( @ARGV < 3 );
die if ( @ARGV < 3 );
$fname = $ARGV[0];
$sname = $ARGV[1];
$amppre = $ARGV[2];

open FILE, "<$fname";
my $xmlstring = do { local $/; <FILE> };

my $XML = XML::Smart->new($xmlstring);

## Or change the root:
#$XML = $XML->{hosts} ;

if ($amppre eq 'amp') { $XML = $XML->{FUSE}; }
if ($amppre eq 'preset') { $XML = $XML->{Preset}; }


$XML->{Band}{Type} = '0';
$XML->{Band}{Repeat} = '1';

$XML->{Band}{SongFile} = "$sname";
$XML->{Band}{SongFile}->set_node(1);
$XML->{Band}{SongFile}{Location} = '9';
$XML->{Band}{AudioMix}='1';
$XML->{Band}{AudioMix}->set_node(1);
$XML->{Band}{Balance}= '29127';
$XML->{Band}{Balance}->set_node(1);
$XML->{Band}{Speed} = '32767';
$XML->{Band}{Speed}->set_node(1);
$XML->{Band}{Pitch} = '32767';
$XML->{Band}{Pitch}->set_node(1);
$XML->{Band}{Tempo}->set_node(1);
$XML->{Band}{Transpose}->set_node(1);
$XML->{Band}{DrumSolo}->set_node(1);
$XML->{Band}{CountIn}->set_node(1);


#print "" . $XML->data(nometagen => 1,noheader => 1);

print "" . $XML->data(nometagen => 1);


## Save in some file:
$XML->save($fname,nometagen => 1) ;




If you understand perl the above should not be hard to figure out. Values were taken from typical fuse files of course.


Top
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 7 hours

Fender Play Winter Sale 2020

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: