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: new file system CASC  (Read 35768 times)

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
new file system CASC
« on: April 04, 2014, 04:45:20 am »
blizzard will not be using the MPQ anymore they changed to fromate called CASC for more go to http://us.battle.net/wow/en/blog/136454 ... s-4-3-2014 :x  :x  :x  :x  :x  :x  :x  :x  :x
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: new file system CASC
« Reply #1 on: April 04, 2014, 10:19:43 am »
This is already used in heroes of the storm. Chaud et al already are able to read from those files at least. Format can't be too complex. Missing tools will be the bigger problem in modifying WoD.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

TheBuG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 469
    • View Profile
Re: new file system CASC
« Reply #2 on: April 04, 2014, 11:35:06 am »
Since it's able to push updates etc without even notifying the user and if it's able to repair itself, then it might cause quite the issue for people playing on private servers (if there is ever going to be a stable server core).

But reading/extracting shouldn't be too hard as Schlumpf said. But as with Cataclysm and Mists of Pandaria it's more likely going to be the lack of tools to support those versions that's going to be an issue.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: new file system CASC
« Reply #3 on: April 04, 2014, 01:04:38 pm »
After some communication, as far as I know the current state on CASC files is
  • reading is completely possible
  • listfiles, i.e. filenames are currently not properly available -> you can extract files but don't know what file they are
  • writing is not even tried

Being able to push into them is nothing I think that would be a problem with private servers. As the server is emulated, it most likely won't push/repair the clients archives magically. (just like stuff like warden is not active on emulated servers; even less blizzard being able to push stuff to warden when playing on a private server)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: new file system CASC
« Reply #4 on: April 04, 2014, 01:17:12 pm »
In the article they mention that the new file system is a lot faster. Can anyone explain why? MPQ already works via hashtable as far as I am aware which is always O(1) since the time to access is always the same? How can you get faster than that?

My knowledge on this is rather limited but I want to learn more.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: new file system CASC
« Reply #5 on: April 04, 2014, 03:22:26 pm »
Quote from: "stoneharry"
In the article they mention that the new file system is a lot faster. Can anyone explain why? MPQ already works via hashtable as far as I am aware which is always O(1) since the time to access is always the same? How can you get faster than that?

My knowledge on this is rather limited but I want to learn more.


they only say that  :?:  the real deal is to stop the private servers(.)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: new file system CASC
« Reply #6 on: April 04, 2014, 04:07:10 pm »
Quote from: "raeef"
Quote from: "stoneharry"
In the article they mention that the new file system is a lot faster. Can anyone explain why? MPQ already works via hashtable as far as I am aware which is always O(1) since the time to access is always the same? How can you get faster than that?

My knowledge on this is rather limited but I want to learn more.


they only say that  :?:  the real deal is to stop the private servers(.)

No, not really at all. Not one bit.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: new file system CASC
« Reply #7 on: April 04, 2014, 04:33:44 pm »
Quote from: "stoneharry"
In the article they mention that the new file system is a lot faster. Can anyone explain why? MPQ already works via hashtable as far as I am aware which is always O(1) since the time to access is always the same? How can you get faster than that?

My knowledge on this is rather limited but I want to learn more.
TBH: No idea unless I see it. Most likely it is faster due to no longer having multiple MPQs needing a linear lookup back to front and potentially applying a bsdiff. The main problem with MPQs was dynamically adding/removing files, thus patching was done with layering / later layered diffs). If the archive can easily be modified, there is no need to check if there is the same file in a separate archive, as there only is one.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: new file system CASC
« Reply #8 on: April 05, 2014, 02:35:37 am »
It might in fact turn out to be a major pain in the ass for editing:
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phucko1

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 523
    • View Profile
Re: new file system CASC
« Reply #9 on: April 05, 2014, 05:04:20 am »
Where can I download "Chaud et al", Schlumpf?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

akriso

  • Contributors
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: new file system CASC
« Reply #10 on: April 05, 2014, 08:11:50 am »
can are smbdy share client ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
Re: new file system CASC
« Reply #11 on: April 05, 2014, 08:28:11 am »
You can download Heroes of the storm here => http://kickass.to/heroes-of-the-storm-a ... 86786.html

It uses CASC files, have fun :)

(i have tested the link before, trust me I'm not a dolphin :) )
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Gurluas

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 344
    • View Profile
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phucko1

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 523
    • View Profile
Re: new file system CASC
« Reply #13 on: April 05, 2014, 03:44:52 pm »
My question remains: How do I open CASC FIles? Send me link to a program that can do it please.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: new file system CASC
« Reply #14 on: April 05, 2014, 03:57:40 pm »
Quote from: "phucko1"
My question remains: How do I open CASC FIles? Send me link to a program that can do it please.

There is no such program yet.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »