Author Topic: Costume viewer / editor utility.  (Read 33422 times)

Artillerie

  • Lieutenant
  • ***
  • Posts: 99
Re: Costume viewer / editor utility.
« Reply #60 on: December 03, 2012, 06:39:48 PM »
I believe this is it

To get it to run in english:
start>run>regedt32

HKey_Current_User\Software\Cryptic\KRCOH
Change the Locale entry to 0

After that, right-click on the KRCOH key, select permissions.
Pick the user account that you use normally.
DENY that account Full Control.

Accept the message.

This changes the locale to english, and prevents the application from resetting it to Korean when you launch the application.

Worked like a charm - thank you :)

The Fifth Horseman

  • Elite Boss
  • *****
  • Posts: 961
  • Outside known realities.
Re: Costume viewer / editor utility.
« Reply #61 on: December 03, 2012, 08:43:25 PM »
The good news is that the .bin file from COHGuru unlocks some stuff when combined with the beta's .piggs .
The bad news is that the .bin file from the beta simply freezes the creator on load.
We were heroes. We were villains. At the end of the world we all fought as one. It's what we did that defines us.
The end occurred pretty much as we predicted: all servers redlining until midnight... and then no servers to go around.

Somewhere beyond time and space, if you look hard you might find a flash of silver trailing crimson: a lone lost Spartan on his way home.

Arachnion

  • Elite Boss
  • *****
  • Posts: 642
  • Professional Cynic
Re: Costume viewer / editor utility.
« Reply #62 on: December 03, 2012, 08:47:23 PM »
The good news is that the .bin file from COHGuru unlocks some stuff when combined with the beta's .piggs .
The bad news is that the .bin file from the beta simply freezes the creator on load.

What kind of "stuff", exactly?

Care to elaborate?
I'm all dressed up with nowhere to go
Walkin' with a dead man over my shoulder

Waiting for an invitation to arrive
Goin' to a party where no one's still alive

djonehitwonder

  • Minion
  • **
  • Posts: 25
Re: Costume viewer / editor utility.
« Reply #63 on: December 03, 2012, 08:54:15 PM »
What kind of "stuff", exactly?

Care to elaborate?

I haven't gone through everything yet, but I know there's some NPC pieces like for Statesman and Silver Mantis.

The Fifth Horseman

  • Elite Boss
  • *****
  • Posts: 961
  • Outside known realities.
Re: Costume viewer / editor utility.
« Reply #64 on: December 03, 2012, 09:15:03 PM »
NPC parts, both hero and villain. As noted before, not all of them match the model, are available on all models nor are even textured anymore either (probably new textures added in later content, with new names attached; this affects the Arachnos helmets in particular)
We were heroes. We were villains. At the end of the world we all fought as one. It's what we did that defines us.
The end occurred pretty much as we predicted: all servers redlining until midnight... and then no servers to go around.

Somewhere beyond time and space, if you look hard you might find a flash of silver trailing crimson: a lone lost Spartan on his way home.

Little David

  • Boss
  • ****
  • Posts: 149
    • The Ad Ultimum Network
Re: Costume viewer / editor utility.
« Reply #65 on: December 03, 2012, 10:32:47 PM »
Oh man, this is awesome. It lets us mess with capes and auras! Here I thought it'd only let you make the appearance of your character as if it were new.

I'm kind of bummed that the format for the costume file is different from that of the actual game's, though. It would've been cool to be capable of importing costumes we made in the game to this, issues with newer content aside.
« Last Edit: December 03, 2012, 11:24:52 PM by Little David »

The Fifth Horseman

  • Elite Boss
  • *****
  • Posts: 961
  • Outside known realities.
Re: Costume viewer / editor utility.
« Reply #66 on: December 03, 2012, 10:39:24 PM »
It's not too different. Actually it looks pretty darn similar to what we get in the demo records.
We were heroes. We were villains. At the end of the world we all fought as one. It's what we did that defines us.
The end occurred pretty much as we predicted: all servers redlining until midnight... and then no servers to go around.

Somewhere beyond time and space, if you look hard you might find a flash of silver trailing crimson: a lone lost Spartan on his way home.

Arachnion

  • Elite Boss
  • *****
  • Posts: 642
  • Professional Cynic
Re: Costume viewer / editor utility.
« Reply #67 on: December 03, 2012, 10:41:43 PM »
It's not too different. Actually it looks pretty darn similar to what we get in the demo records.

Could I see one of these costume files from the korean creator?

I'm interested, and don't have it currently installed, nor do I feel like doing so and investigating it myself..

Please?  ;D
I'm all dressed up with nowhere to go
Walkin' with a dead man over my shoulder

Waiting for an invitation to arrive
Goin' to a party where no one's still alive

The Fifth Horseman

  • Elite Boss
  • *****
  • Posts: 961
  • Outside known realities.
Re: Costume viewer / editor utility.
« Reply #68 on: December 03, 2012, 10:50:38 PM »
Sure:
Code: [Select]
"Pants_Loose","Pants_Baggy_01","none","Pants",-16777216,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Lower_Body","Pants"
"Jackets","skin_bare","none","Chest",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Upper_Body","Jackets"
"Masked_Bald","skin_head_13","none","Head",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Head","Hats"
"Smooth","skin_bare","None","Gloves",-1,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Upper_Body","Jackets"
"Sneakers","sneakers_01a","sneakers_01b","Boots",-16777216,-1,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Lower_Body","Pants"
"None","None","None","Belt",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Upper_Body","Jackets"
"Student_01","Student_01a","Student_01b","Hair",-16777216,-16777216,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Head","Hats"
"None","None","None","Face",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"None",-65285,-16606976,0,0
"None","None","None","EyeDetail",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Head","Hats"
"None","None","None","ChestDetail",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Upper_Body","Jackets"
"None","None","None","Shoulders",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Upper_Body","Jackets"
"None","None","None","Back",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"None",-65285,-16606976,0,0
"None","None","None","WepR",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"None",-65285,-16606976,0,0
"None","None","None","Neck",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Head","Hats"
"None","None","None","UarmR",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"None",-65285,-16606976,0,0
"None","None","None","Collar",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"None",-65285,-16606976,0,0
"None","None","None","Broach",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"None",-65285,-16606976,0,0
"None","None","None","Cape",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"None",-65285,-16606976,0,0
"none","none","none","Aura",-1,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"Auras/Male/Sparkle/SparkleBodyLight.fx",-10092442,-6750105,"Special","Sparkles"
"None","None","None","Skirt",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"None",-65285,-16606976,0,0
"Student","Student_01a","Student_01b","Top",-16777216,-1842205,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Upper_Body","Jackets"
"Student_Long","Student_01a","Student_01b","Sleeves",-16777216,-1,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0,0,0,"Upper_Body","Jackets"
"None","None","None","Cranium",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"None",-65285,-16606976,0,0
"None","None","None","Jaw",-65285,-16606976,0,-6573313,0.000000,-1.000000,0.000000,-1.000000,-1.000000,-1.000000,-1.000000,0.020000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"None",-65285,-16606976,0,0
We were heroes. We were villains. At the end of the world we all fought as one. It's what we did that defines us.
The end occurred pretty much as we predicted: all servers redlining until midnight... and then no servers to go around.

Somewhere beyond time and space, if you look hard you might find a flash of silver trailing crimson: a lone lost Spartan on his way home.

Arachnion

  • Elite Boss
  • *****
  • Posts: 642
  • Professional Cynic
Re: Costume viewer / editor utility.
« Reply #69 on: December 03, 2012, 11:04:42 PM »
Judging from that code, the categories appear to be thus:

Pants
Chest
Head
Gloves
Boots
Belt
Hair
Face
EyeDetail
ChestDetail
Shoulders
Back
WepR
Neck
UarmR
Collar
Broach
Cape
Aura
Skirt
Top
Sleeves
Cranium
Jaw
Lower_Body
Upper_Body
--------------

Hmm... "Sneakers","sneakers_01a","sneakers_01b","Boots" "Lower_Body","Pants"

From my limited experience editing real game costume files, sneakers_01a and 01b are textures, while the other stuff there is self explanatory.

All the numbers are either scales or coordinates. Or both. We should probably compare this to a real costume file.

I'll either add what I find to this post or make a new one here later, most likely.

 :D
I'm all dressed up with nowhere to go
Walkin' with a dead man over my shoulder

Waiting for an invitation to arrive
Goin' to a party where no one's still alive

The Fifth Horseman

  • Elite Boss
  • *****
  • Posts: 961
  • Outside known realities.
Re: Costume viewer / editor utility.
« Reply #70 on: December 04, 2012, 12:09:51 AM »
I think the integer values at the start are the colors. The encoding is nonsensical, but converted into hexadecimal they start making sense.

here's what we have in a current costume file:
Code: [Select]
{
Scale 5.209
BoneScale -0.6255
ShoulderScale -0.9064
ChestScale -1
WaistScale -0.2123
HipScale -0.8128
LegScale 6.9e-005
HeadScales  0,  0,  0
BrowScales  0,  0,  0
CheekScales  0,  0,  0
ChinScales  0,  0,  0
CraniumScales  0,  0,  0
JawScales  0,  0,  0
NoseScales  0,  0,  0
SkinColor  0,  0,  0
NumParts 28
BodyType 1
CostumePart ""
{
Geometry Armored
Texture1 CREY_RECOVERY
Texture2 !Hips_Stripe_1
DisplayName P3237373182
RegionName "Lower Body"
BodySetName Armored
Color1  1,  255,  0
Color2  0,  0,  0
Color3  0,  0,  0
Color4  0,  0,  0
}


CostumePart ""
{
Geometry Armored
Texture1 Tech_Modern_01
Texture2 !CHEST_Stripe_3
DisplayName P566009771
RegionName "Upper Body"
BodySetName Armored
Color1  1,  255,  0
Color2  0,  0,  0
Color3  0,  0,  0
Color4  0,  0,  0
}


CostumePart ""
{
Geometry Helmet
Texture1 helmet_modern_02
Texture2 helmet_modern_02b
DisplayName P3020775162
RegionName Head
BodySetName FullHelmets
Color1  1,  255,  0
Color2  1,  255,  0
Color3  0,  0,  0
Color4  0,  0,  0
}


CostumePart ""
{
Geometry N_Fem_OlympianGuard_01.GEO/GEO_Larm*_OlympianGuard_01
Texture1 !X_Olympian_Glove_01
Texture2 !Glove_Olympian_01_Mask
DisplayName P3937616722
RegionName "Upper Body"
BodySetName Armored
Color1  1,  204,  0
Color2  1,  204,  0
Color3  0,  0,  0
Color4  0,  0,  0
}


CostumePart ""
{
Geometry Smooth
Texture1 Tech_Modern_01
Texture2 !BOOT_Stripe
DisplayName P2104750136
RegionName "Lower Body"
BodySetName Armored
Color1  1,  204,  0
Color2  0,  0,  0
Color3  0,  0,  0
Color4  0,  0,  0
}


CostumePart ""
{
Geometry none
Texture1 none
Texture2 none
DisplayName P177456852
RegionName "Upper Body"
BodySetName Armored
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Geometry HD_Comm_03
Texture1 HD_Side_Comm_02
Texture2 HD_Side_Comm_02b
DisplayName P2793026233
RegionName Head
BodySetName FullHelmets
Color1  1,  204,  0
Color2  143,  143,  143
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Geometry V_FEM_Eyes.GEO/GEO_Eyes_V_HD_Visor_02
Texture1 !X_FullHelm_Visor_01
Texture2 none
DisplayName P2371314042
RegionName Head
BodySetName FullHelmets
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Geometry none
Texture1 none
Texture2 none
DisplayName P2281134661
RegionName "Upper Body"
BodySetName Armored
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Geometry V_FEM_SPADR.GEO/GEO_SpadR_ImperialDefense_03
Texture1 !X_ImperialDefense_SpadR_02
Texture2 !Spadr_ImperialDefense_02_Mask
DisplayName P772741860
RegionName "Upper Body"
BodySetName Armored
Color1  31,  31,  31
Color2  1,  204,  0
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Geometry n_fem_backpack_cyberpunk_01.geo/geo_back_cyberpunk_01
Texture1 !x_back_cyberpunk_01
Texture2 none
DisplayName P213071247
RegionName Capes
BodySetName "Back Packs"
Color1  1,  255,  0
Color2  199,  199,  199
Color3  0,  0,  0
Color4  0,  0,  0
}


CostumePart ""
{
Fx WEAPONS/Custom_BeamRifle/Fem_BeamRifle_Shock_Rifle_01.fx
Geometry none
Texture1 none
Texture2 none
DisplayName P3195014494
RegionName Weapons
BodySetName Weapons
Color1  1,  255,  0
Color2  199,  199,  199
Color3  0,  0,  61
Color4  126,  241,  238
}


CostumePart ""
{
Geometry none
Texture1 none
Texture2 none
DisplayName P2488029243
RegionName Head
BodySetName FullHelmets
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx Auras/Female/CombatAura/CyborgCombatHUD.fx
Geometry none
Texture1 none
Texture2 none
DisplayName P3636920680
RegionName Special
BodySetName "Cyborg Auras"
Color1  76,  197,  255
Color2  76,  255,  184
Color3  0,  0,  61
Color4  126,  241,  238
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Fx none
Geometry none
Texture1 none
Texture2 none
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Geometry none
Texture1 none
Texture2 none
DisplayName P546439883
RegionName "Lower Body"
BodySetName Armored
Color1  31,  31,  31
Color2  227,  227,  227
Color3  31,  31,  31
Color4  227,  227,  227
}


CostumePart ""
{
Color1  0,  0,  0
Color2  0,  0,  0
Color3  0,  0,  0
Color4  0,  0,  0
}


CostumePart ""
{
Color1  0,  0,  0
Color2  0,  0,  0
Color3  0,  0,  0
Color4  0,  0,  0
}


}
And in a modern demo file:
Code: [Select]
0   1759 COSTUME 0 7289d4 10.315901 -0.588102 0.000000 -0.203075 -0.579521 -0.725710 -0.384814 0.001612 0.000000 -0.420000 0.720000 0.000000 -0.470000 0.040000 -0.620000 -0.440000 -0.370000 0.440000 -1.000000 0.560000 -1.000000 -0.290000 0.700000 0.020000 -1.000000 -1.000000 -1.000000 -1.000000 0.080000 0.060000
0   1759 PARTSNAME Armored Tech_Modern_01 !Hips_Blend 00ababab 00737373
0   1759 PARTSNAME Armored Tech_Modern_01 !Chest_Blend 00c7c7c7 00737373
0   1759 PARTSNAME V_Male_Head.GEO/GEO_Head_V_Asym_Robot !X_Face_Robot_Mask V_Robotic_01_Dual 00c7c7c7 008f8f8f
0   1759 PARTSNAME Armored Crey_Recovery !glove_Blend 00c7c7c7 00737373
0   1759 PARTSNAME Smooth Tech_Modern_01 !Boot_Blend 00c7c7c7 00737373
0   1759 PARTSNAME Tech_05 tech_02a tech_02b 008f8f8f 00c7c7c7
0   1759 PARTSNAME Mohawk_NoSkin_01 skin_01a skin_01b 00ababab 00000055
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME V_MALE_EYES.GEO/GEO_Eyes_Enforcer_01 !X_Enforcer_Hair none 00c7c7c7 009aff00
0   1759 PARTSNAME none none none 00c7c7c7 008f8f8f
0   1759 PARTSNAME Smooth spiked_01a spiked_01b 00c7c7c7 003b3b3b
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME V_MALE_NECK.GEO/GEO_Neck_Enforcer_02 !X_Enforcer_Hair none 00c7c7c7 00575757
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00006600
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00006600
We were heroes. We were villains. At the end of the world we all fought as one. It's what we did that defines us.
The end occurred pretty much as we predicted: all servers redlining until midnight... and then no servers to go around.

