Lost all settings

terrypin wrote on 8/25/2011, 4:20 AM

If I make any change to my INI file

C:\Documents and Settings\Terry\Application Data\MAGIX\Movie_Edit_Pro_17_Plus\videodeluxe.ini

then on restarting, MEP17 acts like it's a new installation!

Can anyone offer a likely explanation please?

FWIW, and in case it's relevant, I've always been puzzled by the fact that another (1 Kb) INI file appears at another location

C:\Documents and Settings\All Users\Application Data\MAGIX\Movie_Edit_Pro_17_Plus\videodeluxe.ini

That location also contains a small file called installation.ini. Both appear to get written when MEP closes.

Any insights into exactly how MEP manages these installation files would be appreciated please.

Meanwhile I've recovered my previous settings by copying a backup that I fortunately make every night. The only difference is whatever single character edit I made, typically changing 0 to 1 or vice versa. Doesn't seem to make sense!

And means that some MEP settings cannot be changed.

--
Terry, East Grinstead, UK

 

 

Last changed by terrypin on 8/25/2011, 5:48 AM, changed a total of 2 times.

Terry, East Grinstead, UK. PC: i7 6700K, 4.0 GHz, 32GB with Win 10 pro. Used many earlier versions of MEPP, currently mainly MEPP 2016 & 2017 (Using scores of macro scripts to add functionality, tailored to these versions.)

Comments

johnebaker wrote on 8/25/2011, 6:47 AM

Hi Terry

At a guess I would suggest MEP makes a note of the ini file size and/or timestamp.

When you change this file it cannot find the file it thinks it should be using so it thinks it is a new installation.

When MEP changes the ini file it updates its record of the file size and/or timestamp.

John

Last changed by johnebaker on 8/25/2011, 6:47 AM, changed a total of 1 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

terrypin wrote on 8/25/2011, 11:09 AM

Thanks John.

If you're right then that's daft, yes? How can you edit it without making such a change! Or are you implying that it's not meant to be edited?

--
Terry, East Grinstead, UK

 

Last changed by terrypin on 8/25/2011, 11:09 AM, changed a total of 1 times.

Terry, East Grinstead, UK. PC: i7 6700K, 4.0 GHz, 32GB with Win 10 pro. Used many earlier versions of MEPP, currently mainly MEPP 2016 & 2017 (Using scores of macro scripts to add functionality, tailored to these versions.)

ralftaro wrote on 8/25/2011, 12:17 PM

Good day, gentlemen. 

Just a few thoughts on this: Editing the program's INI file manually is by no means an officially supported workflow. You won't find anything in the official documentation of the program that will encourage you to edit the INI, and, for most intents and purposes, there will never be a need to do so.

That said, externally manipulating the INI file is technically possible. There's no special mechanism or elaborate time-stamping scheme that will keep you from doing so. For most things, it won't be necessary, as relevant program options have a suitable switch within the program, of course. However, in the context of tech support, the need to edit the INI manually might arise from time to time, e.g. if you locked yourself out of the program by choosing a video mode that your graphics card can't support and then have to manually change the INI to a compatible video mode again. So, what Terry is experiencing is something I simply cannot reproduce here.

Terry - what exactly do you mean when you say the program acts like a new installation? Is everything basically just returned to the default settings? If so, this would be the same effect as manually deleting the INI file. In this case, I'm wondering whether this is possibly some tricky Windows file access rights scenario. When you're writing the INI back to the disc from your text editor, maybe the file gets some funny rights settings or special flags that prevent Movie Edit Pro from opening it again. So, it returns to the default settings...just speculating. Or maybe it's some setting in the text editor you're using, that will change something about the file's formatting, preventing Movie Edit Pro from handling it correctly. Once again, generally this shouldn't be a problem. Has always worked fine for me, e.g. just using Windows notepad. So, this remains a bit of a mystery.

cheers, Ralf

 

terrypin wrote on 8/25/2011, 2:16 PM

Thanks Ralf.

I'm pleased at least to hear that it can be edited! (Which squares with my vague recollection that I've done so before, although probably with an earlier version.)

In this case I want to change the default for Record. When I record a narrative I hardly ever want MEP to play the video at the same time. So I need to change the line
PlayWhileRecord=1
to
PlayWhileRecord=0

Is there any way to do that without editing the INI?

It's a mystery why it's reverting to 'new installation' status. (I get the 'What do you want to do now?' wizard, lost all my settings, folder paths, etc.) I can't see anything amiss along the lines you suggest but I'll continue investigating now that I know it's down to my setup or PC

--
Terry, East Grinstead, UK
 

Last changed by terrypin on 8/25/2011, 2:16 PM, changed a total of 1 times.

Terry, East Grinstead, UK. PC: i7 6700K, 4.0 GHz, 32GB with Win 10 pro. Used many earlier versions of MEPP, currently mainly MEPP 2016 & 2017 (Using scores of macro scripts to add functionality, tailored to these versions.)

johnebaker wrote on 8/25/2011, 3:04 PM

Hi Ralf

Many thanks for clearing that up.  As Terry has said we used to make subtle changes to the ini file with no problems.  With MEP17 I have not had to do this so it has not been necessary to modify the ini file.

John

Last changed by johnebaker on 8/25/2011, 3:04 PM, changed a total of 1 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

terrypin wrote on 8/26/2011, 3:59 AM

