Carnivores, Carnivores 2, Carnivores Ice Age
- Mr.Mouse
- Site Admin
- Posts: 4051
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 421 times
- Been thanked: 575 times
- Contact:
From your info, machf, it looks like the .CAR formats are diverging and the authors used 'archives' that suited them for whatever purpose they had in mind. Like I hoped it would not be. The 0/1 thing in the loop you mention is not the problem, I think, unless 0 is also an entry (starting from 0 upwards).
Can you see, using a hexeditor, that the values that should be numSound etc are indeed 0? Is it possible to attach some of these non-functional files here? Or at least some headers? You can also mail them to the address you can find here: http://multiex.xentax.com
Can you see, using a hexeditor, that the values that should be numSound etc are indeed 0? Is it possible to attach some of these non-functional files here? Or at least some headers? You can also mail them to the address you can find here: http://multiex.xentax.com
Based on your script, I wonder if this one will work with .3df files...
No animations or sounds, but joints (or bones, whatever you prefer to call them) instead...
Code: Select all
Get numPoint Long 0 ;
Get numTri Long 0 ;
Get numJoint Long 0 ;
Get picSize Long 0 ;
For nT = 1 to numTri ;
SavePos FOT 0 ;
Set FST Long 64 ;
Log "" FOT FST 0 0 ;
Math FOT += FST ;
GoTo FOT 0 ;
Next nT ;
For nP = 1 to numPoint ;
SavePos FOP 0 ;
Set FSP Long 16 ;
Log "" FOP FSP 0 0 ;
Math FOP += FSP ;
GoTo FOP 0 ;
Next nP ;
For nJ = 1 to numJoint ;
SavePos FOJ 0 ;
Set FSJ Long 48 ;
Log "" FOJ FSJ 0 0 ;
Math FOJ += FSJ ;
GoTo FOJ 0 ;
Next nJ ;
SavePos FO 0 ;
Log "" FO picSize 0 0 ;
Math FO += picSize ;
GoTo FO 0 ;
- Dinoguy1000
- Site Admin
- Posts: 759
- Joined: Mon Sep 13, 2004 1:55 am
- Has thanked: 129 times
- Been thanked: 142 times
Speaking of .map and .rsc files, it's easy to determine whether a .map file belongs to Carnivores or Carnivores 2/Ice Age just by looking at its size, as they are of fixed byte lengths... however, with the .rsc files that's not possible, as they are by design variable-size files. There's even no specific information in their headers to tell them apart. Any suggestions?
- Dinoguy1000
- Site Admin
- Posts: 759
- Joined: Mon Sep 13, 2004 1:55 am
- Has thanked: 129 times
- Been thanked: 142 times

