(Next time, you should probably start a new thread, since your question
has hardly anything to do with Steven's.)
I'm not exactly sure on the specifics here, but you can run an Orange
Box game inside a debugger and see how many threads it launches. By
default, the operating system places each thread on a different
core/processor to speed everything up (unless you change the process's
affinity using the Task Manager or whatnot, which "limits" it to the
cores/processors you set it to), so if more than two threads (preferably
more than four) are run, it is ready for a few more cores than just two,
and I seriously expect it to do this. (From a programmer's standpoint,
it's easier to just start a thread instead of asking the OS how many
cores the machine has first, unless the OS really sucks at scheduling,
in which case such checks may be useful to optimize the software.)
Alternatively, you can also attach a debugger to a running process. You
might want to download the Windows Debugging Toolkit from Microsoft (use
GDB on Linux) to help you with this. I haven't studied the debuggers
extensively, though, so you might want to refer to their manuals and/or
help files.
~~ Ondra
On 11.10.07 20:23 Uhr, Jeremy wrote:
--
[ Picked text/plain from multipart/alternative ]
Anyone know if the multi-core support in the EP2 engine is limited to duel
cores or will it take advantage of quad core as well?
On 10/11/07, Ondřej Hošek <[EMAIL PROTECTED]> wrote:
On 11.10.07 19:05 Uhr, steven belmans wrote:
Hi i was wondering :can you compile the source code on a pc thad dus not
have hl2 on it ?
like i will coppy all the src files to a nother pc and do the compile
thare
??
Sure. Just export the source code on the PC with the Source SDK tool (or
GCFscape, if you're inclined thus), send it over to the machine where
you want to build it and start the build. Note that this machine must be
outfitted with assembler, compiler and linker for x86 machines (chances
are if it's an x86, your development toolchain is too).
However, to test the built libraries, you will have to send them back to
a computer with HL2 (or, more precisely, Source SDK Base, since that's
the engine the current SDK is using). Bear that in mind.
also:
is thare a stand alone version of hammer editor (so you dont need
steam)!!
I don't think so -- not official, at least, and in pretty much any case
never completely legal. I don't understand Valve's rationalization
behind such a restricting move (why do you need to pay for a package
with the Source SDK to be able to edit levels??), but I am not Valve.
if thare is where can i download it
~~ Ondra
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders