Jump to content

Peachis

Member
  • Posts

    6
  • Joined

  • Last visited

    Never

Posts posted by Peachis

  1. Originally Posted By: Red_Sage
    Hey guys, i've been getting a fair bit of interest in the "editor" I wrote some weeks ago. Sorry for not actually uploading it. It was sort of a quick weekend hobby project to figure out the save format and ehm redistribute some points... Anyways I really didnt think far forward cause I wrote it in C# and targeted the .Net 2.0 platform. I apologize for this, although in the future, thanks to projects like this , targeting .net would gurantee cross platform availability.

    But if you have windows and a fast internet connection then I suggest you download the .Net 2.0 platform anyway. Lots of new stuff gonna need it and you're gonna have to get it sooner or later.

    *********************************************
    * Avernum 4 Skills/Traits Editor
    *
    *********************************************

    To use it goto your avernum directory open the folder corresponding the slot you wish (i.e. save17, i believe is quicksave) and open the file "data".

    ------
    private int[] off_arr = new int []{24006,29158,34310,39462 }; //offsets for each character

    fs.Seek(curr_off, SeekOrigin.Begin); //c_data, s_data etc are all of type byte or unsigned char for C++ people.
    fs.Read(c_data, 0, 61);//stats
    fs.Seek(19, SeekOrigin.Current);
    fs.Read(s_data, 0, 79);//spells
    fs.Seek(241, SeekOrigin.Current);
    fs.Read(t_data, 0, 29);//traits



    this one isnt working ether
  2. Originally Posted By: Red_Sage
    Hey guys, i've been getting a fair bit of interest in the "editor" I wrote some weeks ago. Sorry for not actually uploading it. It was sort of a quick weekend hobby project to figure out the save format and ehm redistribute some points... Anyways I really didnt think far forward cause I wrote it in C# and targeted the .Net 2.0 platform. I apologize for this, although in the future, thanks to projects like this , targeting .net would gurantee cross platform availability.

    But if you have windows and a fast internet connection then I suggest you download the .Net 2.0 platform anyway. Lots of new stuff gonna need it and you're gonna have to get it sooner or later.

    *********************************************
    * Avernum 4 Skills/Traits Editor
    *
    *********************************************

    To use it goto your avernum directory open the folder corresponding the slot you wish (i.e. save17, i believe is quicksave) and open the file "data".

    ------
    private int[] off_arr = new int []{24006,29158,34310,39462 }; //offsets for each character

    fs.Seek(curr_off, SeekOrigin.Begin); //c_data, s_data etc are all of type byte or unsigned char for C++ people.
    fs.Read(c_data, 0, 61);//stats
    fs.Seek(19, SeekOrigin.Current);
    fs.Read(s_data, 0, 79);//spells
    fs.Seek(241, SeekOrigin.Current);
    fs.Read(t_data, 0, 29);//traits



    this one isnt working ether
×
×
  • Create New...