#1 2006-04-30 12:39

JohnM
Member
Registered: 2006-04-30
Posts: 3

Renamer 3.20: File size problem

Hi all!

When I use Renamer 3.20 to rename big files (>2Gb, they're AVI files from my camcorder), the file size column shows a negative number. Obviously some sort of wrap around. For example: File is 2.61GB in size, but Renamer 3.20 shows it as -1,488,595,920 bytes.

I'm running on WinXP Pro SP2 + hotfixes. Machine is P4 3GHz

Great program by the way. I won't run without it.

Cheers
JohnM

Offline

#2 2006-04-30 14:14

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Renamer 3.20: File size problem

ReNamerBeta.zip

It is fixed now, it was a small mistake.. ReNamer was actually getting the fileszie correctly, but the procedure which separates thousand - required Integer(32bytes) as the parameter, while filesize>2Gb would be stored as Int64(64bytes), this truncating the number by half when separating thousands.

Fixed, download the Beta version smile

Offline

#3 2006-05-03 13:05

JohnM
Member
Registered: 2006-04-30
Posts: 3

Re: Renamer 3.20: File size problem

I've tried the beta and it works fine. Fast work!

I now have another one for you. This time it's to do with the sorting options. I have a bunch of pictures (jpegs) which when I sort by "created time" all works ok. However, when I sort by "modified time", it doesn't seem to sort correctly. For example, when I select sort by "modified time" ascending, I get entires like this:
Name      Time Modified
File1.jpg  13/4/2006 14:33:58
File2.jpg  13/4/2006 14:34:08
File3.jpg  13/4/2006 14:33:16

I hope this makes sense!

Cheers
JohnM

Offline

#4 2006-05-04 11:09

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Renamer 3.20: File size problem

Sorting by "Modified Time" produced wrong results because of my copy-and-paste mistake tongue
Sometimes, when 2 functionalities are very similar, but don't contain enough code to make a generalized function - it is much easier to copy-and-paste that piece of code, and change few names... Well, I forgot to change one word, and these are the consequences.

It actually sorted by difference not in "Modified Time of File1" and "Modified Time of File2", but by "Modified Time of File1" and "CREATED Time of File2" - which didn't make sense!

Fixed now ;D

ReNamerBeta.zip

Offline

#5 2006-05-07 04:44

JohnM
Member
Registered: 2006-04-30
Posts: 3

Re: Renamer 3.20: File size problem

I retried the beta the news is all good.

Thanks again for a great program.

Cheers
JohnM

Offline

Board footer

Powered by FluxBB