View Single Post
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