EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: Change location of temp folder  (Read 6991 times)

SpaceAgeHero

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 20.0.1132.11 Chrome 20.0.1132.11
    • View Profile
Change location of temp folder
« 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!
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 19.0.1084.52 Chrome 19.0.1084.52
    • View Profile
Re: Change location of temp folder
« Reply #1 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
and this posting: http://www.emulab.it/forum/index.php?topic=3388.msg13156#msg13156

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

Logged

SpaceAgeHero

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 20.0.1132.11 Chrome 20.0.1132.11
    • View Profile
Re: Change location of temp folder
« Reply #2 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?

:-)
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 19.0.1084.52 Chrome 19.0.1084.52
    • View Profile
Re: Change location of temp folder
« Reply #3 on: 24 May 2012, 19:23 »

yes it will be in the next release...
Logged

SpaceAgeHero

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 20.0.1132.11 Chrome 20.0.1132.11
    • View Profile
Re: Change location of temp folder
« Reply #4 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!

:-)
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 19.0.1084.52 Chrome 19.0.1084.52
    • View Profile
Re: Change location of temp folder
« Reply #5 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.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 19.0.1084.52 Chrome 19.0.1084.52
    • View Profile
Re: Change location of temp folder
« Reply #6 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...
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 19.0.1084.52 Chrome 19.0.1084.52
    • View Profile
Re: Change location of temp folder
« Reply #7 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....
Logged
Pages: [1]   Go Up
 

Page created in 0.196 seconds with 20 queries.

anything
anything