This puzzle has now been replaced with TWO puzzles!

First, a recap. My videodeluxe.ini file starts like this:

--- Start paste ---
[

[Special]
AlwaysSnapToFrames=1
PlayWhileRecord=1
NormalAbort=1
RecordDevice=1
MemCpyIndex=1
RemoveTimerMessages=1

[Video]
UseMultiMediaTimerForVideoPlayback=0
etc
etc
--- End paste ---

(Note: I don't know why it starts with that open square bracket. There isn't a corresponding close bracket at the end. But experimentally deleting it makes MEP17 act as if the whole file was deleted. Possible clue?)

With MEP closed I changed a single line in this 48 KB file using my text editor, TextPad, which I've been using for many years. I saved it, and restarted MEP17. It behaved exactly as if the file had been deleted and treated it as a new installation, losing all my settings. On closing MEP17, the new videodeluxe.ini was now 13 KB, the 'basic' file.

I backup nightly so was able to restore my 48 KB file.

Ralf confirmed that this behaviour was apparently unique to my PC. It's exactly what I'd get if I deleted videodeluxe.ini.

OK, now for the new information. I tried making the edit with Notepad instead of TextPad. To my great surprise, THAT edit did work. MEP uses the edited file. (But see Puzzle #2 below.)

I've rebooted the PC, closed and re-opened Textpad, and repeated the exercise several times, with identical results.

So Puzzle #1 is: why should TextPad give such a dramatically different result? I'm still investigating, and have emailed the author too.

But the new Puzzle #2 is: the change doesn't stick! The change
PlayWhileRecord=0
at first seems to do exactly what I want. When the Record dialog appears (press R in MEP), that option is no longer checkmarked as the default.

http://dl.dropbox.com/u/4019461/MEP-PlayWhileRecord.jpg

But if I record something, close the dialog and then re-open it later to make another recording, the option is checkmarked again! Yet the file still shows
PlayWhileRecord=0

So it looks as if some other factor is at work here. Anyone know what please?

--
Terry, East Grinstead, UK

Last changed by terrypin on 8/26/2011, 3:59 AM, changed a total of 1 times.

Terry, East Grinstead, UK. PC: i7 6700K, 4.0 GHz, 32GB with Win 10 pro. Used many earlier versions of MEPP, currently mainly MEPP 2016 & 2017 (Using scores of macro scripts to add functionality, tailored to these versions.)

ralftaro wrote on 8/26/2011, 9:41 AM

I see. I'm pretty positive that text editor you've been using writes back the information in some different character encoding or something. Maybe you can find out more from the maker of that application. Even that should be an option that you can modify in a decent editor, though. So, maybe there's some other setting.

As far as this particular program option is concerned, I will need to look into it. It seems to be true that the checkbox in the program will not consistently respond to the change in the INI file. I think the right way to go here doesn't involve further tinkering with the INI, though. I'll make this a feature request for the program to memorise the status of that checkbox in the audio recording dialogue. That should be the best solution in the end.   :-)

 

terrypin wrote on 8/26/2011, 1:18 PM

Thanks Ralf. That sounds very plausible. Some distinction like ANSI v Unicode or whatever.

I'll let you know what the author says.

 

--
Terry, East Grinstead, UK

Last changed by terrypin on 8/26/2011, 1:18 PM, changed a total of 1 times.

Terry, East Grinstead, UK. PC: i7 6700K, 4.0 GHz, 32GB with Win 10 pro. Used many earlier versions of MEPP, currently mainly MEPP 2016 & 2017 (Using scores of macro scripts to add functionality, tailored to these versions.)

terrypin wrote on 9/1/2011, 3:10 AM

 

Thanks Ralf. That sounds very plausible. Some distinction like ANSI v Unicode or whatever.

I'll let you know what the author says.

 

Now reporting the solution.

As already established, it was down to my text editor Textpad. But the cause was obscure and took the program's very helpful author a while to isolate. There's a feature called BOM, 'Byte-order mark', explained here:

http://encyclopedia.thefreedictionary.com/Byte+Order+Mark

which wasn't enabled.

Author: "The BOM is a sequence of 3 consecutive bytes that do not make a valid UTF-8 character, or 2 bytes that do not make a valid UTF-16 character.  When they appear at the start of a file, it's safe to assume the format of the rest of the characters in the file.  Otherwise, it has to be guessed by trial and error."

My version is some 7 years old. (I'm comfortable with it!) Apparently when the BOM feature was implemented all those years ago, not many applications (eg. Web browsers) supported it, so the author left it off by default. Current versions of TextPad preserve the BOM, when it saves a file that already contains one, like videoluxe.ini apparently. My old version didn't. I found the deeply nested setting and turned it ON. Happily, MEP now does not revert to new installation status after an edit!

But as changing PlayWhileRecord=1 to PlayWhileRecord=0 strangely still doesn't turn off 'Play while recording' , meanwhile I've written an external macro that switches it off as soon as the Audio Recording dialog is opened, as a work around.

--
Terry, East Grinstead, UK

Last changed by terrypin on 9/1/2011, 3:10 AM, changed a total of 1 times.

Terry, East Grinstead, UK. PC: i7 6700K, 4.0 GHz, 32GB with Win 10 pro. Used many earlier versions of MEPP, currently mainly MEPP 2016 & 2017 (Using scores of macro scripts to add functionality, tailored to these versions.)