Somewhere beyond time and space, if you look hard you might find a flash of silver trailing crimson: a lone lost Spartan on his way home.

Arachnion

  • Elite Boss
  • *****
  • Posts: 642
  • Professional Cynic
Re: Costume viewer / editor utility.
« Reply #71 on: December 04, 2012, 12:23:47 AM »
So I compiled some stuff after looking at a "real" costume file.

Code: [Select]

They have:

CostumeFilePrefix (Male, Female, or Huge, presumably)
Scale
BoneScale
ShoulderScale
ChestScale
WaistScale
HipScale
LegScale
HeadScales
BrowScales
CheekScales
ChinScales
CraniumScales
JawScales
NoseScales
SkinColor
NumParts (Number of parts?)
CostumePart
Geometry
Texture1
Texture2
DisplayName
RegionName
BodySetName
Color1
Color2
Color3
Color4
Fx (For stuff like... sleeves?) [Fx Costumes/SuperPack2/Male_Sleeves_06.fx]

------------------------
Costume Part Area Diagnosis/Breakdown

CostumePart ""
{
Geometry N_Male_Superpack2_01.GEO/GEO_Hips_SuperPack2_01
Texture1 !X_Hips_SuperPack2_02
Texture2 none
DisplayName P887196332
RegionName "Lower Body"
BodySetName TuckedIn
Color1  88,  68,  57
Color2  0,  0,  0
Color3  88,  68,  57
Color4  0,  0,  0
}

