READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Star Wars - The Old Republic - Beta

The Original Forum. Game archives, full of resources. How to open them? Get help here.
probe88
beginner
Posts: 26
Joined: Mon Jun 24, 2019 2:10 pm

Re: Star Wars - The Old Republic - Beta

Post by probe88 » Mon Jun 24, 2019 4:41 pm

ZeroGravitas 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:

Code: 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>
You can see that the base file of the item is /art/dynamic/face/model/face_trhelmet02_[bt]_archetype.gr2
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.
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 swap :roll:

ZeroGravitas
advanced
Posts: 54
Joined: Thu Sep 27, 2018 12:59 am
Has thanked: 19 times
Been thanked: 11 times

Re: Star Wars - The Old Republic - Beta

Post by ZeroGravitas » Mon Jun 24, 2019 4:47 pm

Oh, you are right! :o That would solve everything.

The difficult part is getting the modified XMLs back inside the TOR files. That completely eludes me.

probe88
beginner
Posts: 26
Joined: Mon Jun 24, 2019 2:10 pm

Re: Star Wars - The Old Republic - Beta

Post by probe88 » Mon Jun 24, 2019 5:04 pm

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?

probe88
beginner
Posts: 26
Joined: Mon Jun 24, 2019 2:10 pm

Re: Star Wars - The Old Republic - Beta

Post by probe88 » Mon Jun 24, 2019 5:15 pm

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

probe88
beginner
Posts: 26
Joined: Mon Jun 24, 2019 2:10 pm

Re: Star Wars - The Old Republic - Beta

Post by probe88 » Mon Jun 24, 2019 5:31 pm

probe88 wrote:
Mon Jun 24, 2019 2:11 pm
Can i swap malgus armor model+texture to use it as player in game?
will answer to myself, i am afraid it is impossible :D

I just open textures in Photoshop, and malgus hasnt his armour separate. Armor+head+mask = all in one file.

ZeroGravitas
advanced
Posts: 54
Joined: Thu Sep 27, 2018 12:59 am
Has thanked: 19 times
Been thanked: 11 times

Re: Star Wars - The Old Republic - Beta

Post by ZeroGravitas » Mon Jun 24, 2019 6:13 pm

probe88 wrote:
Mon Jun 24, 2019 5:15 pm
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
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 :P but at least you would wear the suit.

https://swtor.jedipedia.net/en/search?q=malgus%27s

probe88
beginner
Posts: 26
Joined: Mon Jun 24, 2019 2:10 pm

Re: Star Wars - The Old Republic - Beta

Post by probe88 » Mon Jun 24, 2019 6:20 pm

ZeroGravitas 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 :P but at least you would wear the suit.

https://swtor.jedipedia.net/en/search?q=malgus%27s
The problem is Cartel Market player's malgus set is awfull comparing to original one :[

ZeroGravitas can you help me with bodytypes. All that bms/bmn - what does these means?

ZeroGravitas
advanced
Posts: 54
Joined: Thu Sep 27, 2018 12:59 am
Has thanked: 19 times
Been thanked: 11 times

Re: Star Wars - The Old Republic - Beta

Post by ZeroGravitas » Mon Jun 24, 2019 6:30 pm

probe88 wrote:
Mon Jun 24, 2019 6:20 pm
ZeroGravitas can you help me with bodytypes. All that bms/bmn - what does these means?
Oh, those have to do with the character creator's body type selector, and are as follows:

Male Body Type 1: bma = body male anorexic (seriously :D )
Male Body Type 2: bmn = body male normal
Male Body Type 3: bms = body male super
Male Body Type 4: bmf = body male fat

Female Body Type 1: bfa = body female anorexic
Female Body Type 2: bfn = body female normal
Female Body Type 3: bfs = body female super
Female Body Type 4: bfb = body female big (phew! :D )

probe88
beginner
Posts: 26
Joined: Mon Jun 24, 2019 2:10 pm

Re: Star Wars - The Old Republic - Beta

Post by probe88 » Mon Jun 24, 2019 6:54 pm

Ty very much ;)

probe88
beginner
Posts: 26
Joined: Mon Jun 24, 2019 2:10 pm

Re: Star Wars - The Old Republic - Beta

Post by probe88 » Mon Jun 24, 2019 7:40 pm

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

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" />
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?

ZeroGravitas
advanced
Posts: 54
Joined: Thu Sep 27, 2018 12:59 am
Has thanked: 19 times
Been thanked: 11 times

Re: Star Wars - The Old Republic - Beta

Post by ZeroGravitas » 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

probe88
beginner
Posts: 26
Joined: Mon Jun 24, 2019 2:10 pm

Re: Star Wars - The Old Republic - Beta

Post by probe88 » Mon Jun 24, 2019 7:58 pm

UPD: nvm
Last edited by probe88 on Mon Jun 24, 2019 8:00 pm, edited 1 time in total.

probe88
beginner
Posts: 26
Joined: Mon Jun 24, 2019 2:10 pm

Re: Star Wars - The Old Republic - Beta

Post by probe88 » Mon Jun 24, 2019 7:59 pm

ZeroGravitas 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
i am not repalcing gr2 atm, just lurking in xml

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

ZeroGravitas
advanced
Posts: 54
Joined: Thu Sep 27, 2018 12:59 am
Has thanked: 19 times
Been thanked: 11 times

Re: Star Wars - The Old Republic - Beta

Post by ZeroGravitas » Mon Jun 24, 2019 8:04 pm

probe88 wrote:
Mon Jun 24, 2019 7:59 pm
i am not repalcing gr2 atm, just lurking in xml
Sorry, I meant searching for the file pointed at by that XML file, by doing such substitution. OK :)

probe88
beginner
Posts: 26
Joined: Mon Jun 24, 2019 2:10 pm

Re: Star Wars - The Old Republic - Beta

Post by probe88 » Mon Jun 24, 2019 8:13 pm

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

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" />
as we can see that Attachments realates to all types of such gear not exactly Darth Skotia chest. I just tried delete string

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" />
sucesfully swaped files - but hood doesnt appear in game :bleh:


Now i will try just replace
chest_armor01_bmn_heavy_sw_a07_hooddown.gr2 with chest_armor01_bmn_heavy_sw_a07_hoodup.gr2

Post Reply