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)

jimimadrid 04-12-07 04:38 AM

[REL] Gramophone SongRandomizer
 
This is for all people, who loved to listen to their gramophone during the long patrols, but are nerved because of no randomized songs in SH4.

start this little software before sh4. It will randomize all Songs in the data\sound\gramophone Folder. It includes a button to start sh4.

http://img228.imageshack.us/img228/2...grandombr9.jpg


Download Link to newer version with limitation to 2000 songs: http://jimimadrid.bplaced.net/Downlo...ndomizerV1.exe

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

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


Enjoy it.

CaptainCox 04-12-07 05:16 AM

Bloody GOOD WORK MAN! :up:

EDIT: just tried it out...I put it in the "MAIN" SH 4 folder right...but get this
http://i10.photobucket.com/albums/a1...nCox/error.jpg

"Run-time error '75':
Path/File access error"

CaptainCox 04-12-07 05:26 AM

OK my bad! As i am running VISTA I have to run as "Administrator" right klick etc etc. BUT!!! when I hit the SH4 play button in your application, SH4 starts alright but for some reason all the mods in the JSGME are not activated...maybe i am doing this wrong :oops:

CaptainCox 04-12-07 07:29 AM

Anyone tested this yet :o As i think its a really really net app I would really like it to work, but as I said it somehow blocks out JSGME...maybe its because the way jimimadrid wrote the .exe...

jimimadrid 04-12-07 07:41 AM

Quote:

Originally Posted by CaptainCox
Anyone tested this yet :o As i think its a really really net app I would really like it to work, but as I said it somehow blocks out JSGME...maybe its because the way jimimadrid wrote the .exe...

This is very strange. because the proggie only renames randomized the content of the gramophon folder. After starting sh4 it closes automatically and sh4 starts.

Maybe in vista the proggie does not start sh4 or does not close himself correctly. After starting it, you can try to close it and start sh4 with the normal icon.

CaptainCox 04-12-07 07:46 AM

:oops: Ahhhhh so ok the songs randomize as soon as you start it? I did not put songs in my folder yet as I thought it did not work :p....will try this right away...hang on!

EDIT! yup that works man! great!. As long as I don't hit the "START SH4" all is ok.
I wonder if its something to do with that program you used to create this...I guess if you point it to start with SH4.exe...maybe it bypasses the JSGME or something...or like you said its a VISTA prob.
Anyhow it works as long as i don't hit that play button. Cheers man!

and sorry for clogging up this thread with a lot of "MY" problems:oops: :oops: :oops:

jimimadrid 04-12-07 08:02 AM

It's normal VB6. It maybe that the shell command i used, do not work proper on Vista. On my WinXp it works.
I will check this.

letterboy1 04-12-07 09:55 AM

Heh heh, and all this time I've been bumping up my thread where I was trying to get another renaming program to work. I wish I had seen your thread sooner.

Say, can this program have a hot key so I can randomize before each time I start the Gramophone? Like maybe leave the randomizer running in the background?

jimimadrid 04-12-07 10:59 AM

Quote:

Originally Posted by letterboy1
Heh heh, and all this time I've been bumping up my thread where I was trying to get another renaming program to work. I wish I had seen your thread sooner.

I wrote this proggie, because i read different threads asking for a randomizer.

Quote:

Originally Posted by letterboy1
Say, can this program have a hot key so I can randomize before each time I start the Gramophone? Like maybe leave the randomizer running in the background?



Sorry, but this is not possible, due that after starting sh4, it restricted the access to his folders. So my programm is not able to change more the songs.

The idea is to start sh4 with my proggie instead of starting sh4 with his icon. So the proggie can first rename the songs and then start sh4.

Sailor Steve 04-12-07 11:19 AM

More cool stuff! Thanks!:sunny:

letterboy1 04-12-07 02:04 PM

Thanks Jimimadrid, randomizing once before starting SH4 will do just fine. I appreciate your good work.:)

letterboy1 04-12-07 04:46 PM

Oops, I got a "path file access error." Could it be because my SH4 main directory is on my "D" drive and not my "C"?

Dustyboats 04-12-07 10:01 PM

SongRandomiser
 
I run plain old XP Pro....but get "Runtime Error 76.......???

jimimadrid 04-13-07 12:22 AM

1. Please be sure that the proggie is in the SH4 Mainfolder. :down:
2. SH4 should not run in the background with a started game, because of denying access to the sound folder.
(If you are in the MainMenu of SH4, the sound Folder is available, and a randomizing of the songs is possible.:ping:)

http://img201.imageshack.us/img201/6839/song1ex2.jpg

Because of triyng to make this proggie as easy as possible for the different systems,
i have not implemented a check of the installpath of SH4. (no willing to access the registry)

New version, with real failure description instead of Microsofts wonderfully failure numbers :damn:, is available. It's now v1.0.

Pleasy try this version and tell me the failure descriptions - so that we will get a chance to let this proggie run on your systems.

Thanks and sorry for the trouble:roll:

Dustyboats 04-13-07 05:09 AM

Songrandomiser
 
Quote:

Originally Posted by jimimadrid
This is for all people, who loved to listen to their gramophone during the long patrols, but are nerved because of no randomized songs in SH4.

start this little software before sh4. It will randomize all Songs in the data\sound\gramophone Folder. It includes a button to start sh4.

http://img228.imageshack.us/img228/2...grandombr9.jpg

Download Linkto V1.0: http://www.file-upload.net/download-...mizer.exe.html

!!!!!!! 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


All times are GMT -5. The time now is 10:08 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.