-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/grzybeek/YMTEditor
- Loading branch information
Showing
1 changed file
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,32 @@ | ||
# YMTEditor [WIP] | ||
## Used to edit Codewalker exported *.ymt.xml (Peds clothes) files | ||
## Used to edit *.ymt OR *.ymt.xml - (Peds clothes) files | ||
|
||
**How it works:** | ||
1. Make sure you have latest Codewalker downloaded (You can get it at codewalker discord in channel #releases) | ||
2. Find your .ymt file in Codewalker RPF Explorer, enable "Edit mode", right-click it and select "Export XML..." | ||
3. Open exported file in YMTEditor | ||
4. Edit it | ||
- You can add/remove new drawables to your current components and props | ||
- You can add/remove textures to your drawables | ||
- **Renaming files is up to you! - if you have "000 001 002" drawables, and you remove 001, you have to manually change .ydd and .ytd file names, same goes with "a b c" textures** | ||
- Don't touch propMask/numAlternatives/clothData and component/prop properties if you don't know what these do | ||
5. Save edited file (currently only overriding works) | ||
6. Open Codewalker RPF Explorer, enable "Edit mode", right-click in any folder and select "Import XML..." | ||
### How it works: ### | ||
* __Import/Export *.YMT.XML__ | ||
- Make sure you have latest Codewalker downloaded (You can get it at codewalker discord in channel #releases) | ||
- Find your .ymt file in Codewalker RPF Explorer, enable "Edit mode", right-click it and select "Export XML..." | ||
- Open exported file in YMTEditor | ||
- Edit it | ||
- You can add/remove new drawables to your current components and props | ||
- You can add/remove textures to your drawables | ||
- **Renaming files is up to you! - if you have "000 001 002" drawables, and you remove 001, you have to manually change .ydd and .ytd file names, same goes with "a b c" textures** | ||
- Don't touch propMask/numAlternatives/clothData and component/prop properties if you don't know what these do | ||
- Save edited file to XML (or YMT and you can skip next step) | ||
- Open Codewalker RPF Explorer, enable "Edit mode", right-click in any folder and select "Import XML..." | ||
|
||
* __Import/Export *.YMT__ | ||
- Find your .ymt file in Codewalker RPF Explorer, copy it to any folder | ||
- Open .ymt file in YMTEditor | ||
- Edit it | ||
- You can add/remove new drawables to your current components and props | ||
- You can add/remove textures to your drawables | ||
- **Renaming files is up to you! - if you have "000 001 002" drawables, and you remove 001, you have to manually change .ydd and .ytd file names, same goes with "a b c" textures** | ||
- Don't touch propMask/numAlternatives/clothData and component/prop properties if you don't know what these do | ||
- Save edited file to YMT | ||
|
||
**Known bugs:** | ||
- expressionMods in component and prop section is not editable as i couldn't figure it how to do it (currently all P_HEAD props are saved with "-0.5 0 0 0 0", so if you are adding any head prop that shouldn't hide hair, you have to change that manually in .ymt) | ||
- Components drop-down is not implemented - you can't add/remove components currently | ||
- Components drop-down is not implemented - you can't add/remove components currently (for example: you can't add jbib if you don't have it in your .ymt already) | ||
- clothData drop-down is not implemented - .ymt will be saved with "false" value | ||
|
||
_My coding skills are not greatest but it works 😛_ |