How to add New Item, item img, and pet textures?

Results 1 to 14 of 14
  1. #1
    Apprentice molyche is offline
    MemberRank
    Mar 2019 Join Date
    10Posts

    How to add New Item, item img, and pet textures?

    Hi all,

    I'm trying to add a new item image to the game, but I haven't been able to do that.
    I tried this: TClientWnd.cpp -> vCustomImgId -> add new id, bigger than 60000 and Edit TItem.tcd item visual id, and i put it image in the Data/Img/Custom/id.png

    But not worked

    also, i need all items image, pet textures. How to get these?

    Thank you in advance for your help.
    Last edited by molyche; 31-03-19 at 06:29 PM.


  2. #2
    CHIBRE ! pipitt05000 is online now
    MemberRank
    Feb 2009 Join Date
    FranceLocation
    337Posts

    Re: How to add New Item, item img, and pet textures?

    You use the 5.0 sources ? :D

  3. #3
    Apprentice molyche is offline
    MemberRank
    Mar 2019 Join Date
    10Posts

    Re: How to add New Item, item img, and pet textures?

    yes the files shared in the forum.

  4. #4
    CHIBRE ! pipitt05000 is online now
    MemberRank
    Feb 2009 Join Date
    FranceLocation
    337Posts

    Re: How to add New Item, item img, and pet textures?

    Yes ! :D

    For add custom textures to pet ect, watch in Araz client's files:
    Araz4Story PvP\Data\Skin\Custom --> Here, there are some custom textures for pets :)
    Araz4Story PvP\Data\Img\Custom --> Here some icons, ect... :D

  5. #5
    Apprentice molyche is offline
    MemberRank
    Mar 2019 Join Date
    10Posts

    Re: How to add New Item, item img, and pet textures?

    Yes i learned add new texture and icon. But now i have one problem. How to get default textures and all icons? For example, how to get kitsune texture? And all item icons?

    Ex: Black Panda's texture, Screenshot by Lightshot . But i have just black panda texture :/ i need other textures.

  6. #6
    Member Agnares is offline
    MemberRank
    Jun 2014 Join Date
    53Posts

    Re: How to add New Item, item img, and pet textures?

    Quote Originally Posted by molyche View Post
    Yes i learned add new texture and icon. But now i have one problem. How to get default textures and all icons? For example, how to get kitsune texture? And all item icons?

    Ex: Black Panda's texture, Screenshot by Lightshot . But i have just black panda texture :/ i need other textures.
    search for void CTachyonRes::LoadTEX(

    add this:
    CString pos;pos.Format("Textury\\%u.png", dwPOS);

    under:
    DWORD dwSize = 0;ucpr.Read( &dwSize, sizeof(DWORD));


    add this:
    pTEXSRC->SaveImageFile(pos, D3DXIFF_PNG, pTEXSRC->GetTEX());

    under:
    pTEXSRC->LoadT3DTEX( pDATA, dwSize, dwOrgSize, bFormat);ucpr.Seek( dwSize, CFile::current);

  7. #7
    Novice Sarra is offline
    MemberRank
    Apr 2019 Join Date
    4Posts

    Re: How to add New Item, item img, and pet textures?

    Quote Originally Posted by Agnares View Post
    search for void CTachyonRes::LoadTEX(

    add this:
    CString pos;pos.Format("Textury\\%u.png", dwPOS);

    under:
    DWORD dwSize = 0;ucpr.Read( &dwSize, sizeof(DWORD));


    add this:
    pTEXSRC->SaveImageFile(pos, D3DXIFF_PNG, pTEXSRC->GetTEX());

    under:
    pTEXSRC->LoadT3DTEX( pDATA, dwSize, dwOrgSize, bFormat);ucpr.Seek( dwSize, CFile::current);
    Where then are these PNG images stored? Which way?

  8. #8
    Member Agnares is offline
    MemberRank
    Jun 2014 Join Date
    53Posts

    Re: How to add New Item, item img, and pet textures?

    Quote Originally Posted by Sarra View Post
    Where then are these PNG images stored? Which way?
    This script allows to decompile pngs from data files

  9. #9
    Novice Sarra is offline
    MemberRank
    Apr 2019 Join Date
    4Posts

    Re: How to add New Item, item img, and pet textures?

    Quote Originally Posted by Agnares View Post
    This script allows to decompile pngs from data files
    Well, please tell me how to decompile to get a PNG?

  10. #10
    Member Agnares is offline
    MemberRank
    Jun 2014 Join Date
    53Posts

    Re: How to add New Item, item img, and pet textures?

    Quote Originally Posted by Sarra View Post
    Well, please tell me how to decompile to get a PNG?
    Thats it mate this script helps you to decompile it

  11. #11
    Novice Sarra is offline
    MemberRank
    Apr 2019 Join Date
    4Posts

    Re: How to add New Item, item img, and pet textures?

    Quote Originally Posted by Agnares View Post
    Thats it mate this script helps you to decompile it
    Sorry for the stupidity, but how to use this script to decompile in PNG?

  12. #12
    Member Agnares is offline
    MemberRank
    Jun 2014 Join Date
    53Posts

    Re: How to add New Item, item img, and pet textures?

    I wrote it all up, just add it into tachyonres.cpp

  13. #13
    Novice Sarra is offline
    MemberRank
    Apr 2019 Join Date
    4Posts

    Re: How to add New Item, item img, and pet textures?

    Quote Originally Posted by Agnares View Post
    I wrote it all up, just add it into tachyonres.cpp
    I added lines, but what to do next? build customer? How to make a decompilation?

  14. #14
    Member Agnares is offline
    MemberRank
    Jun 2014 Join Date
    53Posts

    Re: How to add New Item, item img, and pet textures?

    Create folder \\Textury or whatever name of folder you want, you can change it in that script and run the client
    it should decompile all pngs



Advertisement