trueSpace761 Workspace - Projects

Post Reply
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

trueSpace761 Workspace - Projects

Post by trueBlue »

trueSpace761 Workspace - Projects
A Project is a Scene together with a Layout containing your Views and other tools
Load a Project
Exit trueSpace761
Open trueSpace761
trueSpace761 Stops Responding at the Title Screen
Workspace Projects Runtime error.png
Open Task Manager, select trueSpace761, and End Task
Go to C:\trueSpace761\tS and Delete the default.ctx file
Open trueSpace761
Reset the Default Context
Note: If you are using the Unofficial Update that uses the C3D Persistent Install v2, and you do not Reset the Default Context, you will be missing CustomCommands and all of the scripts and toolbar icons that use these scripts will not work!
User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: trueSpace761 Workspace - Projects

Post by clintonman »

Verified crash using the Default Project. If you save a project into the library and load it, then it doesn't crash on startup. So it's only the Default Project that causes the crash.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: trueSpace761 Workspace - Projects

Post by trueBlue »

Unfortunately, not for me!
I saved a Project with a trueSpace New Scene using the Default layout
This Projects crashes too!
User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: trueSpace761 Workspace - Projects

Post by clintonman »

It might be unstable, not sure. I started tS again and it failed exactly like you described. Before in my testing the title didn't get stuck with the Default Project but it did get stuck on my previously working saved project.
I tried the Default Project on base unpatched tS and had no problems, restarted tS without crashes multiple times.
Tried again on UU using my saved project and restarted a few times and no problems. I guess for me it only happens occasionally.

I got some steps that may or may not help.
Load Default Project
Open the Gold Toolbar and crash!
but if you click on the 3d view or any other window then do Gold Toolbar and no crash.
Close then open tS and no crash, even though Default Project was loaded.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: trueSpace761 Workspace - Projects

Post by trueBlue »

Following your steps...
Does your Create Primitive widgets work?
Does your Material Editor work?
Not for me until I switch to a layout, but still crashes on reload
The Default Project that ships with tS76, tS761, and Rosetta has a Layout that does not exist in the library
Default Project has a none existing Layout.png
Default Project has a none existing Layout.png (10.56 KiB) Viewed 2365 times
I think it boils down to the Default.ctx getting corrupted

I remember Roman suggesting Projects be eliminated in Beta Space
I voted no, if they work! :(
User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: trueSpace761 Workspace - Projects

Post by clintonman »

Some virgin trueSpace tests:

reset def context
load default project
create cube works
material editor - not working, click button nothing happens
default layout
create torus works
material editor works
restart ts and no crash

reset default context
save own project file
load it in
create cube works
material editor works
restart tS and no crash
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: trueSpace761 Workspace - Projects

Post by clintonman »

some UU tests

reset def context
save own project
load project - Bitmaps-Texture and Materials-DX9 panels open
create cube works
material editor works
restart tS and CRASH, and title page stuck, kill with task manager


delete default.ctx
start tS
load project
primitives not working
material editor works
gold toolbar and restore - primitives work again
restart tS and CRASH same as before


delete default.ctx
start tS
load project
set state to unload for rsx plugins
restart tS and no crash
reactivate plugins
restart tS and no crash
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: trueSpace761 Workspace - Projects

Post by trueBlue »

tS761.8
I unloaded the plugins
restart tS761.8 so the plugins unload
Loaded my new Default Project
I am getting this error
util error.png
util error.png (10.94 KiB) Viewed 2355 times
Common issue revolves around Watch Dog Events hooked up to scripts
User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: trueSpace761 Workspace - Projects

Post by clintonman »

trueBlue wrote: 01 Mar 2022, 02:13 tS761.8
I unloaded the plugins
restart tS761.8 so the plugins unload
Loaded my new Default Project
I am getting this error
util error.png

Common issue revolves around Watch Dog Events hooked up to scripts
You can't create utility functions if the rsx isn't loaded.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: trueSpace761 Workspace - Projects

Post by trueBlue »

I know, just trying to figure out a solution
I added:

Code: Select all

	if(typeof(Clintons3dPlugin) == "undefined") {
	System.Alert("Clintons3dPlugin is Required!\n\nInstall the Clintons3dPlugin.rsx in the Package Manager");
	params.SetTerminationFlag()
	return;
	}
Still did not resolve the error
Edit:
What do you mean by set state?
set state to unload for rsx plugins
I believe the Primitive tools do not work because they are setup to use the Guard script

Code: Select all

Error: Microsoft JScript runtime error Description: Invalid procedure call or argument Error code: 0x800a0005 - (null) Line: 1, Char: 20 Script text:  RsApp.SendCustomEvent("Scripts/CustomCommands/Guard", {Cmd:"RsTool.AddPrimitive('/Widgets/Tools/Primitives/Primitive tool','{EEC8FEE8-EB12-4e12-8ED0-D71CAA2886FD}(/Preferences/Primitives/Matrix manager){C89E0C6B-3F82-4fe2-A232-FB1A7B7F6190}(/Preferences/Primitives/Factory preferences){/Preferences/Primitives/Preferences}','/Preferences/Primitives/Cube');"});Activity.Run("Scripts/CustomCommands/Guard");;} 
tS76 UU4 does not have any issues with Projects
Post Reply