Masterxilo
Member
|
[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 |
|
Masterxilo
Member
|
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 |
|
Esenthel
Administrator
|
RE: "Open with..."/dragging on exe functionality for MeshEditor and ImageViewer
thanks, I'll try to add this
|
|
03-27-2010 03:44 AM |
|
Masterxilo
Member
|
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 |
|
Masterxilo
Member
|
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 |
|