xmoonproductions.org
https://www.xmoonproductions.org/

cloth modding question
https://www.xmoonproductions.org/viewtopic.php?f=27&t=4246
Page 1 of 4

Author:  tomahawk308 [ Mon Nov 30, 2015 5:27 pm ]
Post subject:  cloth modding question

i have made new cloth and save this as body.ma (first picture)

second point i add the maya convert code via filemaker (second picture)

third i started the filemaker to convert this in gameformat but i get an error (third picture)

could somebody help ??

Attachments:
Maya Cloth.jpg
Maya Cloth.jpg [ 239.77 KiB | Viewed 18108 times ]
Start ini.jpg
Start ini.jpg [ 139.91 KiB | Viewed 18108 times ]
Filemaker error.jpg
Filemaker error.jpg [ 199.87 KiB | Viewed 18108 times ]

Author:  laissemoirire [ Mon Nov 30, 2015 6:01 pm ]
Post subject:  Re: cloth modding question

missing
Code:
#define SOURCES  "./sources/"

at the begging of your file.

if sources/ is in filemaker folder,
otherwise any correct relative / absolute path to sources root

Author:  tomahawk308 [ Mon Nov 30, 2015 6:22 pm ]
Post subject:  Re: cloth modding question

@laissemoirire should i save the body.ma in filemaker folder

so i saved the source folder with all files including new body.ma and filemaker give me new error

Attachments:
Filemaker error 2.jpg
Filemaker error 2.jpg [ 192 KiB | Viewed 18077 times ]

Author:  laissemoirire [ Mon Nov 30, 2015 6:49 pm ]
Post subject:  Re: cloth modding question

yes, but no.
directly in filemaker folder is not a good idea.

how start.ini (and constructing paths) works :

Code:
#define SOURCES = "./sources/"

means everytime [SOURCES] is used, it will be replaced by " ./sources/"
In " ./sources/ "
./ means : current folder. the current folder is where file maker is launched, so ./ will be replaced by filemaker folder everytime [SOURCES] is used.
suppose filemaker is in : C:/mygames/xstoryplayer/filemaker, the result of ' [SOURCES] = "./sources/"; ' will be :
C:/mygames/xstoryplayer/filemaker/sources/

so when you have
in_file = "[SOURCES]scenes/character6_cloth/body.ma";
it will become :
in_file = "C:/mygames/xstoryplayer/filemaker/sources/scenes/character6_cloth/body.ma"

SO :
you can put you body.ma (and body.ini) file where you want,
BUT, you have to write the right path in start.ini

EDIT :
you have to comment the unpacking block.

like this :

// Uncomment this to unpack a pack
/*
Pack pack1
{
(...)
oupath = "[RUNTIME]pack/";
}
*/

Author:  tomahawk308 [ Mon Nov 30, 2015 7:28 pm ]
Post subject:  Re: cloth modding question

@laissemoirire i have changed the start ini means the uncomment part

and make the path in start ini

now the filemaker shows

failed to open file body.ini


ps both the body.ma and body.ini are in the folder

Author:  tomahawk308 [ Tue Dec 01, 2015 9:15 pm ]
Post subject:  Re: cloth modding question

@laisemoirire could you give me your start.ini for cloth modding i would then change the path

Author:  laissemoirire [ Wed Dec 02, 2015 10:29 am ]
Post subject:  Re: cloth modding question

mine is like this :

Code:
//////////////////////////////////////////////////////
// Defines
//////////////////////////////////////////////////////


#define SOURCES  "./dress/sources/"
#define RUNTIME  "../pack/pack_abducted/"
 
 
 
//////////////////////////////////////////////////////
// Convert settings
//////////////////////////////////////////////////////
 
// Copy textures to runtime directory and create directory if it not exists
maya_auto_copy = COPY_DIR;
 
// Use compressed color textures
maya_auto_compress = COLOR;

//SAIKO lingerie

Maya scene
{
  src_path = "[SOURCES]";
  run_path = "[RUNTIME]";
 
  in_file  = "[SOURCES]scenes/character6/lmr_lingerie.ma";
}

//////////////////////////////////////////////////////
// Compress textures
//////////////////////////////////////////////////////
 
Compgen compress0
{
  // Comment if you don't want to compress files everytime again
  compress = true;
}


my files are in

(...)XStoryPlayer 3.5\filemaker\dress\sources\scenes\character6

at first I wanted to create a subfolder for each cloth => dress folder.
But in the end, I have every maya file at the same place...
* lazy guy *

Author:  tomahawk308 [ Thu Dec 03, 2015 12:43 am ]
Post subject:  Re: cloth modding question

@laissemoirire thanks

ps have you changed the body.ini

Author:  tomahawk308 [ Thu Dec 03, 2015 1:17 am ]
Post subject:  Re: cloth modding question

to understand the mistake is i list what ive done so far


-i download the TutorialRessourcePack

-Extract the abducted.bin so i have now the folder pack_abducted


-Open the TutorialRessourcePack folder go to 3. Advanced Modding > 3. Creating Cloth > pack_cloth

-Copy sources folder (including all subordinated folders (scenes > character6_cloth, character7_cloth, textures)

to XStoryPlayer3.5 > pack > pack_abducted > scenes

So in the scenes folder i have now the folders : capture, character6, character6_cloth, character7_cloth, charobj, main2, object, occluder, penis, sounds, spaceship, textures, viewer


-open the body.ma in Maya from the folder scenes (XStoryPlayer3.5 > pack > pack_abducted > scenes) picture1


all correct ? or i forgot something ?

Attachments:
open the body.ma for cloth modding.jpg
open the body.ma for cloth modding.jpg [ 287.51 KiB | Viewed 17656 times ]

Author:  laissemoirire [ Thu Dec 03, 2015 5:25 pm ]
Post subject:  Re: cloth modding question

doing this :
Code:
-Copy sources folder (including all subordinated folders (scenes > character6_cloth, character7_cloth, textures)

to XStoryPlayer3.5 > pack > pack_abducted > scenes


You will have the sources AND the final files (.dat) at the same place.
I'm not sure it's a good idea.

anyway.
to make it work with file maker in THIS specific configuration.
you need to change your start.ini to :
Code:
#define SOURCES  "../pack/pack_abducted/sources/"

Page 1 of 4 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/