pouët.net

How to make youtube like your textmode demos

category: offtopic [glöplog]
the Roguelike-comm just is users only! they have no idea about code! they maintain their stuff, maybe tweak a little bit here and there, but the original coders have left their projects for a long time! they dont know shit, aswell as me when it comes to console-coding, else i´d have jumped in myself for sure! but you´re right, the projects emselves should be putting compatibility! just they cant! maybe thats what mayans calendar is about: no more coders left to maintain what should be maintained! so world is dying! ;) :(
@Moerder: some textmode demos are console applications, others are windows applications that create a console by themselves; that's basically the weird behavior you were seeing.
added on the 2012-12-12 20:38:47 by sol_hsa sol_hsa
exactly!
also:
PeekMessage/DispatchMessage - Calls are only there to have ESC-Support normally, unless the demo has some interactive part(s), which is very uncommon for textmos...i watched all the entries for TMDC ever and none has any interactivity. (they may have relied on some given code maybe, and thought its a good idea to keep it in!)

about music: we (TRSi) used fmod in both our prods, and yes: all timings are using fmods-timing, which is shit, we know, but it works well with textmode!
(no idea about others demos...we dont need to disassemble, we just know how its done!)
Just saw this topic.
AWESOME, guys!

Thanks Sol for the youtube tuto, and tons of kudos for 1)doing a Win7 wrapper and 2) using my demo as example :D

so maybe textmode is still not dead yet :D
added on the 2012-12-13 04:46:11 by BarZoule BarZoule
@fragment: when will you make the tool/code available? It really sucks that Win7 does not provide a full-screen console..
added on the 2012-12-23 15:16:45 by trc_wm trc_wm
@Sol: If you ever figure out another lossless format to upload than HuffYUV, I'd like to know about it. Youtube uses ffmpeg/libav/etc. yet when I try FFV1 or Lagarith or other supposedly supported codecs, Youtube rejects them.
added on the 2012-12-24 06:35:25 by trixter trixter
Unfortunately the development speed went down a bit but I'm back working on it.

Here is the first pre-alpha preview version.

Copy both files into the demo's directory and launch consolewrapper.exe. It will launch and wrap the first exe it finds (skipping consolewrapper.exe :P). Usually demos only have one exe so this is sufficient for now.

I've only tested this on a handful of demos. It seems to work on at least The Flying Hobo, Lick Weed and The Turing Machines Didn't Care. There are many which it does not work with yet as the implementation is incomplete.

The current version only supports 8x8 font, windowed only (but the window is freely scalable!). Nearest neighbor filtering only, will be configurable later. Also the keyboard/mouse input is not yet passed through. Closing the window should close the app properly. Rendering is done via simplest possible OpenGL; colored and textured triangles.

I successfully captured a few test clips with Fraps. The current version should be enough to take full captures of the ones it works with.

Features planned:
- compatibility with all the demos
- input passing
- hotkeys (fullscreen etc)
- configurable launcher (executable selection, fullscreen/windowed, texture filtering mode, font size, 2x/3x/etc scale)
- after it works for demos, it could be expanded to work on interactive apps such as games or why not even the cmd.exe
added on the 2012-12-25 00:03:05 by fragment fragment
The wrapper doesn't seem to do anything on XP; my demo gets a regular console. Is that supposed to happen?
added on the 2012-12-25 00:11:58 by trc_wm trc_wm
This will happen if the wrapping fails. When it works a new window is created and the original console window is hidden.

Developed and only tested in Win7. Which demo did you try? Try one of the listed ones. I'll look into it..
added on the 2012-12-25 00:15:27 by fragment fragment
The Flying Hobo has the same behavior.
added on the 2012-12-25 00:31:15 by trc_wm trc_wm
Oops, the path for the dll was hard coded. I've updated the zip. Please try now :)
added on the 2012-12-25 00:45:01 by fragment fragment
Both my demo and The Flying Hobo crash with a non descriptive error message. "TMDC15.exe has encountered a problem and needs to close"

AppName: tmdc15.exe AppVer: 0.0.0.0 ModName: unknown
ModVer: 0.0.0.0 Offset: 5ed1bace
added on the 2012-12-25 00:53:24 by trc_wm trc_wm

login