Announcement

Collapse
No announcement yet.

progs.dat

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Moonlights
    started a topic progs.dat

    progs.dat

    How i can unpack a progs.dat and csprogs.dat?
    I have make a search on the forum but find nothing...

  • Seven
    replied
    Hello gb ,

    Please compare the kleshik way to do it with your way.
    That is why I mentioned it.
    Simple centerprints can always be done in QC of course.

    Seeing, that Moonlights is a beginner, he should be lead to finished code and downloads that he can use right away in his Quake, rather than lead to screenshots without code or source.

    Kind regards,
    Seven

    Leave a comment:


  • KillPixel
    replied
    How could one increase the duration a message is displayed? For instance, I'd like to increase the time the episode name and tagline are displayed at the start.

    I guess id thought .7 seconds was ample time to read all that...

    Leave a comment:


  • golden_boy
    replied
    mapname is something like "dm4".

    You can just centerprint that in PlayerPreThink, or you can do a switch where you check for the value of mapname and substitute it for the plaintext title of the map, and then centerprint that.

    Of course it will look better with a hires console font, and much better with csqc and a nice graphic or something. But doable it is, without csqc.

    Just depends how you want it to look.

    Leave a comment:


  • R00k
    replied
    Hmm i never used
    string mapname;

    Is that the levelname?
    world.model = "maps/blah.bsp"..

    hmm been a while ....

    Leave a comment:


  • golden_boy
    replied
    You cannot centerprint the mapname without the use of CSQC? Are you sure?



    2 minutes of QC coding.
    Last edited by golden_boy; 02-28-2012, 06:23 PM.

    Leave a comment:


  • Seven
    replied
    Originally posted by Moonlights View Post
    Just for find the code for show up the name of the level at the start...
    Hello Moonlights,

    The code to show the map name on map start is not inside the "progs.dat".
    You must use CSQC to achieve that.
    Nahuel did this, so the code you are loking for is inside the "csprogs.dat": click me

    Nahuel is a nice guy, so he always includes the source.
    So you do not need to decompile it !
    Simply look into the source to pick the code lines you need.
    This feature has been taken out of kleshik csqc code.

    V4.5 will give you the possibility to use the standard DP HUD layout plus the start map text.
    So you do not need to change the csqc code at all.
    Smith did this last step for you.
    Please read the readme.txt to learn how to use it.

    Best wishes,
    Seven

    Leave a comment:


  • KillPixel
    replied
    good luck and godspeed.

    Leave a comment:


  • golden_boy
    replied
    Much the same with IRC actually, since most people aren't just in there for 5 minutes. The regulars are there all day long, many even while they sleep or work. You can directly ask someone and they'll see it on their side. Realtime vs. non realtime.

    There are people in #qc who I practically never see posting here.

    Leave a comment:


  • R00k
    replied
    Oddly enough I RARELY use IRC, whereas with a forum, your q&A will remain for others to discover.

    Leave a comment:


  • golden_boy
    replied
    Inside3D - Quake community, modding and QuakeC -

    get the source, learn to compile it, then ask someone how to add a centerprint of the mapname when the level loads.

    There are much better places to ask such questions than this forum. inside3d.com or especially the #qc IRC channel come to mind.

    Edit; I actually can't fathom how many people do QuakeC, or want to do it, and yet never use IRC. IRC is your best source of information for Quake modding, because you can speak directly to very knowledgeable people who don't read forums all the time.
    Last edited by golden_boy; 02-27-2012, 07:22 PM.

    Leave a comment:


  • Moonlights
    replied
    Just for find the code for show up the name of the level at the start...

    Leave a comment:


  • golden_boy
    replied
    A progs.dat isn't a zip file, it is compiled gamecode.

    Where there is a compiler, there is a decompiler.

    It might be illegal to decompile certain files, depending on your local laws on reverse engineering. I'm just providing this information for educational purposes.

    I have heard that such decompilers exist for Quake progs.dat files, but I can't say off the top of my head where you would find such a thing.

    Probably only QuakeC programmers or engine coders would ever have a need of something so abysmal as this, anyway. But I wouldn't expect to find this information on a public forum.

    Edit; which progs.dat are you interested in? There is a lot of source code already available for those, for example the source code of the vanilla progs.dat, of both mission packs, and of many mods.

    Leave a comment:


  • MH
    replied
    You can't - they're binary files containing compiled QC; there's nothing to unpack. You need to get the original source code.

    Leave a comment:

Working...
X