ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Call of Pripyat Forum » Mod downloads
Alundaio's Toolset

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  05:40:43  7 September 2015
profilee-mailreply Message URLTo the Top
Alundaio
Sad Clown
(Resident)

 

 
On forum: 04/05/2010
 

Message edited by:
Alundaio
09/08/2015 4:19:24
Messages: 2220
Alundaio's Toolset

Open X-Ray Texture Tool
Author: Alundaio
Download: https://github.com/revolucas/OXR-Texture-Tool
Official thread: www.epicstalker.com
Readme: http://pastebin.com/sq1Lfceu
GSC Discussion: http://gsc-game.com/main.php?t=community&s=forums&s_game_type=xr3&thm_page=1&thm_id=6554&sec_id=18#120135

About:
This tools purpose is to unpack ui_icon_equipment.dds into separate individual icons so that they can be manipulated individually or merged more easily. This tool is capable of creating a new sprite sheet using the unpacked icons and writing the new geometry values (w,h,x,y) into the system configs. It also allows you to merge up to 4 existing unpacked ui_icon_equipment directories into a single sheet.
Stalker Icon Editor, aka SIE is also included and can be launched from the GUI.


Example Usages:
Say you create a mod, such as a weapon mod or an item mod with additional icons. If you want your mod to be mergeable into different mods, it is hell for the person who downloads the mod to merge your icons into their existing ui_icon_equipment.dds. That is where this program comes in. Simply create and package your mod like normal. But then you can unpack the ui_icon_equipment.dds and keep only the icons you added written in shared.ltx and the individual icons. Then you can redistribute the unpacked icons along side your mod so that the person who is using your mod can merge your icons into theirs.

Here is an example with OWR3:
CoC icons before: http://www.epicstalker.com/uploads/stalker/misc/coc_ui_icon_equipment.png
CoC icons after: http://www.epicstalker.com/uploads/stalker/misc/owr_ui_icon_equipment.png

This was a single click of a button! And all inv_grid_x, inv_grid_y, inv_grid_width and inv_grid_height were updated automatically in the output gamedata directory! Magic!

You can get the OWR3 package I've used from the mod section of the CoP subforum, to see how you should set up package to be merged into another project: http://forum.epicstalker.com/viewtopic.php?f=8&p=4682#p4682

Another possible use is to simply make more room by repacking your icons. The algorithm sorts by cell size, X-Ray engine class and alphabetically. So there is less likely to be unused space allowing you to fit more icons onto the sheet.

Information:
The source is all here It was created using AHK (ANSI 32-bit) and lua, and is completely standalone so no need to have lua or AHK installed. Anyone is welcome to fork and modify it for their own purposes. The launcher.exe should be the latest compilation of launcher.ahk. It's just mainly here for those that do not know how to use AHK.

The tool is not perfect. Sometimes you will have to do manual changes to the shared.ltx and rename/add/remove sections and icons to get a perfect merge. Once you get used to how the process is done this step is also quick. An example is when I merged OWR3 icons with CoC. OWR was missing a quest item section for svu and a ak74u; this created duplicate icons on the sheet. The fix was to simply add these missing sections to owr's shared.ltx for the sections using the icons I wanted them to use.

The final output of new_ui_icon_equipment is in .png format because of a quality issue when using ImageMagick to convert the png to dxt5 dds.

Although it is very unlikely to ruin system configs, I highly recommend your backup your output gamedata\configs folder before a merge or repack.
  11:33:40  27 December 2016
profilee-mailreply Message URLTo the Top
Alundaio
Sad Clown
(Resident)

 

 
On forum: 04/05/2010
 

Message edited by:
Alundaio
12/27/2016 11:36:58
Messages: 2220
AXR Toolset

Repository: https://github.com/revolucas/AXRToolset
Wiki: https://github.com/revolucas/AXRToolset/wiki
Screenshots: http://imgur.com/a/0Dpux
Video: https://youtu.be/iIYbl6_xSHU

About:
AXRToolset is an AutoHotkey & Lua-based scripting platform I developed which utilizes a Graphical User Interface to display scripted plugins which do various automated tasks.

So far there are about 10 plugins I wrote to aid in development of Call of Chernobyl, most of which can be used for Stalker modding for any of the games. This been around for awhile but I just realized I never posted it on GSC forum.

Here is a list of each of the current plugins and how to use them: https://github.com/revolucas/AXRToolset/wiki/Existing-Plugins

Probably the most notable plugin is the LTX QuickEdit which allows you to change values in several ltx files on the fly by using custom filters and search terms to display and edit results. Seriously, you'll never believe how much faster it is to go around changing section properties.

There is a texture name converter which will recursively find and copy SoC/CS textures and rename them to the CoP naming scheme.

A GUI wrapper for popular command line tools such as the db unpacker/repacker and obj->skl tools.

Or if you are a script kiddie you can use it to make your own stuff quite easily, especially if you have a grasp of Lua. There are dozens of exported AHK functions that can be called from lua which allow you to do just about anything lua can't do on it's own.
  22:44:33  16 February 2017
profilee-mailreply Message URLTo the Top
Alundaio
Sad Clown
(Resident)

 

 
On forum: 04/05/2010
 

Message edited by:
Alundaio
02/16/2017 22:49:28
Messages: 2220
AXRToolset seen big updates recently.

1. It now supports English, French, Spanish and Russian languages.

2. There is now OGF property editor, it appears to work for all versions of the game if you want to change texture, shader or motion paths without the headache of importing/exporting with the Actor Editor. Now you can easily swap textures or even fix shader problems, like red dot sights in some mods don't work because they aren't using the correct shader on the texture; Now you can fix it yourself.

3. AXRToolst now has a "Check for update" button. It will notify you if there is a new version and will download/install it.


If you have any language supports requests, let me know. It's very easy to add new support by defining text aliases in AXRToolset\configs\text\language.ltx

https://github.com/revolucas/AXRToolset

https://github.com/revolucas/AXRToolset/wiki
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Call of Pripyat Forum » Mod downloads
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2007 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.