Jump to content
The Dark Mod Forums

Search the Community

Searched results for '/tags/forums/code' or tags 'forums/codeq=/tags/forums/code&'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • News & Announcements
    • The Dark Mod
    • Fan Missions
    • Off-Topic
  • Feedback and Support
    • TDM Tech Support
    • DarkRadiant Feedback and Development
    • I want to Help
  • Editing and Design
    • TDM Editors Guild
    • Art Assets
    • Music & SFX

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. Yeah there is also an updated opengl driver: The d3d9 driver from the same site has a palette issue so you might want to go with that unless you plan on using the d3d10 or 11 renderers. there is code for a opengl 3.3 renderer for rune / unreal but as the author points out it does not seem to look much differently than the normal one. it may also be a tad bit slower. 5 -> 10%. the code is more modern though and supports shaders so could possible be used to add some of the features of the updated D3D renderers.
  2. For the people eager to play with the latest state of development, two things are provided: regular dev builds source code SVN repository Development builds are created once per a few weeks from the current trunk. They can be obtained via tdm_installer. Just run the installer, check "Get Custom Version" on the first page, then select proper version in "dev" folder on the second page. Name of any dev version looks like devXXXXX-YYYY, where XXXXX and YYYY are SVN revision numbers from which the build was created. The topmost version in the list is usually the most recent one. Note: unless otherwise specified, savegames are incompatible between any two versions of TDM! Programmers can obtain source code from SVN repository. Trunk can be checked out from here: https://svn.thedarkmod.com/publicsvn/darkmod_src/trunk/ SVN root is: https://svn.thedarkmod.com/publicsvn/darkmod_src Build instructions are provided inside repository. Note that while you can build executable from the SVN repository, TDM installation of compatible version is required to run it. Official TDM releases are compatible with source code archives provided on the website, and also with corresponding release tags in SVN. A dev build is compatible with SVN trunk of revision YYYY, where YYYY is the second number in its version (as described above). If you only want to experiment with the latest trunk, using the latest dev build gives you the maximum chance of success. P.S. Needless to say, all of this comes with no support. Although we would be glad if you catch and report bugs before the next beta phase starts
  3. Crouched Player Hands Mod (TDM 2.14) @jivo, the original creator of the Visible Player Hands Mod, is currently absent. A year ago Jivo announced plans to further improve the mod but we haven't heard from him since. TDM 2.14 was released and his mod hasn't been updated. One of the planned features was to have the option to show only the hands (no items). This is what I think works best, at least as the starting point, and this is what my fork is about: Show at least one hand when crouching Remove the crouch indicator from the HUD DOWNLOAD (Windows) https://www.mediafire.com/file/oboazn4ohfby7e4/Crouched_Player_Hands_2.14-Win.zip/file Please note the download includes a modded TDM 2.14 Windows executable. The executable has been compiled by me using official code sources and Microsoft Visual Studio Community 2022. The download also includes a copy of the changes made in the source code, which can be found inside the pk4. The zip includes: TheDarkModx64.exe z_crouched_player_hands_214.pk4 INSTALL Make a manual backup or rename your TheDarkModx64.exe (ie: TheDarkModx64.exe.original) Drop the modded TheDarkModx64.exe and the file z_crouched_player_hands_214.pk4 into your TDM root folder UNINSTALL Delete the modded TheDarkModx64.exe and the file z_crouched_player_hands_214.pk4 from your TDM root folder Restore the original TheDarkModx64.exe DOWNLOAD (Linux) I don't have the knowledge to provide a build for Linux. ---------------------------- Should Jivo be back and resume work on his mod I will ask Forum Moderators to delete this whole topic. In the meantime, I hope you have fun with this fork for TDM 2.14. THANKS JIVO FOR YOUR WONDERFUL WORK! PLEASE BE BACK SOON!
  4. The terms of the GPL license require the user to publicly release any modifications of the GPL-licensed code, and all of the new code then inherits a GPL license, which basically means if you mix any of it into your own source code, you now have a legal obligation to publicly release all of your own source code & it's now also GPL code, or if you try to force it not to be, now you're violating the GPL terms. And the next piece is that there are parts of Steam code that games may have to put into their code for certain functions so that the game can talk with the Steam platform, I think especially the Achievements functionality. So to make it concrete, if a dev integrates Steam Achievement code into their GPL code, if the Steam people allowed that, now Steam's Achievement code is forced to either inherit GPL and has to be publicly released and anyone can use it for their own profit, or Steam refuses & they're violating the the GPL terms. But I gather that the Steam people are risk adverse about it, so up-front in even deciding what games should get greenlit, they'll be sour on GPL-licensed code, even if the dev isn't thinking about using Achievements, just to avoid even accidental code mixing... IIRC they said something like they have put up GLP-licensed games on the platform, if they take precautions to really make sure code doesn't get mixed, but they don't like it & it's rare, so they're kind of special cases.
  5. Yes, that can be dropped and the original line can remain. I don't have access to the source code of previous versions of @jivo's mod but I understand this was added around the time he started toying with attachments (lantern, compass, etc), which are not part of the current scope. -------------------- I am thrilled. This initiative may never make it into the core game but the fact that you are willing to support its development says a lot, and I am grateful. Feel free to do things your own way: if you think the new weapon entity should have a different, more generic name, or the solution should be approached differently just go for it. I will keep up with the scripts. Speaking of scripts, my understanding is that Jivo's intentions were to make the absolute minimum source code changes required to support the mod, and the scripts ended up doing all the heavy lifting. The result is that the scripts are as complex and ugly as they get, and I made matters worse but hey, it works. Anyway, thanks for having added the foundations of this initiative into the source code. I appreciate the support and a bunch of players will indirectly appreciate it too.
  6. Committed in svn rev 33374. I have a question though. This: const idKeyValue *KeyVal = weaponDef->dict.MatchPrefix( "def_attach", NULL ); was replaced by this (simplified by me): const idKeyValue* KeyVal = NULL; if (strcmp(objectname, "atdm:weapon_unarmed") != 0 || strcmp(name, "player1_visible_hands") == 0) KeyVal = weaponDef->dict.MatchPrefix("def_attach", NULL); In my opinion, this replacement can be dropped, no? Previously this code ran in all cases, and it ran fine. Now you add the "hands" case and you want it to run this code too. But why do you block this code in unarmed case?
  7. I'm surprised I could find any thread here for chat-GPT. Version 4 is outstanding from all reports I saw and I can't wait to get my hands on. It's not just a chat-bot (though it can discuss anything with you in great depth.) It can grasp the MEANING of sentences and write its own. In future games, you'll be able to talk to NPC's like you would any human. Search for video: Unbelievable AI Breakthrough Interactive AI Characters in a Videogame for the First Time! This demo is outstanding. GPT will be WRITING games! It can write meaningful stories. It can fill in your tax form, prepare your business/wedding speech and discuss its merits with you, and organise your professional work rapidly It can understand humour It can teach! Efficently! Sensibly! Find the Khan Academy video. It can write code/script good enough to frighten a senior programmer who can see it already is as good as junior coders and some seniors. He's afraid because it is certain to take over HIS job in due time, possibly only months away. An AI bomb has been dropped with GPT-4 and many do not yet realise how life-changing it will be - greater even than the advent of the internet. I give it 5 years to change the efficiency of almost everything tenfold, a hundredfold.
  8. More information here: Most important thoughts (from several writers) in the thread above for you: "The Dark Mod source code is the game engine, and it is GPL. It is not unlawful to try to sell a game based off it, but it would be commercially rather difficult — why would people pay for your game when they can just download the source (which you are required to publicise, according to the terms of the GPL) and build it themselves for free? [...] What you could do is use the Dark Mod GPL code as your game engine, then release a commercial game using 100% original assets that you create yourselves, and require people to pay for the game which includes your assets (while they could still download the engine source code under the terms of the GPL). This is essentially what ID Software did when they made Doom 3 open source: you can download the game engine code for free but you still need to buy Doom 3 if you want the full game including all of the content. --- To clarify, you can sell code under a GPL license, but the license requires you to release all of the sourcecode in a form people can compile it, and it retains the license. So practically you can't stop people from just taking the sourcecode, possibly changing some things, compiling it, and independently releasing it for free. Also, outlets like Steam really don't like GPL licensed code because it puts them at risk. And they already mentioned that all of the game assets are strictly non-commercial. So idTech4 derived things aren't the best platform for a commercial game."
  9. My understanding is that the initiative will be supported at source code level so that we can do without a custom executable. The modded pk4 to make it work must be provided separately. If this goes into the game in its current status it should be off by default via cvar or something.
  10. The Dark Mod uses code under the GPL. You've released a binary. Please release the code.
  11. Lately I've been exploring the possibility of using the Doom 3 engine for creating games of my own, and TDM is the engine version I'm most interested in, because, among other reasons, one of my intended projects is also a thief-like game, and other projects will be horror games that may involve stealth and no shooting. So I need to know everything I should know about licensing permissions, what can be used commercially vs non-commercially, what files need to be included (AUTHORS.txt? LICENSE.txt?), etc, etc. I couldn't find any threads talking about this. I'm not going to do any commercial projects any time soon, as I'm still familiarizing myself with the engine, but I may get to that at some point. For commercial use I intend to create all assets on my own (textures, models, sounds, etc). For non-commercial use, I'd like to do the same, but if I could use TDM assets and gradually transition to having everything made by me, that might be ideal. I may eventually change some code as well. If I understand correctly, changing the code means GPL requires that I publish my version of the code. Is that correct? I've read through the LICENSE.txt file, and it seems even TDM's .def files are under a cc-by-nc-sa license, which invalidates them for commercial use. So it seems I can use all of that non-commercially, but I can't use any of it commercially. I would like to be sure I'm getting this stuff right. Also, I'm not too versed in licenses, so I'd like to have some confirmation that all the licenses listed in LICENCE.txt are able to be used commercially, in case I overlooked something.
  12. ============== -= IRIS =- ============== WELLINGTONCRAB TDM v 2.11 REQ Ver. 1.3 *For Maureen* -=- "Carry the light of the Builder, Brother. Unto its end." -Valediction of the Devoted "What year is this? Am I dreaming?" -Plea of the Thief Dear Iris, I am old and broken. When we were young it felt like the words came easily. Now I find the ink has long dried on the pen and I'm as wanting for words as coin in my purse. I can tell we are nearing the end of the tale; time enough for one more job before the curtain call... ============== -Installation- Requires minimum version of TDM 2.13 -Iris does not support mods or the Unofficial Patch- Download and place the following .pk4 into you FMs directory: Iris Download ============== Russian Language Translations by @kalinovka Mirror #1: yandex.ru Mirror #2: Google Drive ============== *Thank you for playing. Iris is a large mission which can either take as quickly or as long as you are compelled to play. I hope someone out there enjoys it and this initial release is not completely busted - I tried the best I could!* *Iris both is and isn't what it seems. If commenting please use spoiler tags where appropriate. If you are not certain if it would be appropriate a good assumption would be to use a spoiler tag* *Support TDM by rating missions on Thief Guild: https://www.thiefguild.com/* ============== WITH LASTING GRATITUDE: OBSTORTTE - Whose gameplay scripts from his thread laid the foundation which made the mission seem like something I could even pull off at all. Also fantastic tutorial videos! DRAGOFER - Who built upon that foundation and made it shine even brighter! And whom also provided immeasurable quantities of help and encouragement the past couple years on the TDM discord. ORBWEAVER & GIGAGOOGA - For generously offering their ambient music up for use. EPIFIRE - Who lent me his fine trash and trash receptacle models. AMADEUS - Who was the first person who wasn't me to play the damn thing and provided his excellent editorial services to improving the readers experience playing TESTERS AND TROUBLESHOOTERS: AMADEUS * DATISWOUS * SPOOKS * ALUMINUMHASTE * JAXA * JACKFARMER * WESP5 * ATE0ATE * MADTAFFER * STGATILOV * DRAGOFER * KINGSAL * KLATREMUS - What can I possibly say? Playing this thing over and over again could not have been easy. Deepest thanks and all apologies. -=THANKS TO ALL ON THE TDM DISCORD AND FORUM=- ==SEE README.TXT FOR ADDITIONAL ATTRIBUTIONS & INFORMATION== HONORABLE MENTION: GOLDWELL - If I hadn't by chance stumbled into Northdale back in 2018/2019 I would probably still be trying to get this thing to work in TDS, which means it probably would not exist - though more details on that in readme. ============== Boring Technical Information: *Iris is a performance intensive mission and I recommend a GTX 1060 or equivalent. I find the performance similar to other demanding TDM missions on my machine, but mileage may vary and my apologies if this prevents anyone from enjoying the mission.* *Iris heavily modifies the behavior of AI in the game, how they relate/respond to each other and the player. So they may act even stranger than they do typically in TDM. Feedback on this is useful - as it can potentially be improved and expanded upon in future patches.* -=- This is my first release and it has been a long time coming! If I forgot anything please let me know! God Speed. 2.10 Features Used:
  13. How you can help depends a lot on what skills you have. I can Record Video Recording "Let's Play" videos or simple walkthroughs of existing missions and posting them to Youtube is great exposure for the mod (see example .) Be sure to let us know so we can link to them. If you have some editing ability, Video tutorials, where you explain how the mod works, or how to use specific tools, would also be great. Video trailers, showcasing interesting places and features, are also great for publicity. An example is . I can Write Writing reviews for missions are always nice, especially if they include good screenshots. Not only does it give us something to post on other forums, but it makes mappers feel good when their mission gets attention (especially if it's positive). We have a collective thread to post reviews in: http://forums.thedar...s-walkthroughs/ Writing reviews of the mod as a whole, targetted an an audience that doesn't know much about TDM, is also very useful. You could also try offering your services to mappers to create interesting readables, or to proofread for their mission. I can Act and Record Audio We are always on the lookout for good quality audio recordings for vocal sets. If interested, you can pick a few different lines from this script: http://wiki.thedarkm...t:_Average_Jack and send the recordings to Springheel, who then writes a script based on the type of voice you have. I can Translate We could always use translations of our menu/hud into more languages. Also, only a few FMs are aavailable in more than one language, so there is a lot of work there, see the I18N Translator's Guide in the Wiki. I can Model Great! Take a look at the model request thread:http://forums.thedar...-requests-here/ and pick something that interests you. Or just post a, "Hey, anybody want a model?" thread in this forum and I'm sure mappers will get back to you. I can Animate Fantastic. We can always use more good animations. Our current character rigs use a Maya skeleton. PM Springheel for more info. I know C++ Have a look at our coding section in the wiki, pick an issue or feature from the bugtracker of the mod or the leveleditor, download the recent sourcecode release (or better ask for an SVN checkout) and get cracking. Make sure nobody is already working on that specific issue and feel free to ask questions. I can Edit Images We can always use completely new textures and/or improved versions of older textures. How to get started and how to import them into the mod. I can Take Photos Good quality photos of useful textures (medieval-ish building facades, dirt, rocks, wood, etc) are always welcome. The fewer directional shadows and higher resolution, the better. I don't have any skills Even if you can't do any of the above, you can still help out. Talk about TDM in other forums; share your (preferably positive) experiences with other gamers you know. Last, but not least, compliment people when you like their work. Saying "thanks", to a developer or, "I really enjoyed your mission" to a mapper will make their day. -------------------- I'll update this further as more things occur to me.
  14. ah ok yeah that belongs in the dependency order. sorry if i seemed obtuse but i havent had a look at the current repository for a long while even though im still listed as a developer here im actually retired . had a lot of the same discussions on licensing when i frequented the quake forums though so maybe i could help.
  15. Thanks. That thread did help quite a bit. Yea, personally I can't see any issues with GPL source code, apart from Steam integration. But there are a couple idtech4 games released on Steam (Skin Deep and Quadrilateral Cowboy), so at least I know it's possible. Unless I'm missing something, I think the only situation where GPL clearly wouldn't be viable for commercial use is if you want to include a DRM in the game., which I don't intend to ever. Someone told me not all platforms are ok with GPL licensing, though, but as long as GOG or Itch are ok with it, then I'm fine. I'm not too fond of Steam, but I may use it too. Anyway, just to confirm, are the base game scripts (script/tdm_main.script, etc) considered assets or source code?
  16. So it's clear there are a lot of possibilities, each with strengths and weaknesses. It doesn't seem like anything replicates Discord completely right now. By my own experience, we mainly need Discord for 1) mappers as a place to bounce ideas, exchange files and work together in private channels, and 2) users as an easily accessible place to meet and chat about TDM. Right now we have the forum for anything that needs to be persistent and findable in the future, but discipline is not perfect in this regard, so sometimes important chats take place in Discord and get forgotten. Also, forum latency between messages is too long for easy chatting or co-mapping. I would place our priorities as follows: Must-haves: No requirement to prove identity. Multi-user text chat. Easy to partition into subchannels, either public or private. Easy to join and use. A lot of people can't or don't even want to install a VPN client, so it should not be much harder than signing up for Instagram. Made by programmers, not vibe-coders, and steadily developed. This ties into how secure and well-functioning the software is likely to be. Everyone uses AI these days to code, the question for me is what the skill level of the ones wielding it is. Nice to have (as a tiebreaker): Mature. We can expect projects to become more mature after initial teething problems. Similar UX to Discord. Has a mobile app for iOS and Android Easy to maintain for hosters Can be selfhosted. If we choose a public hosted service, we should check how likely it is for the makers to join the identity verification movement. Completely free. Paid products with a free tier tend to progress in a bad direction eventually because of greed, putting us in a similar situation again. However, the reality seems to be that this narrows our choices a lot and will require compromises elsewhere. Not important: Voice chat, video streaming, webhooks, bots. Not my impression these are commonly used features. We use youtube/twitch for streaming and sharing playthroughs. Federation. This would allow users to join other interesting communities with the same app/login, but narrows our choices down a lot for a relatively minor gain imo. End-to-end encryption. This causes operational complexity to manage, i.e. new users joining encrypted channels in Matrix couldn't see old messages. Also, the question is what our threat model is. I think what this mainly achieves is being able to hide messages from server admins and hackers, which isn't a feature we have had in Discord. Most of our messages are public. A risk of not having E2E could be a hacker leaking private chats and community members finding them (probably only if actively looking for them). I think we could reframe it not only as a Discord alternative, but also as a Microsoft Teams alternative given our collaboration needs for mappers. Could also be an idea to use forum software that has inbuilt chat rooms, which Discourse seems to be, but that would be a pretty big migration (AI helps, but can we replicate all the forum features we want and/or need?) and a big change from what we are used to. I have my doubts whether our forums need to be replaced. Also, most of the examples I found look a bit bare and like long scratchpads, especially if you don't figure out that you need to filter by category (examples, an example). If we can work around that, we would win 1) chat and forum being in one place and 2) currently free. From what I see so far, Zulip seems to be a good match for the priorities I put up, except for TaffingTaffer's objection that it is getting slop-heavy. Alternatively, we could migrate the whole forum to Discourse and use its inbuilt chatroom feature, hopefully without the new forum feeling unfamiliar or old content getting broken. But it could be a good idea to intentionally keep forums and chat separate so we can still communicate if one of them has a problem.
  17. Hey Greebo Thought you might appreciate this -
      • 2
      • Like
  18. just want to drop this piece of info here , from 2013 but i think it's still relevant in the future The Dark Silicon Problem and What it Means for CPU Designers Bob Colwell was a (chief architect of the Pentium Pro through Pentium 4). here is the link of the oral history of bob colwell : Colwell oral history complete transcript FINAL my favorite line is "'I said, wait I am sorry to derail this meeting. But how would you use a simulator if you don't have a compiler? He said, well that's true we don't have a compiler yet, so I hand assembled my simulations. I asked "How did you do thousands of line of code that way?" He said “No, I did 30 lines of code”. Flabbergasted, I said, "You're predicting the entire future of this architecture on 30 lines of hand generated code?" [chuckle], I said it just like that, I did not mean to be insulting but I was just thunderstruck. Andy Grove piped up and said "we are not here right now to reconsider the future of this effort, so let’s move on".' I tried looking for information on VLIW as well, but unfortunately, there’s very little information available on VLIW in that transcript Anyway, I just found an old Gold Tier book. I want to try “experimenting and learning how to refactor the code so it runs on a modern system from Visual C++ 5.0.” There will be some complications with the graphics lib. It looks like it’s going to take up a lot of my time
  19. Yep. It's an interesting topic. TBH, I found monitoring screens and number code pads and some other things too far fetched in the missions I played. If you have those, it doesn't make much sense that they still fight with swords and bows. I get it, it's a Steampunk settings, but maybe we shouldn't exaggerate too much, in terms of technological advancement. It should still be credible, and stuff like that is beyond credibility. Some things can be explained by technology. Some things can be explained by magic. Some things are... just nuts.
  20. ThiefGuild has some tags: https://www.thiefguild.com/fanmissions/?advanced_search=&series=&collection=&table=&page=&works=&work_lists=&sort_by=newest&search=&games=5&released_from=all&released_to=all&genre=all&original_games=fms Not sure how complete or accurate those are, after all either the author or users add the tags to the missions.
  21. Okay, looks like this is worth taking a peek at the code i"ll get a headache dealing with the challenges of enabling MTRR for LFB and enabling the VBE writeback cache just for the sake of old code
  22. yes assets from darkmod can not be used commercially but you can use your own. or you could ask the differing artists that made these assets for darkmod if it would be ok to use some of they're work. the source is also restricted in that it can be used commercially but all changes to the source code needs to be made public (there are a few cases where say it loads a closed source dll for anticheat where this can be ammended., but generally this is one of the few edge cases where it applies). hope this helps explain it.
  23. haha I come by every now and then I like forums. Social media was a mistake.
  24. cuda is now also useable on windows with the mingw compilers. that it took so long was due to nvidia refusing to port the're nvcc compiler to the windows gcc/clang architecture. it was msvc only on windows. this took quite an effort as the compiler is pretty specialized and the mingw toolchain does not use nvcc at all. instead they use python to convert the code so that clang and gcc can handle it. mingw-w64 uses the wine D3D libraries and as such is not 100% there yet for the later models such as D3D11 and 12. it is in a useable state for the most part though. there are several LLM's avaliable for mingw-w64 already for both ROCm and cuda. 32 bit has been all but abandoned though as there has been resistance to porting SEH to the 32 bit arch, and without that many 32 bit tools would simply break as the dwarf and sjlj exception model gcc and clang uses is imcompatible with windows. sjlj is less so but it is rather slow. clang for msvc uses windows own exception model though which is why many have started using this for 32 bit. LLM's are also making there way into the nix world but atleast there you get the choice if you want to install support for them. for pure spite i may even use an LLM to port 32 bit SEH to the MinGW gcc
  25. Lemmy seems to be a Reddit alternative. I think it overlaps with what our forum does and has the same disadvantages as the forum regarding delay between messages. I do think what we need in addition to the forums is a chat room where you can see & write with others and exchange files in real time.
×
×
  • Create New...