lfnetwork.com mark read register faq members calendar

Thread: dll files??
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 01-01-2010, 05:29 PM   #1
Skig
Rookie
 
Join Date: Dec 2009
Posts: 22
Exclamation dll files??

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
Skig is offline   you may: quote & reply,
Old 01-01-2010, 07:57 PM   #2
-=*Raz0r*=-
Rookie
 
-=*Raz0r*=-'s Avatar
 
Join Date: Oct 2006
Location: Australia
Posts: 243
You can't open a .dll library.

Short answer: You're SOL.

-=*Raz0r*=- is offline   you may: quote & reply,
Old 01-02-2010, 08:12 PM   #3
Skig
Rookie
 
Join Date: Dec 2009
Posts: 22
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?
Skig is offline   you may: quote & reply,
Old 01-04-2010, 01:06 PM   #4
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
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.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 01-04-2010, 03:26 PM   #5
Skig
Rookie
 
Join Date: Dec 2009
Posts: 22
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
Skig is offline   you may: quote & reply,
Old 01-04-2010, 03:32 PM   #6
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
mmm, the file must be named something else then. It's been years since I've messed with it.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 01-05-2010, 02:40 AM   #7
-=*Raz0r*=-
Rookie
 
-=*Raz0r*=-'s Avatar
 
Join Date: Oct 2006
Location: Australia
Posts: 243
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.

-=*Raz0r*=- is offline   you may: quote & reply,
Old 01-05-2010, 05:33 PM   #8
Skig
Rookie
 
Join Date: Dec 2009
Posts: 22
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
Skig is offline   you may: quote & reply,
Old 01-06-2010, 12:12 AM   #9
-=*Raz0r*=-
Rookie
 
-=*Raz0r*=-'s Avatar
 
Join Date: Oct 2006
Location: Australia
Posts: 243
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.

-=*Raz0r*=- is offline   you may: quote & reply,
Old 01-06-2010, 03:45 PM   #10
Skig
Rookie
 
Join Date: Dec 2009
Posts: 22
ok ok if anyone has an answer SPEAK!!
Skig is offline   you may: quote & reply,
Old 01-07-2010, 07:46 AM   #11
-=*Raz0r*=-
Rookie
 
-=*Raz0r*=-'s Avatar
 
Join Date: Oct 2006
Location: Australia
Posts: 243
I gave you an answer - you ignored it. =\

-=*Raz0r*=- is offline   you may: quote & reply,
Old 01-08-2010, 11:04 AM   #12
Eun
Lurker
 
Join Date: Oct 2006
Posts: 4
do you have tryed ida to get some information about it?
Eun is offline   you may: quote & reply,
Old 01-08-2010, 11:25 AM   #13
-=*Raz0r*=-
Rookie
 
-=*Raz0r*=-'s Avatar
 
Join Date: Oct 2006
Location: Australia
Posts: 243
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.

-=*Raz0r*=- is offline   you may: quote & reply,
Old 01-08-2010, 02:44 PM   #14
Skig
Rookie
 
Join Date: Dec 2009
Posts: 22
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
Skig is offline   you may: quote & reply,
Old 01-08-2010, 02:59 PM   #15
-=*Raz0r*=-
Rookie
 
-=*Raz0r*=-'s Avatar
 
Join Date: Oct 2006
Location: Australia
Posts: 243
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.

-=*Raz0r*=- is offline   you may: quote & reply,
Old 01-09-2010, 10:22 AM   #16
Skig
Rookie
 
Join Date: Dec 2009
Posts: 22
ok so it all comes down to how he did lol
so maybe someday ill find or ask him
Skig is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Coding > dll files??

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:43 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.