Page 2 of 2

Posted: 2012-01-04 06:52:39
by wvd
I have downloaded and installed the new version of AMC (4.1.0.2) and now the newests moviemeterscripts (2.8.03) doesn't work anymore.
Is the script only for version AMC 3.5.0?

Posted: 2012-01-04 07:50:56
by soulsnake
Are you sure you put the new script in the good folder ?
Please read this post: viewtopic.php?t=4951
If you uninstall AMC 3.5.1, it is possible that some prefs / scripts / templates in 'Program Files\Ant Movie Catalog' or '%LOCALAPPDATA%\VirtualStore\'Program Files\Ant Movie Catalog' are not deleted because they have been added after install.
If you install AMC 4.1.0 in same folder than old AMC 3.5.1, all prefs / scripts / templates that have not been deleted have to be deleted or moved in '%PROGRAMDATA%\Ant Movie Catalog'.
'%PROGRAMDATA%\Ant Movie Catalog' is now (v4.1.0) default data folder to avoid problems of rights with Windows Vista / 7.
Warning 1: Files 'prefs.xml' and 'default.xml' have to be ONLY in '%PROGRAMDATA%\Ant Movie Catalog' and NOT in 'Program Files\Ant Movie Catalog' or '%LOCALAPPDATA%\VirtualStore\'Program Files\Ant Movie Catalog' otherwise program thinks it is a portable version and it uses wrong path for data folder !!!
Warning 2: If you don't unistall AMC 3.5.1 before install AMC 4.1.0, AMC 4.1.0 will install as AMC 3.5.1 (portable version) so '%PROGRAMDATA%\Ant Movie Catalog' it is not used in this case and should not exists !!!
To be sure you can use UPDATE SCRIPTS. ;)

Posted: 2012-01-04 08:09:39
by wvd
Oke, I will try this tonight when I'm at home.
Thanks for your reply

Posted: 2012-01-04 09:28:31
by antp
wvd wrote:I have downloaded and installed the new version of AMC (4.1.0.2) and now the newests moviemeterscripts (2.8.03) doesn't work anymore.
If you installed AMC 4.1 you have to update the script again: latest release of AMC is older than the script so it is provided with an old script.

Posted: 2012-01-04 09:52:41
by wvd
I have uninstalled AMC 3.5.1 and removed the map where it was in installed, then I installed the AMC 4.1.0.2.
Then I placed the new moviemeter (2.8.03) script in the map: ProgramData\Ant Movie Catalog\Script
Then when I use the moviemeterscript I get the message:
Fout in scenario "moviemeter": unit is not found in regel 4.
(soulsnake attent me to another topic)

So I'm gonna use the script UPDATE SCRIPTS and then I uninstall everything. After that I will install the new version of AMC again.
Then I hope everything will work again.

But I think maybe there's something wrong with my Vista-PC, because when I place a new moviemeterscript and I open it, the old version appears. :??:

Thank you also for the help Anttoine

Tonight I'm gonna let you know if it works again or not.

Posted: 2012-01-04 13:17:18
by antp
The error about the unit not found occurs when StringUtils1.pas is missing.
But your problems may occur due to files still there despite you uninstalled AMC and removed the folder. Actually the old install was not fully cleaned, and I didn't think to that possible problem when we designed the behaviour of the new version.
You have to go in c:\users\your name\appdata\local\virtual store\program files
and then delete the "ant movie catalog" folder that you will find there.
Then it should work correctly and not bring back the old script nor the old settings, but just use the files from programdata.

Note for soulsnake: we could maybe solve that by moving that folder to programdata in case of an install made after an uninstall (i.e. if the folder exists in virtual store but not in the real program files)

Posted: 2012-01-04 13:42:33
by wvd
Antoine, then I wil do that.
I let you know if it worked.
Thanks

Posted: 2012-01-04 17:38:01
by wvd
The program works fine again,
Thanks very much :grinking: :grinking:

Greetings, Wim

Posted: 2012-01-04 17:58:58
by soulsnake
What do you do / change ?

Posted: 2012-01-04 18:23:37
by wvd
I have uninstalled AMC and removed the maps in programfiles and programData. Then I installed it again and replaced the moviemeter.ifs with the newest one.
Then it works again. After that I run the UPDATE SCRIPT. I never did that before and now I could choose also the newest "moviemeter"script.

So thank you both for the help.
I now will explore how the new version works