Demo costume file stuff below.

Code: [Select]
------------------------------
Demo file costume terms:

COSTUME
PARTSNAME

-----------------------------------
Demo file costume area diagnosis/breakdown

0   1759 COSTUME 0 7289d4 10.315901 -0.588102 0.000000 -0.203075 -0.579521

-0.725710 -0.384814 0.001612 0.000000 -0.420000 0.720000 0.000000 -0.470000

0.040000 -0.620000 -0.440000 -0.370000 0.440000 -1.000000 0.560000 -1.000000

-0.290000 0.700000 0.020000 -1.000000 -1.000000 -1.000000 -1.000000 0.080000

0.060000
0   1759 PARTSNAME Hips 00ababab 00737373
0   1759 PARTSNAME Chest 00c7c7c7 00737373
0   1759 PARTSNAME Head/Head Shape?/Asymetry? Texture01 Texture0200c7c7c7

008f8f8
0   1759 PARTSNAME Gloves 00c7c7c7 00737373
0   1759 PARTSNAME Boots 00c7c7c7 00737373
0   1759 PARTSNAME Texture01 Texture02 Texture03 008f8f8f 00c7c7c7
0   1759 PARTSNAME Hair 00ababab 00000055
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME Eyes/Eyes Shape? Texture01 none 00c7c7c7 009aff00
0   1759 PARTSNAME none none none 00c7c7c7 008f8f8f
0   1759 PARTSNAME Chest Detail? Texture01 Texture02 00c7c7c7 003b3b3b
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME Neck/Neck Shape? Texture01 none 00c7c7c7 00575757
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00006600
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00000000
0   1759 PARTSNAME none none none 00000000 00006600
« Last Edit: December 04, 2012, 12:53:16 AM by Arachnion »
I'm all dressed up with nowhere to go
Walkin' with a dead man over my shoulder

Waiting for an invitation to arrive
Goin' to a party where no one's still alive

Little David

  • Boss
  • ****
  • Posts: 149
    • The Ad Ultimum Network
Re: Costume viewer / editor utility.
« Reply #72 on: December 04, 2012, 01:16:35 AM »
Have you tried running the creator once already, Hugo? I had the same problem; the character creator doesn't seem to create registry keys upon installation, but it will once you run it.

HugoLuman

  • Minion
  • **
  • Posts: 31
