Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: gene8522 on October 07, 2016, 08:51:22 AM

Title: Moving to a new PC
Post by: gene8522 on October 07, 2016, 08:51:22 AM
I'm installing a new PC on my diy CNC router and of course using Mach3. I don't want to loss any of the settings I have now.
Is there a file in Mack3 that I should copy to the new PC and move all of the old settings?
Title: Re: Moving to a new PC
Post by: Davek0974 on October 07, 2016, 09:19:40 AM
Yes, your .XML file, any custom or edited macros and in any case, take a copy of the whole mach3 folder before doing anything at all.

Also the .set file if you have edited the screen-set - added buttons etc.
Title: Re: Moving to a new PC
Post by: gene8522 on October 07, 2016, 10:12:55 AM
Hi Dave,
Thank for the reply AND the help. I'll look for these files.
Thanks again,
Gene
Title: Re: Moving to a new PC
Post by: Davek0974 on October 07, 2016, 10:57:30 AM
The xml and set files are in the main Mach folder, but do get a copy of the whole thing on a stick preferably :)
Title: Re: Moving to a new PC
Post by: gene8522 on October 07, 2016, 12:51:47 PM
Thanks Dave,
I tried to copy all the files for Mach3 to a USB Flash Drive to see if it would run on my PC from the Flash Drive. Well it does. 
So I will be able to install Mach3 onto the new PC. :) :)
Thanks,
Gene
Title: Re: Moving to a new PC
Post by: Davek0974 on October 07, 2016, 01:14:20 PM
I never tried that, probably not recommended :)

I woud do a full and proper install on the new PC then copy over just the custom macros, screen-set etc

Title: Re: Moving to a new PC
Post by: gene8522 on October 07, 2016, 02:14:45 PM
I didn't think it would work ether. But i tried running on my CNC router and it's seems to run just fine. I loaded some g-code and air ran the code without a problem.  ::)
Title: Re: Moving to a new PC
Post by: Davek0974 on October 07, 2016, 02:23:14 PM
Does that PC already have Mach loaded on it?

If yes then that may explain why it ran from the stick - the dll libraries would be loaded already by the main install so the stick install would just use the exe file.

Just interested ;)
Title: Re: Moving to a new PC
Post by: gene8522 on October 07, 2016, 06:23:11 PM
No
Title: Re: Moving to a new PC
Post by: Davek0974 on October 08, 2016, 03:23:08 AM
Impressive, never knew that could be done.
Title: Re: Moving to a new PC
Post by: robertspark on October 08, 2016, 03:35:59 AM
It's because all files and folders are in one folder... no DLLs moved to the windows system folders and no registry settings saved.... essentially a stand alone programme all run from one folder
Title: Re: Moving to a new PC
Post by: Davek0974 on October 08, 2016, 03:52:11 AM
WOW! I thought that nice tidy method of programming died with DOS!

Its how all programs should be made in my view, MAC's used it up to a few years ago but now they spread stuff all over the place.

Nice.

Whether or not the uSB bus is fast enough for the job i don't know but its interesting :)
Title: Re: Moving to a new PC
Post by: robertspark on October 08, 2016, 04:40:38 AM
WOW! I thought that nice tidy method of programming died with DOS!

Its how all programs should be made in my view, MAC's used it up to a few years ago but now they spread stuff all over the place.

Nice.

Whether or not the uSB bus is fast enough for the job i don't know but its interesting :)

Don't forget Mach3 came out a looooong time ago now and was based upon a continuance of code.....

Yes... depends on your usb stick..... + how you are motion controlling too (usb motion controller?).... I'm not sure how much of the programme is loaded and if there is any calls from the files once it's loaded....  (I wouldn't do it but I have a dedicated offline PC with one purpose in life).

I don't "think" it will work with mach4 though..... also if you are running a big g-code file I'm not sure how much use the programme may make of any swap files (or files that act like swap files, that may be in the mach3 programme folder) to buffer motion and look ahead