deaviss
Joined: 17th Jul 2011
Posts: 23
How to search for gfx in resource hacker/anolis resourcer
I have a problem, i've read about it, but still idk how it works.
I dont know how to find gfx, icon for a specific id.
Eg. i want to find peasant suit. Edit pub says [Icon 157] and [GFX ID 16] and somehow in anolis resourcer in gfx013 my peasant suit is numbered 851-872 and item in gfx023 is numbered 413. How does it work? Is there any algorithm or how do i calculate this values if i want to find something by
icon, or gfx id from edit pub? How do i make new items and know their ids?
6 years, 44 weeks ago
|
Cirras

Joined: 11th Mar 2011
Posts: 1221
Re: How to search for gfx in resource hacker/anolis resourcer
There's an equation to each one, but it depends on which gfx file you're in. Each one has different sequencing.
Most people just trial-and-error their way through the egf files and keep going until they find what they're looking for. ---
Want to learn to pixel?
Pixelsource.org
6 years, 44 weeks ago
|
deaviss
Joined: 17th Jul 2011
Posts: 23
Re: How to search for gfx in resource hacker/anolis resourcer
I've found the formulas somehow. I wrote a simple page in js, if anyone wants to use it, feel free.
It's a conventer from anolis resource gfx number, to an gfx/icon number. Here's the code.
https://pastebin.com/qyK2NwPX

6 years, 44 weeks ago
|
Re: How to search for gfx in resource hacker/anolis resourcer
deaviss posted: (6th Jul 2018, 05:35 pm)
I've found the formulas somehow. I wrote a simple page in js, if anyone wants to use it, feel free.
It's a conventer from anolis resource gfx number, to an gfx/icon number. Here's the code.
https://pastebin.com/qyK2NwPX

Thatâs actually incredibly useful, should be added to server tools. Well done.
6 years, 44 weeks ago
| | | |