Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Star Wars - The Old Republic - Beta

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

Re: Star Wars - The Old Republic - Beta

Post by probe88 »

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

Post by ZeroGravitas »

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: 32
Joined: Mon Jun 24, 2019 2:10 pm
Been thanked: 2 times

Re: Star Wars - The Old Republic - Beta

Post by probe88 »

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: 32
Joined: Mon Jun 24, 2019 2:10 pm
Been thanked: 2 times

Re: Star Wars - The Old Republic - Beta

Post by probe88 »

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: 32
Joined: Mon Jun 24, 2019 2:10 pm
Been thanked: 2 times

Re: Star Wars - The Old Republic - Beta

Post by probe88 »

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

Post by ZeroGravitas »

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: 32
Joined: Mon Jun 24, 2019 2:10 pm
Been thanked: 2 times

Re: Star Wars - The Old Republic - Beta

Post by probe88 »

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

Post by ZeroGravitas »

probe88 wrote: Mon Jun 24, 2019 6:20 pmZeroGravitas 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 = 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! :D )
Last edited by ZeroGravitas on Sat Jun 05, 2021 9:23 pm, edited 2 times in total.
probe88
beginner
Posts: 32
Joined: Mon Jun 24, 2019 2:10 pm
Been thanked: 2 times

Re: Star Wars - The Old Republic - Beta

Post by probe88 »

Ty very much ;)
probe88
beginner
Posts: 32
Joined: Mon Jun 24, 2019 2:10 pm
Been thanked: 2 times

Re: Star Wars - The Old Republic - Beta

Post by probe88 »

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

Post by ZeroGravitas »

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: 32
Joined: Mon Jun 24, 2019 2:10 pm
Been thanked: 2 times

Re: Star Wars - The Old Republic - Beta

Post by probe88 »

UPD: nvm
Last edited by probe88 on Mon Jun 24, 2019 8:00 pm, edited 1 time in total.
probe88
beginner
Posts: 32
Joined: Mon Jun 24, 2019 2:10 pm
Been thanked: 2 times

Re: Star Wars - The Old Republic - Beta

Post by probe88 »

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

Post by ZeroGravitas »

probe88 wrote: Mon Jun 24, 2019 7:59 pmi 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: 32
Joined: Mon Jun 24, 2019 2:10 pm
Been thanked: 2 times

Re: Star Wars - The Old Republic - Beta

Post by probe88 »

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