Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your help!

We need 7 developers from Canada and 18 more from Australia to help us complete a research survey.

Support our site by taking a quick sponsored survey and win a chance at a $50 Amazon gift card. Click here to get started!


musafir2007

Member Since 23 Feb 2007
Offline Last Active Feb 23 2015 02:18 PM

Posts I've Made

In Topic: Programmatically search .fla Flash file for imported component

17 February 2015 - 08:53 PM

Hi, another small discovery..

 

If I open the above SimpleFlaFile in Notepad++, and then go to Encoding > Convert to UTF-8, it then shows the same content that notepad shows and I can parse.

If notepad++ can do this by converting, then there must be some way using c#.

 

Anyone know how this converting works? thanks!!


In Topic: Programmatically search .fla Flash file for imported component

17 February 2015 - 08:26 PM

thanks, but I don't want to do that since I have to parse almost 300+ files.

 

I also noticed that windows notepad somehow figures out the encoding of the .fla and displays some useful information which if I can just get into C# string will make my life so much easier.

 

I have tried almost every encoding available to open a file, but can't get text that notepad shows

string allText = File.ReadAllText("C:\\SimpleFlaFile.fla", Encoding.UTF8);

 

I have attached a simple fla file (just change ext to .txt because I can't upload .fla) with a Clip named "BlueBox" and when you open the fla in notepad, and search it has text "B l u e B o x". I can parse files if I can get that...


In Topic: got an interview with EA

27 March 2014 - 12:16 AM

guys, I got the job! I really appreciate all the feedback, and I have to say part the reason was gamedev. Just by browsing the forums I learn so much.. we have a great community and contributors on here! :)


In Topic: got an interview with EA

10 March 2014 - 10:18 PM

thanks Hodgman! I will take your advice and look into making that.

 

I would also appreciate if someone could elaborate on

• Integrate art content into the front end game engine.

• Develop tools, features and pipelines for the front end logic and screens.

 

how does one develop tools, pipelines for front end logic and screens. What does this mean? thank


In Topic: simple char array, please help

27 June 2013 - 12:16 PM

I really like the following way of doing it, and it seems to work on new compiler,
But my c compiler doesn't seem to support snprintf. What alternative do i have?
Thanks!
 
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
 
void getNetworkAtPriority(char* buffer, size_t bufferLength)
{
    snprintf(buffer, bufferLength, "mcc-mnc-umts");
}
 
int main()
{
    char entry1[14];
    getNetworkAtPriority(entry1, 14);
    printf("Return:%s", entry1);
    return 0;
}

PARTNERS