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 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-18-07, 01:11 PM   #1
eweber
Seaman
 
Join Date: Nov 2002
Posts: 36
Downloads: 0
Uploads: 0
Default My random Splashscreen generator

Good hunting all,

I've always wanted random Intro splash screens in SH3 so i made my own batch file based on work done by Nathan Rooke that works for me. I am limited to 99 files that have to be named 01.tga, 02.tga, etc...99.tga, but this works fine for me....

Here's what i use:


@ECHO OFF
:: Random.bat, Version 2.00 for Windows 2000 / XP
:: Generate a semi-random number between 0 and 99.
::
:: Written by Nathan Rooke
:: Modified by Rob van der Woude ( http://www.robvanderwoude.com )
:: Modified again by Eric Weber for Silent Hunter III random Splash Screens
:: Be sure to use no more than 99 files, naming them 01.tga, 02.tga, ...99.tga

:TOP
:: Change the FIND string and the tokens/delims
:: parameters for non-US language and settings:

SET NAT=%Random%
IF %NAT% GTR 9 SET /A NAT = 1%NAT:~-2,2% - 100
SET NAT

IF EXIST %NAT%.tga (
GOTO COPYIT
) ELSE (
GOTO TOP
)
GOTO END

:COPYIT
ECHO.
copy /y %NAT%.tga "D:\Ubi Soft\SilentHunterIII\data\Menu\Loading\Intro.tga"
ECHO.


:: Enter you path for SilentHunter III Here
:: or if you use SH3 Commander, add double colons
:: to de-activate this line:

START C:\"Program Files\Ubi Soft\SilentHunterIII\sh3.exe"



:: If you use SH3 Commander, enter its path here
:: and remove double colons to activate this line:

::START C:\"Program Files\SH3 Commander\SH3 Commander\SH3Cmdr.exe"

:END



Here's some of my personal splash screens using real photos derived from U-Boot.RealSimulation.com gallery:







I'd be happy to share these with everyone but don't know about photo licensing issues etc.
ew
__________________
When you shoot at a destroyer and miss, it's like hit'in a wildcat in the ass with a banjo!
eweber is offline   Reply With Quote
 


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 10:57 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.