Skig Posted January 1, 2010 Share Posted January 1, 2010 ok i recently downloaded a mod and iopened it ip with PMMM or whaterever it is and the mod has new weapons new things but the new weapons aren't in anyfiles so i got curious and put the extra dll files in my mod and i had all the new guns and crap in gameplay. so i opened it up with winrar and the txt document was all symbols and a few real words these are dll files. i want to see how this guy did this or even find out how to open them the right way? the mod is dark force mod Link to comment Share on other sites More sharing options...
-=*Raz0r*=- Posted January 2, 2010 Share Posted January 2, 2010 You can't open a .dll library. Short answer: You're SOL. Link to comment Share on other sites More sharing options...
Skig Posted January 3, 2010 Author Share Posted January 3, 2010 SOL ?? and i just experimented and put HEAD_DISMEMBERSHIP or the other way around idon't remeber in notepad then changed the extension and saved it in my pk3 and when i sliced my lightsaber the head choped off So can anyone tell me what it does or how to use it? Link to comment Share on other sites More sharing options...
razorace Posted January 4, 2010 Share Posted January 4, 2010 I think most of the Dark Forces modifications were made thru clever use of the weapons.dat file (at least that's what I think the name was). It's a plain text file if you want to look at it. Link to comment Share on other sites More sharing options...
Skig Posted January 4, 2010 Author Share Posted January 4, 2010 actually ther is no weapons.dat in there and i converted his dll files in to my mod tested it and found out its in the dll cuase ihad everyweapon that fired execpt did not have any effects etc. and isaw the weapon.dat defualt one for the game and i modified noghri stick now how do i get it to be a defualt weapon in game??? or even make a saber have and alternative weapon besides throwing and slicing or a different kata Link to comment Share on other sites More sharing options...
razorace Posted January 4, 2010 Share Posted January 4, 2010 mmm, the file must be named something else then. It's been years since I've messed with it. Link to comment Share on other sites More sharing options...
-=*Raz0r*=- Posted January 5, 2010 Share Posted January 5, 2010 ext_data/weapons.dat is only parsed for the SP game. It controls things like firing rate, etc. We can't change the code for SP, because we don't have it. For MP, we can't add in more weapons without taking out others. (Unless your mod has a serverside and clientside, and you manage to hack up the engine and tweak the networking so it sends playerState_t::stats[sTAT_WEAPONS] as a full 32-bit integer, rather than only sending 19 bits. (Hence 19 WP_ slots) You can't just 'open up' someone's .dll and expect to see their source code. That's just not how code is compiled and dispatched. You'd have to learn coding yourself and create your own mod from scratch - Which ain't no weekend retreat :/ If you do choose to learn coding, there's a few tutorials on obtaining and setting up the SDK, and there's still a bunch of us coders around to help - but the best way to learn is by doing. Link to comment Share on other sites More sharing options...
Skig Posted January 5, 2010 Author Share Posted January 5, 2010 i am not a rookie at coding its just something iwanted to question in my time i have learned the pleasure of ini files and this is pretty similar modding is easy but dll is a mysterie Link to comment Share on other sites More sharing options...
-=*Raz0r*=- Posted January 6, 2010 Share Posted January 6, 2010 You're not even a rookie in coding. Opening a plaintext file in notepad is very far from coding. 'ini' is just an extension. It's not a defined filetype as-such. It's plaintext, parsed by a program to extract the data. Coding/programming is nothing like that. Sorry. Link to comment Share on other sites More sharing options...
Skig Posted January 6, 2010 Author Share Posted January 6, 2010 ok ok if anyone has an answer SPEAK!! Link to comment Share on other sites More sharing options...
-=*Raz0r*=- Posted January 7, 2010 Share Posted January 7, 2010 I gave you an answer - you ignored it. =\ Link to comment Share on other sites More sharing options...
Eun Posted January 8, 2010 Share Posted January 8, 2010 do you have tryed ida to get some information about it? Link to comment Share on other sites More sharing options...
-=*Raz0r*=- Posted January 8, 2010 Share Posted January 8, 2010 I'm not sure how kindly the staff here take to discussion about reverse-engineering. It kinda severs the EULA. Besides, someone who doesn't have an idea of what coding is doesn't exactly show promise in assembly-level programming. Link to comment Share on other sites More sharing options...
Skig Posted January 8, 2010 Author Share Posted January 8, 2010 alright i thank you for ur answeres but all i know is that it is the same as the dll in the base folders and fyi i coded with ini FOR A GAME so please don't insult me iam new and i don't want any trouble i apologize if i have done anything wrong to you Link to comment Share on other sites More sharing options...
-=*Raz0r*=- Posted January 8, 2010 Share Posted January 8, 2010 I'm sorry if I'm coming off as harsh or mean, I'm just trying to explain that what you think is coding, actually has nothing to do with coding. The .INI files you're referring to, are plaintext files that contain data we can modify. It doesn't perform any logic like a program, it's just data to be used for a program. A .DLL file is a 'Dynamically Linked Library', and contains machine code like an .EXE (Executable). The human-readable part you see at the end of the files are called 'Strings'. These are sequences of bytes that represent words used in the program. Unfortunately, you can't open/modify either a .DLL or .EXE in human-readable form. (Technically you can 'disassemble' it and read the translation of the machine code, but that's not easy at all) Basically, you'd have to make your own mod from scratch if you want to do anything. Link to comment Share on other sites More sharing options...
Skig Posted January 9, 2010 Author Share Posted January 9, 2010 ok so it all comes down to how he did lol so maybe someday ill find or ask him Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.