.kkapture 0.01 - demo capturing made easy (hopefully)

category: code [glöplog]
We should fight Farbsuxx monopoly in the courts!
They are using their Popular demos to establish monopolies in new emerging markets!!! ;)
added on the 2005-04-04 14:04:42 by makc makc
Crashes with the Traction demosystem (at least Eight Scenes of Human Life and Traction, but the others use the same systems). Instruction at address 0x04a02e04 referenced memory at "0xfeedface"

Here's the log output, though it doesn't say much

avi: opened audio stream at 44000 hz, 2 channels, 16 bits
main: shutting down...
avi: stopped recording
avi: exception during avifile shutdown, video may be corrupted
avi: avifile shutdown complete
added on the 2005-04-04 14:29:46 by Preacher Preacher
this bug is known, though i haven't been able to find out *why* it occurs yet. this only seems to happen for some codecs, not all...

i'm looking into it.
added on the 2005-04-04 14:52:47 by ryg ryg
Preacher: This is commonly caused by people feeding invalid pointers into WinAPI calls -- from what I recall, the Traction demo system feeds 0xfeedface into GetProcAddress() (as a string) at some point, and Windows happily accepts it and returns NULL. One just has to check for invalid pointers here and there and emulate Windows brokenness. :-)
added on the 2005-04-04 16:23:09 by Sesse Sesse
seems that some codecs don't work properly: i've failed with divx and xvid. but simple codecs such as radius cinepak works well.

- sound: if there is a mp3/ogg in the demo, sound can be added in virtual dub, but it isn't a solution.
- feature: batch .kkapture, for massive testing process, for example at all night ;)
added on the 2005-04-04 17:27:11 by diver diver
btw, what about these options:
- capture sound
- capture video
for separate&complex testing?
added on the 2005-04-04 18:01:56 by diver diver
now all i need to do is make pr0ndemos
this detour-stuff, is it only for sub-processes or is it possible to monitor f.i. all filesystem calls from all processes on the system?
rasmus: isn't that what the global windows hooks are for? The detour stuff requires starting a child process with debugging privileges AFAIK.
added on the 2005-04-04 19:35:17 by kb_ kb_
detours allows you to inject code into processes you have write privileges to. you do not need to act as a debugger. however, detours also provides routines to modify binaries. this might help with what you're trying.
added on the 2005-04-04 20:16:20 by ryg ryg
looks weird with this prod of mine, with all frames dumped it looks very slowly, with divx colors crashes a bit.. ideas?
added on the 2005-04-04 20:30:47 by acidbrain acidbrain
Just as an information note, "kk" (pronounced as "kaka") in Spanish means "shit".

And you will find more than one folder named "kk" on every spanish content creator machine (not necessarily coder, or even scener), where we test our shit.

It was funny on its day, with "kkowboy", but this is getting ridiculous already
added on the 2005-04-05 00:39:15 by Jcl Jcl
I agree, is quite ridiculous for us.. is the shitapture
added on the 2005-04-05 01:41:28 by mrdoob mrdoob
Just as an information note, "kk" (pronounced as "caca") in French means "poo" (we're .polite).
added on the 2005-04-05 01:50:04 by hitchhikr hitchhikr
kaka in russian means shit too, but, i'm reading "kkapture" as "kaykapture" not as "kakapture"... ;)
added on the 2005-04-05 05:12:14 by diver diver
I'm reading it simply as "capture".
added on the 2005-04-05 07:56:40 by wayfinder wayfinder
thank you wayfinder.. very helpfull :D
added on the 2005-04-05 08:20:08 by mrdoob mrdoob
hey, 'kaka' in lithuanian means 'poo' too! i guess it's an international word afterall :)
added on the 2005-04-05 09:41:26 by NeARAZ NeARAZ
in Hungarian it is shit too :)
added on the 2005-04-05 09:54:00 by pohar pohar
vittu mitä paskaa :)
added on the 2005-04-05 10:00:50 by keops keops
and thank you Reed for teaching me this kind of crap! :)
added on the 2005-04-05 10:01:47 by keops keops
our kk can beat your kk

kk is universal
kk is everywhere
Well at least the scene has something in common! kk is kk anywhere XD
added on the 2005-04-05 16:08:57 by _10b0 _10b0
hm, that kk thing even works in german, too ;)
anyway, '.kkrieger' simply reads 'krieger', '.werkkzeug' reads 'werkzeug' and '.kkapture' reads 'capture'. simple as that. (okay, some might argue pronouncing 'werkzeug' is difficult enough but that's another topic ;)
added on the 2005-04-05 17:08:01 by fiver2^fB fiver2^fB