-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNEWMDF.BAT
71 lines (65 loc) · 1.79 KB
/
NEWMDF.BAT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
@echo off
:: DOSBox compatible new mdf util
:: Used by NEWMOD.BAT
::
:: BHZ Skeleton Module for MBBS v6.x
:: Mark Seelye (bhz) (c)2023
:: burninghorizon.com, bhz.co
:: 2 required args
:: name and file
IF "%2"=="" goto usage
set _name=%1
set _file=%2
:: Make a Module File
@echo ; %_name% Module MDF - Autogenerated by NEWMDF.BAT > %_file%
@echo. >> %_file%
@echo Module Name: %_name% Module >> %_file%
@echo. >> %_file%
@echo Developer: Your Name 20??-??-?? >> %_file%
@echo. >> %_file%
@echo Requires: >> %_file%
@echo Replaces: >> %_file%
@echo. >> %_file%
@echo Install: >> %_file%
@echo. >> %_file%
@echo Online user manual: >> %_file%
@echo. >> %_file%
@echo DLLs: %_name% >> %_file%
@echo MSGs: %_name% >> %_file%
@echo. >> %_file%
@echo Btrieve page size: 128 >> %_file%
@echo Btrieve files: 1 >> %_file%
@echo. >> %_file%
@echo Cleanup: >> %_file%
@echo. >> %_file%
@echo Event-1: >> %_file%
@echo Event-2: >> %_file%
@echo Event-3: >> %_file%
@echo Event-4: >> %_file%
@echo. >> %_file%
@echo Add-On Utility: >> %_file%
goto end
:usage
echo.
echo Create new MDF file (DOSBox compatible) v0.1
echo (used by NEWMOD.BAT)
echo.
echo BHZ Skeleton Module for MBBS v6.x
echo Mark Seelye (bhz) 2023
echo burninghorizon.com, bhz.co
echo.
echo USAGE:
echo NEWMDF.BAT NAME FILE
echo NAME is the name of your mod, usually Dev ID + Mod Id (EX: BHZSKLN)
echo File is the path/filename for output mdf file.
echo Ex: c:\bbsv6\SRC\FOO\BARRR\FOOBARRR.MDF
echo Notes:
echo For best effect enter NAME in ALL CAPS
echo.
echo Examples:
echo NEWMDF.BAT BHZBLURP C:\bbsv6\src\bhz\blurp\BHZBLURP.MDF
echo Creates new mdf in C:\bbsv6\src\bhz\blurp\ called BHZBLURP.MDF
echo.
goto end
:end