Quote from: Sikret on July 16, 2007, 06:59:37 AMI saw you suggesting users to downgrade in the linking thread, so I misunderstood that as a "strong suggestion" or "requirement" rather than a "nudge". I've edited the post to reference NeJ2.
Actually, IA is not a good example here as it doesn't really require players to downgrade their version of WieDu installer. The version of WeiDu in IA's download package is v185, but it can also be installed just fine with newer versions of WeiDu. The only difference is that using (some of) the newer versions, some false reports of nonexistent typos may be displayed during installation, but they are not important (because the typos don't actually exist) and the installation will be accomplished just fine. See this topic as well. Downgrading is not necessary.

Quote from: Baronius on July 14, 2007, 06:48:38 PMI suppose that the problematic scenario can only happen e.g. when someone installs a Weidu-200 mod, downgrades to v185 (e.g. due to IA), and then tries to uninstall the Weidu-200 mod.
Quote from: plainab on July 15, 2007, 07:21:55 PMI know that the path information is already gathered by weidu as SOURCE_DIRECTORY so why can't that information be applied to weidu's backup and restoration methodsBecause <200 doesn't do this, and I can't alter the <200 algorithm.
Quote from: The Bigg on July 14, 2007, 12:41:11 PMI'm not a programmer, but maybe you can follow my idea and see if it is implementable.
WeiDU >=200:Quote
{BACKUP}/UNINSTALL_NEW.X contains the list of modified files.
When copying override/sw1h01.itm: add "override/sw1h01.itm" to UNINSTALL_NEW.X, copy old override/sw1h01.itm (if existing) to {BACKUP}/override.sw1h01.itm.
When copying temp/sw1h01.itm: add "temp/sw1h01.itm" to UNINSTALL_NEW.X, copy old temp/sw1h01.itm (if existing) to {BACKUP}/temp.sw1h01.itm.
When restoring:
read override/sw1h01.itm in UNINSTALL_NEW.X, delete override/sw1h01.itm, move {BACKUP}/override.sw1h01.itm to override.
read temp/sw1h01.itm in UNINSTALL_NEW.X, delete temp/sw1h01.itm and move {BACKUP}/temp.sw1h01.itm to temp.
If you can see a way to edit the WeiDU >=200 algorithm so that the WeiDU <200 restoring algorithm still works, this'd be really helpful.

QuoteWeiDU >=200:
{BACKUP}/UNINSTALL.X contains the list of modified files.
When copying override/sw1h01.itm: add "override/sw1h01.itm" to UNINSTALL.X, copy old override/sw1h01.itm (if existing) to {BACKUP}/sw1h01.itm.
When copying temp/sw1h01.itm: add "temp/sw1h01.itm" to UNINSTALL.X, don't keep a backup because {BACKUP}/sw1h01.itm already exists.
When restoring:
read override/sw1h01.itm in UNINSTALL.X, delete override/sw1h01.itm, move {BACKUP}/sw1h01.itm to override.
read temp/sw1h01.itm in UNINSTALL.X, delete temp/sw1h01.itm and do not restore the copy (which wasn't saved).
Quote
{BACKUP}/UNINSTALL_NEW.X contains the list of modified files.
When copying override/sw1h01.itm: add "override/sw1h01.itm" to UNINSTALL_NEW.X, copy old override/sw1h01.itm (if existing) to {BACKUP}/override.sw1h01.itm.
When copying temp/sw1h01.itm: add "temp/sw1h01.itm" to UNINSTALL_NEW.X, copy old temp/sw1h01.itm (if existing) to {BACKUP}/temp.sw1h01.itm.
When restoring:
read override/sw1h01.itm in UNINSTALL_NEW.X, delete override/sw1h01.itm, move {BACKUP}/override.sw1h01.itm to override.
read temp/sw1h01.itm in UNINSTALL_NEW.X, delete temp/sw1h01.itm and move {BACKUP}/temp.sw1h01.itm to temp.