[Current Forum ] [Archive 2003 - 2005]
[Register]  [Profile]  [Preferences]  [Search]
[Private messages]  [Memberslist]  [FAQ]  [Login]
Subsim Radio Room Forum Index » » Sub Command » » Interface theory
Author Interface theory
Swordsman


Joined: Mar 01, 2002
Posts: 210
Posted: 2002-08-10 15:46   
Okay, so it looks like the interface switches are linked to certain launcher or sensor groups. Would it be possible, using the same interfaces with small amounts of alteration, to simply link the buttons to other weapons and sensor groups?

Just a thought.


  View Profile of Swordsman      Edit/Delete This Post   Reply with quote
Te Kaha


Joined: Feb 28, 2002
Posts: 1697
From: Austria & Aotearoa
Posted: 2002-08-10 16:02   
Ludger Styra (who did the SCEdit) probably can answer this.

But he got hijacked by a chick!
_________________
Te Kaha's Missions

America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0


  View Profile of Te Kaha   ICQ status       Edit/Delete This Post   Reply with quote
Swordsman


Joined: Mar 01, 2002
Posts: 210
Posted: 2002-08-10 16:06   
I just discovered that new sensor masts can be created using the old ones as templates. It's pretty easy. You then have to link the new mast to a new sensor and from sensor, link that to the new interface. It can be done. All we need are to have interfaces created, and that can't be that hard, really. Rearranging a fre buttons and switches here and there but maintaining the basic background.

  View Profile of Swordsman      Edit/Delete This Post   Reply with quote
Monophonic


Joined: Feb 28, 2002
Posts: 279
From: Espoo, Finland
Posted: 2002-08-10 16:22   
Sure, swordsman, easy as pie... as long as you have the source code to work from.

See any problems now?


  View Profile of Monophonic   ICQ status         Edit/Delete This Post   Reply with quote
Swordsman


Joined: Mar 01, 2002
Posts: 210
Posted: 2002-08-10 16:38   
the interfaces themselves are in the interface folder and are .ndx files. We've already figured out how to unpack and alter other indexes. It just takes tinkering.

  View Profile of Swordsman      Edit/Delete This Post   Reply with quote
jsteed


Joined: Apr 08, 2002
Posts: 253
Posted: 2002-08-10 16:49   
Unfortunately Monophonic is probably right. The program is written in Visual C++ so all the sensor screens are objects. In order to build your own screens you have to know the structure of these objects. These structures would contain other objects such as buttons, switches, other screens, etc. These objects in turn have their own structures. I would guess all this info is contained in the individual dll's in the Inerfaces folder. If you were VERY ambitious you could decompile the dll's and recover all the structures. This would be a significant amount of work. The export functions all have names so that might give you at least a few clues. This would be quite an undertaking, but not impossible. It might be easier to try and convince SA to release an SDK to implement other drivable subs.

Cheers, jsteed


  View Profile of jsteed      Edit/Delete This Post   Reply with quote
John Channing


Joined: Feb 27, 2002
Posts: 231
Posted: 2002-08-10 16:53   
"This would be a significant amount of work."

Not to mention a contravention of the EULA.

JCC


  View Profile of John Channing      Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-08-10 16:56   
Hi Swordsman

I'm afraid it isn't as easy as that. There are associated dlls with each and every screen, and control panel for each Sub.

The bmps etc are just the eye-candy ... they don't really do anything programmatically.

The name of the each of the User-Subs is hard-coded into all the dlls (18 per Sub).

I have already created new initialisation files for some of the other Subs, including Interface folders. However, attempting to load any other Sub results in the game hanging ... as it is trying to match data in the dll with data for the Subs that you are trying to use ... which it can't do ... as the names contained therein is different.

All the dlls would have to be disassembled, modified for each Sub ... and then re-compiled.

Also, bear in mind ... that you would be tampering with Sonalysts Source Code ... so, I'm not sure what the implications of that would be.

We explored this a few months ago already.

Cheers
Tom
_________________
He Who Will Not Risk Cannot Win


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
XabbaRus


Joined: Feb 28, 2002
Posts: 2792
Posted: 2002-08-10 17:08   
Yea and they ain't gonna release an SDK for us anytime soon...well ever...

Not with the surface ship sim they are developing which if I'm right should be interlinkable with SC...

So if we had an SDK we could nick their secrets.....never will happen.

Maybe if we make a big banner saying, Jamie gives us some diesels then who knows...
_________________

Project 971


  View Profile of XabbaRus   Goto the website of XabbaRus   ICQ status       Edit/Delete This Post   Reply with quote
jsteed


Joined: Apr 08, 2002
Posts: 253
Posted: 2002-08-10 17:26   
Hi XabbaRus,
Maybe they would release an SDK if it was built to only create drivable subs and they were given the right to market any of the new sub interfaces that were created. That way they get the creative talents of SCX for almost no cost.
Cheers, jsteed


  View Profile of jsteed      Edit/Delete This Post   Reply with quote
John Channing


Joined: Feb 27, 2002
Posts: 231
Posted: 2002-08-10 17:30   
The thing to remember is that it's not their game anymore. It belongs to EA.

JCC


  View Profile of John Channing      Edit/Delete This Post   Reply with quote
XabbaRus


Joined: Feb 28, 2002
Posts: 2792
Posted: 2002-08-10 17:33   
Yea and you don't want EA to send yo a letter

Well maybe one day...Who knows what will happen.

EA I don't think really give much of a ...but then what do I know...
_________________

Project 971


  View Profile of XabbaRus   Goto the website of XabbaRus   ICQ status       Edit/Delete This Post   Reply with quote
ferenci


Joined: Apr 03, 2002
Posts: 283
From: Budapest, Hungary
Posted: 2002-08-12 05:28   
One more thing to add to jsteed: every sub interface raises the reputation of the game. It's clear that they have secrets but after a year I see no reason not to publish an SDK
_________________
"There are only two kinds of warships: submarines and targets."



  View Profile of ferenci   Email ferenci   ICQ status       Edit/Delete This Post   Reply with quote
Lock this Topic Move this Topic Delete this Topic
Powered by phpBB Version 1.4.4
Copyright © 2000 - 2001 The phpBB Group

phpBB Created this page in 0.041102 seconds.