Windows 8, the end of 4k on windows?
category: general [glöplog]
Anyone who has done a size-coded demo on windows will probably be aware of the fact that you have to chuck out the manifest, then link against an ancient system32.dll from windows 98 if you want to save yourself 3k.
It appears that windows 8 will finally be dropping backwards compatibility with the old system 32. Bummer.
So this is partially a requiem for 4k, partially a suggestion (how about 7k?), and mainly a question:
How the hell do you chuck out the manifest in a 64 bit windows binary and still get the bastard to load? Anyone with the answer to this may just save 4k!
It appears that windows 8 will finally be dropping backwards compatibility with the old system 32. Bummer.
So this is partially a requiem for 4k, partially a suggestion (how about 7k?), and mainly a question:
How the hell do you chuck out the manifest in a 64 bit windows binary and still get the bastard to load? Anyone with the answer to this may just save 4k!
[citation needed]
What Gargaj said. None of the 64bit executables I did had a manifest (yes, both manifest tool and linker are set to "no") or linked against anything obscure, and all of them run well. So, uh, what?
we're obviously doing it wrong :-D
There's hundreds of demos that don't run on Win 7 or Vista, and they're still popular. 256b demo's don't run on those systems and they're still being made.
It's not the end of 4k's. There will just be more youtube rips.
It's not the end of 4k's. There will just be more youtube rips.
manifest? vcrt maybe? mmhh...
Clearly (by kb and gargaj's comments) you can do it without employing ancient DLLs. so, er, how? I just get "failed to load manifest" when I do it.
When you do what?
trying to load "system32.dll", apparently :P
RIGHT. gimme an hour. I'm going to write "hello world" and take a screenshot :P
Meteorik: But you DID try project properties -> Linker -> Manifest File -> "Generate Manifest" set to "NO WAI KTHX", yes?
yes, then it wouldn't run.
this is VS express btw. I haven't gotten around to pirating the full version.
400 quid!!!!!! I'd pay for it if it was 50.
You're doing 64bit executables with Express? If yes, maybe you've got the switchover to the PSDK toolchain wrong? (VS itself only does 32 bit)
Also, you're sure this is a native and no .NET executable you're doing? :D
Also, you're sure this is a native and no .NET executable you're doing? :D
i bet he's linking to msvcrt9*.dll which does need the manifest
wait, there are still people who aren't using static linkage for the runtime?
for intros, i suppose that can be a problem.
Yes, because for intros you usually turn the stuff OFF and use intrinsics and a handful of small helper functions instead of the whole libc, don't you? :)
msvcrt9, yes! gargaj, I could kiss you. actually, I couldn't because we would both get an erection and it would end with a man-baby. I just did a bit of sick in my mouth.
http://kebby.org/media/helloworld.zip
VS2010 project that I just hacked up. Gets you a "Hello World" message box in 2.5K with 32bit as well as 64bit release builds. Just add Crinkler for actual projects, kthx :)
VS2010 project that I just hacked up. Gets you a "Hello World" message box in 2.5K with 32bit as well as 64bit release builds. Just add Crinkler for actual projects, kthx :)
built. worked. you da man, etc. Now browsing through project properties to figure out what option I was missing!
I didn't set any compiler settings other than the ones absolutely necessary for making it run, so the whole optimization/code generation section is probably still a bit off. Handle with care.
dont forget to use jpeg for compression!!!! ask Sauron for details!!!
jpeg? we generate our textures :P