EMULAB Forum
clrmamepro [English] => clrmame Discussion => Topic started by: oxyandy on 10 December 2013, 02:25
-
Hi Roman,
A request.
At the moment I am cataloging a whole bunch of stuff, and it keeps growing & changing.
I don't want to keep making new Dir2Dat's for additions.
There must be an easier way !
CMP has the option to right click a dat a select "Edit DatFile".
(http://ndsxdelta.no-ip.org/edit_dat.png)
And I know if you have DatWorkshop installed it will open. << zero Unicode support
I want to use NotePad++
How?
Thanks
Oxyandy
-
OK, well here is how I do it now.
I have the MASTER dat open in Notepad++ (direct from CMP's dat folder)
I have another folder where I put the files I want to add called "Additions to Master"
The folder "Additions to Master" has already had a Dir2Dat made from it before.
So, as long as I don't exit CMP it will remember those settings/paths for me.
Those 'additions' go in the folder - I run Dir2Dat and outputted dat is saved as same name/location as before.
Additions.dat is already open in Notepad++
Notepad++ notices the changes and reloads 'Additions.dat'
I copy the contents of 'Additions.dat' and paste them onto the end of 'MASTER.DAT'
'Clear Cache' for 'MASTER.DAT' and quickly rebuild the additions into the master set..
This is why it would be useful to have "Edit DatFile" open with Notepad++
Yes, I know if I want a nicely alpha sorted dat, I just export from "Set Information" and CMP does that for me.
Thanks!
Oxyandy
-
you only have to tell Windows to open files with.dat extensions with notepad++......
.....or am Im missing something here......
-
CMP has the option in the >Profiler< Window to right click a profile a select "Edit DatFile".
Is that better worded ?
I removed DatWorkshop.
My associations for '.dat' already open with Notepad++
If I choose "Edit DatFile" it now does nothing.
Try when you are home ;)
-
Well, "Edit datfile" simply calls a Windows Function with the given full path of the datfile...MS Windows cares about how (or better which program to use) to open it...
yes...it does not open...which is weird...I will double check at home....
-
CMP has the option to right click a dat a select "Edit DatFile".
(http://ndsxdelta.no-ip.org/edit_dat.png)
So yes, just perfect if "Edit DatFile" uses the 'default open type' as set by windows.
Then we can all pick and choose.
Problem is it does seem hard coded to Datworkshop at present.
I await a new build :D
-
yeah it should already do use the default window open function....funnily nothing happens...don't know why at the moment...will check at home...
You -> "I await a new build"
Me -> "I await XMas gifts"
:O)
-
well...actually I used "edit" as argument for the ShellExecute function call...which was definetly correct in the past...seems it does not work fine with Win7...anyway...I've changed it to "open"....
http://mamedev.emulab.it/clrmamepro/binaries/cmp20131210.rar (http://mamedev.emulab.it/clrmamepro/binaries/cmp20131210.rar)
-
seems it does not work fine with Win7
Nor working in XP..
In fact, the way it has been for as long as I remember is that, if you had DatWorkshop installed..
"Edit DatFile" opened dat in DatWorkshop.. (Confirmed working that way today)
But, either way it doesn't matter, cause now "Edit DatFile" is much, much more useful ;D
Thanks for your patience & effort again Roman..