Search found 475 matches
- 02 Jun 2020 15:47
- Forum: DOS Batch Forum
- Topic: Game Of Life
- Replies: 21
- Views: 15563
Re: Game Of Life
Nice :) Here is a rather minimal version using cmdgfx.exe: @echo off set /a w=160, h=80, density=10, col=1 mode %w%,%h% if not defined _ set _=. & call %0 | cmdgfx.exe "fbox 0 0 db & block 0 0,0,%w%,%h% 0,0 -1 0 0 - random()*100/(101-%density%)" S :rep echo "cmdgfx: block 0 0,0,%w%,%h% 0,0 -1 0 0 - ...
- 02 Jun 2020 08:34
- Forum: DOS Batch Forum
- Topic: Performance & Optimization of Batch Files
- Replies: 3
- Views: 4323
Re: Performance & Optimization of Batch Files
Ok, here is my no 1 trick: use another language :P (best bet: jscript+minimal batch startup) It would actually be interesting to know if there is any other common scripting language as slow as batch? But ok, trying to be more helpful regarding the topic, from what I can remember off the top of my he...
- 28 May 2020 11:48
- Forum: DOS Batch Forum
- Topic: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
- Replies: 125
- Views: 215667
Re: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
Well, hope that was helpful. Just a follow-up because I realized I forgot about another method of achieving a high(er) frame rate without cmdgfx server: using start /B to run cmdgfx. Unfortunately it doesn't work well with cmdgfx_VT because it results in concurrent access, leading to possible screen...
- 22 May 2020 10:35
- Forum: DOS Batch Forum
- Topic: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
- Replies: 125
- Views: 215667
Re: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
I will focus mostly on making interactive menus *without* using a server, as it is significantly simpler and possibly good enough. I am using an image (img\123.bmp) that is in the cmdgfx archive, so it should be possible to run these scripts straight from the cmdgfx folder if you create them there. ...
- 22 May 2020 09:38
- Forum: DOS Batch Forum
- Topic: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
- Replies: 125
- Views: 215667
Re: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
1. image magick is indeed the solution but then you also need to resize it to fit the command window. 2. I think i can will make it with static pictures but how do you do with animations? 3. i tried and opened most of the batch given as examples in cmdgfx i downloaded and for the life of me, I can'...
- 20 May 2020 03:59
- Forum: DOS Batch Forum
- Topic: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
- Replies: 125
- Views: 215667
Re: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
This script can be used to show any jpg file in the command line once ImageMagick is installed: @echo off & setlocal if "%~1"=="" echo Error: no input. Usage: showjpg file.jpg [x] [y] [char] [xFlip] [yFlip]& goto :eof if not "%~x1"==".jpg" echo Error: not a jpg file& goto :eof if not exist %1 echo E...
- 20 May 2020 02:39
- Forum: DOS Batch Forum
- Topic: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
- Replies: 125
- Views: 215667
Re: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
never mind. cannot print jpeg, only 16 colors pcx command is: cmdgfx_vt "image whatever.pcx 0 0 O -1 0,0 0 0" Hi scavenger, that is (partly) incorrect: cmdgfx_VT and cmdgfx_RGB can print full color BMP images: cmdgfx_vt "image whatever.bmp 0 0 O -1 0,0” However you are correct that it doesn’t suppo...
- 09 Feb 2020 03:20
- Forum: DOS Batch Forum
- Topic: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
- Replies: 125
- Views: 215667
Re: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
Ok, can you give an example? (of a line that does not work as expected?). Do you know if this worked in earlier versions?
Or, PM me the code of yours that doesn’t work as expected.
- 03 Feb 2020 17:31
- Forum: DOS Batch Forum
- Topic: Cmdwiz - 54 operation cmd helper tool (now with Unicode)
- Replies: 58
- Views: 108160
Re: Cmdwiz - cmd helper tools (now with Unicode)
Release of version 1.4 (link in first post) What's new: 1. getfullscreen operation added (see 1.15) 2. gettaskbarinfo operation added (see 10.7) 3. bug fix: fullcreen op now working for fullscreen 0 also if running legacy console (even when not forcing legacy mode) 4. gxyinfo op can now also be use...
- 03 Feb 2020 17:08
- Forum: DOS Batch Forum
- Topic: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
- Replies: 125
- Views: 215667
Re: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
Stability update to version 1.5. Wasn't planning on updating this, but then my WIndows 10 started mis-behaving, because I can no longer open a cmd.com window without it hanging! The only fix I found was to enable legacy console mode (some info at https://www.guidingtech.com/cant-type-in-cmd-error/ ...
- 03 Feb 2020 15:20
- Forum: DOS Batch Forum
- Topic: CmdRunner - 3d game (CubeRunner clone)
- Replies: 44
- Views: 43571
Re: CmdRunner - 3d game (CubeRunner clone)
Mini-update: fullscreen (Ctrl-Enter) should now hopefully cover entire screen even when using legacy console or earlier than Windows 10.
- 16 Jan 2020 19:16
- Forum: DOS Batch Forum
- Topic: ptnio - Portable TCP Network IO
- Replies: 2
- Views: 5474
Re: ptnio - Portable TCP Network IO
Took me a year and a half to get around to it, but I finally tried it and it works as advertised as far as I can tell. Good job!
See viewtopic.php?t=7321 for where it was used.
Thanks!
See viewtopic.php?t=7321 for where it was used.
Thanks!
- 16 Jan 2020 19:00
- Forum: DOS Batch Forum
- Topic: Blockout (3d Tetris) !
- Replies: 17
- Views: 20218
Re: Blockout (3d Tetris) !
Archive update : 2 player support over network! Having this thread pop up reminded me that there was still one thing I wanted to try out: a 2 player game over network. I remembered this thread: https://www.dostips.com/forum/viewtopic.php?t=8736 by TSnake41, got ptnio.exe and pretty much copied the ...
- 12 Jan 2020 21:33
- Forum: DOS Batch Forum
- Topic: [GAME] Asteroid Destroyer
- Replies: 3
- Views: 6146
Re: [GAME] Asteroid Destroyer
Not too bad. I'm just going to point out that using cmdgfx_RGB (in server mode), you could fairly easily have this game: 1. without flickering 2. without the need for legacy console 3. with bitmap transparency (i.e no black background for e.g. crosses overwriting other bitmaps) 4. play at a high, co...
- 06 Jan 2020 10:42
- Forum: DOS Batch Forum
- Topic: DrawTXT.exe graphic animations to run on console and create your 2D games
- Replies: 14
- Views: 25234
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
I am pleased to see you have taken over this madness.
Finally I can retire in peace
Finally I can retire in peace