Grand Theft Auto V For PC

Posted: October 11th, 2013 | Author: | Filed under: Software
Tags: , , , , , , , , ,

UPDATE 4:Officially coming this fall

UPDATE 3: It’s now missing from both the profiles .blb and the dx10+ .dlls in the 14.1 mantle beta. Not that it appeared to be needed in the first place as ‘HighPerfGPUAffinity’ doesn’t sound like it’s doing much.

UPDATE 2: It’s in the driver .dll files now. Hex edit atidxx32.dll from 13.11 beta 6 and go to 0x69ae34.

UPDATE: In the new 13.11 Beta 3 leak, hex edit the .blb file, go to 0x192a8, GTA5 is there again (was missing in beta 1).

Well I never looked very closely at the CAP file for 13.10 beta 2, but I just noticed some interesting things.

<application Title="Grand Theft Auto V" File="GTA5.exe">
	<use Area="PXDynamic">HighPerfGPUAffinity</use>
</application>

Want to prove it yourself? You don’t even need to convert the .blb to .xml, just hex edit the blb and go to 0x19130 and 0x19b88 locations.

And the usual games coming soon…

<application Title="Assassin's Creed 4" File="AC4BFSP.exe">
	<use Area="PXDynamic">HighPerfGPUAffinity</use>
</application>
<application Title="Assassin's Creed 4 MP" File="AC4BFMP.exe">
	<use Area="PXDynamic">HighPerfGPUAffinity</use>
</application>
<application Title="Batman: Arkham Origins" File="BatmanOrigins.exe">
	<use Area="PXDynamic">HighPerfGPUAffinity</use>
</application>
<application Title="Call of Duty: Ghosts" File="iw6sp64_ship.exe">
	<use Area="PXDynamic">HighPerfGPUAffinity</use>
</application>
<application Title="Planetary Annhilation (32bit)" File="PA.exe">
	<use Area="PXDynamic">HighPerfGPUAffinity</use>
</application>
<application Title="Planetary Annhilation (64bit)" File="PA32.exe">
	<use Area="PXDynamic">HighPerfGPUAffinity</use>
</application>
<application Title="Need for Speed sequel" File="Race.Main_Win64_Release.exe">
	<use Area="PXDynamic">HighPerfGPUAffinity</use>
</application>
<application Title="Watch Dogs Demo" File="DuniaDemoLaunch_PC_r64.exe">
	<use Area="PXDynamic">HighPerfGPUAffinity</use>
</application>
<application Title="Watch Dogs" File="Watch_Dogs.exe">
	<use Area="PXDynamic">HighPerfGPUAffinity</use>
</application>
<application Title="Wolfenstein: The New Order" File="WolfNewOrder_x64.exe">
	<use Area="PXDynamic">HighPerfGPUAffinity</use>
</application>

Looks like more 64-bit games are coming outside of Battlefield 4? Don’t think this suddenly means GTA5 magically comes out real soon, developers/porters also need working drivers for their games. I’m still expecting the usual +200 days after console launch.

(Guru3d backup post in case the site explodes, but it held up fine during Halo 3)

Last Modified: June 9th, 2014

5 Comments »

Halo 3 For PC

Posted: March 17th, 2013 | Author: | Filed under: Software
Tags: , , , , , , , ,

UPDATE: Want proof? Just look at the .blb file from the driver, or use the atiapfxx.exe tool to create the XML yourself. Try these locations of the .blb in a hex editor: 15a74 or 250b6.

Sup. From the CAP of the 13.3 Catalyst beta driver. Another point of interest after the steam app ID that showed up last month.

<profile Area="UDX" Usage="Halo3" Notes="Halo3">
	<value Property="Version">1</value>
	<value Property="MTShaderCompile">False</value>
</profile>
 
<application Title="Halo3" File="halo3*.exe">
	<use Area="UDX">Halo3</use>
</application>

Not that this can fully confirm anything, we still have ‘BF1943Game.exe’ that never came out. You heard it here first… probably.

(Here is my guru3d post in case something happens from all this site traffic, consider it a mirror.)

Last Modified: October 11th, 2013

18 Comments »

Formatting Twitter’s Date/Time With PHP

Posted: August 18th, 2010 | Author: | Filed under: Tips/Tutorials
Tags: , , , , ,

This should save you a little googling. When you look at the XML that the Twitter API gives you, each tweet has a ‘created_at‘ timestamp.

It looks like this: Wed Aug 18 18:22:29 +0000 2010. Not too friendly, but it’s really simple to convert it to a unix timestamp, then format it with PHP’s date function.

Step 1: Make the unix timestamp with strtotime(). Now it’s turned into 1282155749, which is just what we need even though it looks worse.

Step 2: Format with date(). ‘l M j \- g:ia‘ turns it into ‘Wednesday Aug 18 – 12:22pm‘. You have total control of how it looks thanks to that date() function of PHP.

I pretty much dumped it all into a single line on one of the things I was working on. This is after I retrieved the XML into a variable called $xml.

echo date("l M j \- g:ia",strtotime($xml->status[0]->created_at));
Last Modified: August 18th, 2010

