Missing GSC files in IWDs?

Having problems? Noticed a bug? Need to contact admin? Do it here.

Missing GSC files in IWDs?

Postby vesicant » Fri Apr 08, 2022 5:09 pm

Hello! I'm trying to glean best practices for adding custom maps to a server.

I've noticed that the following files are missing from Kingbot IWDs:

  • [map_name].iwd/maps/mp/[map_name].gsc
  • [map_name].iwd/maps/mp/[map_name]_fx.gsc

If it's no secret, would you mind sharing why these files have been removed?

For example, I've compared `mp_naout.iwd` from Kingbot to one that I've downloaded from XtremeIdiots:


I extracted both IWD files into parallel directories, so I can run comparison commands:

Code: Select all
λ tree -d .
.
├── kingbot
│   └── mp_naout
│       ├── images
│       ├── maps
│       │   └── mp
│       ├── materials
│       ├── mp
│       └── soundaliases
└── xtremeidiots
    └── mp_naout
        ├── images
        ├── maps
        │   └── mp
        ├── materials
        ├── mp
        └── soundaliases


Running md5sum on the d3dbsp confirms that the base map file is the same:

Code: Select all
λ md5sum kingbot/mp_naout/maps/mp/mp_naout.d3dbsp xtremeidiots/mp_naout/maps/mp/mp_naout.d3dbsp
c35ebf9c6b36741c6d1b52fe5517a8f7 *kingbot/mp_naout/maps/mp/mp_naout.d3dbsp
c35ebf9c6b36741c6d1b52fe5517a8f7 *xtremeidiots/mp_naout/maps/mp/mp_naout.d3dbsp


Let's see what files are missing from the Kingbot archive:

Code: Select all
λ diff -r kingbot/mp_naout xtremeidiots/mp_naout
Only in xtremeidiots/mp_naout: hunkusage.dat
Only in xtremeidiots/mp_naout/images: Thumbs.db
Only in xtremeidiots/mp_naout/maps/mp: mp_naout.gsc
Only in xtremeidiots/mp_naout/maps/mp: mp_naout_fx.gsc


Removing `hunkusage.dat` and `Thumbs.db` is understandable. They are junk

...but why are the `mp_naout.gsc` and `mp_naout_fx.gsc` missing from the Kingbot IWD?

It looks like `mp_naout.gsc` contains the following:

  • That the Allies team should be British
  • That player models should wear desert uniforms
  • Where to place the radios in HQ games
  • Bloom effect settings
  • Global ambient sounds

...and `mp_naout_fx.gsc` contains ambient sounds and shader effects that should play in specific coordinates in the level (e.g. dust, wind). I've confirmed that without these GSC files, Allies default to American, not British, and there are no ambient effects in the level.

I've done a similar comparison for `mp_borisovka` between Kingbot and Fraggaclan:

  • https://drive.google.com/file/d/1_ZCuASiTM8A-cp283P-AFLpHtIWMsvqR/view?usp=sharing
  • https://fraggaclan.altervista.org/games/cod2/main/mp_borisovka.iwd

...and again, I can see that the two GSC files have been removed from Kingbot.

(Additionally, Kingbot's IWD is missing `mp/mp_borisovka.arena`.)

Again, if it's no secret, can you share why Kingbot removes GSC files from IWDs?
vesicant
 
Posts: 1
Joined: Fri Apr 08, 2022 3:37 pm
Status: Offline

Re: Missing GSC files in IWDs?

Postby Terminator » Fri Apr 08, 2022 6:29 pm

Hi
All scripts including gsc files are not client side on our servers, this is one of the basic lessons in server protection. So if you want to use the maps elsewhere, or have more information, you can find them on the internet.
Regards.
|KinG|Cpt.Terminator
User avatar
Terminator
 
Posts: 748
Joined: Fri Jan 05, 2018 4:35 pm
Status: Offline


Return to Support

Who is online

Users browsing this forum: No registered users and 13 guests