View unanswered posts | View active topics It is currently Thu Mar 28, 2024 11:19 pm



Reply to topic  [ 35 posts ]  Go to page 1, 2, 3, 4  Next
 cloth modding question 
Author Message
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
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 17911 times ]
Start ini.jpg
Start ini.jpg [ 139.91 KiB | Viewed 17911 times ]
Filemaker error.jpg
Filemaker error.jpg [ 199.87 KiB | Viewed 17911 times ]
Mon Nov 30, 2015 5:27 pm
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Jan 03, 2015 1:05 am
Posts: 323
Location: france
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


Mon Nov 30, 2015 6:01 pm
Profile
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
@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 17880 times ]
Mon Nov 30, 2015 6:22 pm
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Jan 03, 2015 1:05 am
Posts: 323
Location: france
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/";
}
*/


Mon Nov 30, 2015 6:49 pm
Profile
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
@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


Mon Nov 30, 2015 7:28 pm
Profile
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
@laisemoirire could you give me your start.ini for cloth modding i would then change the path


Tue Dec 01, 2015 9:15 pm
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Jan 03, 2015 1:05 am
Posts: 323
Location: france
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 *


Wed Dec 02, 2015 10:29 am
Profile
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
@laissemoirire thanks

ps have you changed the body.ini


Thu Dec 03, 2015 12:43 am
Profile
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
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 17459 times ]
Thu Dec 03, 2015 1:17 am
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Jan 03, 2015 1:05 am
Posts: 323
Location: france
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/"


Thu Dec 03, 2015 5:25 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 35 posts ]  Go to page 1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 36 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group.
Designed by X-Moon Productions.