Just interesting, maybe it will be easiers to swap xmls not gr2 files. I mean if i change model/texture location to gear i need to swapZeroGravitas wrote: ↑Thu Feb 21, 2019 10:41 pm What I do in such cases — and there could be more efficient ways to go at it, sorry, I'm a novice — is:
• First I search for the item at https://swtor.jedipedia.net/ (say, https://swtor.jedipedia.net/en/search?q ... er&patch=0 ) and get some results.
• In the actual item's page: https://swtor.jedipedia.net/en/itm/batt ... elmet-mk-2 I can see in the Appearance box a reference to [ModelId] => 1000176. What I do then is use my PC (a Mac, actually) desktop's indexed search to look for any of the game's XML files that contains that 1000176 number.
• In this case, I'm finding this file at extracted_swtor/resources/art/dynamic/face/index.xml. I open it with a text editor and search inside for that number, finding it in a section of the file that goes like this:
You can see that the base file of the item is /art/dynamic/face/model/face_trhelmet02_[bt]_archetype.gr2Code: Select all
<Asset> <ID>1000176</ID> <ArtName>face_trhelmet02_heavy_tr_a02</ArtName> <DesignerName>face trhelmet02 heavy tr a02</DesignerName> <BaseFile>/art/dynamic/face/model/face_trhelmet02_[bt]_archetype.gr2</BaseFile> <Attachments> <Attachment id="1001554" name="face_trhelmet02_bt_heavy_tr_a02_back" filename="/art/dynamic/face/model/face_trhelmet02_[bt]_heavy_tr_a02_back.gr2" /> </Attachments> <Materials> <Material id="1001542" name="face_trhelmet02_heavy_tr_a02c02_u" filename="/art/shaders/materials/face_trhelmet02_heavy_tr_a02c02_u.mat"> <ColorSchemes> <ColorScheme guid="1002489" /> <ColorScheme guid="1002487" /> <ColorScheme guid="1002488" /> <ColorScheme guid="1375793" /> <ColorScheme guid="1375794" /> <ColorScheme guid="1375795" /> <ColorScheme guid="1375796" /> <ColorScheme guid="1402653" /> <ColorScheme guid="1402654" /> <ColorScheme guid="1402655" /> <ColorScheme guid="1402656" /> <ColorScheme guid="1402657" /> <ColorScheme guid="1402659" /> <ColorScheme guid="1375788" /> </ColorSchemes> <MaterialOverrides /> </Material> </Materials> <Bodytypes> <Bodytype>bfa</Bodytype> <Bodytype>bfb</Bodytype> <Bodytype>bfn</Bodytype> <Bodytype>bfs</Bodytype> <Bodytype>bma</Bodytype> <Bodytype>bmf</Bodytype> <Bodytype>bmn</Bodytype> <Bodytype>bms</Bodytype> </Bodytypes> <SkinMaterialIndex>-1</SkinMaterialIndex> <SkinHueIndex>-1</SkinHueIndex> <Filters> <Filter name="Style" value="heavy" /> <Filter name="Class" value="tr" /> </Filters> <Identities /> <Tags /> <CustomData /> </Asset>
That [bt] part ought to be substituted by the body type the item you want is meant for (bma, bmn, bfn, etc.).
It says too that there is an attachment object that completes it, and its filename:
<Attachment id="1001554" name="face_trhelmet02_bt_heavy_tr_a02_back" filename="/art/dynamic/face/model/face_trhelmet02_[bt]_heavy_tr_a02_back.gr2" />
• With those filenames in hand you can do another indexed search to get to them quickly (Windows and macOS' desktop search is a godsend for these things). And you can see how there are references to material description and texture files that point at the textures meant to be used for the item.
By the way, If there are smarter ways to do this, I'd like to know I would also like to know how to get Noesis to autoload all those elements by itself: I never managed to make that work.
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Star Wars - The Old Republic - Beta
Re: Star Wars - The Old Republic - Beta
-
- veteran
- Posts: 103
- Joined: Thu Sep 27, 2018 12:59 am
- Has thanked: 50 times
- Been thanked: 26 times
Re: Star Wars - The Old Republic - Beta
Oh, you are right! That would solve everything.
The difficult part is getting the modified XMLs back inside the TOR files. That completely eludes me.
The difficult part is getting the modified XMLs back inside the TOR files. That completely eludes me.
Re: Star Wars - The Old Republic - Beta
If anyone (i dunno for what reason lol) searhing malgus textures like me
their new location here
swtor_main_art_creature_body_type_1.tor
ZeroGravitas and how you extract all tor arhives, just one by one?
their new location here
swtor_main_art_creature_body_type_1.tor
ZeroGravitas and how you extract all tor arhives, just one by one?
Re: Star Wars - The Old Republic - Beta
Hmm
Dunno why
but i can extract all from arhive - and its doing well
but when i want extract current dds/gr2 it returns error
Dunno why
but i can extract all from arhive - and its doing well
but when i want extract current dds/gr2 it returns error
Re: Star Wars - The Old Republic - Beta
will answer to myself, i am afraid it is impossible
I just open textures in Photoshop, and malgus hasnt his armour separate. Armor+head+mask = all in one file.
-
- veteran
- Posts: 103
- Joined: Thu Sep 27, 2018 12:59 am
- Has thanked: 50 times
- Been thanked: 26 times
Re: Star Wars - The Old Republic - Beta
Not sure about what could be happening there.
Regarding Malgus, perhaps you could try using the separate armor pieces instead. You wouldn't have the guy's lovely face but at least you would wear the suit.
https://swtor.jedipedia.net/en/search?q=malgus%27s
Re: Star Wars - The Old Republic - Beta
The problem is Cartel Market player's malgus set is awfull comparing to original oneZeroGravitas wrote: ↑Mon Jun 24, 2019 6:13 pm
Regarding Malgus, perhaps you could try using the separate armor pieces instead. You wouldn't have the guy's lovely face but at least you would wear the suit.
https://swtor.jedipedia.net/en/search?q=malgus%27s
ZeroGravitas can you help me with bodytypes. All that bms/bmn - what does these means?
-
- veteran
- Posts: 103
- Joined: Thu Sep 27, 2018 12:59 am
- Has thanked: 50 times
- Been thanked: 26 times
Re: Star Wars - The Old Republic - Beta
Oh, those have to do with the character creator's body type selector, and are as follows:
Male Body Type 1: bma = base male anorexic (seriously )
Male Body Type 2: bmn = base male normal
Male Body Type 3: bms = base male strong
Male Body Type 4: bmf = base male fat
Female Body Type 1: bfa = base female anorexic
Female Body Type 2: bfn = base female normal
Female Body Type 3: bfs = base female strong
Female Body Type 4: bfb = base female big (phew! )
Last edited by ZeroGravitas on Sat Jun 05, 2021 9:23 pm, edited 2 times in total.
Re: Star Wars - The Old Republic - Beta
I have a question about current item xml
E.g
https://swtor.jedipedia.net/en/itm/dart ... reastplate
Under modl id we can see - 1002645
in xml in attachments we can ses
However shoulders model and hoodup - are missing on darth skotia armor.
So what ID i need to find to edit exactly set of armor i need?
E.g
https://swtor.jedipedia.net/en/itm/dart ... reastplate
Under modl id we can see - 1002645
in xml in attachments we can ses
Code: Select all
<Attachment id="1002655" name="chest armor01 heavy sw a07" filename="/art/dynamic/chest/model/chest_armor01_[bt]_heavy_sw_a07_chest.gr2" />
<Attachment id="1002646" name="chest armor01 heavy sw a07" filename="/art/dynamic/chest/model/chest_armor01_[bt]_heavy_sw_a07_hooddown.gr2" />
<Attachment id="1002647" name="chest armor01 heavy sw a07" filename="/art/dynamic/chest/model/chest_armor01_[bt]_heavy_sw_a07_hoodup.gr2" />
<Attachment id="1002654" name="chest armor01 heavy sw a07" filename="/art/dynamic/chest/model/chest_armor01_[bt]_heavy_sw_a07_shld.gr2" />
So what ID i need to find to edit exactly set of armor i need?
-
- veteran
- Posts: 103
- Joined: Thu Sep 27, 2018 12:59 am
- Has thanked: 50 times
- Been thanked: 26 times
Re: Star Wars - The Old Republic - Beta
Are you replacing the "[bt]" part in the filenames with the body type you want to use? Say, "bmn" for a Body Type 2 male:
chest_armor01_bmn_heavy_sw_a07_hoodup.gr2
I ask because I've done a search in my drive for that file and I found it at resources/art/dynamic/chest/model
chest_armor01_bmn_heavy_sw_a07_hoodup.gr2
I ask because I've done a search in my drive for that file and I found it at resources/art/dynamic/chest/model
Re: Star Wars - The Old Republic - Beta
i am not repalcing gr2 atm, just lurking in xmlZeroGravitas wrote: ↑Mon Jun 24, 2019 7:49 pm Are you replacing the "[bt]" part in the filenames with the body type you want to use? Say, "bmn" for a Body Type 2 male:
chest_armor01_bmn_heavy_sw_a07_hoodup.gr2
I ask because I've done a search in my drive for that file and I found it at resources/art/dynamic/chest/model
e.g [ModelId] => 1002645 - that ID answering for ALL armors with such piece, not Darth Skotia exactly
I will try to play with gr2 later
-
- veteran
- Posts: 103
- Joined: Thu Sep 27, 2018 12:59 am
- Has thanked: 50 times
- Been thanked: 26 times
Re: Star Wars - The Old Republic - Beta
Sorry, I meant searching for the file pointed at by that XML file, by doing such substitution. OK
Re: Star Wars - The Old Republic - Beta
My english is awful but i will try to explain what i want
e.g
we have Darth Skotia chest
https://swtor.jedipedia.net/en/itm/dart ... reastplate
i want to add hood to that piece of armor
https://swtor.jedipedia.net/en/npc/darth-skotia (heres same armor with hood)
from last link i understand that i need 3 armor pieces
chest_armor01_[bt]_archetype
+ chest_armor01_[bt]_heavy_sw_a07_chest
+ chest_armor01_[bt]_heavy_sw_a07_hooddown
When i lurking for Darth Skotia chest https://swtor.jedipedia.net/en/itm/dart ... reastplate
i can see strings
[Id] => 16140952691667918224
[Id62] => a5r0OzK
[Fqn] => ipp.mtx.season8.darth_skotia.chest
[Type] => 4
[ModelId] => 1002645
[MaterialIndex] => 1002659
[Attachments] => Array
I search for [ModelId] => 1002645, and in /resources/art/dynamic/chest/index.xml i have strings
as we can see that Attachments realates to all types of such gear not exactly Darth Skotia chest. I just tried delete string
sucesfully swaped files - but hood doesnt appear in game
Now i will try just replace
chest_armor01_bmn_heavy_sw_a07_hooddown.gr2 with chest_armor01_bmn_heavy_sw_a07_hoodup.gr2
e.g
we have Darth Skotia chest
https://swtor.jedipedia.net/en/itm/dart ... reastplate
i want to add hood to that piece of armor
https://swtor.jedipedia.net/en/npc/darth-skotia (heres same armor with hood)
from last link i understand that i need 3 armor pieces
chest_armor01_[bt]_archetype
+ chest_armor01_[bt]_heavy_sw_a07_chest
+ chest_armor01_[bt]_heavy_sw_a07_hooddown
When i lurking for Darth Skotia chest https://swtor.jedipedia.net/en/itm/dart ... reastplate
i can see strings
[Id] => 16140952691667918224
[Id62] => a5r0OzK
[Fqn] => ipp.mtx.season8.darth_skotia.chest
[Type] => 4
[ModelId] => 1002645
[MaterialIndex] => 1002659
[Attachments] => Array
I search for [ModelId] => 1002645, and in /resources/art/dynamic/chest/index.xml i have strings
Code: Select all
<Attachment id="1002655" name="chest armor01 heavy sw a07" filename="/art/dynamic/chest/model/chest_armor01_[bt]_heavy_sw_a07_chest.gr2" />
<Attachment id="1002646" name="chest armor01 heavy sw a07" filename="/art/dynamic/chest/model/chest_armor01_[bt]_heavy_sw_a07_hooddown.gr2" />
<Attachment id="1002647" name="chest armor01 heavy sw a07" filename="/art/dynamic/chest/model/chest_armor01_[bt]_heavy_sw_a07_hoodup.gr2" />
<Attachment id="1002654" name="chest armor01 heavy sw a07" filename="/art/dynamic/chest/model/chest_armor01_[bt]_heavy_sw_a07_shld.gr2" />
Code: Select all
<Attachment id="1002647" name="chest armor01 heavy sw a07" filename="/art/dynamic/chest/model/chest_armor01_[bt]_heavy_sw_a07_hoodup.gr2" />
Now i will try just replace
chest_armor01_bmn_heavy_sw_a07_hooddown.gr2 with chest_armor01_bmn_heavy_sw_a07_hoodup.gr2