Author Topic: Dll Mystery :-(  (Read 8526 times)

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Dll Mystery :-(
« on: August 29, 2003, 08:16:10 AM »
I still cannot figure out the mystery of the DLLs!!!!!

Look at the image below:

Offline OP2Patriot

  • Hero Member
  • *****
  • Posts: 2226
Dll Mystery :-(
« Reply #1 on: August 29, 2003, 08:18:33 AM »
Gasp! You don't have XP! Maybe we could raise up money, go to Dynamix, and pay to open the safe, to give us their mission editor.



The Forbidden Outpost 2 Forum ... they don't want you to know about it.
Yell if the above link disappears.

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Dll Mystery :-(
« Reply #2 on: August 29, 2003, 08:36:37 AM »
They destroyed everything in the vault, according to Dan.

Offline OP2Patriot

  • Hero Member
  • *****
  • Posts: 2226
Dll Mystery :-(
« Reply #3 on: August 29, 2003, 08:48:16 AM »
WAAAAAAAAAAH! (CRYING!) (SOBING!) WAAAAAAAH! We will, just have to, wait, for someone to, make a, mission editor. WAAAAAAAAAAAAAAAAH!



The Forbidden Outpost 2 Forum ... they don't want you to know about it.
Yell if the above link disappears.

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Dll Mystery :-(
« Reply #4 on: August 29, 2003, 08:48:52 AM »
(senses a large load of work coming)

How come I am the only one that knows how to do this?

Offline OP2Patriot

  • Hero Member
  • *****
  • Posts: 2226
Dll Mystery :-(
« Reply #5 on: August 29, 2003, 08:52:00 AM »
It was a Sierra conspiracy. (Yes, an admin just cryed [Starts crying again])



The Forbidden Outpost 2 Forum ... they don't want you to know about it.
Yell if the above link disappears.

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Dll Mystery :-(
« Reply #6 on: August 29, 2003, 08:53:01 AM »
No, it can't be.

Now it's owned by some huge company called Vivendi.

Offline OP2Patriot

  • Hero Member
  • *****
  • Posts: 2226
Dll Mystery :-(
« Reply #7 on: August 29, 2003, 08:57:46 AM »
Then it is a Vivendi conspiracy. Blow up Vivendi Headquarters!



The Forbidden Outpost 2 Forum ... they don't want you to know about it.
Yell if the above link disappears.

Offline TH300

  • Hero Member
  • *****
  • Posts: 1404
    • http://op3game.net
Dll Mystery :-(
« Reply #8 on: August 29, 2003, 02:28:22 PM »
I have some assembly skills, but not enough to help you. And I don't have any idea of how op2 works. Furthermore I don't have time...

I'd really like to help you, but...

Offline Betaray

  • Administrator
  • Hero Member
  • *****
  • Posts: 2897
Dll Mystery :-(
« Reply #9 on: August 29, 2003, 09:23:02 PM »
if you blow the place up, than any scrap of op2 information would be destroyd
I am the nincompoop, I eat atomic bombs for breakfest, fusion bombs for lunch, and anti-matter bombs for dinner

I just hope they don't explode

xfir

  • Guest
Dll Mystery :-(
« Reply #10 on: October 08, 2003, 09:52:59 PM »
Any other programmers out there that could lend op2hacker a hand?

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Dll Mystery :-(
« Reply #11 on: October 10, 2003, 07:06:57 AM »
These are the requirements if you want to help me (if you don't know the stuff that I'm about to tell you, and can't/don't want to learn, sorry but there will be no way to help)

1) You must know how to reverse engineer software. (This includes ASM / processor level knowledge (like registers, stack, etc), using disassembler / debugger / hex editors, and knowledge of the Win32 platform / API.)

If you don't know how to reverse engineer, but would like to learn, PM me and I'll put together a guide. (It is preferred that you have some experience programming in Windows with a common language, like C++)

2) If you have knowledge of OP2, like file formats, OP2's internals, etc. (A good example of someone that doesn't have a lot of Windows programming knowledge, but could help because of his in depth knowledge, is someone like Kevin Ar18.)

3) Someone that is REALLY willing to learn technical stuff (like #1 above). If you are them, you should have a LOT of patience, and be able to understand complicated stuff (like technical aspects of a computer). If you (still) apply, PM me and I'll give you information.


Well, there's my "requirements". Of course I'm sure you can help out in other ways OP2-wise if you don't want to / can't meet the description(s) above.

Offline CK9

  • Administrator
  • Hero Member
  • *****
  • Posts: 6226
    • http://www.outpost2.net/~ck9
Dll Mystery :-(
« Reply #12 on: November 11, 2003, 02:40:21 PM »
#3 applies to me :D  
CK9 in outpost
Iamck in runescape (yes, I still play...sometimes...)
srentiln in minecraft (I like legos, and I like computer games...it was only a matter of time...) and youtube...
xdarkinsidex on deviantart

yup, I have too many screen names

Offline gpgarrettboast

  • Administrator
  • Hero Member
  • *****
  • Posts: 553
Dll Mystery :-(
« Reply #13 on: November 13, 2003, 06:58:28 AM »
I'll help.  I just don't know how to utilize the DLLs into C Code...

Offline gpgarrettboast

  • Administrator
  • Hero Member
  • *****
  • Posts: 553
Dll Mystery :-(
« Reply #14 on: November 17, 2003, 08:01:40 AM »
:lol: Hey OP2HACKER! I think I found out the format for the map trigger files. I'll update you soon.  

Offline zeritou

  • Full Member
  • ***
  • Posts: 149
Dll Mystery :-(
« Reply #15 on: November 28, 2003, 06:44:24 PM »
i had the same problem, exact same dll and so on, my problem was the winprf32 virus, at least, that what i think it was called....

50 us dollars for norton
how to insult a klingon:

qatlh Quch Hab ghaj no'ra'
vaj HabHa''a' je 'uSDu'lIj joj

wich translates roughly to:

how come you guys never had those for head bumps in the first staktrek series and do you guys have bumps like that on your genitals too?

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Dll Mystery :-(
« Reply #16 on: November 30, 2003, 10:34:46 AM »
It's not a virus, it has to do with the coding in the program and DLL.

The structure of the dll's for missions are "different", it's like they've been linked with some custom lib that sierra/dynamix made, instead of the usual MSVC lib.


I have yet to find anything more that will let custom dll's work in op2, as of what I have so far.

Offline plymoth45

  • Hero Member
  • *****
  • Posts: 1062
Dll Mystery :-(
« Reply #17 on: November 30, 2003, 02:49:52 PM »
hey, i would like to help, i have no clue how to program though lol.

Offline gpgarrettboast

  • Administrator
  • Hero Member
  • *****
  • Posts: 553
Dll Mystery :-(
« Reply #18 on: December 01, 2003, 09:49:11 PM »
op2hacker.  I think I know the DLL's format. I'll tell you more when I figure out more.

(I made OP2 Sandbox mode.)

BTW, does anyone have mapedit.
« Last Edit: December 01, 2003, 09:50:26 PM by gpgarrettboast »

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Dll Mystery :-(
« Reply #19 on: December 14, 2003, 08:57:09 AM »
hmm... what do you have as far as information about them?

Well, there isn't really a format.... other than it's a Win32 PE file..... but any information about the sections in the files is good. (They must have linked it with some proprietary run time, vs linking with the MSVC++ libs)

Because for some reason a "home made" DLL causes an access violation when Op2 tries to process it.

Offline gpgarrettboast

  • Administrator
  • Hero Member
  • *****
  • Posts: 553
Dll Mystery :-(
« Reply #20 on: December 16, 2003, 07:37:09 AM »
Well, I'm working out how the Units are stored, the triggers, and some other things.  It seems that some of it is an executable (DLL), but alot is a data file.

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Dll Mystery :-(
« Reply #21 on: December 16, 2003, 03:11:57 PM »
Yeah, I am aware of that..... it is a DLL (therefore it's an executable)

All of the stuff that initializes triggers, etc is in the InitProc function (all it is is calls to classes, and functions that return classes)

What really has to be worked out, is the DllMain function.... That's the confusing part.

Offline gpgarrettboast

  • Administrator
  • Hero Member
  • *****
  • Posts: 553
Dll Mystery :-(
« Reply #22 on: December 17, 2003, 06:56:33 AM »
I don't know how to compile my own dlls... (I have VC++ 6)  Well, I don't know how to tell which functions I need to compile it... Can you help?  

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Dll Mystery :-(
« Reply #23 on: December 17, 2003, 04:15:26 PM »
OK... Here is the MSVC++ 6 project I started working on.

http://312productions.xfir.net/etc/sdk_alpha.zip (43 KB)

Just extract it and open the workspace....

Note: it doesn't work in Op2 yet!

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4952
Dll Mystery :-(
« Reply #24 on: March 14, 2004, 09:25:00 PM »
In case anyone is interested, I modified a DLL (CES1.dll) to basically cut out the DllMain function (first command changed to a ret) and the level still ran. Although, the computer's base was gone so I guess I cut out something semi important.

As for why dll's I compiled with Hacker's import library crash on me, I can only assume that's something to do with GetSaveRegions and InitProc which are the only other functions that run before the crash.

Is knowing this any use to anyone?