aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: eMule migration tool  (Read 3412 times)

Oblomov

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
eMule migration tool
« 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 ...
Logged
This is not a signature

lfroen

  • Guest
Re: eMule migration tool
« Reply #1 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.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: eMule migration tool
« Reply #2 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
Logged
concordia cum veritate

Oblomov

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: eMule migration tool
« Reply #3 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?
Logged
This is not a signature