Giter Site home page Giter Site logo

mc2srcdata's People

Contributors

alariq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mc2srcdata's Issues

Missing data files, or not generated for Linux build

Hi,

I've compiled the mc2 build and tools.
I've copied over tools to build_tools and run these successfully.

I've also been a little confused about the two texture locations.

  • mc2srcdata/build_scripts/data/textures, and
  • mc2srcdata/textures

Initially, I copied the folder contents from mc2srcdata/textures --> mc2srcdata/build_scripts/data/textures

For the binary mc2. I created a bin directory and symlinked the data as so:

$ tree 
.
├── art.fst -> ../../mc2srcdata/build_scripts/art.fst
├── assets -> ../../mc2srcdata/build_scripts/assets
├── camera.fst -> ../../mc2srcdata/build_scripts/camera.fst
├── data -> ../../mc2srcdata/build_scripts/data
├── effect.fst -> ../../mc2srcdata/build_scripts/effect.fst
├── h2prefs1.cfg -> ../../mc2srcdata/build_scripts/h2prefs1.cfg
├── h2prefs.cfg -> ../../mc2srcdata/build_scripts/h2prefs.cfg
├── hiprefs1.cfg -> ../../mc2srcdata/build_scripts/hiprefs1.cfg
├── hiprefs.cfg -> ../../mc2srcdata/build_scripts/hiprefs.cfg
├── insignia.fst -> ../../mc2srcdata/build_scripts/insignia.fst
├── libmc2res.so -> ../libmc2res.so
├── mc2 -> ../mc2
├── midprefs1.cfg -> ../../mc2srcdata/build_scripts/midprefs1.cfg
├── midprefs.cfg -> ../../mc2srcdata/build_scripts/midprefs.cfg
├── minprefs1.cfg -> ../../mc2srcdata/build_scripts/minprefs1.cfg
├── minprefs.cfg -> ../../mc2srcdata/build_scripts/minprefs.cfg
├── misc.fst -> ../../mc2srcdata/build_scripts/misc.fst
├── mission.fst -> ../../mc2srcdata/build_scripts/mission.fst
├── options.cfg
├── orgprefs.cfg
├── prefs.cfg -> ../../mc2srcdata/build_scripts/prefs.cfg
├── shaders -> ../shaders
├── sniff.dat
├── system.cfg -> ../../mc2srcdata/build_scripts/system.cfg
├── textures.fst -> ../../mc2srcdata/build_scripts/textures.fst
└── tgl.fst -> ../../mc2srcdata/build_scripts/tgl.fst

The game launches. I try to load the Carver 5 campaign. Then texture issues arise.

I am trying to resolve missing texture files. Slowly I am finding which are missing, but I think something else might be wrong.

The message on the console:

MSGBOX: MechCommander 2 could not open the file data/textures/mc2_01.water0016.tga.
Please insert the MechCommander 2 CD, and then click 
OK to continue. : MechCommander 2 CD Not Inserted

Even though they are texture files, and it doesn't matter what it looks like, I am replacing them with copies of other texture data. Still, there are many I am either not generating, or are missing.

After cp data/textures/mc2_01.water0015.tga data/textures/mc2_01.water0016.tga Some time later...

MSGBOX: MechCommander 2 could not open the file data/textures/mc2_01.water0017.tga.

OK...I will make them up to 99.

for i in `seq 17 99`
do
    cp data/textures/mc2_01.water0015.tga  data/textures/mc2_01.water00${i}.tga
done

MSGBOX: MechCommander 2 could not open the file data/textures/mc2_01.water0100.tga.

!
OK. 1000!

for i in `seq 100 999`
do
    cp data/textures/mc2_01.water0015.tga  data/textures/mc2_01.water0${i}.tga
done

New missing texture data

MSGBOX: MechCommander 2 could not open the file data/textures/mc2_01.burnin.jpg.

Looking at the available files, there is a data/textures/mc2_01.burnin.tga, but the code does not consider it and skips to CD checking code.

Try loading the training campaign instead, same issues coming back.

MSGBOX: MechCommander 2 could not open the file data/textures/tut_01.water0010.tga.
Please insert the MechCommander 2 CD, and then click 
OK to continue. : MechCommander 2 CD Not Inserted

Also missing from training campaign:

textures/tut_01.lst

I believe there are pieces missing. e.g

$ find . -iname 'tut*lst'
./tut_05.lst
./tut_03.lst

I was also looking at the Windows Game installation and CD, but they don't have individual texture files.

I have attached the textures files I have on my system (merging the two texture folders)

$ cd mc2srcdata/textures 
$ tree
... see file for data ...
5 directories, 1397 files

texture_tree.txt

Are there files missing from the Linux build process? any help would be appreciated.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.