- Site Map >
- Community >
- Sims Discussion >
- Sims Medieval >
- Modding - Grim's CAS Part cloner(Experimental/For Testing)
- Site Map >
- Community >
- Sims Discussion >
- Sims Medieval >
- Modding - Grim's CAS Part cloner(Experimental/For Testing)
Replies: 21 (Who?), Viewed: 8507 times.
#1
6th Oct 2011 at 5:37 AM
Last edited by grimreefer24601 : 31st Oct 2011 at 1:49 AM.
Posts: 580
Thanks: 1568 in 13 Posts
Grim's CAS Part cloner(Experimental/For Testing)
I add this thread for testing this program, but also to help people figure out how to mesh, and texture, and eventually add new objects for Medieval.This is a Windows program that allows copying of CASP files. This will track down files listed in CASP and linked files, export them, and change the file references to the new files. All file names are created to import without issue into S3PE.
For objects that you wish to make a new clone just rename the CAS Part, otherwise, if you wish to overwrite the original file keep the same name and click clone.
The cloner should create a new directory with the name of the cloned object. Inside the directory are a CASP file which controls which files TSM loads. It also creates different directories for extracted files. To truely clone a CAS Parts all of these files seem to be needed.
The most important files lie within the Geometry, Images, and Thumbnails directories. Meshes are within geometry, Textures are within Images, and, well, you probably get this one.
Note: The options.cfg file must be renamed to reflect your actual Sims Medieval install directory.
I've been working with geometry, and these files should load fine in MilkShape. Textures can be edited in any image editor, but currently I'm using Photoshop 7 (old but works).
This program is very experimental. I know there are bugs within this program. I could list the one's I've found, but I really need to have people work with this tool and let me know their results.
Any questions or feedback are welcome.
Also adding a simple new CASP object. It is for male monarchs, and edits one of the existing Cape and Sword clothing objects to have a longer cape. This simple edit is meant only for demonstration.
This edit creates a new file based off of this,
that creates this,
The difference is sleight, but the cape is longer. Also updated to change the Stencil A and Overlay textures. The stencil changes the lion to a yinyang symbol, and the overlay makes the medallion green.
This demo changes Thumbnails, textures (including updating CASP Presets), and Geometry (including creating BGEO files).
Updates
10-23-11
Added thumbnails to the cloner to make it easier to find the objects you wish to clone.
Major rewrite to how the program loads packages. New version will now also work with Pirates and Nobles CAS Parts.
10-23-11
Fixed crashing on some CAS Parts.
Cloner now correctly referencing the delta build package before defaulting to the full build package.
Attached files:
amBodyKingCapeSwordGrim.zip (3.23 MB, 157 downloads) - View custom content | ||||||||||
4367089 10-08-11 11:35 amBodyKingCapeSwordGrim.package -------- ------- 4367089 1 file |
||||||||||
Description: Cloned clothing object demonstration. | ||||||||||
GrimsTSMCASPCloner.zip (107.5 KB, 409 downloads) - View custom content | ||||||||||
0 10-03-11 20:34 TSMCASPCloner/ 183 10-29-11 09:57 TSMCASPCloner/options.cfg 385024 10-29-11 12:56 TSMCASPCloner/TSMCASPCloner.exe -------- ------- 385207 3 files |
||||||||||
GrimsTSMCASPClonerPreview.zip (72.4 KB, 186 downloads) - View custom content | ||||||||||
0 10-03-11 20:34 TSMCASPCloner/ 183 10-29-11 09:57 TSMCASPCloner/options.cfg 172032 10-30-11 16:31 TSMCASPCloner/TSMCASPCloner.exe -------- ------- 172215 3 files |
||||||||||
Description: Upcoming, non-official test package. |
Advertisement
#2
6th Oct 2011 at 10:07 AM
Posts: 501
You are awesome! this is certainly going to help someone!
Banned
#3
6th Oct 2011 at 12:31 PM
Posts: 188
what
#4
7th Oct 2011 at 2:02 PM
Posts: 158
Compared to 40 years ago, I learn much more slowly now. But I downloaded this and will see what I can do with it. I have milkshape and may end up buying a license for it, but I also have GIMP and will see how well it works with that.
To be honest, I have no clue what I am doing, but will happily peck around in the dark anyhow.
I like playing The Sims. I don't like to be played like a Sim.
To be honest, I have no clue what I am doing, but will happily peck around in the dark anyhow.
I like playing The Sims. I don't like to be played like a Sim.
#5
7th Oct 2011 at 2:09 PM
Posts: 580
Thanks: 1568 in 13 Posts
The GEOM files can only be loaded into a registered 1.85 MilkShape. Other programs will depend entirely on if plugins are available. I will mention that it does not seem like Blender will allow as advanced edits as MilkShape will.
I am happy to answer any questions I can, but I would suggest looking into some of the TS3 tutorials.
I am happy to answer any questions I can, but I would suggest looking into some of the TS3 tutorials.
#6
7th Oct 2011 at 2:43 PM
Posts: 158
Quote: Originally posted by grimreefer24601
The GEOM files can only be loaded into a registered 1.85 MilkShape. Other programs will depend entirely on if plugins are available. I will mention that it does not seem like Blender will allow as advanced edits as MilkShape will. I am happy to answer any questions I can, but I would suggest looking into some of the TS3 tutorials. |
Then I will have to put some money on my card and pay for the license. If I have questions, I will try to state them clearly and remain drama free with them. Thank you. I will do as you suggest with TS3 tutorials.
This may take quite a while, but other than bowling and work, I do relatively little that is productive with my time except sleep.
Thank you again.
I like playing The Sims. I don't like to be played like a Sim.
#7
8th Oct 2011 at 1:06 AM
Last edited by grimreefer24601 : 8th Oct 2011 at 7:27 PM.
Posts: 580
Thanks: 1568 in 13 Posts
Added a new simple edit for male monarchs as a demo.
Edit: Updated the demo to change a couple of textures.
Edit: Updated the demo to change a couple of textures.
#8
9th Oct 2011 at 2:35 AM
Posts: 580
Thanks: 1568 in 13 Posts
I've been working all day on a tutorial for this. What I've come up with contains a lot of information about CAS Parts for TSM, but it is a long tutorial. I have decided to release it in sections. Some sections can be ignored for those who don't want to make those edits.
Following the complete tutorial will give you my demo clothing package. The full tutorial is written, and only needs some clean up before I upload it. I intend at least a partial upload this weekend.
Following the complete tutorial will give you my demo clothing package. The full tutorial is written, and only needs some clean up before I upload it. I intend at least a partial upload this weekend.
Lab Assistant
#9
9th Oct 2011 at 3:31 AM
Posts: 78
Looking forward to it. Thanks for all you've done
#10
23rd Oct 2011 at 5:06 PM
Posts: 580
Thanks: 1568 in 13 Posts
Added a minor update that fixes a crash on certain CASPs. Also it now uses both the full and delta build packages.
#11
29th Oct 2011 at 8:11 PM
Posts: 580
Thanks: 1568 in 13 Posts
New update rewrites the package loader to include Pirates and Nobles if installed. Also added as CAS thumbnail image to the UI to make it easier to find different CAS Parts.
Lab Assistant
#12
30th Oct 2011 at 2:58 PM
Posts: 78
Thumbnail previews! Thanks for the update Grim!
#13
31st Oct 2011 at 1:56 AM
Posts: 580
Thanks: 1568 in 13 Posts
Added a change which include new things I've been working on. This program should behave as the original program as far as cloning is concerned, but will allow extra viewing of CAS Presets. This is in an effort to make CAS Presets editable with this tool. The regular version is the most stable, but any input on the new additions will be helpfull.
For those who wish to help with the most recent verrsion please try the preview download.
For those who wish to help with the most recent verrsion please try the preview download.
#14
17th Nov 2011 at 4:14 PM
Posts: 1,350
Thanks: 43 in 1 Posts
Quote: Originally posted by grimreefer24601
Added a change which include new things I've been working on. This program should behave as the original program as far as cloning is concerned, but will allow extra viewing of CAS Presets. This is in an effort to make CAS Presets editable with this tool. The regular version is the most stable, but any input on the new additions will be helpfull. For those who wish to help with the most recent verrsion please try the preview download. |
Hi Grim
Thought you might like to know that the newest version crashes consistently when trying to clone 'ambodyTredonyJacketSword' which is one of the outfits that came with P&N.
Love that you now get a preview of the item selected
#15
17th Nov 2011 at 10:40 PM
Posts: 580
Thanks: 1568 in 13 Posts
Thanks for the info. Some items have slieght differences in their files, so some things I coded to work for most items. Knowing an item that causes a crash helps me figure out what stuff is really important in the files. I probably could have avoided some of this using the Sims 3 C# libraries, but I'm much better with C++, and I kind of like figuring out stuff anyway.
At the moment I'm still installing stuff on my new computer build (best PC I've ever used). When I get my Visual Studios loaded again I'll look into it.
At the moment I'm still installing stuff on my new computer build (best PC I've ever used). When I get my Visual Studios loaded again I'll look into it.
#16
18th Nov 2011 at 7:39 PM
Posts: 1,350
Thanks: 43 in 1 Posts
Quote: Originally posted by grimreefer24601
Thanks for the info. Some items have slieght differences in their files, so some things I coded to work for most items. Knowing an item that causes a crash helps me figure out what stuff is really important in the files. I probably could have avoided some of this using the Sims 3 C# libraries, but I'm much better with C++, and I kind of like figuring out stuff anyway. At the moment I'm still installing stuff on my new computer build (best PC I've ever used). When I get my Visual Studios loaded again I'll look into it. |
Probably better to use what you're most comfortable with, and if it helps you to figure out other things along the way then it's probably the better one to use anyway. The program is great.
My computer is about 4 years old now (built myself) and is still ahead of the majority of pre-builts available in stores, the only thing I've upgraded in it is the graphics card. I am wanting to build another one soon though. Hope you enjoy your new computer...a little jealous LOL
Oh I'm glad you found somewhere to host your female file btw....and the male file. Don't think my ISP would have been too happy with me hosting that one LOL. I was in the process of building a new website for your female file, but like I said on another thread I've been incredibly ill for the last month. I'm so glad it all worked out, I felt bad for not getting the site finished.
#17
19th Nov 2011 at 5:09 PM
Last edited by ChickieTeeta : 20th Nov 2011 at 2:42 PM.
Posts: 1,350
Thanks: 43 in 1 Posts
Getting this error in the caspart file for afbodycorsetsexytattoo.
I've tried cloning it a few times and the error for this file is always the same.
It works fine with the older version of the cloner.
*Update*
This error in the caspart file is the same for quite alot of the clothing, but are all fine using the older version.
Error reading resource 034AEECB:00000000:20D7CBBEEE1C84D3
Front-end Distribution: 11-0402-0951
Library Distribution: 11-0402-0951
Source: mscorlib
Assembly: mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Exception has been thrown by the target of an invocation.
----
Stack trace:
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at s3pi.WrapperDealer.WrapperDealer.WrapperForType(String type, Int32 APIversion, Stream s)
at s3pi.WrapperDealer.WrapperDealer.GetResource(Int32 APIversion, IPackage pkg, IResourceIndexEntry rie, Boolean AlwaysDefault)
at S3PIDemoFE.MainForm.browserWidget1_SelectedResourceChanged(Object sender, ResourceChangedEventArgs e)
----
Source: s3pi.CASPartResource
Assembly: s3pi.CASPartResource, Version=1104.10.22.39188, Culture=neutral, PublicKeyToken=null
Position of TGIBlock read: 0x000082FB, actual: 0x000082F7
----
Stack trace:
at CASPartResource.CASPartResource.Parse(Stream s)
at CASPartResource.CASPartResource..ctor(Int32 APIversion, Stream s)
I've tried cloning it a few times and the error for this file is always the same.
It works fine with the older version of the cloner.
*Update*
This error in the caspart file is the same for quite alot of the clothing, but are all fine using the older version.
Error reading resource 034AEECB:00000000:20D7CBBEEE1C84D3
Front-end Distribution: 11-0402-0951
Library Distribution: 11-0402-0951
Source: mscorlib
Assembly: mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Exception has been thrown by the target of an invocation.
----
Stack trace:
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at s3pi.WrapperDealer.WrapperDealer.WrapperForType(String type, Int32 APIversion, Stream s)
at s3pi.WrapperDealer.WrapperDealer.GetResource(Int32 APIversion, IPackage pkg, IResourceIndexEntry rie, Boolean AlwaysDefault)
at S3PIDemoFE.MainForm.browserWidget1_SelectedResourceChanged(Object sender, ResourceChangedEventArgs e)
----
Source: s3pi.CASPartResource
Assembly: s3pi.CASPartResource, Version=1104.10.22.39188, Culture=neutral, PublicKeyToken=null
Position of TGIBlock read: 0x000082FB, actual: 0x000082F7
----
Stack trace:
at CASPartResource.CASPartResource.Parse(Stream s)
at CASPartResource.CASPartResource..ctor(Int32 APIversion, Stream s)
#18
29th Nov 2011 at 3:49 PM
Posts: 614
This is brilliant! Thank you ever so much for your dedication and work! *sends prized German chocolate*!
Banned
#19
29th Nov 2011 at 6:49 PM
Posts: 188
has anybody made assassin outfit yet?
#20
6th Dec 2011 at 7:21 AM
Posts: 501
I love the super long cape grim did on the monarch's outfit. any chance I could get one with the original symbol on it? the yin and yang doesn't fit with any of my themes. . .
#21
6th Dec 2011 at 5:07 PM
Posts: 580
Thanks: 1568 in 13 Posts
The yin yang symbol is in the stencil texture. If you edit that texture you can put any image you want on it. You don't even need to change any IDs, references, or anything.
#22
6th Dec 2011 at 7:23 PM
Last edited by DarthKitsune : 6th Dec 2011 at 8:10 PM.
Posts: 501
coolness, I guess I'll go figure out how to do that :D
Who Posted
|