Thread: mm.. maybe 474 animation frame loader

Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1 mm.. maybe 474 animation frame loader?? 
    Renown Programmer

    Sean's Avatar
    Join Date
    May 2007
    Age
    29
    Posts
    2,758
    Thanks given
    264
    Thanks received
    1,089
    Rep Power
    4393
    well im not sure, it looks alot like it


    [Only registered and activated users can see links. ]

    btw its not full
    Last edited by Sean; 09-19-2009 at 02:43 PM. Reason: .
    Reply With Quote  
     

  2. #2  
    Registered Member
    G0nzo's Avatar
    Join Date
    Feb 2009
    Posts
    4,961
    Thanks given
    514
    Thanks received
    546
    Rep Power
    1735
    :O can some1 look into this
    Computer Science Graduate, Java Expert
    Need help with something? PM me
    Reply With Quote  
     

  3. #3  
    Registered Member
    AMG A Bear's Avatar
    Join Date
    Jun 2008
    Posts
    1,157
    Thanks given
    27
    Thanks received
    87
    Rep Power
    945
    It's a fucking clue

    Lets play a game
    Quote Originally Posted by The Night Life View Post
    Errm. I had a similar idea a very long time ago, about instead of current rs's gameframe, (622) making a rsps with about a 1645 or something. Make it look like you walked outside. I even gathered proffesional computer programmers to help, but bailed on the idea after i realized if we all worked on it non-stop for months at a time, we'd barely get any progress. (unless you wanted to half ass it)
    Reply With Quote  
     

  4. #4  
    Renown Programmer

    Sean's Avatar
    Join Date
    May 2007
    Age
    29
    Posts
    2,758
    Thanks given
    264
    Thanks received
    1,089
    Rep Power
    4393
    Quote Originally Posted by call me bear View Post
    It's a fucking clue

    Lets play a game
    gtfo
    Reply With Quote  
     

  5. #5  
    Apocalyptism
    Harry's Avatar
    Join Date
    Apr 2007
    Posts
    3,783
    Thanks given
    594
    Thanks received
    1,833
    Rep Power
    2934
    yeah it is found a while ago
    ~ Harry
    Please bear this in mind when hearing the word 'soon' from a software programmer.

    As coding software generally takes thousands of years, software programmers have developed a natural adaptation to this in the form of an altered perception of the flow of time.

    Due to this, the word 'soon' when uttered by a programmer should be taken to mean 'a very, very long time from now' in the terminology used by common human specimens who have not developed such an adaptation.
    knowledge can be taught, but passion cannot.
    It's better to create something that others criticise than to create nothing and criticise others.
    Reply With Quote  
     

  6. #6  
    Renown Programmer

    Sean's Avatar
    Join Date
    May 2007
    Age
    29
    Posts
    2,758
    Thanks given
    264
    Thanks received
    1,089
    Rep Power
    4393
    Quote Originally Posted by Blood Isle View Post
    yeah it is found a while ago
    it wasnt really hard to find, i was jsut refactoring my 317 version of it and then thought il look for the 474 and see the difference
    Reply With Quote  
     

  7. #7  
    Apocalyptism
    Harry's Avatar
    Join Date
    Apr 2007
    Posts
    3,783
    Thanks given
    594
    Thanks received
    1,833
    Rep Power
    2934
    Not the best refactoring but.. yeah

    Class37_Sub4_Sub16
    Code:
    public SetupAnimDataUnpacker(XTEA xTEA, XTEA xTEA_1, int fileId, boolean flag)
    	{
    		try
    		{
    			Landscape landscape = new Landscape();
    			int amountOfFramesInFile = xTEA.getAmountOfFileElements(10000, fileId);
    			animDataUnpackerArray = new AnimDataUnpacker[amountOfFramesInFile];
    			int ai[] = xTEA.method119(fileId, (byte)68);
    			for(int k = 0; ~ai.length < ~k; k++)
    			{
    				byte file[] = xTEA.loadFile(ai[k], fileId, 1);
    				int l = 0xff & file[1] | (file[0] & 0xff) << 0xf6418d28;
    				SkinListReader skinlistReader = null;
    				for(SkinListReader skinListReader = (SkinListReader)landscape.method1155(0); skinListReader != null; skinListReader = (SkinListReader)landscape.method1162((byte)92))
    				{
    					if(~skinListReader.anInt2278 != ~l)
    						continue;
    					skinlistReader = skinListReader;
    					break;
    				}
    
    				if(skinlistReader == null)
    				{
    					byte abyte1[];
    					if(!flag)
    						abyte1 = xTEA_1.method110(0, 90, l);
    					else
    						abyte1 = xTEA_1.method110(l, 90, 0);
    					skinlistReader = new SkinListReader(l, abyte1);
    					landscape.method1149((byte)-121, skinlistReader);
    				}
    
    				/*
    				 * Custom Animation possiblilty here :)   (hopefully)
    				 */
    				byte animationFile[] = file; //new
    				animDataUnpackerArray[ai[k]] = new AnimDataUnpacker(animationFile, skinlistReader);
    			}
    
    			return;
    		}
    		catch(RuntimeException runtimeexception)
    		{
    			throw Class37_Sub4_Sub7_Sub3.reportError(runtimeexception, "t.<init>(" + (xTEA == null ? "null" : "{...}") + ',' + (xTEA_1 == null ? "null" : "{...}") + ',' + fileId + ',' + flag + ')');
    		}
    	}
    ~ Harry
    Please bear this in mind when hearing the word 'soon' from a software programmer.

    As coding software generally takes thousands of years, software programmers have developed a natural adaptation to this in the form of an altered perception of the flow of time.

    Due to this, the word 'soon' when uttered by a programmer should be taken to mean 'a very, very long time from now' in the terminology used by common human specimens who have not developed such an adaptation.
    knowledge can be taught, but passion cannot.
    It's better to create something that others criticise than to create nothing and criticise others.
    Reply With Quote  
     

  8. #8  
    Renown Programmer

    Sean's Avatar
    Join Date
    May 2007
    Age
    29
    Posts
    2,758
    Thanks given
    264
    Thanks received
    1,089
    Rep Power
    4393
    Quote Originally Posted by Blood Isle View Post
    Not the best refactoring but.. yeah

    Class37_Sub4_Sub16
    Code:
    public SetupAnimDataUnpacker(XTEA xTEA, XTEA xTEA_1, int fileId, boolean flag)
    	{
    		try
    		{
    			Landscape landscape = new Landscape();
    			int amountOfFramesInFile = xTEA.getAmountOfFileElements(10000, fileId);
    			animDataUnpackerArray = new AnimDataUnpacker[amountOfFramesInFile];
    			int ai[] = xTEA.method119(fileId, (byte)68);
    			for(int k = 0; ~ai.length < ~k; k++)
    			{
    				byte file[] = xTEA.loadFile(ai[k], fileId, 1);
    				int l = 0xff & file[1] | (file[0] & 0xff) << 0xf6418d28;
    				SkinListReader skinlistReader = null;
    				for(SkinListReader skinListReader = (SkinListReader)landscape.method1155(0); skinListReader != null; skinListReader = (SkinListReader)landscape.method1162((byte)92))
    				{
    					if(~skinListReader.anInt2278 != ~l)
    						continue;
    					skinlistReader = skinListReader;
    					break;
    				}
    
    				if(skinlistReader == null)
    				{
    					byte abyte1[];
    					if(!flag)
    						abyte1 = xTEA_1.method110(0, 90, l);
    					else
    						abyte1 = xTEA_1.method110(l, 90, 0);
    					skinlistReader = new SkinListReader(l, abyte1);
    					landscape.method1149((byte)-121, skinlistReader);
    				}
    				/*
    				 * Custom Animation possiblilty here :)   (hopefully)
    				 */
    				byte animationFile[] = file; //new
    				animDataUnpackerArray[ai[k]] = new AnimDataUnpacker(animationFile, skinlistReader);
    			}
    
    			return;
    		}
    		catch(RuntimeException runtimeexception)
    		{
    			throw Class37_Sub4_Sub7_Sub3.reportError(runtimeexception, "t.<init>(" + (xTEA == null ? "null" : "{...}") + ',' + (xTEA_1 == null ? "null" : "{...}") + ',' + fileId + ',' + flag + ')');
    		}
    	}
    well at least you tried, im still figuring wat class18 in 317 rofl, its something to with models and animation but no clue wdf it is lol

    Edit :

    if XTEA class is what i think it is then its CacheFile, browns refactoring is completly ugly and wrong
    Reply With Quote  
     

  9. #9  
    Apocalyptism
    Harry's Avatar
    Join Date
    Apr 2007
    Posts
    3,783
    Thanks given
    594
    Thanks received
    1,833
    Rep Power
    2934
    Quote Originally Posted by Sir Sean View Post
    well at least you tried, im still figuring wat class18 in 317 rofl, its something to with models and animation but no clue wdf it is lol
    class18 on 317 is the skinlist reader
    ~ Harry
    Please bear this in mind when hearing the word 'soon' from a software programmer.

    As coding software generally takes thousands of years, software programmers have developed a natural adaptation to this in the form of an altered perception of the flow of time.

    Due to this, the word 'soon' when uttered by a programmer should be taken to mean 'a very, very long time from now' in the terminology used by common human specimens who have not developed such an adaptation.
    knowledge can be taught, but passion cannot.
    It's better to create something that others criticise than to create nothing and criticise others.
    Reply With Quote  
     

  10. #10  
    Renown Programmer

    Sean's Avatar
    Join Date
    May 2007
    Age
    29
    Posts
    2,758
    Thanks given
    264
    Thanks received
    1,089
    Rep Power
    4393
    Quote Originally Posted by Blood Isle View Post
    class18 on 317 is the skinlist reader
    ya and read the edit i done, XTEA is acutally CacheFile loader i think
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •