Task.data structure?

Results 1 to 9 of 9
  1. #1
    Registered UKIkarus is offline
    MemberRank
    Mar 2014 Join Date
    19Posts

    Task.data structure?


    RaGEZONE Recommends

    RaGEZONE Recommends

    Anybody have any idea of the structure of the data for the tasks files in hex? it seems the pwtools sTaskEdit reads in the version from bytes 4-8 and then the number of entries from 9-12 and begins looping over that count as int32 values (4 bytes) but on the FW tasks the next 4 bytes = 29

    The 4 bytes after that appear to be an Epoch time stamp similar to the elements.data? just wondering if anyone has tried to break it down and has any info they can share?
    Last edited by UKIkarus; 19-06-15 at 12:57 PM.


  2. #2
    Registered UKIkarus is offline
    MemberRank
    Mar 2014 Join Date
    19Posts

    Re: Task.data structure?

    Anybody wish to assist me in any way?

    Currently breaking down the hex of the tasks.data1-tasks.data29 files and it makes sense AT LAST!
    Need assistance on reading the last few bytes to find the terminating spot for opening the next part, also need assistance on creating a method of saving the files back as parts with altered information in the relevant places.

    This is being done with an edit of the C# code used for PW Task Edit, while I am not really familiar with C#, I know enough to make changes and write my own code... anyone with a basic understanding would be able to assist

    Need assistance in editing the form to display the information as it is now, since the data structure is slightly different as are the classes.

    All doable myself, but with assistance things would be much faster ^^

    Note: I am merely looking at this stage, I may hit a hurdle I cannot pass, I may never finish and give up, in the meantime I'm going to give it a go but do not take it as a definitive "There will be an editor/viewer" as it may not even happen.

  3. #3
    Registered UKIkarus is offline
    MemberRank
    Mar 2014 Join Date
    19Posts

    Re: Task.data structure?

    I guess not =/

  4. #4
    Hardcore Member GiantAxe is offline
    MemberRank
    Oct 2012 Join Date
    130Posts

    Re: Task.data structure?

    Quote Originally Posted by UKIkarus View Post
    I guess not =/
    or, you know:
    1. install dwarves
    2. pahole /lib/libtask.so > /whateverdir/libtask.so.log
    3. open /whateverlib/libtask.so.log
    4. get the structs for tasks
    5. create C,C++,C# binary reader based on structs
    .NET Core Developer for Windows & Linux

  5. #5
    Ultimate Member fazotron712 is offline
    MemberRank
    Jul 2012 Join Date
    -Location
    159Posts

    Re: Task.data structure?

    yes... u just get structure and write ur own tasks reader/writer like that:
    Spoiler:



  6. #6
    Registered UKIkarus is offline
    MemberRank
    Mar 2014 Join Date
    19Posts

    Re: Task.data structure?

    Quote Originally Posted by fazotron712 View Post
    yes... u just get structure and write ur own tasks reader/writer like that:
    Spoiler:


    Well of course, this is what I'm doing... so then they exist for FW too? just people keep it very very quiet?

    Pity...

    Quote Originally Posted by GiantAxe View Post
    or, you know:
    1. install dwarves
    2. pahole /lib/libtask.so > /whateverdir/libtask.so.log
    3. open /whateverlib/libtask.so.log
    4. get the structs for tasks
    5. create C,C++,C# binary reader based on structs

    Do you have one already? :o for fw? I'd be interested in seeing it working, just to see how it looks, heck, I don't even play the game... figured I'd just do it for fun you know.

    So far so good
    Last edited by UKIkarus; 05-08-15 at 11:03 AM.

  7. #7
    Psy Sins Psytrac is offline
    Alpha MaleRank
    Jul 2011 Join Date
    Hammond, INLocation
    1,745Posts

    Re: Task.data structure?

    dwarves? another debugger? I personally use GDB, and that's how I got the structures

  8. #8
    Registered UKIkarus is offline
    MemberRank
    Mar 2014 Join Date
    19Posts

    Re: Task.data structure?

    So much info to read, so many pointers, so much coding binaryreaders

  9. #9
    Psy Sins Psytrac is offline
    Alpha MaleRank
    Jul 2011 Join Date
    Hammond, INLocation
    1,745Posts

    Re: Task.data structure?

    but think of how it will feel when it is 100% done :)




Advertisement