Re: Costume viewer / editor utility.
« Reply #73 on: December 04, 2012, 01:23:08 AM »
Ah yes, that worked. Now, where was that link to hacking for new parts?

Oh, and that is some ooooooooooooold music in the menu XD this is from waaay back in 2004

redgiant

  • Lieutenant
  • ***
  • Posts: 63
Re: Costume viewer / editor utility.
« Reply #74 on: December 04, 2012, 02:02:47 AM »
« Last Edit: December 04, 2012, 02:31:46 AM by redgian »

redgiant

  • Lieutenant
  • ***
  • Posts: 63
Re: Costume viewer / editor utility.
« Reply #75 on: December 04, 2012, 03:09:02 AM »
On another note, you could possibly replace an enemy NPC on the map with a model you want.

Then you can use the free camera mode to look at it.

If you feel like editing the demo costume code, sure, why not. Impromptu, dirty, costume editor.

You still have to restart cityofheroes.exe -demoplay xxx everytime you want to see a different .cohdemo file (let's say you make some changes to a costume, or switch costumes and just want to see the difference now).

Replacing the PLAYER portion is easy (I can take any of my Sentinel+ characters and throw them into any .cohdemo I have automatically). But you can't really get around the static one-time load-and-sequence manner in which they made .cohdemo work.

Better of course would be to just use the client tailors, but that means enabling the full client pipeline.

And ... if you sublime down to the full client pipeline that does everything, then you are talking about being fed off the server messaging handshaking and its stack, which is what a true server emulator would be doing. You could stop at simple emulation with the goal of just enabling things like true client character creation and tailor/editing, but not necessarily full-on gameplay. It is debatable how easy this partial client-enabling approach would be than just the full-on one (i.e. if you know enough to even start cityofheroes.exe and have it settle down on a map with a character, then you have done the hard part; the rest is incremental improvements).

But the Holy Grail taken all the way of course is full-on gameplay. And a proper job of THAT means reverse engineering the server schema to hold all the data and state that the messaging protocols indicate must persist, the gameplay and calculation systems that figure out all the right data, etc.

That is the only way you would ever see City of Heroes run again as an actual playable game.

I am certain there are people looking into various degrees of all this, but you won't see it talked about publicly much. The best time to have started this was obviously while the servers were still operating to capture and analyze message traffic, and its effects on the client. Imagine cracking the .cohdemo format but with no help docs , bi-directionally, in binary compressed streams, and encrypted. Okay, I lied a little there, anyone seriously doing this also decompiles code via IDA or similar tools which would qualify as "help".

Not sayin' I or anyone I know is doing this, just explaining how it fits together ...
« Last Edit: December 04, 2012, 03:19:00 AM by redgian »

Glass Goblin

  • Lieutenant
  • ***
  • Posts: 76
Re: Costume viewer / editor utility.
« Reply #76 on: December 04, 2012, 04:27:10 AM »

Vasarto

  • Boss
  • ****
  • Posts: 196
Re: Costume viewer / editor utility.
« Reply #77 on: December 04, 2012, 04:40:18 AM »
Just an idea but if ALMOST all of the files are available then would it not be possible to open a mini Server with a program that could open up as far as your characters?

Like an Isolated closed Server that kind of acts like a containment box sort of speak and opens the files and the game contained so that it mimics as though you were opening the freedom or whatever servers and allows you access to your characters and the costumes?


HugoLuman

  • Minion
  • **
  • Posts: 31
Re: Costume viewer / editor utility.
« Reply #78 on: December 04, 2012, 04:44:09 AM »
But how to get the new parts into the costume editor?

wei yau

  • Boss
  • ****
  • Posts: 102
Re: Costume viewer / editor utility.
« Reply #79 on: December 04, 2012, 05:35:29 AM »
I think I'm right on the edge of understanding something here.

See, the problem is I don't have demos of the majority of my guys, but I do have .costume files for all of them.

So, I'm thinking if I convert .costume into something that the demo file can read, then I can effectively place any one of my characters into a demo file.

Does this make sense?