9 Comments »

Twitter To Flash With Clickable URLs

Posted: April 13th, 2010 | Author: | Filed under: Tips/Tutorials
Tags: , , , , , , , ,

UPDATE2: Looks like twitter changed something and the XML timeline no longer works.
UPDATE: I will make a new post soon about caching tweets onto your server instead of loading them each time off Twitter, which has usage limits.

Ever needed to display a twitter feed within Flash, while making any links clickable? Here is one way to do just that, using the Twitter API and PHP.

At the time, I was having trouble working with regular expressions (to spot urls) in ActionScript 2. After some digging and testing, I mashed up bits of code that retrieve the raw XML that twitter sends out, create a new simple XML of pure tweets, surround any urls with HTML link tags, then have flash load this new XML. That actually turned out to be a good thing by not having it all in ActionScript, since anything else that can load XMLs can now use the new small XML of tweets.

Let’s get started then.

You can get a detailed XML of tweets from Twitter by going to http://twitter.com/statuses/user_timeline/*USER*.xml?count=#, where *USER* is the account name, and # is the number of tweets to display. You can omit ?count, which will display the same default amount that shows up on a twitter page (20 tweets). For example, Future Shop posts deals here. If you look at the URL, the account name is ‘FS_Deals’, so if we wanted to see the latest 5 tweets from them in XML, we’d go to http://twitter.com/statuses/user_timeline/FS_Deals.xml?count=5.

As you can see, that’s quite a bit messy and quite a lot of data. We just want 5 little tweets.

Now there is some security check in either Twitter or Flash, so you’ll need a proxy script to load in Twitter’s XML. This one seems to work fine (see notes at bottom). I’ll name it ‘kn-twitterproxy.php‘. We’ll modify the final output/echo so that it’s a simple XML of tweets, plus a regular expression for the urls per tweet:

$xml = new SimpleXMLElement($response);
$top = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<tweets type=\"array\">";
 
for ($i = 0; $i < count($xml->status); $i++) {
  $tweets[$i] = $xml->status[$i]->text;
  $tweets[$i] = preg_replace('@(http://([\w-.]+)+(:\d+)?(/([\w/_.]*(\?\S+)?)?)?)@',
               '<a href="$1" target="_blank">$1</a>', $tweets[$i]);
  $inside .= "\n<tweet>\n  <message>".$tweets[$i]."</message>\n</tweet>";
}
$bottom = "\n</tweets>";
 
echo $top.$inside.$bottom;

In the above code, we first load up Twitter’s XML into PHP. $top will be the beginning of our clean XML that’s about to be read by flash. The for loop goes through every tweet, stores the message as an item of the $tweets array, modifies the item by surrounding the url with HTML link code using a regular expression (you could probably add bold or italic tags too), then makes a new <tweet> line for each. $bottom is the end of the clean XML, pretty simple closing of <tweets>. Then the final output gets sent, which looks something like this:

<?xml version="1.0" encoding="UTF-8"?>
<tweets type="array">
  <tweet>
    <message>A Tweet</message>
  </tweet>
  <tweet>
    <message>Another Tweet</message>
  </tweet>
</tweets>

If you want to get other data from Twitter’s XML about the tweet, just add it in as necessary. For example, to have the time, you can add $time[$i] = $xml->status[$i]->created_at;, then in the $inside, you can add <time>”.$time[$i].”\n right before <message>. (Adjust your flash text fields accordingly)

For Flash, you’ll just read in that newly created XML and use it to your needs. In this example, it will be 5 dynamic textboxes.

Make sure each one is set to ‘Render text as HTML‘, plus use variables instead of instance names.

var myXML:XML = new XML();
myXML.ignoreWhite = true;
myXML.load("kn-twitterproxy.php?url=http%3A//twitter.com/statuses/user_timeline/FS_Deals.xml?count=5");
myXML.onLoad = function(success) {
  if (success) {
    var messages = [];
    for (i=0; i < myXML.firstChild.childNodes.length; i++) {
      messages[i] = (myXML.firstChild.childNodes[i].childNodes[0]);
      _root["tweet"+(i+1)] = messages[i];
    }
  }
};

Finally, a little ActionScript to load the XML, and a for loop to make it easier to fill each textbox out.

Here is the result. Grab the example files if you need to as well.

THINGS TO NOTE:
-Line 30 in the PHP proxy seems to give an error regarding ‘safe mode’ on some hosts. Commenting it out seems to work fine. Maybe someone can tell me what it does.
-The ActionScript is in AS2, but AS3 should be very similar as it’s just a simple XML load.
-If you’re adding extra things like the tweet’s time, don’t forget to target the right ‘childNode‘ with ActionScript. If you had first <message>, then <time>, you’d add a line in the for loop that would be something like times[i] = (myXML.firstChild.childNodes[i].childNodes[1]); since is the second node. (<message> being first, it’s childNodes[0])

I hope you have gotten some ideas from this post for whatever twitter integration you’re working on.

Last Modified: October 19th, 2012

7 Comments »