| View previous topic :: View next topic |
| Author |
Message |
KptnLt Eric Karle
Joined: 18 Mar 2005 Posts: 592 Location: Ireland
|
Posted: Sun Jun 26, 2005 12:26 pm Post subject: |
|
|
| iambecomelife wrote: | One more thing, CRULL - I'd like to know how to alter the batch file to select from a particular number of random integers, since I might introduce a new version with even more skins in the future. For instance, to select from among 15 skins the command in the batch file is:
set /a num=%random%/2182+1
How does the number 2182 relate to the number 15? It seems a bit unusual and complicated. |
Is this conversation, just you and the beta-testers torturing the rest of us or is this released yet  |
|
| Back to top |
|
 |
Immacolata
Joined: 12 Apr 2005 Posts: 189
|
Posted: Mon Jun 27, 2005 8:00 am Post subject: |
|
|
| iambecomelife wrote: | Just a warning to everyone. The mod is best used with installations of SH3 that have the paths
C:\Program Files\Ubisoft\SilentHunterIII
OR
C:\SilentHunterIII.
This is because the batch file that produces semi-random changes in the ships' skins is extremely sensitive to the location of the program. It is possible but more difficult to tailor the file to your particular installation. |
Forgive me, but I remember from my old dos BAT days that you could use variables as a path. Ie.
Direct all data files to %PATH%\data
where %PATH%=C:\games\SH3
Is this not possible for the installer script too, then ask for path in the beginning to set as a value? Or detect path from registry? |
|
| Back to top |
|
 |
Woof1701
Joined: 10 Jan 2002 Posts: 299 Location: Munich, Germany, Home of U-96
|
Posted: Mon Jun 27, 2005 8:36 am Post subject: |
|
|
| KptnLt Eric Karle wrote: | Is this conversation, just you and the beta-testers torturing the rest of us or is this released yet  |
Of course they're just torturing us After all they could have cleared up the technical issues via mail instead of making us jump every time we see the thread move up a notch
*Just kidding folks*
But it's really making me itchy every time I see that someone has added something to this thread. So please: Make a completely new thread when the mod is released and I will skip reading this one
Thanks for all the work you're doing. It's really appreciated. And for this mod I will wait a while longer - gladly. |
|
| Back to top |
|
 |
Malakovski
Joined: 25 Mar 2005 Posts: 27 Location: SC, US
|
Posted: Mon Jun 27, 2005 11:06 am Post subject: |
|
|
| Immacolata wrote: | | iambecomelife wrote: | Just a warning to everyone. The mod is best used with installations of SH3 that have the paths
C:\Program Files\Ubisoft\SilentHunterIII
OR
C:\SilentHunterIII.
This is because the batch file that produces semi-random changes in the ships' skins is extremely sensitive to the location of the program. It is possible but more difficult to tailor the file to your particular installation. |
Forgive me, but I remember from my old dos BAT days that you could use variables as a path. Ie.
Direct all data files to %PATH%\data
where %PATH%=C:\games\SH3
|
That is correct, except that you cannot use "%PATH%" because that variable is already defined for other purposes.
But yes, if you set a variable to a path, you can then use %NAME% just like you would a regular path, for execution, copying, et cetera. If you have an old Windows 98 boot disk, you can see it doing this with %RAMDRV% for the RAM drive and %CDDRV% for the CD drive. It then copies files to the RAM drive, so I know this can be done.
Minor point though. I want this mod no matter how it installs... |
|
| Back to top |
|
 |
CRULL
Joined: 10 Jan 2002 Posts: 228 Location: RI - USA
|
Posted: Mon Jun 27, 2005 7:59 pm Post subject: |
|
|
| Immacolata wrote: | | iambecomelife wrote: | Just a warning to everyone. The mod is best used with installations of SH3 that have the paths
C:\Program Files\Ubisoft\SilentHunterIII
OR
C:\SilentHunterIII.
This is because the batch file that produces semi-random changes in the ships' skins is extremely sensitive to the location of the program. It is possible but more difficult to tailor the file to your particular installation. |
Forgive me, but I remember from my old dos BAT days that you could use variables as a path. Ie.
Direct all data files to %PATH%\data
where %PATH%=C:\games\SH3
Is this not possible for the installer script too, then ask for path in the beginning to set as a value? Or detect path from registry? |
Nothing gets installed just copied. It's using a simple batch file "copy" command. You have to tell it directly where to copy the files to by specifying the path.
Using a path statement you could have the batch file make all the changes automatically, but your making the batch file alot more complicated. I originally wrote it to switch a few files around, but nothing like what it is doing now. Something else I'm not sure you realize. There is no install process. It picks a random number and copies a certain group of files. It does this everytime you run it which can be many times. So it's not installed just once and then it works. You have to run it everytime you want random ship textures.
If you know how to get it to do exactly what you want. Then pass along the information to iambecomelife because I don't, but yes anything is possible I guess. It works fine now the way it is and I see no reason to make it more complicated though. Especially when most people will have SH3 installed in one of the two places he says it works with. If not then someone takes around 15 minutes to edit the file and that's it.
Do I think there is an easier way to go about changing the files randomly? Of course I do, but not without putting in a lot more time and probably programming it in a different language. |
|
| Back to top |
|
 |
