This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Minimal Files Needed?  (Read 741 times)

majorcyto

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
Minimal Files Needed?
« on: June 11, 2014, 01:28:17 pm »
Hello all, i was wondering what the minimal amount of files are needed for the client to run and still identify itself? Ideally if i am working on a fully custom project, that i would like to distribute (via torrent or whatever) i would like it to only have the content im using and not all the other models etc that i am not even touching. I think i read some where else on the forum they managed to get the total client size down to like 7gb..?

Is there any way to reach say.. 1 - 2GB total? I know realistically i can't delete any DBC files obviously, but i can empty it's rows right? Anything else that needs to absolutely stay in the client or itll explode?

----

Is "common, common-2" etc all looked for on startup.. could i leave them in with zero content, or 1 row of content..? From what i understand the mpq patches are just layered on top of each other to take the newest data from the latest patch number.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Minimal Files Needed?
« Reply #1 on: June 11, 2014, 03:52:12 pm »
Quote from: "majorcyto"
Is there any way to reach say.. 1 - 2GB total? I know realistically i can't delete any DBC files obviously, but i can empty it's rows right? Anything else that needs to absolutely stay in the client or itll explode?
Yes. There are only little entries really needed, like those in Startup_strings and videohardware. Most other dbcs can just be emptied without loss of anything.

Quote from: "majorcyto"
Is "common, common-2" etc all looked for on startup.. could i leave them in with zero content, or 1 row of content..?
Just let them be empty except for that one MPQ you need. Or even try removing them. Some of them are not required.

In the end, just first extract _everything_, to have the latest version of all files. Then, move all MPQs away and start the client. It will tell you if it is missing something. Then, add empty MPQs for those it is missing. Then, add the files it complains about missing to one of those MPQs (common.MPQ, locale-****.MPQ, likely). Continue until you are at the login screen. From there, you can go the other direction again: remove stuff from gluexml you don't need, i.e. models, textures, buttons, Then, enter world. Repeat.

In the end, some pretty low level dbcs should be required to get to login. Pretty much everything than event handling and calls to enterworld/defaultserverlogin and character selection should be left pre-enterworld. enter world will require map.dbc, a wdt, light.dbc and some other basics, but they can be empty except for one entry each, most likely.

tl;dr: remove everything, add what it complains about.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

majorcyto

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
Re: Minimal Files Needed?
« Reply #2 on: June 11, 2014, 05:43:48 pm »
Quote from: "schlumpf"
-snip-

Thank's for your response! I wish i could "like" your post lol.  :D
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Minimal Files Needed?
« Reply #3 on: June 11, 2014, 06:57:26 pm »
Quote from: "majorcyto"
Quote from: "schlumpf"
-snip-

Thank's for your response! I wish i could "like" your post lol.  :D
In fact, I want to just replace forums by reddit. I dislike the forum concept. Linear discussions never worked out.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »