VOGONS

Common searches


First post, by ColdBrain

User metadata
Rank Newbie
Rank
Newbie

I want to create a batch menu for the GOG version of Blood, for use with D-Fend Reloaded. I'll point the batch file to either of the game executables (BLOOD.EXE and CRYPTIC.EXE). But I want to add some bells and whistles to it, like a box around the text. Is there a tutorial for it? I found one, but it requires me to have DOS files and I don't have DOS installed.

Thanks in advance.

Reply 1 of 8, by leileilol

User metadata
Rank l33t++
Rank
l33t++

There was a very old (1987) program that would do exactly this, to generate an ASCII box with a menu system for batch file editing afterward. Forget what it was called though, might've had a stupidly simple name like 'makemenu' or something.

apsosig.png
long live PCem

Reply 2 of 8, by zirkoni

User metadata
Rank Member
Rank
Member

Something like this?

@echo off
:start
cls
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º Menu º
echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹
echo º 1. Blood º
echo º 2. Cryptic Passage º
echo º 3.+ MODS º
echo º 4.+ Multiplayer º
echo º 5.+ Editors º
echo º 6. Setup º
echo º 7. DOS Prompt º
echo º 8. Exit º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
choice /c12345678 /N Your choice:
if errorlevel 8 goto exit
if errorlevel 7 goto prompt
if errorlevel 6 goto setup
if errorlevel 5 goto editors
if errorlevel 4 goto multi
if errorlevel 3 goto mods
if errorlevel 2 goto cryptic
if errorlevel 1 goto blood



:editors
cls
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º Menu º
echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹
echo º 1. Blood º
echo º 2. Cryptic Passage º
echo º 3.+ MODS º
echo º 4.+ Multiplayer º
echo º 5.- Editors º
echo º a. Art Editor º
echo º b. Map Editor º
echo º º
echo º 6. Setup º
echo º 7. DOS Prompt º
echo º 8. Exit º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
choice /c12345ab678 /N Your choice:
if errorlevel 10 goto exit
if errorlevel 9 goto prompt
if errorlevel 8 goto setup
if errorlevel 7 goto maps
if errorlevel 6 goto art
if errorlevel 5 goto start
if errorlevel 4 goto multi
if errorlevel 3 goto mods
if errorlevel 2 goto cryptic
if errorlevel 1 goto blood


:multi
cls
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
Show last 27 lines
echo  º        Menu         º
echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹
echo º 1. Blood º
echo º 2. Cryptic Passage º
echo º 3.+ MODS º
echo º 4.- Multiplayer º
echo º a. Startserver º
echo º b. Connect º
echo º º
echo º 5.+ Editors º
echo º 6. Setup º
echo º 7. DOS Prompt º
echo º 8. Exit º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
choice /c1234ab5678 /N Your choice:
if errorlevel 10 goto exit
if errorlevel 9 goto prompt
if errorlevel 8 goto setup
if errorlevel 7 goto editors
if errorlevel 6 goto connect
if errorlevel 5 goto startserver
if errorlevel 4 goto start
if errorlevel 3 goto mods
if errorlevel 2 goto cryptic
if errorlevel 1 goto blood

etc...

This is what it looks like in DOSBox:
dosbox_000.png

https://youtube.com/@zirkoni42

Reply 4 of 8, by Egg shen

User metadata
Rank Newbie
Rank
Newbie

Application to create box by command line, windows xp or later
https://www.youtube.com/channel/UCCpuZuffdIcBcmqUEueXYeg
Download:
https://mega.nz/#F!y9YlWRYK!cuFUQYjjlC-LFbgG4k40GA

Last edited by Egg shen on 2016-11-02, 14:18. Edited 1 time in total.

Reply 5 of 8, by keropi

User metadata
Rank l33t++
Rank
l33t++

http://reimagery.com/fsfd/menu.htm , check out "Medley" in "OTHER SMALL MENUS" section

🎵 🎧 PCMIDI MPU , OrpheusII , Action Rewind , Megacard and 🎶GoldLib soundcard website

Reply 6 of 8, by chinny22

User metadata
Rank l33t++
Rank
l33t++
ColdBrain wrote:

Oh well, thanks for the code! But I also wanted to learn to do them myself. Still, this will be very useful. 😀

But now you do!
Mess round with it and see how it works 😀
I do the same thing for old shareware titles like Duke Nukem, Jill of the Jungle, etc where each episode was a separate executable.

Reply 7 of 8, by Daniel3D

User metadata
Rank Newbie
Rank
Newbie
keropi wrote on 2016-06-20, 08:49:

http://reimagery.com/fsfd/menu.htm , check out "Medley" in "OTHER SMALL MENUS" section

The site has degenerated to the internet archive. But the zip is still available.
(although for me, the first solution worked wonderfully.) This is indeed a nice tool.


Medley is a small yet remarkably full-featured menu program. The program is only 6K and uses a modest 12K RAM when resident.
A second program is used for menu/display configuration, or you can manually create and edit menu files with a text editor.

Features:

  • Submenu capability (no more than two levels recommended)
  • Menu selection is accomplished with user-definable hotkeys- or by moving a menu bar to the desired item.
  • Option to prompt for filespecs/parameters when a menu item is selected.
  • Built-in pop up DOS command line menu option.
  • Menu title and colors are adjustable.
  • Built in screen blanker and date/time display.

Limitations:

  • Maximum of 20 menu items allowed per menu file.
  • No mouse support.

Author: Jim Knopf, aka Jim Button (1992).
1992-07-30 release.

Attachments

  • Filename
    medley.zip
    File size
    30.46 KiB
    Downloads
    169 downloads
    File comment
    I attach it for safekeeping
    File license
    Fair use/fair dealing exception