Search found 475 matches

by misol101
26 Jun 2016 17:13
Forum: DOS Batch Forum
Topic: CmdRunner - 3d game (CubeRunner clone)
Replies: 44
Views: 44213

Re: CmdRunner - 3d game (CubeRunner clone)

Leave the parentheses empty to run an infinite loop like for /l %%i in () do ... The loop never stops even if everything in the loop isn't executed anymore after i was 100. There is a way around using EXIT which means you have to run another cmd process. See http://www.dostips.com/forum/viewtopic.p...
by misol101
26 Jun 2016 15:22
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 25163

Re: Programs blocking the current shell

I wasn't able to follow up for some time but No, it doesn't behave like that here. Ok, interesting. Perhaps it's different on different Windows versions. Did you try running it a few times in a row? Still no weird behaviour? I found that it behaves differently, usually it runs the way I described i...
by misol101
26 Jun 2016 15:15
Forum: DOS Batch Forum
Topic: CmdRunner - 3d game (CubeRunner clone)
Replies: 44
Views: 44213

Re: CmdRunner - 3d game (CubeRunner clone)

For achieve major performnce you can do this: 1 - Use one set/A using comma separator instead using set/A&set/a&.... 2 - Using a for /L %%. () do for a loop instead using GOTO :label 3 - Do not execute every time cmdgfx. manage input into cmdgfx or use a parallel process. Look at work done ...
by misol101
26 Jun 2016 04:36
Forum: DOS Batch Forum
Topic: Kings Of Steam - a Zork-style (Interactive Fiction) game (plus re-usable IF engine)
Replies: 5
Views: 5574

Re: Kings Of Steam - a Zork-style (Interactive Fiction) game (plus re-usable IF engine)

And here is the (rather massive) IF engine adventure.bat: :: Adventure : Mikael Sollenborn 2016 :: REMAINING: :: 1. Allow several items per room (advroom.dat links to items/blockers? Need separate repr. for each room to support dropping) :: 2. "Blockers" are retarded, since they block in e...
by misol101
26 Jun 2016 04:32
Forum: DOS Batch Forum
Topic: Kings Of Steam - a Zork-style (Interactive Fiction) game (plus re-usable IF engine)
Replies: 5
Views: 5574

Re: Kings Of Steam - a Zork-style (Interactive Fiction) game (plus re-usable IF engine)

The archive also contains another, very simple, extra game. To play this one, type "adventure.bat advorg". All the game logic, descriptions etc are in the folders KOS and advorg. The one MAJOR flaw of the engine is you can only have one object per room. This is a legacy thing, from the sta...
by misol101
26 Jun 2016 04:24
Forum: DOS Batch Forum
Topic: Kings Of Steam - a Zork-style (Interactive Fiction) game (plus re-usable IF engine)
Replies: 5
Views: 5574

Kings Of Steam - a Zork-style (Interactive Fiction) game (plus re-usable IF engine)

Ok, so... this is a game I made for a friend of mine, which is about going somewhere for a sauna steam bath, after which things turn rather weird Link : http://www.mediafire.com/download/62ck41dvifjcad9/KingsOfSteam.zip https://www.dropbox.com/s/bduzz4wz3dnexka/kings.PNG?raw=1 To run, launch KingsOf...
by misol101
26 Jun 2016 03:20
Forum: DOS Batch Forum
Topic: Soliaire games - Freecell, Solitaire, Golf
Replies: 0
Views: 6623

Soliaire games - Freecell, Solitaire, Golf

No, I don't plan to redistribute all of the stuff from the Gotoxy archive ( http://www.dostips.com/forum/viewtopic.php?f=3&t=7129 ) But I thought maybe the solitaire games could deserve their own thread. Link: http://www.mediafire.com/download/ho7qae0px6qd781/solitaire.zip https://www.dropbox.co...
by misol101
25 Jun 2016 17:52
Forum: DOS Batch Forum
Topic: MarioRun - 2d scrolling game with parallax background
Replies: 16
Views: 14187

Re: MarioRun - 2d scrolling game with parallax background

Here is the script: :: Parallax scrolling jumping game : Mikael Sollenborn 2016 @echo off setlocal ENABLEDELAYEDEXPANSION cls & bg font 0 set W=240&set H=110 mode con lines=%H% cols=%W% mode con rate=31 delay=0 for /F "Tokens=1 delims==" %%v in ('set') do if not %%v==H if not %%v==...
by misol101
25 Jun 2016 17:49
Forum: DOS Batch Forum
Topic: MarioRun - 2d scrolling game with parallax background
Replies: 16
Views: 14187

MarioRun - 2d scrolling game with parallax background

You control Mario in this silly little game, don't run into the bad guys! Keys: SPACE or UP to jump DOWN to crouch (you can hold down the key to keep crouching) LEFT to run backwards (funny thing in this game: you can actually run away from the enemies, at least in the beginning of the game. However...
by misol101
25 Jun 2016 09:05
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 25163

Re: Programs blocking the current shell

The command shell initially consists of the (main) process "Console Window Host" and one working thread ("Windows Command Processor"; lets name this thread T1). With "start /B "" banana.bat " you create another thread (=: T2). When you press CTRL+BREAK then t...
by misol101
25 Jun 2016 04:52
Forum: DOS Batch Forum
Topic: CmdRunner - 3d game (CubeRunner clone)
Replies: 44
Views: 44213

Re: CmdRunner - 3d game (CubeRunner clone)

The cmdrunner archive was updated (see top for link), and now includes a second batch file called cmdrunner_fog.bat. As the name indicates, if you run cmdrunner_fog.bat, then you get "fog" in the game, i.e. cubes in the background are less visible. This looks better IMHO, but the downside ...
by misol101
25 Jun 2016 04:48
Forum: DOS Batch Forum
Topic: Listb - a file explorer/viewer inside the console window
Replies: 27
Views: 127825

Re: Listb - a file explorer/viewer inside the console window

Archive was updated again, following the long and somewhat confused discussion here: http://www.dostips.com/forum/viewtopic.php?f=3&t=7242&p=47374 Basically, when pressing 'i' or 'j' to launch a file, com/exe/bat/cmd files runs synchronously and in the same cmd window (as before), whereas al...
by misol101
25 Jun 2016 04:44
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 25163

Re: Programs blocking the current shell

aGerman: Hehe, this just gets more confusing The output is: "C:\Program Files\Internet Explorer\iexplore.exe" %1 But when I launch a html file with e.g. start "" "file.html", Chrome launches! Edit: and I never use Internet Explorer, I use either Firefox or Chrome.
by misol101
24 Jun 2016 18:10
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 25163

Re: Programs blocking the current shell

I've not seen this happening with other utilities and using /b with start. Have you experienced this with any other batch script? At the top of this page(page 2) I write about some odd behaviour that is caused by running start /b with a very simple example file called banana.bat. Does it behave the...