A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
Viewing User Profile for: silentk
About Contact
Joined: Sep 20, 2011 02:24 AM
Last Post: Nov 21, 2011 04:42 PM
Last Visit: Nov 21, 2011 04:42 PM
Location:
Occupation:
Interests:
Your Age:
What Games do you play:


Send Private Message
Post Statistics
silentk has contributed to 8 posts out of 465278 total posts (0.00%) in 4,140 days (0.00 posts per day).

20 Most recent posts:
Halo CE General Discussion » Halo Editing Kit AIO - C# Developers Needed Nov 21, 2011 04:42 PM (Total replies: 525)

Quote: --- Original message by: ethreepoh

Dennis, please delete this thread. It is 12 pages of criticizing and trolling.

We will make a new thread when we have something to release.
Edited by ethreepoh on Nov 21, 2011 at 04:37 PM

This->

Halo CE General Discussion » Halo Editing Kit AIO - C# Developers Needed Nov 21, 2011 01:08 AM (Total replies: 525)

You guys got it all wrong! You should be trolling me because I haven't hit the deadlines :P

Halo CE General Discussion » Halo Editing Kit AIO - C# Developers Needed Nov 18, 2011 01:53 PM (Total replies: 525)

hai :D

Halo CE General Discussion » Halo Editing Kit AIO - C# Developers Needed Nov 16, 2011 03:22 PM (Total replies: 525)

OpenSauce and/or BlamLib is not being used or referenced in the hekaio project.

Halo CE General Discussion » Halo Editing Kit AIO - C# Developers Needed Nov 14, 2011 11:14 PM (Total replies: 525)

I have a limited amount of sprinkles on my cupcake!!!! NOM NOM NOM

Halo CE General Discussion » Halo Editing Kit AIO - C# Developers Needed Sep 20, 2011 11:43 PM (Total replies: 525)

Quote: --- Original message by: Sprinkle
So you're basically reverse engineering the entire game just to use the code... Doesn't that defeat the purpose, take twice as long to do and you learn nothing along the way.


I said-nothing-about reverse engineering the entire game, so I am not sure where you pulled that idea from, guy.

The entire Halo modding scene(including this website) would not exist if it weren't for reverse engineering; Did this scene learn nothing along the way?

If you would like to talk off topic and question my credibility further, feel free to PM me, jerk.

Halo CE General Discussion » Halo Editing Kit AIO - C# Developers Needed Sep 20, 2011 02:42 AM (Total replies: 525)

Quote: --- Original message by: SprinkleYou shouldn't be using an assembly instruction like RDTSC since it's implementation changes from processor to processor. You should be using something like QueryPerformanceCounter on windows and the equivalent on linux.Edited by Sprinkle on Sep 18, 2011 at 12:07 PM


RDTSC does not need to be redefined for most processors, but you're right in it being different on some. As of now, the code I am writing is not yet cross-platform because I have reversed how Halo does it for Windows and later I will add support for other OS. Early in development, it is important to get started on setting code up to work on other platforms, but I don't have a Linux or Mac environment to test on yet. Until then, I need to start pumping out code for Windows at least.

This is how Halo gets the clock speed:
    // Set thread & process priority to HIGH

LARGE_INTEGER frequency, counter, cycle;
QueryPerformanceFrequency(&frequency);
QueryPerformanceCounter(&counter);

counter.QuadPart += frequency.QuadPart;
cycle.QuadPart = __rdtsc();

do
{
QueryPerformanceCounter(&counter);
} while(frequency.QuadPart >= counter.QuadPart);

cycle.QuadPart -= __rdtsc();
cycle.QuadPart /= 1000000; // Convert to MHz, 10^6

// Reset process & thread priority


Reversing has been going smoothly for the rendering code. Any questions code wise let me know.
Edited by silentk on Sep 20, 2011 at 02:48 AM
Edited by silentk on Sep 20, 2011 at 02:53 AM


Time: Thu January 19, 2023 6:32 PM 125 ms.
A Halo Maps Website