SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 11-12-07, 11:22 PM   #1
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default [TEC] Gramophone Files resetting to Read Only - any idea why?

I'm trying to run jimimadrid's great song randomizer app - it used to run great, but now for some reason it keeps throwing off failure errors that seem to be related to the song files being tagged as "read only" so the app can't rename them. Before, whenever this happened I was able to use Windows Explorer to change the attributes of the gramophone folder to uncheck "read only", and then the app would work fine again. However, now, no matter where I do that unchecking (I've tried it on the gramophone folder, and several parents up to and including the entire SH4 game install folder), it doesn't seem to "stick" and the app errors out and the "read only" box is checked again when I call up the properties.

Any idea why this would be happening and how to fix it? (running XP Pro, as admin)
__________________
panthercules is offline   Reply With Quote
Old 11-13-07, 09:45 AM   #2
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
Default

It's my understanding that folders will always show as read only. I can't remember where I read that, it's been too long and I've slept since then.

I would think the only problem would be if one of the media files themselves was propertied as read only.
__________________

RSM-GIEP-Killflags-LV Tribute-Playable Elco __Peace be with you, Dave.

Digital_Trucker is offline   Reply With Quote
Old 11-13-07, 10:15 AM   #3
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default

Thanks for the tip - I checked all the individual files attributes, and they're all OK. I assumed that when I was seeing the "read only" box ticked on the folder that this was the problem. However, it turns out that it seems to be something about the way the song randomizer app runs. The first time through, it works fine, but if I close it and then run it again (without running SH4 in the meantime), I get the error. Not every time, but every so often, especially if I run it again soon. Maybe it has something to do with some temp file thing the app sets up that takes a while to finish up or something. If I wait long enough between running the app, it seems to work better.

Thanks again D_T for the help. Great little application - thanks for that jimimadrid
__________________
panthercules is offline   Reply With Quote
Old 11-13-07, 12:29 PM   #4
letterboy1
Captain
 
Join Date: Oct 2003
Location: Columbus, GA, USA
Posts: 525
Downloads: 89
Uploads: 0
Default

Are there any files in the Gramophone folder other than music files? I once had the original gramophone music file in there but didn't want it to play so I renamed it with a .bak extension . . . the randomizer didn't like this.

Also, do you have more than 1,000 songs in the folder? In that case you have to make sure you get the latest version of the Randomizer because originally Jimmi limited the program to a limit of 1,000 files. Now it's at 2,000. I don't know if Jimmi added a new version number, but if you downloaded the randomizer in the last month or so, you should have the updated version.
__________________
Asus P8 Z68 Deluxe MoBo
Intel Core i7 @ 4.4 GHz
16 GB RAM
EVGA GTX Titan Black
1.5 T-byte HDD
Antec 1 KW True Power Quattro PS
letterboy1 is offline   Reply With Quote
Old 11-13-07, 04:25 PM   #5
leovampire
Eternal Patrol
 
Join Date: Apr 2007
Location: Waterbury, CT. USA
Posts: 2,336
Downloads: 0
Uploads: 0
Default I'll be honest with all the great radio mod's out there

I don't think I have touched the gramaphone since I bought the game. And I havn't used the radio tool yet that Digital_trucker made ya I know I am stupid but it is because I do more testing and work than playing latley. Maybe a poor excuse but it is the only one I have! :rotfl: :rotfl:

I wish I could help you out but just don't know where to start without using all your using for the game.
leovampire is offline   Reply With Quote
Old 11-13-07, 08:14 PM   #6
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default

Well, I only have 65 song files in there, so numbers/size is not the issue. I did find (and remove) a .wav file, but everything else in there is an .ogg file.

Apparently the .wav file was a stock tune - I've heard it play a couple of times and I always just thought that my gramophone had turned off for some reason and reverted back to the stock game music that plays when you don't have the gramophone on It never occurred to me that it would be a stray file in the gramophone folder - I guess it probably snuck back in there during one of my recent ROW-testing drops back to a stock install, 'cause I know I had stripped all the stock files out of there in my previous "production" install before I started testing stuff.

I just tried it again though, for the first time since re-booting (and after removing the .wav file), and it threw off the same error message, so my guess about temp files and frequent running doesn't seem to plausible now. I'm not sure I ever D/L'ed the latest version since I knew the 1,000 song limit wasn't going to be an issue with me, but I guess I'll go do that in case it also fixes this little issue. Thanks for reminding me about the update.

EDIT - SORTED! Updating to the new, 2000-song limit version did the trick - it now fires up and randomizes every time without a hitch. Thanks for the help guys!
__________________

Last edited by panthercules; 11-13-07 at 08:30 PM.
panthercules is offline   Reply With Quote
Old 11-14-07, 12:29 PM   #7
jimimadrid
Sonar Guy
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 385
Downloads: 115
Uploads: 19


Default Sorry,

i do not know why, but i have missed this post.

i get panthercules advice, and added the link of the new download to my first post. http://www.subsim.com/radioroom/show...ght=jimimadrid

normaly the only difference between both is the limitation on the files. i have to do this restriction because the proggie put the names in an array and randomize it. If i highen the limit too much the randomize prozzes will slow the proggie too much. ANd my target was a quick randomizing before starting SH4. Without too much waiting time for the user.

Another big problem is windows. The working way of the songrandomizer is to rename the song with giving them always different songnumbers. SH4 grammophone begins with the lowest namenumber and then the next ... and so on.
If an outside progamm hold the rights on the files, it will not be possible to rename them. I noticed this with an CTD with SH4. Opening the Taskmanager shows SH4 still running in Background and having still rights on its folders.

Therefore - the songs need write rights and no other programms have to hold hands on them.

Sorry for my bad english, but i hope this helps to understand what the songrandomizer does.

Regards
jimimadrid
jimimadrid is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.