About Store Forum Documentation Contact



Post Reply 
[ADDED] "Open with..."/dragging on exe functionality for all file types
Author Message
Masterxilo Offline
Member

Post: #1
[ADDED] "Open with..."/dragging on exe functionality for all file types
It would be nice if we could drop mtrl/mesh files on Mesh Editor.exe (when it's not yet running) and associate these with that program as well so double clicking .mesh files would open these in Mesh Editor.exe.
Currently if you do this, it says "Can't load engine.pak" (I guess this is because windows sets the current directory of any app launched to the directory of the dropped file).

The same for Image Viewer and .gfx files.

Basically the only things you need to change are:
- On startup, set current directory to the directory where the launched exe is located (ignoring what windows sets it to)
- Simulate the file in argv[1] being dropped on the window, if there is any

EDIT:
Just noticed image viewer doesn't allow dropping a single gfx file onto it's window (only a folder). Would be nice if it supported that too (and required for the above request).

System: Windows 7 Ultimate 64 bit, Q6600 2.4 GHZ, 4GB RAM, nVidia GeForce 260 GTX 896 MB DDR3

Visit my site: hurricane-eye.webs.com
And read my blog: hurricane-eyeent.blogspot.com
(This post was last modified: 04-06-2010 09:01 PM by Masterxilo.)
12-18-2009 07:27 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Masterxilo Offline
Member

Post: #2
RE: "Open with..."/dragging on exe functionality for MeshEditor and ImageViewer
This would also allow running these tools from the commandline...

System: Windows 7 Ultimate 64 bit, Q6600 2.4 GHZ, 4GB RAM, nVidia GeForce 260 GTX 896 MB DDR3

Visit my site: hurricane-eye.webs.com
And read my blog: hurricane-eyeent.blogspot.com
03-27-2010 03:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #3
RE: "Open with..."/dragging on exe functionality for MeshEditor and ImageViewer
thanks, I'll try to add this
03-27-2010 03:44 AM
Find all posts by this user Quote this message in a reply
Masterxilo Offline
Member

Post: #4
RE: "Open with..."/dragging on exe functionality for all file types
Thanks for adding this for most of the formats. Could you please also add the remaining:
  • Make "Pak Viewer.exe" open '*.pak' files.
  • Make Mesh Editor also open .phys files

Thanks in advance.

System: Windows 7 Ultimate 64 bit, Q6600 2.4 GHZ, 4GB RAM, nVidia GeForce 260 GTX 896 MB DDR3

Visit my site: hurricane-eye.webs.com
And read my blog: hurricane-eyeent.blogspot.com
04-04-2010 02:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Masterxilo Offline
Member

Post: #5
RE: "Open with..."/dragging on exe functionality for all file types
Thank you!

System: Windows 7 Ultimate 64 bit, Q6600 2.4 GHZ, 4GB RAM, nVidia GeForce 260 GTX 896 MB DDR3

Visit my site: hurricane-eye.webs.com
And read my blog: hurricane-eyeent.blogspot.com
04-06-2010 09:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply