Guys, I'm now getting some 3d modeling work started on my game and some voice acting lines, But when I write my game idea concepts out I use a runnable dos windows script to test the ideas and concepts. So I use a dos windows program called Insertbmp.exe to display 24 bit bitmaps from inside the windows console..... The problem already is that 24 bit bitmaps are too big in filesize.
Filesize is one of the big problems that's frustrating me because it takes a meg to display a full size bitmap image in my dialog graphic window of my game when it should only be 100k in size if it was displayed in JPG format instead of 24-bit bitmap which this program does... BUT the other more serious problem it suffers from is when I hit alt tab, to switch to another window to edit my script and then switch back again into the console, poof, gone are all my bitmap graphics, all wiped out from the console... So the graphics only stay in the console as long as you don't hit alt tab or have another window pulled over in the way or it wipes the graphics out like an eraser.........This is not what I want windows to be doing to my graphics.
So can someone help me out and write a short fix that can display bmp or (even better if possible) display jpg images in the windows console that 1) Saves me
a heck of a lot of filesize space) and stays put on the screen when you switch over to a different window because insertbmp.exe is NOT WINDOWS FRIENDLY when other windows are just act like erasers rubbing out all the graphics.
The program I use also allows you to set the bitmap size you want to display as well, that's real handy. To manualy flush the console of all screen graphics I have to use MODE CON Command to redraw the screen to clear it when needing to display more graphics to avoid overlapping issues..... The reality is it's difficult to debug or test my game out when I keep on losing the graphics from off the console window and I cannot release a game with this 'oops, my bitmaps have all fallen down again like loose belt on your pants' nonsense going on. Its most annoying and I hope there's a fix.
2) Cut Audio off Timer is Needed for Skipping Audio Dialog in Cutscenes. If I just use Pause > nul to try to skip through audio dialog, each time sound.exe plays
the audio, it will create a hall of echoes problem and be a huge clanging mess of everybody still speaking their lines at once.. So I need this simple little timer for audio dialog that just waits for the spacebar or - key to be pressed to allow me to skip audio cutscenes. if the spacebar or - key is not pressed then it continues playing the sound and the timer continues the countdown and then exits. But if the key or spacebar is pressed while the timer is counting down, it IMMEDIATELY STOPS ALL audio sound playing and makes the jump to where i need it to go in the code to play the next audio sequence.......
Example
Skipsound.exe /t 8000 && goto cutscene 2
3) SOUND.EXE Works playing one or more sounds in the console. bUT the program only has WAV support is that WAV has a tendency to cuts out the audio after playing the wav for several minutes and then you suddenly lose the Ambient sounds.. So I need a sound.exe program that supports OBB VORBIS or mp3 so I don't have anymor of this audio cutting out problem. If anyone can help me out to give me these fixes to these buggy programs I been using, let me know. In short these bugs have been driving me up the wall, especially losing the bitmaps off the screen when trying to test the graphics while trying to debug the script..
Hi, for command line player i found this:
cmdmp3
mxplay
dlcplayer
and most of media player can be used from command line (windows media player, vlc ... just read the documentation)
hope this help ;)
I tried all three and in the first two The programmers of these programs have left the keyboard become disabled for too long limiting the programs to only playing 1 sound file at a time and having to wait for it to finish playing the file before being able to even use the keyboard again.
That's no good to me.
And the third Program mpxplay is useless has a ton of features, but soon as you play a sound file, it wants to take you into a playlist directory instead. And despite it has tons of features, there's no command line suppression of the screen output to suppress that window playlist so that's NO GOOD either
Hi,
sorry but my experience ends with VLC. I'm on linux so i can't test this softwares, and i've never used any external media player for my games.
But if you find something helpful, share it here for others ;)
Good Luck with your project.
All I need is a sound program that suppresses all screen output and just plays my ogg or mp3 file by command line only but more importantly dosen't shut down the keyboard controller for too long but keeps it iopen and active while playing the sound.
Because the other programs just lockdown the keyboard all the time when the sound is playing.you can't have that in video games, the keyboard controller needs to be active..
i search google for something and found this:
and some useful programs you can found here:
http://ask.metafilter.com/37363/Commandline-MP3-Players-crossplatform
The Start Command dosen't suppress the VLC player window unfortunately. and if I can't suppress the window, then it going to interfere with the console becaue there's no screen refresh with INSERTBMP.exe, it just displays pictures in the console but dosen't refresh the screen. Now as for playing mp3 or ogg sounds files in my games, this is bascially what I need it to do.
c:\tess\sound play storm894.mp3
or sound play Spacestation1.ogg if its ogg.
c:\tess
And that's all it should do while playing the sound and can play more than 1 sound at the same time, and the keyboard is all free to type on while the sounds are playing.
Well I may already got a workaround for INSERTBMP's Screen Refresh Console Bug because The screeen needs to be updated when it detects another window in the way.