NXE Avatars

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

NXE Avatars

Post by DrXThirst »

I got bored, so I made this little app. It's UI isn't that great, and there's a total of like 50 lines of code. However, it works and that's all that counts.

So, here's a quick description, a preview image, and a download link.

Description:

Update: Type someone's GamerTag into the textbox, and click "Get Avatar!" You will then have the option to save the image to your desktop and the URL will also appear in the textbox below so that there's no need to re-upload the images.

Update 2: New UI version up. It will look like this no matter what OS you're using, unless you have visual effects turned off. I'm leaving both downloads up for people to choose from.

Preview Picture:
Image

Download Link: (Old) Click Here To Download

Preview Picture: (New)
Image

Download Link: (New) Click Here To Download

Source Download Link: Click Here To Download
Last edited by DrXThirst on Thu Nov 20, 2008 7:09 pm, edited 3 times in total.
Image
User avatar
Tural




Conceptionist Acolyte Bloodhound Recreator
Socialist Connoisseur Droplet Scorched Earth
Grunge

Posts: 15628
Joined: Thu Jun 16, 2005 3:44 pm
Location: Lincoln, NE
Contact:

Post by Tural »

Now what will I post here?
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

Post by DrXThirst »

Nothing. Your posting ability in this thread has been reduced to 0. :P
Image
-DeToX-




Illusionist Recreator Connoisseur Acolyte
Sigma Decryptor Droplet Pyre
Blacksmith Socialist New Age System Engineer
ONI

Posts: 4589
Joined: Sun Jun 18, 2006 3:58 pm
Location: ...

Post by -DeToX- »

Cool.
Image
Image
User avatar
Aumaan Anubis




Connoisseur Bloodhound Renovator

Posts: 2938
Joined: Fri Jun 30, 2006 1:01 pm
Location: Aumaan
Contact:

Post by Aumaan Anubis »

Image

Doesn't get much more blatantly attractive and cool as that.

Sweet app, by the way.
Image
Tural wrote:MrMurder, we're going to hold you to that promise.
It is expected, and demanded.
User avatar
Tural




Conceptionist Acolyte Bloodhound Recreator
Socialist Connoisseur Droplet Scorched Earth
Grunge

Posts: 15628
Joined: Thu Jun 16, 2005 3:44 pm
Location: Lincoln, NE
Contact:

Post by Tural »

The program should include a direct link to the image already online, rather than requiring people to re-upload them.
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

Post by DrXThirst »

Done.
Image
User avatar
FleetAdmiralBacon




Critic Pyre Articulatist 500

Posts: 2377
Joined: Sat Nov 26, 2005 7:01 pm
Location: Ohio
Contact:

Post by FleetAdmiralBacon »

For someone with an Ubuntu signature and avatar, I'd think you'd make, at least, a more Wine or Mono-happy application. Crashes gdiplus in Wine, fails on the text encoding for a resource in Mono.
Image
Everything you'll ever need to know about me.
Need help with Linux, C#, C, Python, Java, PHP, Javascript, CSS, or VB? I'm available from 3:00PM-8:00PM EST on weekdays.
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

Post by DrXThirst »

I don't use 'Wine' or anything like that. I only use what's supplied with Ubuntu. I wish they'd release a C# for Ubuntu, though.
Image
OwnZ joO




Articulatist 500

Posts: 980
Joined: Thu Nov 10, 2005 4:24 pm

Post by OwnZ joO »

Mono allows you to use C# with linux and other OS's.
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

Post by DrXThirst »

I'll have to look into that. :)
Image
User avatar
FleetAdmiralBacon




Critic Pyre Articulatist 500

Posts: 2377
Joined: Sat Nov 26, 2005 7:01 pm
Location: Ohio
Contact:

Post by FleetAdmiralBacon »

