Save custom UI?
All  1-4  5-11

Previous
Next
 From:  mat10x
9121.5 In reply to 9121.4 
Hi Michael,

Ah ha...got the Custom tool bar working. But a few issues...

1. "Object Library"...the stock objects (cube, sphere, surface) are not showing under that button in Moi V4. I tried to move the "Objects" into Startup but that didn't seem to make a difference.

2. "Scripts"...I see 2 scripts buttons...I put a few in the "Scripts" V4 "commands" folder from the Application Support/Moi/commands. Nothing showing in either "scripts" folder.

3. "Lighting" button...tried to copy in the LightingOptions.htm I use in V3...nothing showing under that button in V4.

4. It seems the Tool Bar menu name change trick does not work to make an option not visible on V4. I had to remove the option from the AppSup/Moi/Startup folder to get it off the tool bar. For example "26 HideLock" is visible but "-26 HideLock" is also still visible...in V3 with a name change it would not visible in the bottom tool bar.

I noticed that under the V4 "Commands" folder under "Show Package Contents", all of the scripts I've been using in V3 show up in that folder...but are not visible from the V4 "Scripts" tool bar buttons.

...and I noticed all my hotkeys from V3...are somehow in V4 without my putting them in there...which is great!

Also tried to restart the computer to see if that would fix some of these issues, no difference.

Screen shots attached of what I'm seeing under V3/V4 "Show Package Contents"/drive_c...vs what's in the App Support/Moi folders

Thx!

M
Image Attachments:
Size: 71.4 KB, Downloaded: 33 times, Dimensions: 282x668px
Size: 321.5 KB, Downloaded: 32 times, Dimensions: 828x766px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
9121.6 In reply to 9121.5 
Hi Mat,
For my Windows 10 MoI setup, objects, scripts, snapshots, and also customui are subdirectories along side of startup subdirectory, NOT contained inside of startup subdirectory.
(All of these are in my appdata/roaming (~= Mac applications) folder.)
(I do not have a mac.)
Your customui folder has the same contents as mine, but maybe your customui should be up one folder level?

Our startup subdirectories are mostly the same, but my customui is up one level. I do have 82 Snapshot.js as an entry in startup.

- Brian

(For MoI4beta, I cannot find LightingOptions.htm file in any MoI4 related folders.)

EDITED: 1 Jul 2019 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9121.7 In reply to 9121.5 
Hi mat, so looking at your screenshot there it looks like your problem is you've moved the customui folder inside of "startup", when it should be one level up.

So just to clarify - when you unzip the CustomUI.2.0.beta2.zip file there will be 3 folders contained inside it: "customui", "objects", and "startup".

These folders should be copied to the MoI appdata folder which is /Users/<username>/Library/Application Support/Moi/

So when you do that it means you should have this structure:

/Users/<username>/Library/Application Support/Moi/customui
/Users/<username>/Library/Application Support/Moi/objects
/Users/<username>/Library/Application Support/Moi/startup

One thing to note is there will be an already existing startup folder. The contents of the startup folder in the .zip should be merged into the existing one.


In your screenshot I see this folder structure:

/Users/<username>/Library/Application Support/Moi/objects
/Users/<username>/Library/Application Support/Moi/startup
/Users/<username>/Library/Application Support/Moi/startup/customui <<<<<<

So the one marked with the <<<< is not in the correct location.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9121.8 In reply to 9121.5 
Hi mat, for the LightingOptions one it seems that it is expecting to have a listing of different lighting modes saved in the moi.ini file already, I guess it would get populated by using the older lighting options dialog script. Or maybe from the old CustomUI in v3 maybe, something like that.

Maybe if you can run one of those older versions it can get the settings populated in your moi.ini file so that menu could work in v4.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mat10x
9121.9 In reply to 9121.7 
Ah, now it works! Scripts, Obj library and Lighting options are all visible now....but somehow the script names are coming from V3 (not functional)...since I haven't yet installed all my V3 scripts into the V4 commands folder...? I noticed V4 also has my V3 hotkey set up...automatically.

Next...is to separate out the "Draw Curve/Draw Solid" and "Construct/Transform" panel windows. Is it the same process in V4 as in V3?

Thanks Michael!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mat10x
9121.10 In reply to 9121.6 
You were right Brian to move the "customui" up one level. Works now.

The "LightingOptions.htm" I had put into the commands folder from a script. Thought I needed it for the "Lighting" button. Seems to work with and without it...not sure if it's linked to my V3 somehow...or built into V4.

Thx!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
9121.11 In reply to 9121.9 
Hi mat,

re:
> since I haven't yet installed all my V3 scripts into the V4 commands folder...?

Yes, you'll need to copy over any additional scripts that you added into the V3 commands folder.

But for v4 instead of copying them into the app's commands folder you can put them in the appdata command folder (/Users/<username>/Library/Application Support/Moi/commands) and the benefit to that is that new versions will find them in that centralized location and so you won't have to copy them around again after that.


> Next...is to separate out the "Draw Curve/Draw Solid" and "Construct/Transform" panel
> windows. Is it the same process in V4 as in V3?

Yup, you can use the same process for that, or also a newer method for v4 is you can put in a startup script (in the appdata/Startup folder) to do it, get it from:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8064.8

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-4  5-11