Jump to content

Fox`Tail

Verified members
  • Content Count

    23
  • Joined

  • Last visited

Posts posted by Fox`Tail

  1. New Release: 0.1.6!!!

     

    Hi all, I'm happy to bring this new big release of HoNAvatarManager!

    What's new

    • Added staff_%heroname%_ult_boost.entity file parsing - now SotM effects should correctly display for all avatars.
    • Fixed throwback avatars parsing - it should now correctly parse hero and staff .entity files.
    • Added early administrator check - now the program will fail at the start if not launched as Administrator rather than at the file copy time.
    • Added Set-HeroAvatarUnpacked cmdlet for easier testing. However, you could use this command instead of the `Set-HeroAvatar` - it should work a bit faster.
    • Tested, fixed and updated all avatars for the following heroes: Accursed, Adrenaline, Flint Beastwood, Moon Queen, Night Hound, Parasite, Pollywog Priest, Swiftblade, Thunderbringer and Voodoo Jester.
    • Added Create an issue link for each custom exception. Now you could copy and paste the link to create an issue whenever you run into an error.
    • Updated argument completion for Set-HeroAvatar command - it should be easier to pick the right hero or avatar.

    How to update

    1. Run PowerShell Core as Administrator
    2. Run `Install-Module HoNAvatarManager -Force`

     

    Feel free to leave a comment with suggestion or ask me any question about the program.

    P.S. I don't have enough time recently to complete the video guide for the program, but I hope I will be able to this on the following weekend. Sorry for the delay.

  2. On 10/11/2020 at 12:33 PM, RedBear said:

    The problem with animations has long been known. This is due to the difference in the number of animations in the model.mdf files of the default model and avatar model.

    Hi,@RedBear do you know a way to fix this kind of issues with animations? For some reason an attack animation works fine in practice game, but bugs in ladder. I don't have an idea what's an issue here honestly 😞

  3. 4 hours ago, Omgitsemil said:

    Can you make a video of how to install and how to use that would be awesome thanks!

    Yea, I will probably do it this week since PowerShell is not something common everyone has experience using ?

  4. Hey @RedBearor @ElementUser, you might know something about it: I'm trying to implement some kind of hot reload for mods testing. Is there a way to delete a resource file while the game is running and load a new resource file instead? I've tried to do something like this:

    ResourceCmd /heroes/parasite unregister

    ...but the resources_Parasite.s2z file handle is still locked by the hon.exe ?

  5. @kaboomking after you type Set-HeroAvatar -Hero, don't press Enter, type Space and then press Tab.
     

    Quote

    Also was wondering if we had to go through the process of installing and updating it everytime we want to change a avatar or not?

    No, you could set as many avatars as you want without updating the program.

  6. Quote

    Thanks again and would you have to be updating the manager all the time for these mods to work? 

    I don't think that the structure of s2z files are changing with the new patches, so it should be working fine. The only updates required is adding new avatars.

    Quote

    Or even more specific instructions for example giving us the command for using a certain avatar for reference. 

    There is already an instruction, see Examples article.

    If you're struggling to find the right hero/avatar combination, try this out:

    1.  Type Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
    2. Type Set-HeroAvatar -Hero
    3. Press Tab - this will give you the list of all possible heroes. Select one with arrows and Enter key.
    4. Type -Avatar
    5. Press Tab - this will give you the list of all possible avatars for the selected hero. Select one with arrows and Enter key.

    I understand why the Command Line Interface could be difficult to use, that's why I'm planning on creating a GUI app as well as a standalone version (a set of .s2z files for each avatar that could be manually put into a game folder).

  7. @Mr`CactusMy main priority right now is to finish the avatar related work (there are still many broken animations and stuff that needs to be managed), but the announcer features is definitely something that could be included next.
    Thanks ?

    • Thanks 1
  8. [WIP] HoN Avatar Manager

    Latest release: 0.1.6

    Content

    • About
    • How it works
    • How to install
    • How to update
    • How to run
    • Examples
    • Links

    About

    Hello everyone! Recently I've been searching for the good old HoN mods that replace the default hero avatars with an existed from the game (some EA only avatars are just too good ). Turns out that they are all pretty outdated and broken, so I decided to make some myself. Thanks to the @RedBear I've managed to find pretty useful information about the HoN modding on an old forum that helps me a lot during the initial research.

    Turns out that all the models, effects, sounds, etc. could be extracted directly from the game files, so this is exactly what I've done 

    Using this program you will be able to replace the default avatar with any other from the game.

    Any suggestions and contributions are welcome!

    Currently, there is only a CLI (command line interface) for the HoN Avatar Manager. Creating a GUI application is not the first priority since there is still a lot of work to do and test. Also, cross-platform support could be expected after the core program will be finished and tested on Windows.

    How it works

    To create a resources file with the hero avatar, the program does several things:

    • Extracts the `/heroes/%heroname%` folder from the corresponding `resourcesXXX.s2z` file into a temporary directory.
    • Changes the `/heroes/%heroname%/hero.entity` file, replacing the `hero` attributes and child nodes with the corresponding values from the `altavatar` node.
    • Packs the `/heroes` directory into a `.s2z` (zip) archive.
    • Copies the `resources_%heroname%.s2z` file into a `/game` HoN directory.

    How to install

    Note: The current implementation of this program relies on PowerShell Core and works only on Windows (tested only on Windows 10).

    1. Install PowerShell Core
    2. Run PowerShell Core as Administrator
    3. Run `Install-Module HoNAvatarManager`

    How to update

    1. Run PowerShell Core as Administrator
    2. Run `Install-Module HoNAvatarManager -Force`

    How to run

    1. Run PowerShell Core as Administrator
    2. Run `Import-Module HoNAvatarManager`
    3. To make the completion process easier, run `Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete`
    4. If you have HoN installed into directory other than `C:\Program Files (x86)\Heroes of Newerth`, run `Set-HoNPath -Path "path\to\hon"

    Examples

    • Set HoN path
    Set-HoNPath -Path "D:\Games\Heroes of Newerth"
    • Set Aluna avatar to Stardust Aluna
    Set-HeroAvatar -Hero "Aluna" -Avatar "Stardust Aluna"
    • Remove Devourer avatar
    Remove-HeroAvatar -Hero "Devourer"
    • Remove all avatars
    Remove-HeroAvatar -All

     

    • See a list of all available heroes: after typing `Set-HeroAvatar -Hero ` press Tab and "y" key to see all available heroes.
    • See a list of all available hero avatars: after typing `Set-HeroAvatar -Hero "%heroname%" -Avatar ` press Tab key to see all available hero avatars.

    Links

  9. @WhyzozeriousThanks for pointing this out. I'm currently working on a program that will allow you to replace your default hero avatar with any other in the game (except for the things like ultimate avatars, etc.) and soon will share it here then ?

  10. @RedBearhey mate, thanks for sharing those links, they are pretty helpful.
    I've found an issue during the simple texture mod development - after I copy my .s2z file into the /game folder and launch the game, the hero that I'm targeting simply disappear from the game (cannot select or see in Learning section). So, as I sanity check I've decided to download an existing working mod and learn its structure. After that I have packed it back using the 7-Zip with the following settings:

    Archive format: zip
    Compression level: Normal
    Complression method: Deflate
    Dictionary size: 32 KB
    Word size: 32

    spacer.png

    After copying this file into the /game folder, the same issue appear - the hero cannot be found in the game client. 

    Could you please point me how to property pack the folder into a s2z archive?
    Thanks!

     

  11. Hello everyone. I've been playing HoN since 2012 or so and always find the most fun playing with my friend. (Un)fortunately for me, he's now busy with work and other stuff, so I'm mostly solo ranked on different accounts. It would be pretty nice if I could found someone to play with in party.
    PM me on one of this accs if you want to play together:
    `notthistime - Gold IV - smurf
    Fox`Tail - Diamond III - kind of a smurf
    `thisthing - Gold II - all random acc
    `plaintext - Gold I - smurf

    Thanks everyone!

  12. Hi, I'm curious is there an official guide/documentation on how to create mods for HoN? I'm talking about mods like current GPM or MMR overlay or some other information related mods. I've found several topics on different sites, but they seem to be pretty old and non-informative. It would be pretty cool if someone could provide a guide on how to do this.

    Thanks!

  13. Hi, I'm interested in exploring a HoN API for retrieving statistics about players and matches. Also, I'm working on create a .NET library to access it.
    I have found a guide here: http://api.heroesofnewerth.com/readme.php

    Recently I've faced a problem with match history API: api.heroesofnewerth.com/match_history/all/accountid/123456/?token=yourtoken

    This URI returns only the matches played before the certain period in time (something like pre-2015).

    I cannot get any information about the recent matches.

    However, the match details API works just fine for the latest matches: api.heroesofnewerth.com/match/settings/matchid/89520672/?token=yourtoken

    I wonder if I'm doing something wrong or if this API could be fixed.

    Thanks!

×
×
  • Create New...