MTM2.com

A forum for mtm2 discussion
FAQ :: Search :: Members :: Groups :: Register
Login
It is currently Thu Aug 17, 2017 6:39 am



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Fixing track PODs with missing bin file extensions
PostPosted: Sun Aug 26, 2007 4:29 am 
Glow Ball
User avatar

Joined: Tue Feb 02, 1999 7:00 pm
Posts: 8
Fixing track PODs with missing bin file extensions

Programs you need
  • cpod
  • <a href="http://mtm2.com/~mtmg/downloads/evo/EditPad.zip">editpad</a> (or equally capable text editor)
  • <a href="http://mtm2.com/~mtmg/downloads/evo/podview.zip">podview</a>
  • the DOS command prompt (Open Command Window Here powertoy)
  • <a href="http://mtm2.com/~mtmg/downloads/misc/editors/pathc400.zip">pathcopy</a>
Open the finished POD in cpod and save a LST file.

Edit the LST file. DATA\NULL will show up as "DAT" and MODELS will show up as "MOD". Just remove them from the LST file, close up blank spaces, and then save.

Extract all files from the pod using podview (you can also use cpod) and be sure to recreate the directory structure.

In the WORLD folder, find the track's sit file. Open it in editpad.
  • search for "NewLine" and "mass" - the exact string is "\nmass" - and replace all with "dot bin" and "NewLine" and "mass" - the exact string is ".BIN\nmass". This will add a bin file extension on object boxes too, so...

  • search for dot and "00" and dot and "BIN" - the exact string is ".00.BIN" - and replace all with dot and "00" - the string is ".00". This should remove the bin extension where is it not needed; however, you should double check there are no errors, so...

  • search for "!type,flags" and visually inspect each model entry. Press F3 to find next. Fix anything that isn't correct. Repeat until all models have been checked.
Save the SIT file.

Open a command prompt and browse to the models folder. Type the following command: "ren *. *.BIN" - this will add the bin file extension to all models. Close the command prompt.

Use pathcopy to create a list of models in the MODELS folder. Use "copy long path" to get the full file and path name. Copy the list into the LST file. Be careful to include the backdrop only once. Remove all path information to the left of the MODELS folder. (eg, it should only have MODELS\FILENAME.BIN for each model). Close up blank lines and save the LST file.

Open the LST file using cpod. Save the POD using a new file name.

Total time: approximately five to ten minutes.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 28, 2007 12:41 pm 
Member
User avatar

Joined: Thu Apr 19, 2001 2:01 pm
Posts: 693
Location: USA and Proud of it.
Took me 5 to 10 minutes to understand exactly how to do the steps. This is probably because I'm not sure what you're tying to accomplish. What pod files have bin models with no bin extensions? MTM1 tracks or something?

Phinny; The whole discussion of searching was confusing to me because quotes were used for literal strings and also for the description of the strings.

_________________
Keep on MTMing,
CH_2005
<a href="http://ch.mtm2.com/">Visit my site</a>


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 28, 2007 2:14 pm 
Member
User avatar

Joined: Sun Nov 03, 2002 2:01 pm
Posts: 496
Location: carmel, california, usa
my latest track, gladiator Colosseum, has this problem. i have no idea how it happened, but no one had any errors or anything, so i left it as is.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 28, 2007 2:58 pm 
Member
User avatar

Joined: Thu Apr 19, 2001 2:01 pm
Posts: 693
Location: USA and Proud of it.
that's really weird - from Traxx?

_________________
Keep on MTMing,
CH_2005
<a href="http://ch.mtm2.com/">Visit my site</a>


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 28, 2007 3:16 pm 
Member
User avatar

Joined: Sat May 24, 2003 2:16 pm
Posts: 369
Location: UK
It happens when you hide known file extensions, in Windows Explorer.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 28, 2007 4:47 pm 
Glow Ball
User avatar

Joined: Tue Feb 02, 1999 7:00 pm
Posts: 8
> Took me 5 to 10 minutes to understand

We make allowances for slow learners :-P


> What pod files have bin models with no bin extensions?

As has been mentioned, when you uncheck "hide file extensions for known file types" in windows explorer folder options. And I'll add it is a Traxx v1.4 and earlier problem. And as has been alluded to, XP SP1 or SP2 seems to have worked in a fix (Bill always claimed it was a windows error and not a traxx error, and this seems to confirm at least part of that is true).


> The whole discussion of searching

... assumes you're familiar with search and replace in editpad (or whatever program you use).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 28, 2007 5:30 pm 
Member
User avatar

Joined: Mon Jul 02, 2001 2:01 pm
Posts: 1116
Location: Lost in Translation
Quote:
And as has been alluded to, XP SP1 or SP2 seems to have worked in a fix



Fixed my butt.

I am using XP with SP2 and Summer Isle had no bin extensions.
And using Traxx 1.5 as well.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 28, 2007 6:31 pm 
Glow Ball
User avatar

Joined: Tue Feb 02, 1999 7:00 pm
Posts: 8
I didn't know your butt was ever broken; sorry to hear the news.


As far as this problem is concerned, I was talking about the Unable to get lnth of message.

http://cownap.com/~mtmg/errors.cgi?e=57


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 28, 2007 7:01 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1274
Location: Valparaíso, Chile.
>As has been mentioned, when you uncheck "hide file extensions for known file types" in windows explorer folder options.

Yep. AND a Smart Windows User NEVER hide the file extension. That prevent you from virus, troyans, fake programs and blah, blah, blah.


>And I'll add it is a Traxx v1.4 and earlier problem. And as has been alluded to, XP SP1 or SP2 seems to have worked in a fix (Bill always claimed it was a windows error and not a traxx error, and this seems to confirm at least part of that is true).

95/98/98SE/ME too.

>Fixed my butt.
>I didn't know your butt was ever broken; sorry to hear the news.

See what I'm talking about?

LOL


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 29, 2007 2:51 am 
Member
User avatar

Joined: Fri May 04, 2001 2:01 pm
Posts: 495
Location: Bathurst, NSW, Australia
Kmaster wrote:
AND a Smart Windows User NEVER hide the file extension.

It's too bad that a clean install of XP will be set to hide file extensions by default, and you actually have to go in and change it yourself. It still catches newbies.

I agree, working in Windoze is far too precarious for me to not have that file information available at a glance.

_________________
10 years of MTM2 ~ 1998-2008
"Thanks for the MTMories"


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 31, 2007 2:27 am 
Member
User avatar

Joined: Thu Apr 19, 2001 2:01 pm
Posts: 693
Location: USA and Proud of it.
This says it all:
Quote:
I agree, working in Windoze is far too precarious for me to

_________________
Keep on MTMing,
CH_2005
<a href="http://ch.mtm2.com/">Visit my site</a>


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 03, 2007 7:57 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1274
Location: Valparaíso, Chile.
ch_2005 wrote:
This says it all:
Quote:
I agree, working in Windoze is far too precarious for me to


working in Windows XP is far too precarious for me, worst OS ever.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group