DrXThirst wrote:I'll have to look into that. :)
If your an .NET-anything programmer and you're moving to Linux, you will love Mono (Mono itself comes with Ubuntu - it's what powers applications like F-Spot and Tomboy, and the amazing Banshee media player [in the repos]). It's more than just C#, it's a complete* open-source implementation of .NET with compilers for a number of other languages (VB, F#, etc.).

*though it would seem that the text encoding you're using for something isn't in there. I'll run it through the debugger...

Code: Select all

Unhandled Exception: System.TypeLoadException: Could not load type 'System.Text.SBCSCodePageEncoding, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
  at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool)
  at System.Type.GetType (System.String typeName, Boolean throwOnError) [0x00011] in /build/buildd/mono-1.9.1+dfsg/mcs/class/corlib/System/Type.cs:457 
  at System.Resources.ResourceReader.ReadValueVer2 (Int32 type_index) [0x001f9] in /build/buildd/mono-1.9.1+dfsg/mcs/class/corlib/System.Resources/ResourceReader.cs:310 
  at System.Resources.ResourceReader.ResourceValue (Int32 index) [0x00092] in /build/buildd/mono-1.9.1+dfsg/mcs/class/corlib/System.Resources/ResourceReader.cs:394 
  at System.Resources.ResourceReader+ResourceEnumerator.get_Value () [0x00032] in /build/buildd/mono-1.9.1+dfsg/mcs/class/corlib/System.Resources/ResourceReader.cs:603 
  at System.Resources.ResourceSet.ReadResources () [0x00043] in /build/buildd/mono-1.9.1+dfsg/mcs/class/corlib/System.Resources/ResourceSet.cs:208 
  at System.Resources.ResourceSet.GetObject (System.String name, Boolean ignoreCase) [0x00032] in /build/buildd/mono-1.9.1+dfsg/mcs/class/corlib/System.Resources/ResourceSet.cs:163 
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture) [0x00038] in /build/buildd/mono-1.9.1+dfsg/mcs/class/corlib/System.Resources/ResourceManager.cs:186 
  at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] in /build/buildd/mono-1.9.1+dfsg/mcs/class/corlib/System.Resources/ResourceManager.cs:170 
  at NXE_Avatars.Form1.InitializeComponent () [0x00000] 
  at NXE_Avatars.Form1..ctor () [0x00000] 
  at (wrapper remoting-invoke-with-check) NXE_Avatars.Form1:.ctor ()
  at NXE_Avatars.Program.Main () [0x00000] 
Hmm... Further research indicates that it may be an extended ASCII format for another locale which you probably shouldn't be using. If you can find what's using it, you can try and dump it. Based on a decomp with a binary resource file, you may have included pointless foreign characters in a resource string.
Last edited by FleetAdmiralBacon on Thu Nov 20, 2008 5:25 pm, edited 1 time in total.
User avatar
bcnipod





Posts: 3580
Joined: Tue May 15, 2007 8:52 am
Location: 45 Minutes outside Boston
Contact:

Post by bcnipod »

I see the root of the problem!

http://skitch.com/dirkgently/henb/nxe-a ... pplication

Not to worry the Mono team will soon have this application working :P
Twitter: Dirk Gently | Major lulz
Mr. Brightside: Worst mod I've seen since 'Nam.
Website
OwnZ joO




Articulatist 500

Posts: 980
Joined: Thu Nov 10, 2005 4:24 pm

Post by OwnZ joO »

It does support other languages too, but C# has the most comprehensive support, and most of the stuff was written in C# I believe.
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

Post by DrXThirst »

Ok, well I trust Halomods, so I'm going to upload the source for you guys to take a look at.

EDIT: Source is up.
Image
User avatar
FleetAdmiralBacon




Critic Pyre Articulatist 500

Posts: 2377
Joined: Sat Nov 26, 2005 7:01 pm
Location: Ohio
Contact:

Post by FleetAdmiralBacon »

Thanks, I got it working. Had to kill off the encoded/encrypted resource elements for the WebClient, and remove a lot of initialization calls for the WebClient, but it works.
e: And everything appears to work fine.
Image
Everything you'll ever need to know about me.
Need help with Linux, C#, C, Python, Java, PHP, Javascript, CSS, or VB? I'm available from 3:00PM-8:00PM EST on weekdays.
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

Post by DrXThirst »

Sweet! Mind uploading that version, and a link to Mono? :D
Image
User avatar
FleetAdmiralBacon




Critic Pyre Articulatist 500

Posts: 2377
Joined: Sat Nov 26, 2005 7:01 pm
Location: Ohio
Contact:

Post by FleetAdmiralBacon »

DrXThirst wrote:Sweet! Mind uploading that version, and a link to Mono? :D
You already have Mono.
`sudo apt-get install monodevelop` for the IDE. While MonoDevelop 1.0 isn't any where near Visual Studio, it does get the job done. Regardless, your Visual Studio-built binaries should work anyway, barring any conversion problems (like the ones we saw here). 2.0 is great, but it's not finished yet. I'm using an old alpha, they may even have a beta out for all I know...

Attached is the Mono-friendly version, which should still run on Windows (and even Mac).

Download here

e: Moved it to my site.
Last edited by FleetAdmiralBacon on Thu Nov 20, 2008 5:58 pm, edited 1 time in total.
Image
Everything you'll ever need to know about me.
Need help with Linux, C#, C, Python, Java, PHP, Javascript, CSS, or VB? I'm available from 3:00PM-8:00PM EST on weekdays.
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Post by Eaton »

Updated your UI. :P

Image
Image
User avatar
Ragdoll




Connoisseur Foundry Snitch!

Posts: 1101
Joined: Tue Jul 10, 2007 1:02 pm
Location: New Jersey

Post by Ragdoll »

Nice app Dr.

Image
Image
Post Reply