CRULL
Joined: 10 Jan 2002 Posts: 228 Location: RI - USA
|
Posted: Mon Jun 27, 2005 8:11 pm Post subject: |
|
|
| Woof1701 wrote: | | KptnLt Eric Karle wrote: | Is this conversation, just you and the beta-testers torturing the rest of us or is this released yet  |
Of course they're just torturing us After all they could have cleared up the technical issues via mail instead of making us jump every time we see the thread move up a notch
*Just kidding folks*
But it's really making me itchy every time I see that someone has added something to this thread. So please: Make a completely new thread when the mod is released and I will skip reading this one
Thanks for all the work you're doing. It's really appreciated. And for this mod I will wait a while longer - gladly. |
Huh? Just trying to make you itchy.  |
|
| Back to top |
|
 |
Woof1701
Joined: 10 Jan 2002 Posts: 299 Location: Munich, Germany, Home of U-96
|
Posted: Tue Jun 28, 2005 6:26 am Post subject: |
|
|
| CRULL wrote: | | Woof1701 wrote: | | KptnLt Eric Karle wrote: | Is this conversation, just you and the beta-testers torturing the rest of us or is this released yet  |
Of course they're just torturing us After all they could have cleared up the technical issues via mail instead of making us jump every time we see the thread move up a notch
*Just kidding folks*
But it's really making me itchy every time I see that someone has added something to this thread. So please: Make a completely new thread when the mod is released and I will skip reading this one
Thanks for all the work you're doing. It's really appreciated. And for this mod I will wait a while longer - gladly. |
Huh? Just trying to make you itchy.  |
Damn. Got me. Again.  |
|
| Back to top |
|
 |
baronfrost
Joined: 22 Feb 2004 Posts: 20 Location: Periscope depth
|
Posted: Tue Jun 28, 2005 12:10 pm Post subject: |
|
|
Release date....Please  |
|
| Back to top |
|
 |
Mongie
Joined: 10 Jun 2005 Posts: 32 Location: Swansea. Wales
|
Posted: Tue Jun 28, 2005 12:37 pm Post subject: |
|
|
Please Please Please  |
|
| Back to top |
|
 |
Shadow9216
Joined: 15 Jun 2005 Posts: 395
|
Posted: Tue Jun 28, 2005 12:40 pm Post subject: |
|
|
Maybe if we offer him a bribe?
I'll give you ALL my renown, PLUS a German Cross in Gold! |
|
| Back to top |
|
 |
CWorth
Joined: 21 Apr 2005 Posts: 593
|
Posted: Tue Jun 28, 2005 12:53 pm Post subject: |
|
|
If you do not release this soon I will hold my breath till I die !!!
Do you really want that kind of guilt on your shoulders..LOL  |
|
| Back to top |
|
 |
Krieg-Schwein
Joined: 19 Apr 2005 Posts: 243
|
Posted: Tue Jun 28, 2005 7:24 pm Post subject: |
|
|
>>I have Reloaded My computer
>>Reinstalled a fresh copy of SH3
>>Installed the 1.2, 1.3, 1.4b patch
>>Deleted the SH3 folder in my Documents so I can start Fresh!
>>Redid all the mods I want and am going to use so I can start a new Fresh Campaign except!!!
:doh:>> I cants start my new Campaign till I get my grubby hands on This mod
Just a little more Guilt to lay on YA |
|
| Back to top |
|
 |
dertien
Joined: 23 Apr 2005 Posts: 33
|
Posted: Tue Jun 28, 2005 8:00 pm Post subject: |
|
|
I don't think that you need to install patch 1.2 and 1.3 if you have 1.4b but we definitely need this one
hope its released soon
nice work. |
|
| Back to top |
|
 |
CRULL
Joined: 10 Jan 2002 Posts: 228 Location: RI - USA
|
Posted: Tue Jun 28, 2005 9:04 pm Post subject: |
|
|
| Woof1701 wrote: | | CRULL wrote: | | Woof1701 wrote: | | KptnLt Eric Karle wrote: | Is this conversation, just you and the beta-testers torturing the rest of us or is this released yet  |
Of course they're just torturing us After all they could have cleared up the technical issues via mail instead of making us jump every time we see the thread move up a notch
*Just kidding folks*
But it's really making me itchy every time I see that someone has added something to this thread. So please: Make a completely new thread when the mod is released and I will skip reading this one
Thanks for all the work you're doing. It's really appreciated. And for this mod I will wait a while longer - gladly. |
Huh? Just trying to make you itchy.  |
Damn. Got me. Again.  |
Well it's finally done.......raining outside I think I will go for a walk.
Try to remember the longer we wait the better it will be when it's finally released.  |
|
| Back to top |
|
 |
terrapin
Joined: 30 Apr 2005 Posts: 815
|
Posted: Tue Jun 28, 2005 9:34 pm Post subject: |
|
|
STOP! Start an upload to my side first...seems it's gonna rain a little bit longer, so you won't miss anything...!  |
|
| Back to top |
|
 |
|