Search found 665 matches

by LuxuriousMeat
Wed Apr 15, 2009 8:38 pm
Forum: Programming
Topic: C# Non-ASCII-Printable Bytes To String
Replies: 3
Views: 4383

Re: C# Non-ASCII-Printable Bytes To String

I started trying to use the BitConverter a little bit ago. As far as I can see, it converts the bytes to hex correctly. However when I convert the hex back into bytes, half the file is empty. What method would you use to convert them back into bytes? Thanks. Here's one I use: byte[] TextStringToByt...
by LuxuriousMeat
Wed Apr 15, 2009 7:23 pm
Forum: Programming
Topic: C# Non-ASCII-Printable Bytes To String
Replies: 3
Views: 4383

Re: C# Non-ASCII-Printable Bytes To String

(C#) I'm trying to convert bytes (from an image) that are not ASCII-printable into a string. Meaning.. System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); str = enc.GetString(myBytes); ..does not work, it will show ???? characters. Any help appreciated. Uh, are you trying to like show ...
by LuxuriousMeat
Sun Apr 12, 2009 7:20 am
Forum: Cafe
Topic: Help with Unix
Replies: 11
Views: 4436

Re: Help with Unix

echo */* will do that. wouldn't expect anything less really. Why would both do the same thing tho? So having the wildcard before or after the forward slash means nothing? No, I'm assuming the wildcard is before the / too so it will do files in parent folders if your current directory isn't the root...
by LuxuriousMeat
Sun Apr 12, 2009 6:59 am
Forum: Cafe
Topic: The Official Rant Thread
Replies: 15264
Views: 637675

Re: The Official Rant Thread

Well, he never technically said he'd kill them. If I had a gun nearby while my house was being broken into, it's pretty safe to say that, likely after finding a safe hiding place or trying to get out of the house to call the police, I'd be perfectly ok with shooting someone who was threatening me i...
by LuxuriousMeat
Sat Apr 11, 2009 1:59 pm
Forum: Cafe
Topic: The Official Rant Thread
Replies: 15264
Views: 637675

Re: The Official Rant Thread

I got a hangover. I wouldn't usually post this, but I never get hangovers. I used to be able to say that, then I started getting the dirtiest hangovers.. It happens. Actually it happens every time now with hard liquor to me. Only had a single one, and like Detox said, from karkov. Never had a hango...
by LuxuriousMeat
Fri Apr 10, 2009 4:36 pm
Forum: Complaints & Suggestions
Topic: Cant download anything
Replies: 7
Views: 4363

Re: Cant download anything

I can't see any setting or restriction on your account that would not allow you to download attachments. Try clearing cookies and cache and see if you still have the issue. No dice. Edit: Ah, fixed it. Somehow a toolbar I have for Firefox had the referrer blocked so phpBB thought I was clicking on ...
by LuxuriousMeat
Fri Apr 10, 2009 4:30 pm
Forum: Complaints & Suggestions
Topic: Cant download anything
Replies: 7
Views: 4363

Re: Cant download anything

Also, the forum misspelled "authorized". Heh. British spelling... Also, it's technically more accurate to the origin of the word than the spelling with a Z is, so yeah. Honestly, I wouldn't have noticed it if Firefox didn't underline it for me... Anyways, back to the whole not being to do...
by LuxuriousMeat
Fri Apr 10, 2009 4:19 pm
Forum: Complaints & Suggestions
Topic: Cant download anything
Replies: 7
Views: 4363

Re: Cant download anything

Nope, can't download that either.

Edit:
Also, the forum misspelled "authorized". Heh.
by LuxuriousMeat
Fri Apr 10, 2009 4:13 pm
Forum: Complaints & Suggestions
Topic: Cant download anything
Replies: 7
Views: 4363

Cant download anything

Whenever I try to download any file hosted on HM I get this error message:

"You are not authorised to view, download or link from/to this site."

Is anyone else getting this, or is it just me?
by LuxuriousMeat
Tue Apr 07, 2009 10:01 am
Forum: Cafe
Topic: The Official Happiness Thread
Replies: 12621
Views: 518641

Re: The Official Happiness Thread

Profit margins. Grabbed a 16GB Black iPhone brand new for 299$(CAD) which was payed for by store credit since my family's been with our Carrier for a while, sold it on eBay for 750$(USD) + shipping. And I sold a console for 1200$(USD), which I got free. Cash flow is looking good. Why would anyone b...
by LuxuriousMeat
Sun Apr 05, 2009 5:42 pm
Forum: Cafe
Topic: The Official Happiness Thread
Replies: 12621
Views: 518641

Re: The Official Happiness Thread

Spring break.
by LuxuriousMeat
Sun Mar 29, 2009 6:01 am
Forum: Cafe
Topic: The Official Rant Thread
Replies: 15264
Views: 637675

Re: The Official Rant Thread

Tural wrote:I was surprised as well. I'm over here talking about penises and all of the sudden there's a bunch of new threads.
It happens to the best of us, sometimes.
by LuxuriousMeat
Sat Mar 28, 2009 8:57 am
Forum: Utilities
Topic: Construct - Open Source Map Editor
Replies: 71
Views: 21256

Re: Construct - Open Source Map Editor

edword wrote:hey i get so many compile errors could someone fix them then upload the successful build
That's because its missing an assembly that is referenced and can't be distributed. You need to remove the code that uses that assembly to compile it.
by LuxuriousMeat
Tue Mar 24, 2009 7:55 pm
Forum: Cafe
Topic: The Official Rant Thread
Replies: 15264
Views: 637675

Re: The Official Rant Thread

You could also just get it fixed/a refurbished one for $100 if you don't want to destroy it, or try to fix it yourself.
by LuxuriousMeat
Wed Mar 18, 2009 8:02 pm
Forum: Programming
Topic: C#: Byte Array to Decimal to Int
Replies: 13
Views: 5495

Re: C#: Byte Array to Decimal to Int

'System.IO.Stream' does not contain a definition for 'ToArray' and no extension method 'ToArray' accepting a first argument of type 'System.IO.Stream' could be found (are you missing a using directive or an assembly reference?) Error. Do I really need to put pngbytes (a byte array) into a memorystr...
by LuxuriousMeat
Wed Mar 18, 2009 1:46 pm
Forum: Programming
Topic: C#: Byte Array to Decimal to Int
Replies: 13
Views: 5495

Re: C#: Byte Array to Decimal to Int

Use this:

Code: Select all

wpng.Write(pngStream.ToArray());
by LuxuriousMeat
Tue Mar 17, 2009 5:45 pm
Forum: Programming
Topic: C#: Byte Array to Decimal to Int
Replies: 13
Views: 5495

Re: C#: Byte Array to Decimal to Int

Will that get the decimal value of the hex bytes? The hex values are 00 00 A3 E1, and the decimal equivalent is 41953, which is how far I need to read into the file until I hit the end of the image. I'll try it. Edit: This gives me: -509411328, not 41953, am I missing something? Remember I've been ...
by LuxuriousMeat
Tue Mar 17, 2009 10:58 am
Forum: Utilities
Topic: Halo 3 Screenshot Tool
Replies: 154
Views: 52210

Re: Halo 3 Screenshot Tool

Imports System.IO Public Class Form1 Private Sub OpenButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenButton.Click Dim filereader As Stream = File.Open("R:\Gears Screenshots\00000001\shot_0000000A000F000B002402560F36B537", FileMode.Open, FileAccess.Read...
by LuxuriousMeat
Tue Mar 17, 2009 10:51 am
Forum: Programming
Topic: BinaryReader in C# acting oddly
Replies: 1
Views: 2841

Re: BinaryReader in C# acting oddly

When you pass a byte array as a parameter to 'BitConverter.ToString' it displays the bytes in hexadecimal and uses a '-' as a delimiter. When you use the default encoding, and any text encoding for that matter, it will try to display the readable characters in the file. Your problem has nothing to d...
by LuxuriousMeat
Mon Mar 16, 2009 7:34 pm
Forum: Programming
Topic: Hex editing in VB Studio 2008
Replies: 14
Views: 4939

Re: Hex editing in VB Studio 2008

So...is everyone going to keep telling me that or maybe help me start understanding the STFS structure? I mean there's only so much I can do right now. And if I'm only planning on doing this for Gears shots right now, and from my research all screenshots gow start at E000, why do I need to do it di...