Is this the Selector you need?
http://lostsite.alte...org/wiz/?p=1052
Cheers, Neil
No, I need a multiple option selector that my wrapper creates command parsing in. Kounchs' selector allowed me to create unlimited command options. That made the scripting part easy for me to include the many options to run doom with. So I have another idea for you guys. I use gmenu2x like this for example (can be adapted for prboom):
title=Doom 2
description=Doom Interpreter - best of Doom II addon pwads
icon=/mnt/sd/gmenu2x/skins/Liquido/icons/doom2.png
exec=/mnt/sd/game/interpreters/zdoom/zdoom_mods_gmenu2x.gpe
params=doom2 [selFile]
manual=/mnt/sd/game/interpreters/zdoom/2xZdoom220.txt
clock=200
selectordir=/mnt/sd/game/interpreters/zdoom/gmenu/mods/doom2/
selectorfilter=.png
selectorscreens=/mnt/sd/game/interpreters/zdoom/gmenu/mods/doom2/
selectoraliases=/mnt/sd/game/interpreters/zdoom/gmenu/_doom2_mods.txt
zdoom_mods_gmenu2x.gpe
#!/bin/bash
/mnt/sd/apps/loadscreen /mnt/sd/apps/loading.bmp
files=""
iwad=""
deh=""
warp=""
skill=""
lvl=$3
if [ "$1" = "" ] ; then
iwad=doom2
else
iwad=$1
fi
shift
if [ -f wad/$iwad/$1.wad ] ; then
files="-file wad/$iwad/$1.wad"
fi
if [ -f wad/$iwad/$1.pk3 ] ; then
files="-file wad/$iwad/$1.pk3"
fi
for addon in levels music graphics
do
if [ -f wad/$iwad/$1_$addon.wad ] ; then
files="$files wad/$iwad/$1_$addon.wad"
fi
done
if [ -f wad/$iwad/$1.deh ] ; then
deh="-deh wad/$iwad/$1.deh"
fi
if [ -f wad/$iwad/$1.warp ] ; then
warp="-warp `cat wad/$iwad/$1.warp`"
fi
if [ -f wad/$iwad/$1.skill ] ; then
skill="-skill `cat wad/$iwad/$1.skill`"
fi
exec ./2xZdoom220 -iwad wad/$iwad.wad $deh $files $lvl $warp $skill