EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: MAD on 06 June 2017, 11:55

Title: A question about the Temp folder
Post by: MAD on 06 June 2017, 11:55
Hi, maybe someone knows the answer to the following, or maybe Roman is listening in ;) When rebuilding with CLRMAMEPro, do the unpacked files placed in the Temp folder get moved to its destination or copied and deleted from the Temp folder. I ask this because recent Trurip releases are unzipped and I was hoping to get some speed boost by placing the Temp folder directly on the destination folder. I understand that it's not always necessary but in this case it is. So, if it's a move it's just fine in my case. If it’s a copy and delete (safer option imho) could it be made optional to select copy/delete or direct move from the Temp?

Regards,
MAD
Title: Re: A question about the Temp folder
Post by: Roman on 07 June 2017, 06:40
Hmm...good question...have to look at the source...

must be decades ago when I used the rebuilder to actually recompress files...I only use the no-recompress mode ;-)

I will check it
Title: Re: A question about the Temp folder
Post by: Roman on 07 June 2017, 18:45
ok...the current procedure is the following:

If you got an unpacked file AND its hash will only match one (1) file AND you got "remove rebuilt source files" enabled, then it will be moved, otherwise the file gets copied.

I check if I this can be enhanced to If you got an unpacked file AND its hash will only match one (1) AND (you got "remove rebuilt source files" OR the file is a temporary unpacked source file)
Title: Re: A question about the Temp folder
Post by: Roman on 07 June 2017, 19:26
you might want to give this a try....as mentioned, now Move is also used when you don't have 'remove rebuilt source' enabled...
If you had it enabled before...well...tough luck then...then it simply doesn't really give a speedboost
https://mamedev.emulab.it/clrmamepro/binaries/cmpro20170607.rar
Title: Re: A question about the Temp folder
Post by: MAD on 08 June 2017, 09:35
Thank you for your answer. In my case I did want to preserve the source since it I was still seeding another collection ;) So, as I understand it, originally move is used when remove matched sourcefiles flag is enabled and in the new included compile move is used all the time.
I tested it with just a few files and there's already significant gain (2 minutes). Sweet. Can you make this the default for next compiles?
(http://i.imgur.com/QCohKPG.png)

regards
MAD
Title: Re: A question about the Temp folder
Post by: Roman on 08 June 2017, 09:48
well yes, it's in now...and won't be turned back off again ;-)
Title: Re: A question about the Temp folder
Post by: coccola on 08 June 2017, 22:56
@MAD

Your file manager looks great. Could you tell me what's the name of it? I've been looking for a good two-panel file manager.

TIA
Title: Re: A question about the Temp folder
Post by: MAD on 10 June 2017, 21:14
Hi Coccola,

It's good old DOpus (Amiga days). I don't tweak the GUI too much but I make a lot of custom scripts for my ROM hoarding needs. It's not cheap and you have to pay for every next major release. But developers need food too and the program keeps developing. There are other good file managers but this one is the best for me when putting some effort into scripting. There is a 60 days evaluation period to get a good taster. https://www.gpsoft.com.au/ (https://www.gpsoft.com.au/)



Title: Re: A question about the Temp folder
Post by: coccola on 16 June 2017, 06:01
I will try. Thank you!