aMule Forum

English => Feature requests => Topic started by: Oblomov on October 11, 2005, 11:10:35 AM

Title: eMule migration tool
Post by: Oblomov on October 11, 2005, 11:10:35 AM
I was wondering if it would be possible to have an eMule migration tool: something that you pointed to the emule folder and recreated the amule config based on the emule settings.

Most settings are the same: it sufficies to just copy the files over, possibly renaming them (e.g. preferences.ini -> amule.conf)

There are some extra tune-ups to do, though.

For example, categories are stored in amule.conf, but eMule stores them in category.ini.

All paths in all places need to be converted, too: the drive letters have to be converted to mount points (in linux) and the slashes have to be changed. The appropriate mount points would need to be guessed from /etc/fstab, possibly by asking confirmation to the user.

For people dual-booting and using emule under Windows and amule under linux, this would spare a lot of time ...

Are the differences between eMule configuration and aMule configuration documented somewhere? I could try writing an initial conversion script ...
Title: Re: eMule migration tool
Post by: lfroen on October 11, 2005, 11:43:10 AM
It would be very nice thing to have.
But, if your're gonna to invest your time and write it, don't do script. Please. Nothing is less user-friendly than script.
Title: Re: eMule migration tool
Post by: GonoszTopi on October 11, 2005, 12:24:27 PM
There is a nice document describing the migration process form eMule to aMule. As long as wiki is down, you can use google's cached page, here: http://66.249.93.104/search?q=cache:vK0P7X8UWaYJ:www.amule.org/wiki/index.php/Migrate_from_eMule_to_aMule+migrate+from+eMule+to+aMule
Title: Re: eMule migration tool
Post by: Oblomov on October 11, 2005, 07:34:19 PM
That's extremely interesting.

I'm particularly concerned with the Windows->Linux migration: a tool that preserved the path information would be extremely helpful. Indeed, even someone using aMule both under Windows and under Linux would benefit from it.

The only thing to do in this case is add some kind of information that tells aMule that drive x: of Windows is mounted under /mount/dir_x in Linux. If *this* information is stored somewhere, aMule/Linux could read all the stuff of aMule/Windows and much of the eMule stuff, which is extremely helpful in dual-boot contexts. What do developers think about it?