SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] Gramophone SongRandomizer (https://www.subsim.com/radioroom/showthread.php?t=111597)

unruhly 04-13-07 12:08 PM

Quote:

Originally Posted by Dustyboats
Quote:

Originally Posted by jimimadrid
T

!!!!!!! Please copy this little program to your sh4 Mainfolder !!!!!!!!!

Because i'm not able to test on differnt systems, i would like to get information if somebody get problems with the software.


Enjoy it.

Hi Jimini Cricket (not to be flippant! Your input is great.....However I did put item in mMain Folder in My Documents on my Drive "C".....still getting "Runtime Error 76". Please excuse but I havent got a clue what that means! Best Regards....Dusty

Dusty,
I don't think you got the right folder. By "Mainfolder" I'm pretty surehe's refering to:
C:\Program Files\Ubisoft\SilentHunter Wolves of the Pacific\

letterboy1 04-13-07 05:58 PM

I have the randomizer in the following folder:

D:\Program Files\Ubisoft\Silent Hunter Wolves of the Pacific

I got the following error report:
Failure Nbr 4 -- Description: Access problem due to renaming-Please close SH4

(SH4 is not running)

Oddly enough, the program did randomize my songs anyway.

jimimadrid 04-14-07 03:00 AM

Quote:

Originally Posted by letterboy1
I have the randomizer in the following folder:

D:\Program Files\Ubisoft\Silent Hunter Wolves of the Pacific

I got the following error report:
Failure Nbr 4 -- Description: Access problem due to renaming-Please close SH4

(SH4 is not running)

Oddly enough, the program did randomize my songs anyway.

Extra for you i have rewrite my proggie and added your sh4-path.
(This will only work for letterboy or all people, who have installed sh4 on the same path as letterboy has done.)

http://www.file-upload.net/download-...mizer.exe.html

Hope it works, because i can not test it.

letterboy1 04-14-07 05:28 PM

Jimmimadrid, because of your extra effort I'm sorry to report that it still does the same thing. But please do not worry . . . it still works! Thank you so much for this utility because the Gramophone is one of my favorite features. God bless you. :)

TopcatWA 04-15-07 08:26 AM

Gramaphone SongRandomiser
 
:up: I works fine for me. I put it in the main directory as required, made a new shortcut using the songgrandomiser.exe file & naming it SHIV which is not the same as the game execute file name (sh4.exe) & I start the game from there. The songs are reshuffled prior to starting the game using the 'Start SH4' button on the display panel. Great job. Thanks.

LukeFF 07-12-07 04:53 PM

Quote:

Originally Posted by letterboy1
I have the randomizer in the following folder:

D:\Program Files\Ubisoft\Silent Hunter Wolves of the Pacific

I got the following error report:
Failure Nbr 4 -- Description: Access problem due to renaming-Please close SH4

I'm experiencing this problem now as well, except in my case the game is installed to my C drive. Any reason why this would be happening?

jimimadrid 07-13-07 05:52 AM

Sorry, i will be this weekend back at home. Then i will install the 1.3 patch and check your problem.

LukeFF 07-13-07 04:40 PM

Quote:

Originally Posted by jimimadrid
Sorry, i will be this weekend back at home. Then i will install the 1.3 patch and check your problem.

Never mind it, jimi. I just ran the program again, and now it's working properly. :shifty: Very, very strange, lol.

jimimadrid 07-14-07 05:04 AM

Hi Luke,

i've checked it and it works correctly.

My Songradomizer insert an randomized number in the filename of the files in the Grammophone Folder .
The SH4 Grammophone then starts the songs with the lowest number.

Unfortunally SH4 once started, denied external File Access on the Grammophone Folder.
Therefore you have first to start the Songrandomizer and press the "START SH4" button on the Songrandomizer Display. This will close the Songrandomizer and start SH4.

PLease do NOT start first SH4 and then the Songrandomizer - this will bring the failure Message "Access Problem......"

TopCat 07-17-07 02:00 AM

I had the same error-message (Failure Nbr 4 -- Description: Access problem due to renaming-Please close SH4), and the problem was the following: Some of the tunes in the grammophone-folder were write-protected.

So make sure that all your music-files in the grammophone-folder are not write-protected (mark all sound-files, right click, choose properties, make sure that the write-protection box is unchecked). That should solve all your problems, provided the randomizer is placed in the correct folder.

Thx to the modder for that great prog that makes the long distances I'm travelling in the Pacific much more bearable

jimimadrid 07-17-07 12:58 PM

Hi TopCat,
thanks for your research on the access problem. You're right, if the files are writeprotected, my proggie noticed that he get no access to rename the files, and threrefore it brings the failure messagebox.

it's nice to see, that the guys using our mods, also invest their time in helping us to improve our mods.
Thanks

letterboy1 07-17-07 06:52 PM

Great find! But let me take it one step further, this error also occurs if there are any non-music files present in the Gramophone folder. Doesn't matter if it is write-protected or not. I had renamed my Gramophone_track.wav to Gramophone_track.wav.bak just to save it in case I wanted it back later. The randomizer didn't like my .bak extension and gave the error message. I moved the Gramophone_track.wav.bak file to another place on my HDD and now there are no more error messages. :)

Spadefish 10-02-07 08:48 PM

Help with Song Randomizer
 
Can someone help me with the song randomizer. I'm running Vista and SH4 is installed to C:\Games\Ubisoft\Silent Hunter Wolves of the Pacific. The application is installed in the main SH4 folder. I click on it and the randomizer starts no prob. Click Start SH4, game opens fine, load patrol start gramaphone and I only get the songs that were installed by TMaru. I have .ogg, mp3 and wav files in the gramaphone folder but none play except those few. Thanks for all help in advance.

letterboy1 10-03-07 10:20 AM

Spadefish, I answered in your other thread.

letterboy1 10-09-07 05:23 PM

Jimimadrid, is there a 1,000 file limit to your randomizer? When I put exactly one song more than 1,000 I get the following error:

Failure Nbr: 2 -- Description: No access to songs folder-please close SH4

It doesn't matter which file I remove, just as long as I remove one of them so the file count is 1,000 and NOT more. SH4 is not running. As soon as I have 1,000 songs and NOT more, the randomizer works.

Is it possible to increase the file number limit? I'm not complaining; 1,000 songs is plenty, but I'd like to add more if possible. :rock:


All times are GMT -5. The time now is 04:42 AM.

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.