EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: SpaceAgeHero on 24 May 2012, 18:39

Title: Change location of temp folder
Post by: SpaceAgeHero on 24 May 2012, 18:39
Hello.

I'm in the process to scan/rebuild a large collection of roms and isos.
In order to do that I thought it would be a good idea to use clrmamepro, since it seems to be the most powerful software.
I've played around a little bit with it and rebuilt some smaller rom sets.

However I have noticed that crlmamepro uses a temp folder in its own appliaction directory to perform all actions involving renaming, unpacking etc.
Before I start rebuilding my very large iso folders I was wondering if there is any setting allowing me to either perform all these actions in RAM only OR in another location specified by myself (RAMDisk).
Reasons: First of all I want to protect my SSD (c:\ - application partition) from too many host write cycles (in particular of course NAND writes). And I think, performing these actions in RAM or in my virtual RAMDisk (ImDisk) should be faster.

A possible solution would propably be to install crlmamepro somewhere else and run it from the location of my choice. But is there any offical setting (planned) which would allow me to keep it installed on c:\?

Please let me know if anything is incomprehensible. Thanks!
Title: Re: Change location of temp folder
Post by: Roman on 24 May 2012, 18:56
Generally you can install cmpro whereever you want. If you use a (VISTA/WIN7) UAC protected folder (like c:\program files) you may need run it with admin rights...

Regarding the cmpro temp folder, check out this
http://mamedev.emulab.it/clrmamepro/binaries/cmp20120514.rar (http://mamedev.emulab.it/clrmamepro/binaries/cmp20120514.rar)
and this posting: http://www.emulab.it/forum/index.php?topic=3388.msg13156#msg13156 (http://www.emulab.it/forum/index.php?topic=3388.msg13156#msg13156)

It allows you to move the cmpro temp folder to any place.

Title: Re: Change location of temp folder
Post by: SpaceAgeHero on 24 May 2012, 19:14
That was fast. Should have checked this post first, eh?
Google didn't give me any result, that's why I thought noone cared about this yet. :-D

Thanks alot. Will give it a try.

This will be in the next official build too, right?

:-)
Title: Re: Change location of temp folder
Post by: Roman on 24 May 2012, 19:23
yes it will be in the next release...
Title: Re: Change location of temp folder
Post by: SpaceAgeHero on 24 May 2012, 19:47
I just ran into one "problem" with the new temp folder function.
It seems that root directories cannot be used directly (e.g. B:\ which is my virtual RAMDisk)? clrmamepro simply uses the default location on C:\ instead.
I've now set the variable to "B:\crlmamepro" and had to create the folder manually.
Otherwise it still would not work.
Is there any chance that can you can change the next build in a way that crlmamepro creates the folder in case it doesn't exist?
My personal reason: RAMDisk is of course erased (including crlmamepro folder) on system power off.

Thanks again!

:-)
Title: Re: Change location of temp folder
Post by: Roman on 24 May 2012, 19:51
hmm....I guess it fails (and resets to the default) since cmpro tests if the entry is a folder.....Guess removing the check will resolve this...I will put that on my list.
Title: Re: Change location of temp folder
Post by: Roman on 25 May 2012, 17:55
hmm...I've checked it with a standard drive letter F:\ and it works fine as it is....so it's not the folder check....actually cmpro tries to write a temporary file to the place and rereads it....if that fails, it resets it to the default...
Title: Re: Change location of temp folder
Post by: Roman on 30 May 2012, 18:53
Any update on that? As mentioned, it works fine here for me when I set it to F:\ and turn the cleaning temp folder option off....