Topic: SFC Launcher (a dynaverse and gamespy's online services replacement)  (Read 8438 times)

0 Members and 1 Guest are viewing this topic.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Starfleet Command Launcher (c) D4v1ks, December 2016


Edit: 26 Dec 2016

A solution, in beta stage, was made available!  :rockinband:
The program, currently compatible with SFCOP 2552/2563, SFC EAW 2036/2037, and SFC 1.01 build 534*, is capable to provide, to these game, all the online services they need.
It is a direct replacement of the current Dynaverse "directory\firewall" services, and the old "gamespy" services.
As such, you can run now any campaign in your own LAN, without any need of access to internet. But it also works in a virtual LAN environment (ex. EVOLVE parties), or as a public provider.

Check the posts bellow to know all the history and the releases already made.

Edit: 4 Jan 2017

The 3rd version of the Starfleet Command Launcher (v1.0.2) has been released!

It has been tested with:
   SFC EAW 2036;
   SFC OP 2552/2563;
   SFC 3 v1.01 b534;

Includes readme files for both versions.  8)


>> Lastest version <<


Don't forget it is a beta version. It is meant to crash in any unknown circunstances.
Feel free to report anything or give sugestions.

Cheers



« Last Edit: May 15, 2017, 12:41:27 pm by FA Frey XC »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #1 on: May 30, 2016, 06:39:21 pm »
(reserved)
« Last Edit: November 30, 2016, 05:51:09 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline FA Frey XC

  • Site Owner
  • Administrator
  • Captain
  • *
  • Posts: 5651
  • Gender: Male
    • XenoCorp.Net
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #2 on: June 01, 2016, 07:34:22 am »
Awesome work!!! :)

Regards,
Vice President of Technology,
Dynaverse Gaming Association
Owner, CEO XenoCorp Inc.




Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #3 on: June 01, 2016, 02:21:52 pm »
Tips:

You don't need to redirect any doors on the router, or similar devices.
You can run this solution in a real or virtual LAN enviroment.

Option 1 -> Running the combo through the Evolve LAN party system doesn't require any work at all.
You just create a party, invite the people to join it, and everyone will have access to the system. Just don't forget to update the files above (WONServerSetup.gf and ServersSetup.gf), so the game knows where to find the servers.

Option 2 -> SFC doesn't handle very well with multiples ethernet adapters!
In my home setup, for example, beside the real ethernet card adapter, i have the evolve's ethernet adapter + 2 virtual machines' ethernet adapters. So things got complicated for SFC. But there is two solutions for that:
   1. Temporarily disable all the ethernet adapters you don't need. Just keep one active!
   2. Or then set the ethernet adapters' priority rigth! So the game always use the one on top (the real ethernet adapter).

Have fun!
« Last Edit: November 27, 2016, 03:53:33 pm by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #4 on: November 19, 2016, 05:52:30 am »
Hello all.
While working on one off my personnal projects, i discovered that the code that i wrote to handle the sockets events, in this emulator, had a small memory leak. So i took the opportunity to fix and update that piece of code.
After the update, i decided to try it at home, im my home lan, against my wife. But in that day my internet was down. So, i had no access to Qtracker. And, of course, i was not hable to do anything more...
And that let me upset, that limitation...
I sure had the potencial to do something more, when i decided to wrote this emulator...
So, for a place in the history records, i decided to take a look at this challange: how hard was this Gamespy issue to fix in SFC OP?
The answer was much easier that i thougth.
The solution toke 1 byte hexedit in the sfcop exe, and some extra code in the emulator.
I will release an update to this tool in the days ahead, after i get some free time.
The "directory services" and "Gamespy" emulator update.

(It is just a dozen of years late)
« Last Edit: December 26, 2016, 12:54:18 pm by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #5 on: November 19, 2016, 06:55:08 am »
This emulator can be extended to run as a public directory and gamespy emulator for SFCOP.
To run in a LAN, it doesnt need to reply an specific server'ip, as the client just broadcast a request to the entire LAN. But for a public server i still need to research that part.
Currently i dont see any public server around. But if anyone is able to set one for 1 or 2 days, i can study and add that option.
I can also create some email, nick and pass validation to it.
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #6 on: November 19, 2016, 03:00:28 pm »
The server "Mirkwood" is running now, Carlos. It's on fafnir.xenocorp.net. I was able to start a scout mission a few minutes ago.

It doesn't use the Directory Service Emulator. It uses the regular flipside.com applications on thor.xenocorp.net.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #7 on: November 20, 2016, 07:21:23 am »
The server "Mirkwood" is running now, Carlos.

Hey Tar!
Thnks for the quick reply.  :)
I think i got what i needed.
I will post further advancements as soon i get time.

Maybe now, creating a SFC launcher will make sense, as the launcher itself can serve as a service provider for all the client and server external communications (dependencies). Like a SFC OP Gold Edition... A full working and independent version. Being the launcher responsible for checking and update all the ini files (checking the current windows version where it is running in the process). Maybe creating the rigth shortcuts, with the right color and compatibility settings, to avoid all the initial config issues... A legacy for Dynaverse.

But i will stick to this emulator update for now...  ;)
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #8 on: November 20, 2016, 11:16:26 am »
It's done!
With the new info i got, i managed to code a full gamespy and directory services replacement.
It works without any internet access. You just need to open a server in your home lan, fire a irc chat, config everything to point to the new emulator, and everythings works as expected. I even tried with 2 servers here, on 192.168.0.10 and 192.168.0.11, with ports 27200 and 27300 (to avoid the broadcast search that the clients do, looking for any server at port 27100), and both clients where able to see the 2, log in, and join the servers.
I still wish to add some client validation and test it. But looks very good.
Insane results for some hours of work.  8)
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Nemesis

  • Captain Kayn
  • Global Moderator
  • Commodore
  • *
  • Posts: 11268
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #9 on: November 20, 2016, 12:28:24 pm »
Nice work.  Just wish I were in a position to make use of it.   :thumbsup:
Do unto others as Frey has done unto you.
Seti Team    Free Software
I believe truth and principle do matter. If you have to sacrifice them to get the results you want, then the results aren't worth it.
 FoaS_XC : "Take great pains to distinguish a criticism vs. an attack. A person reading a post should never be able to confuse the two."

Offline TAnimaL

  • Lt.
  • *
  • Posts: 740
  • Gender: Male
    • Combat Logs from the Cold Depths of Space
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #10 on: November 22, 2016, 01:01:50 pm »
Thanks very much for this Carlos. Here's hoping I can get to play with this during the holiday break. Appreciate the work that goes into this

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #11 on: November 22, 2016, 06:10:39 pm »
Thanks.
I didnt felt well just by giving it the basic funcionalities.
So, today i added some code to handle the server lists: When they go live or leave, listen their heartbeats, and do a test, if they crashed, in case of a time without heartbeat's updates.
Tomorow will add both a whitelist and ban list mechanisn for it, that will accept new users, keep them away, or restrict their access. Basic user stuff...
Then i think i will have an alpha version for test, that will raise an exception in any unfamiliar circunstances.
The code is heavily multithreaded, so there is space for some need of debug.
Cheers
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #12 on: November 23, 2016, 03:00:17 pm »
Good work. The default directory service may soon be obsolete, replaced by a superior service. If only we had more than 2 players to test this stuff. Heh. Oh well.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #13 on: November 25, 2016, 05:42:37 am »
It is not superior. But it works.

For your entertrainment, and first time in history: https://1drv.ms/u/s!AiumJZOPROpbg9xqYVHLPcg37kOM6g

A working Gamespy and Directory services replacement, for your LAN campaigns, or any public server. It doesnt require any external service.
You just need 3 things to run any campaign now: A server, a client, and this program.
It was made during this month, in some couple hours of my free time. Enjoy.
There is a readme file in the zip. Cheers  8)



It is an alpha version. Please report any error you may find to my email.
« Last Edit: November 25, 2016, 06:07:32 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #14 on: November 25, 2016, 02:36:38 pm »
StarfleetOP.txt
2BB505: 1op // Are we using a custom server? (Yes 24, No 3C)
The option to change this with the SFC_Editor is grayed out.

Shouldn't that be...

2BB505: 1op // Are we using a custom server? (Yes 3C, No 18)?

The default 2.563 executable has a 18h byte at 0x2BB505.

18h is 24 in decimal. 1op uses hexadecimal. Not sure about that 3C.


Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #15 on: November 25, 2016, 03:37:54 pm »
Shouldn't that be...

2BB505: 1op // Are we using a custom server? (Yes 3C, No 18)?

Hey there!
Yes, you are right Tar.   :coolsmiley:
But the value 3C is correct.
Was writting out of my memory... ;)
Not in home. But maybe Sunday i will have some time
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Starfleet Command Orion Pirates Directory Services Emulator
« Reply #16 on: November 25, 2016, 04:17:03 pm »
Just look the old motd system working full power  8)

"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #17 on: November 30, 2016, 04:32:13 am »
It totally blows me away how easy was this gamespy issue to fix.
You would too, if you could see it.
In the end, both the client and server just "needed a friend" that would understand them, in this small conversation...  :'(
And noone was there, for them, in all these years... ;)
« Last Edit: July 14, 2017, 05:19:10 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #18 on: December 01, 2016, 04:42:48 pm »
Today, in the afteernoon, i was able to go a step further.
i discovered how all the encryption works in the sfc - gamespy comunications.  8)
In the next version of the sfc launcher, no hexedit will be required on the sfcop 2563 version, for it to work.
The password authentication will not be ignored, but handled correctly.
It will be 100% compatible with the gamespy protocol.  :police:
« Last Edit: July 14, 2017, 05:20:36 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Nemesis

  • Captain Kayn
  • Global Moderator
  • Commodore
  • *
  • Posts: 11268
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #19 on: December 01, 2016, 08:39:32 pm »
 :notworthy: :drinkinsong: :rockinband: :rockinband: :tonybanks: :notworthy: :thumbsup: :thumbsup:
Do unto others as Frey has done unto you.
Seti Team    Free Software
I believe truth and principle do matter. If you have to sacrifice them to get the results you want, then the results aren't worth it.
 FoaS_XC : "Take great pains to distinguish a criticism vs. an attack. A person reading a post should never be able to confuse the two."

Offline Javora

  • America for Americans first.
  • Commander
  • *
  • Posts: 2691
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #20 on: December 01, 2016, 09:29:51 pm »
Wow Carlos, that's amazing.  Can't wait to see this.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #21 on: December 03, 2016, 04:20:04 pm »
Thanks.
Today i added support for SFC2 EAW.
And with the motd system in mind, i created and added a little webserver to the launcher, so it will always give the lastest motds to the clients. It will be optional, as it will listen for motd requests on port 80.
I did a lot of testing. It looks stable.
Just need to add a better interface, and some code to handle more than 1 version of the servers, as we have now support for sfcop sfceaw.
Cheers.
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Panzergranate

  • Commander
  • *
  • Posts: 2603
  • Gender: Male
  • Aw!! Da big nasty Klingon L7 killed da kitty kat!!
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #22 on: December 03, 2016, 10:46:09 pm »
Gamespy being taken over buy money grabbing individuals who have no idea who their fathers were also screwed up the Sword of the Stars space wargame community.

The Sword of the Stars developers actually broadcast on the game's online bulletin start up board the true story of how everybody using Gamespy was screwed over.

Apparently the new owners of Gamespy immediately tore up and reneged on all client existing contracts and deals, hiked up their fee by just over 400% for server usage and...... well all the various game developers said, "Screw you!!", and stopped using Gamespy...... which killed it completely.

So the new owners of Gamespy through sheer greed killed "The Goose that was laying them golden eggs".

Like all businesses, blatantly attempting to openly screw one's customer base leads to a boycott of said business.

The Klingons have many ways to fry a cat. I prefer to use an L7 Fast Battlecruiser!!

Offline Javora

  • America for Americans first.
  • Commander
  • *
  • Posts: 2691
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #23 on: December 04, 2016, 07:21:57 am »
Thanks.
Today i added support for SFC2 EAW.
And with the motd system in mind, i created and added a little webserver to the launcher, so it will always give the lastest motds to the clients. It will be optional, as it will listen for motd requests on port 80.
I did a lot of testing. It looks stable.
Just need to add a better interface, and some code to handle more than 1 version of the servers, as we have now support for sfcop sfceaw.
Cheers.

Is there any way to change the code so that SFC II, SFC CE, and SFC OP (minis X-Ships) can see each other on the same Dyna?  This might be the best way to get as many people as we can to play multiplayer again.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #24 on: December 04, 2016, 05:39:05 pm »
Hi,
This weekend i did a lot of tweaks.
Here i am playing with 3 clients on my home lan (with internet off).
We 3 drafted a patrol mission.

"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #25 on: December 04, 2016, 05:47:06 pm »
Here i am runing 2 diferent servers in the LAN.
One client is idle in lhe EAW server, and in the other i drafted a mission with my wife.

"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #26 on: December 04, 2016, 05:53:43 pm »
Here as you can see, the MOTD system distinguish the 2 versions. And it will always popup each time you play.

"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline RazalYllib

  • Imperial Romulan Information Service-senior advisor
  • Lt.
  • *
  • Posts: 782
  • Gender: Male
    • IRIS
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #27 on: December 06, 2016, 06:41:07 pm »
Very Intrigued and amazed.

Just recently did the upgrade from blank drive to win 10.
Have not installed OP yet...this news makes me tingle and incentivise myself into re-installing the client / upgrading etc.

If I have issues I will know where to start at least.

Would be honored to participate in any testing and "might" be able to rez my buddy to load his client- been awhile since he flew against another human.

Now where is my install disc?
Comes a time when the blind man takes your hand
Says "don't you see?"
Gotta make it somehow
On the dreams you still believe
Don't give it up
You got an empty cup
Only love can fill
Only love can fill

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #28 on: December 09, 2016, 07:35:16 am »
:)

Hi again,
Yesterday i started working on the UI itself. We had a holiday here.
So, probably i will release a fully working beta this "weekend".
This is how it is starting to look.
Cheers.



"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline TAnimaL

  • Lt.
  • *
  • Posts: 740
  • Gender: Male
    • Combat Logs from the Cold Depths of Space
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #29 on: December 09, 2016, 11:14:24 am »
Fraking awesome - that makes it clear to even a LAN neophypte like me

Offline Tumulorum Fossor

  • Lt. Junior Grade
  • *
  • Posts: 142
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #30 on: December 09, 2016, 06:20:32 pm »
This is GREAT, Carlos!
I also took note from the thread where you and Tar increased the font for the reticles for me that you were integrating THAT functioning into this somehow, too!  If I'm interpreting that correctly, consider also control for the font size for game messages that show up in the lower right corner, too!

Thanks a lot for all this!!!

Offline xeryx

  • Lt. Junior Grade
  • *
  • Posts: 50
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #31 on: December 10, 2016, 11:08:55 am »
Will this also be compatible with SFC 2 EAW?  Please keep up the good work!  I want to be able to create a server so that my nephews and I can play some amazing battles!!

Xeryx

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #32 on: December 10, 2016, 05:42:04 pm »
Will this also be compatible with SFC 2 EAW?  Please keep up the good work!  I want to be able to create a server so that my nephews and I can play some amazing battles!!

Xeryx

Yes, it is currently compatible with EAW.
But, it needs a bit of attenction to configure.
I will give a bit of attention to it, in the days ahead.
Cheers.
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #33 on: December 10, 2016, 05:52:50 pm »
Ok guys, it is time for a beta release of:

Starfleet Command Launcher v1.0.1.0 (beta)  8)

https://1drv.ms/u/s!AiumJZOPROpbg9xz2yKlLJWyM0Hr0g

I've spent a lot of time today tunning the last details for it, as i need to redirect my attenction to another matters soon.
It is a beta version. It is not finished. It has a probability to crash.
But today i did some games on my home lan, and it runned fine.
If you want to help test, please do it.
I have wrote some instructions.

Happy games!  :)  8)
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #34 on: December 16, 2016, 04:57:53 am »
Hello all.
Yesterday i took a fast look into SFC3.
In the next update of this tool i will give support to it.  :)

It will be compatible with:
   - SFCOP 2552 and 2563;
   - SFC EAW 2036 and 2037;
   - SFC 3 build 534;


« Last Edit: December 16, 2016, 09:30:31 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #35 on: December 16, 2016, 01:46:53 pm »
This is GREAT, Carlos!
I also took note from the thread where you and Tar increased the font for the reticles for me that you were integrating THAT functioning into this somehow, too!  If I'm interpreting that correctly, consider also control for the font size for game messages that show up in the lower right corner, too!

Thanks a lot for all this!!!

I've been away from the game for a while. It'll take some time to rediscover how the hell I modified the reticle font. My guess is that a font size booster will be a separate download. The regular (albeit tiny) font sizes will probably remain as default. I suppose a GUI tool could be made, but I'm not a GUI guy. I'm good for old fashioned batch files.  :-)

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #36 on: December 17, 2016, 09:46:33 pm »
This is GREAT, Carlos!
I also took note from the thread where you and Tar increased the font for the reticles for me that you were integrating THAT functioning into this somehow, too!  If I'm interpreting that correctly, consider also control for the font size for game messages that show up in the lower right corner, too!

Thanks a lot for all this!!!

Hey TF, check out the attached fonts.zip. Is this big enough (size 22)? The Volley Info overlaps vertically...I don't know how to fix that.

Offline Tumulorum Fossor

  • Lt. Junior Grade
  • *
  • Posts: 142
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #37 on: December 18, 2016, 01:03:58 pm »
Is this the same one you provided several weeks ago? It looks to be a BIT larger. I think this one is the perfect size (for me). It really helps especially with playing SFCOP on an extremely large projection screen, as the higher resolutions now allow.  It would be cool if the font was OCR like stock, but this look is CERTAINLY adequate. The vertical clipping is NOT an issue.  SFC OP looks more legible on my laptop. And looks amazing on the projector screen!

Would be nice if the new Ez-INI could adjust typefaces for both the HUD text AND the information/scripted text because it seems to go hand-in-hand with the jacked up resolutions.

NOT trying to look a gift horse in the mouth here, and now have BOTH of your modded fonts.zip files in my assets folder so I can select any of the three (stock, first mod, second mod) of them easily. Just curious: what point fonts did you use for those mods?

And THANKS AGAIN!

Merry Christmas!

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #38 on: December 18, 2016, 02:25:46 pm »
You're welcome, TF.

I modified the bcascii22.fnt yesterday. I assume it's size 22. The one from months ago was bcascii16.fnt. The non-OCR fonts need to be presented as OCR fonts to appear near the reticle. This is done by pasting the OCR footer (32 bytes) to the end of the file.

4F 00 43 00 52 00 20 00 41 00 20 00 45 00 78 00 74 00 65 00 6E 00 64 00 65 00 64 00 00 00 00 00

Which is "O.C.R. .A. .E.x.t.e.n.d.e.d....." in readable characters.

The beginning of the file must be modified too.

** ** ** ** 20 ** 00 00 02 00 00 00 0A C9 01 00

The red stuff tricks the game into treating, for example, the bcascii22.fnt as a replacement for ocra10.fnt -- the default SFC reticle font.

The yellow byte, 0A, means ten in hexadecimal. The reticle demands a nominal size-10 font, but it doesn't care about the data that follows in the file. An oversize font is subsequently drawn without fuss. A size-22 font (16 in hex) can be drawn even if the header declares it to be size 10 (0A in hex).  8)

The third part of this hack is to update the fonts.txt file:

; Following font has a typeface value of:   (eTypeface)(_CustomTypeface + 6)
;
assets/fonts/tar22.fnt

I gave my custom font the name tar22.fnt. The original ocra10.fnt and bcascii22.fnt are therefore not modified. Restoring the reticle should be easy -- just edit a text file...

Actually it isn't easy because the font assets are zipped without compression! So you have to work on an extracted archive. Then you build a new fonts.zip including the assets\fonts folders. You must use the "store" mode (which doesn't compress). The 7-zip utility works well for this. (The built-in zip capability in Windows 7 will automatically compress the assets and break them for SFC.) Then move that new fonts.zip to the OP\Assets folder.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #39 on: December 18, 2016, 03:37:01 pm »
Wow, good job Tar!
I'm happy you found how to increase the fonts, and already posted a solution for it.
I was in total darkness about this one.  ::)

I've been busy with adding the Sfc3 support to the SFC launcher. It is like.. Why not right?
All got a working HD patch, a sprites editor, and now all will be playlable in a LAN or public internet.
Sfc3 was tricky, but i managed to understand it today.
It took some hours. But it is working!
All directory services, and gamespy, are all now packed into the small application that is SFC Launcher. Less than 100k, or 5000 lines of code.  8)

Keep up Tar!
Cheers.
« Last Edit: July 14, 2017, 05:24:42 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #40 on: December 18, 2016, 09:55:28 pm »
It took about 12 hours to figure out the fonts puzzle. When we don't have source code, we just stare at the stuff we have and do some experiments. So now anyone can increase the reticle font size. It isn't perfect in F1 view, because the coordinates don't account for the hacked length of the text -- the target's speed extends offscreen. The strings.txt can be edited to reduce the word "speed" to "s" under the reticle so that the speed value, at least the integer part, may remain onscreen.

SFC3 is a relatively good game (compared to the average Star Trek video game). It should get some attention too. If dynaverse.net or any particular middleman disappears, people will be able to play multiplayer dynaverse for many years ahead.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #41 on: December 23, 2016, 05:14:53 pm »
When we thought all was done, the endeavor on sfc3 support offered a last obstacle!
And how hard this one was. :buck2:
But fear not. After a 3 day battle, this challange is over! :knuppel2:

Cheers
« Last Edit: July 14, 2017, 05:26:13 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Tus-XC

  • Capt
  • XenoCorp® Member
  • Commander
  • *
  • Posts: 2774
  • Gender: Male
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #42 on: December 26, 2016, 03:17:00 am »
where is the like button...
Rob

"Elige Sortem Tuam"

Offline xeryx

  • Lt. Junior Grade
  • *
  • Posts: 50
Re: Gamespy and Directory Services replacement for LAN campaigns
« Reply #43 on: December 26, 2016, 11:44:42 am »
WOOT WOOT!!

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #44 on: December 31, 2016, 04:45:05 pm »
Have you seen anything like this before?
A motd in sfc3?
Will be in version 1.0.2.0!

"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Sirgod

  • Whooot Master Cattle Baron
  • Global Moderator
  • Vice Admiral
  • *
  • Posts: 27714
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #45 on: December 31, 2016, 11:44:21 pm »
I know I don't say it often enough, but you guys just rock! Thank you all so much for the work you have done over the years.

I was just thinking, my first game was on Dec. 24th, 1999 , and that bug to play hits me every time around this year. Due to your hard work, I still can.
"You cannot exaggerate about the Marines. They are convinced to the point of arrogance, that they are the most ferocious fighters on earth - and the amusing thing about it is that they are."- Father Kevin Keaney, Chaplain, Korean War

Online vonfrank

  • Lt. Junior Grade
  • *
  • Posts: 26
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #46 on: January 01, 2017, 12:43:23 am »
Just found this thread, and I gotta say, I'm VERY impressed.

If I understand this correctly, we will be able to host our own SFC2, SFCOP, and SFC3 Dynaverse servers? And anyone can join so long as they are given the host's IP address, without any need for all the tests and verifications that always seem to fail while trying to log on?

If so, that is AMAZING!

My friends and I have always wanted to play the SFC3 online conquest campaigns but have never been able to get both our machines to properly log-on to dynaverse in order to join a server in the first place.

Whatever wizardry you're using to get this to work, keep it up!  :thumbsup:

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #47 on: January 01, 2017, 07:30:45 am »
Yes, this program lets you host your own dynaverse services, and on top of that, your own gamespy services.
It is all packed into a single application. So, it serves 2 purposes:
   1. You can host those services;
   2. In the client side, you just need to insert the host's IP in the program, and it will set things up for you.

To speed things up, i added the option to enable or disable any port test made by the program (a service provided by dynaverse).

In a real or virtual LAN environment you dont need to setup any port. But remember, that in a public internet enviroment, you still need to redirect the ports used by DirectPlay (2300-2309, 47624), if you playing behind a router (for example), as it still is required by the version of the directX used in the games.

It features its own client and server lists, and provides a basic webserver service, so you can see which servers and clients are online. And provides its own motd service.

And works with SFC2EAW, SFCOP and SFC3!

Cool right?  8)
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Captain Adam

  • Lt.
  • *
  • Posts: 713
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #48 on: January 01, 2017, 09:35:05 am »
Indeed, very cool. Look forward to the final product with one download. Very excited.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #49 on: January 01, 2017, 03:17:31 pm »
Indeed, very cool. Look forward to the final product with one download. Very excited.

I have posted 2 versions for testing already.  :)
Today i've compiled the 3rd one, compatible with Sfc3.
I improved some things today. Also expanded the Launcher options, and added another tab for SFC3.
Eventually i will need to write some instructions. Sfc3 has some tiny differences. Basic stuff, but still...
Probably will post it in the start of this week.
Of couse, if anyone wish to help test it, or give any suggestions, better.

Cheers
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Online vonfrank

  • Lt. Junior Grade
  • *
  • Posts: 26
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #50 on: January 01, 2017, 05:57:59 pm »
Amazing work so far, but I am a little confused on how to get it working.

Right now I have a fresh install of SFC2 EAW with the official 2036 patch and the 2037 HD patch. I also have the official 2036 server kit.

Sorry if I'm being completely basic, but how do I set up the server and log in? Do I need to host on a different computer than the one I'm trying to run the client on?

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #51 on: January 01, 2017, 09:32:50 pm »
For best results, the server software (ServerPlatform.exe) should not run on the same computer as the client (StarfleetX.exe). They would have the same external IP address, if I understand all this. The resources required by ServerPlatform are not great. An old 500MHz PC with an ethernet card can do the job.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #52 on: January 02, 2017, 05:08:08 am »
Amazing work so far, but I am a little confused on how to get it working.

Right now I have a fresh install of SFC2 EAW with the official 2036 patch and the 2037 HD patch. I also have the official 2036 server kit.

Sorry if I'm being completely basic, but how do I set up the server and log in? Do I need to host on a different computer than the one I'm trying to run the client on?

The last 2 versions i posted only work "out of box" with sfcop 2563.
I managed to get sfceaw 2037 working, but was only here in my home, as the server had to be tweaked.

I have written a readme file in the last post for SFCOP.
Some *.gf files need to be tweaked for gamespy.

That is why i need to write some instructions, or automate the process.
Little details, but important.
« Last Edit: July 14, 2017, 05:29:02 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #53 on: January 02, 2017, 09:52:57 am »
For best results, the server software (ServerPlatform.exe) should not run on the same computer as the client (StarfleetX.exe). They would have the same external IP address, if I understand all this. The resources required by ServerPlatform are not great. An old 500MHz PC with an ethernet card can do the job.

For best results yes.
But for example, in my LAN tests, i was able to run everything on same machine.
But it seems to run better if you run the server + launcher on another machine (i've used a virtual machine for that sometimes).
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #54 on: January 03, 2017, 07:20:35 am »
Yesterday started testing and prepare the "readme" files for all versions i mentioned.
I thought it would be fast, but it wasn't.

Tested the launcher with sfc eaw 2036, sfcop 2552 (last 2 serverkits builds)

Just look what happened when i tried the launcher with sfc eaw 2036  :)

"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #55 on: January 03, 2017, 04:43:57 pm »
Ok, here it is the 3rd release of the Starfleet Command Launcher (v1.0.2)

It has been tested with:
   SFC EAW 2036;
   SFC OP 2552/2563;
   SFC 3 v1.01 b534;

Includes readme files for both versions.  8)

https://1drv.ms/u/s!AiumJZOPROpbg94TTNZz3i6WstTt5A


Don't forget it is a beta version. It is meant to crash in any unknown circunstances.
Feel free to report anything or give sugestions.

Cheers
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Online vonfrank

  • Lt. Junior Grade
  • *
  • Posts: 26
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #56 on: January 05, 2017, 06:41:07 pm »
Just tried the latest version. For setting up the client and server with the launcher, it tells me "The Program Can't Find the File" when I click on the "Start Services" button. Not sure what file it's referring to. I did correctly list the server and client path to the .exe files.

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #57 on: January 05, 2017, 08:15:50 pm »
Hmm, I tried it too, vonfrank. Skipping file --> "The program can't find the file." And no mention of the file by name...
Then when I run the 4 services I get an unhandled exception.

I have Windows 7. I think d4v1ks is testing on a Windows 10 machine. That might not matter. I was just trying the basic setup (OP 2.563 server, client, directory service all on same laptop) and I followed the .pdf instructions -- I think.

It is a beta, so we should expect a few issues.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #58 on: January 06, 2017, 03:09:32 am »
Just tried the latest version. For setting up the client and server with the launcher, it tells me "The Program Can't Find the File" when I click on the "Start Services" button. Not sure what file it's referring to. I did correctly list the server and client path to the .exe files.

Yeah, dont worry about that one.
I forgot to add a simple check. It just means that the launcher was not able to find all the executables (eaw, op and sfc3).
I already fix it. Thanks. :)
But apart from that, did it worked with you?
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #59 on: January 06, 2017, 03:41:37 am »
Hmm, I tried it too, vonfrank. Skipping file --> "The program can't find the file." And no mention of the file by name...
Then when I run the 4 services I get an unhandled exception.

I have Windows 7. I think d4v1ks is testing on a Windows 10 machine. That might not matter. I was just trying the basic setup (OP 2.563 server, client, directory service all on same laptop) and I followed the .pdf instructions -- I think.

It is a beta, so we should expect a few issues.

It crashed when you clicked on the START?
Dont forget that at this point the Launcher just hexedit the custom gamespy IPs at the executables. We still need to edit the *.GF files like instructed in the readme files. Maybe i should have mentioned that.
You just need to do it one time, if you are going to use the same machines/ips.
And that should be done on every client and server.
The IP that you write in the launcher is the ip where the services will be hosted (gamespy\ Sfc directories).
If you want to run everything on the same machine use  "127.0.0.1".
When you click START it tries to bind sockets to specifics IPs and PORTs. So the IP has to be valid.
 You can ping the ip before inserting it in the SFC Launcher (the one you wish to use) to see if it will work.
« Last Edit: January 06, 2017, 06:07:16 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #60 on: January 06, 2017, 06:13:08 am »
I will simplify things a little more in the next release.

The objective will be to release something inside the idea initially stated at

http://www.dynaverse.net/forum/index.php/topic,163396609.msg1123054742.html#msg1123054742
« Last Edit: January 06, 2017, 07:04:12 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #61 on: January 07, 2017, 06:45:24 pm »
Ok. I used 127.0.0.12 for the directory service, 127.0.0.11 for the dyna server, and allowed ServerPlatform.exe through the firewall. Fired up the SFC Launcher with the 4 services enabled, started the OP server, and then launched StarfleetOP.exe all on the same computer. It works.

Did a scan mission. Blew up a freighter. Got 320 points. Repaired my ship. If only there were 60 human players instead of AI, it might be fun.   

Offline Tiberius

  • Lt. Junior Grade
  • *
  • Posts: 47
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #62 on: January 08, 2017, 11:57:37 am »
yea does the same thing for me crashes everytime..

Offline FPF-Tobin Dax

  • D.Net VIP
  • Commander
  • *
  • Posts: 2702
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #63 on: January 08, 2017, 12:01:59 pm »
Ok. I used 127.0.0.12 for the directory service, 127.0.0.11 for the dyna server, and allowed ServerPlatform.exe through the firewall. Fired up the SFC Launcher with the 4 services enabled, started the OP server, and then launched StarfleetOP.exe all on the same computer. It works.

Did a scan mission. Blew up a freighter. Got 320 points. Repaired my ship. If only there were 60 human players instead of AI, it might be fun.

When this gets made into an all-in-one installer for the public, you might get your wish for players. The number of "guests" who drop by but don't log in is still encouraging. They are possibly just waiting for the end version.
Suspected leader of Prime Industries Pirate Cartel
                                                                       Celebrating Lyran Pelt Day

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #64 on: January 08, 2017, 06:04:21 pm »
yea does the same thing for me crashes everytime..

Probably the way it needs to be configured at the moment, it's not very intuitive for the end-user. But it can get better!  :)
I've been playing here at home with OP and its serverkit build 37. And it runs without any issue or error. It is a good sign!
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #65 on: January 09, 2017, 05:31:32 am »
Ok. I used 127.0.0.12 for the directory service, 127.0.0.11 for the dyna server

It worked with those IPs?

127.0.0.1 is a loop-back address (IPv4). It is like the "local" IP of our computer. We can use it in the place of the "real" IP of the computer.

The IPs i used on the readme files are hypothetical. They only would make sense, if you had a real network configured in that particular way.

The real IP of our machines can be known, for example, by running IPCONFIG in a command line.
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #66 on: January 09, 2017, 08:28:25 am »
I guess any IP with 127.0.0.* is a local address. It didn't hurt to assign the various SFC elements to different IP's. Maybe it is irrelevant to use 127.0.0.11 and 127.0.0.12. They may be treated exactly as 127.0.0.1 if all three applications are on the same computer.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #67 on: January 09, 2017, 09:52:35 am »
Hey Tar, i've started working on an update for SFC OP 2563.

Will update the serverkit, that uses the build 36 as base, to the latest build 37 (compiled for perfomance + some fixes).

I also coded a little parser for the *.gf files, and found in the process, that there are some little errors on the syntax, on a few of them. Probably not very important. But i fixed those.
The *.gf files have now a standard format, and can be open on excel, for example, using TAB as delimeter, to be more readable.

On the client, i replaced "lowres" on sfc.ini, by the 2 new variables "width" and "height", like happens in sfc EAW 2037.
I replaced the function there for something like:

Code: [Select]
if sfcini.contains("width") && sfcini.contains("height") {
   screenWidth =  sfcini.width
   screenheight = sfcini.Height
} else {
   screenWidth =  800
   screenHeight = 600
}

if (screenWidth < 640) screenWidth = 640
if (screenHeight < 480) screenHeight = 480

Probably i can get rid of the hardcoded gamespy links on the executables too, and put them in the sfc.ini. Will take a look on that.

In the next release of SFC Launcher, i will automatate a little more the server configuration, and use it to launch the clients. This will give the option to launch the game in the correct "resolution", and adjust the sprites.q3 layouts accordingly.
So, in windows mode, the client will have the option to run in "maximized" mode, or then in one of the "standart" resolutions. Is what offers less problems and better perfomance on Windows 10.

Lets see how it goes, as i need to merge some code of the other projects on this new features, and get time for it.
« Last Edit: January 09, 2017, 10:03:19 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Captain Adam

  • Lt.
  • *
  • Posts: 713
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #68 on: January 09, 2017, 09:58:48 am »
Sounds wonderful, everything is much appreciated and anticipated.  :D

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #69 on: January 09, 2017, 04:47:27 pm »
Carlos, I was thinking of that yesterday -- putting the directory service IP in sfc.ini. More people could have identical CRCs if that were the case. Sfc.ini would be the Hi-Def and Dyna client customizer as a simple text file. I've forgotten how I added Width and Height to EAW's sfc.ini. But I remember that it wasn't very difficult.

Offline Tiberius

  • Lt. Junior Grade
  • *
  • Posts: 47
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #70 on: January 13, 2017, 01:47:52 pm »
ok got it working server works .but what i did notice is when moving from a normal hex to another normal hex movement was fine not lagging like it used to but.. when moving from a normal hex to a hex with a planet or shipyard the display on left were it shows your mission or shipyard or supplies the shipyard and other buttons takes about 3-5 secs to go from greyed out to clickable didnt time it but  seems like 3-5 secs would be about right..

Offline Captain Adam

  • Lt.
  • *
  • Posts: 713
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #71 on: January 14, 2017, 12:50:36 pm »
very promising news, cant wait

Offline Tiberius

  • Lt. Junior Grade
  • *
  • Posts: 47
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #72 on: January 14, 2017, 01:36:50 pm »
i have to say why the hell dont they (Dynaverse.net keeper of the code) give you the code to work on.. its just dumb to not let you work on it ...

thanks for all you do

Offline Tiberius

  • Lt. Junior Grade
  • *
  • Posts: 47
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #73 on: January 15, 2017, 02:56:47 pm »
i realize they dont have the op code but the multiplayer code for eaw is in there mabe there would be something you could come up with for op having looked at the eaw code..just thinking out loud

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #74 on: January 17, 2017, 07:58:25 am »
i have to say why the hell dont they (Dynaverse.net keeper of the code) give you the code to work on..

The source code is an asset of an enterprise.
Why would they share it with anyone?
Who wins, and what?
« Last Edit: January 17, 2017, 12:37:50 pm by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Captain Adam

  • Lt.
  • *
  • Posts: 713
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #75 on: January 17, 2017, 09:17:13 am »
 :-X

Offline Javora

  • America for Americans first.
  • Commander
  • *
  • Posts: 2691
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #76 on: January 17, 2017, 06:09:19 pm »

The source code is an asset of an enterprise.
Why would they share it with anyone?
Who wins, and what?

While I don't want to stray off topic too much, I think Dyna team should allow you to work on the CE source code if you want to.  At this point no one is working on that hot mess and with you and Tar I think some real progress can be made.  Who knows, you might even be able to recreate some of the X Weapons from OP into the CE code and have both games under one roof.  That is my 2 cents, I'll go back into lurker mode now.

Offline Tiberius

  • Lt. Junior Grade
  • *
  • Posts: 47
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #77 on: January 17, 2017, 06:12:15 pm »
You mean an asset that is just sitting there collecting dust..after all this time its obvious they dont plan on doing anything with it..whats the point? is it just to say we have the code and nobody else does?..They should just give it back to whom they got it from.. You d4v1ks and Tar are the assets this community needs to come up with something to get this game moving again D.net doesnt have the skill or time needed to work on the code.. Time to hand it off to the people who do... 

Offline Nemesis

  • Captain Kayn
  • Global Moderator
  • Commodore
  • *
  • Posts: 11268
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #78 on: January 18, 2017, 09:56:49 am »
All this work has been a thankless and expensive job.  I am grateful to Frey for having what it takes to do it.  Without all the effort and yes money Frey has put into the SFC community we wouldn't be here, there would be no SFC:CE.  There would be nowhere to post the recent developments where fans of SFC would see it.  In fact there would only be a very few isolated players still wishing for the glory days but with no one to share those wishes with. 

So thank you Frey.  Wish I could do more to help. 

And yes thanks to those who have used Freys dedication as a springboard to the recent developments in hacking the game.  Well done to you guys too, wish I knew how to help even though I don't currently have a machine suitable for game play and my disks were destroyed.  Well done to you but remember you are standing on Freys broad shoulders.  Without those shoulders to stand on you would have no place and no one to share your efforts and to praise your efforts. 
Do unto others as Frey has done unto you.
Seti Team    Free Software
I believe truth and principle do matter. If you have to sacrifice them to get the results you want, then the results aren't worth it.
 FoaS_XC : "Take great pains to distinguish a criticism vs. an attack. A person reading a post should never be able to confuse the two."

Offline Tiberius

  • Lt. Junior Grade
  • *
  • Posts: 47
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #79 on: January 18, 2017, 01:32:33 pm »
MY MY MY.... d.net was givin the code by a guy who was patching the game early on.. taldren gave d.net the tools to create keys  for the game..so in my opinion frey is not the saviour of sfc only a guy who was givin a few things..

yes he owns the forums but anyone who mods this game can create a free forum to discuss and mod further..all im saying is give the dam code to those in this community that have the ability to do something with it they can sign an NDA ffs..

 unless the true goal here is to sit on the code and do nothing and just keep a dead games forum going..again whats the point in having the code if you caint do anything with it its pointless...

 PS d4v1ks touching story.. but doesn't have anything to do with this discussion..i'll shut now cuz its obvious members here do nothing but pat one guy on the back who truly is holding up any future this game could have...so sad

Offline TAnimaL

  • Lt.
  • *
  • Posts: 740
  • Gender: Male
    • Combat Logs from the Cold Depths of Space
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #80 on: January 18, 2017, 02:31:13 pm »

Not trying to muddy the waters  with comparisons but in support of Frey et. al. - the source code you want to see released is still covered under a great deal of legalese and NDAs, whether Taldren etc still exist or not, and the basic intellectual property of this game is owned by CBS & Paramount.

Whatever your personal opinion of the "Axanar" debacle is irrelevant; it merely shows the the holders of the IP are aware of what fans do. Let's not incur a world of pain on us.

D.net is not a signatory to the NDAs that cover the IP. The IP has many more lawyers and $$ to bury this game and site forever. Your insistence Tiberius makes your motives seem questionable, coming from someone who has 35 posts and is relatively new here.

Offline Nemesis

  • Captain Kayn
  • Global Moderator
  • Commodore
  • *
  • Posts: 11268
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #81 on: January 18, 2017, 03:22:51 pm »
Well Tiberius go ahead and create your own SFC forum and promote it as the "New home of SFC" and see how far you get.  Try and get together a group of free programmers and create an up to date clone of SFC. 

You also need to ask yourself WHY was Frey "given" this stuff and under what conditions.  The fact that after all these years the Dynaverse is still here shows that he was and is a good choice.  The existence of SFC:CE shows that the choice worked. 

You don't like how Frey has done things?  Make constructive and practical suggestions.  So far you are just going WAAH! Frey hasn't fullilled all my fantasies without any regard to what he has done or is allowed to do. 
Do unto others as Frey has done unto you.
Seti Team    Free Software
I believe truth and principle do matter. If you have to sacrifice them to get the results you want, then the results aren't worth it.
 FoaS_XC : "Take great pains to distinguish a criticism vs. an attack. A person reading a post should never be able to confuse the two."

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #82 on: January 18, 2017, 03:38:16 pm »
From a practical standpoint, the SFC2CE source code is not useful and not relevant. D4v1ks, Adam, TAnimaL, and I are not C++ programmers. Frankly, nobody wants to play with or work on that neglected application, and I say this as CE's most dedicated promoter and 1000-hour contributor. Even if Frey or Strat or Exeter made the C++ sources secretly available, nobody is going to bother with it. I don't have the time to deal with spaghetti code and inheritances and virtual classes.

The game that interests people is SFC OP 2.563. Nobody on Earth has the source code for this game. We can use a disassembler to hack OP. It is impressive what we have done without one line of C++ code from StarfleetOP.exe.

And I will now fire up IDA to find more ways to improve a game that people actually play and care about. 

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #83 on: January 18, 2017, 06:30:52 pm »
This is a very complex topic to talk about.
There is a lot of positive and negative sides.
I believe all did their best.
But it really doesnt matter...
Who will have the time or skills to work on it?
It was made by a team of people, in a fulltime job, during months and months of their lives. And they were getting paid!
From my perspective i dont even know what i could do for it. Have no idea of its complexity.
One thing i know:

This afteernoon, i  got some free time to work on the next update for SFCOP 2564.
Today, i was finally able to open the SFC Launcher, select the sfc op client on a list, hit a button, and it automatically resized itself to the primary desktop resolution, and it started working as i advertised earlier.
No more painfull setting files, or hexediting to play in HD. :)
It is all that matters.
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #84 on: January 18, 2017, 07:39:40 pm »
We work with the tools we have. The Phaser-A has a broken minimum damage estimator. It's been that way for 16 years or so.

StarfleetOP.exe has 1000 bytes of free space at the end of the code (.text) section for custom functions. I just realized this today! So I copied the working Ph-A max damage function, modified one offset inside it, modifed the call to the broken function, and tested the new Ph-A minimum damage function...

Notice the "8" instead of the misleading zero? Heh. IDA is a cool tool. Look for v2.564 someday. I'd like to fix the Ph-B minimum damage estimator too. Fixed that one too.
« Last Edit: January 18, 2017, 08:22:10 pm by TarMinyatur »

Offline Captain Adam

  • Lt.
  • *
  • Posts: 713
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #85 on: January 19, 2017, 06:26:08 am »
Very good news indeed. Slightly off topic but not that far out there...

I have been thinking of an idea. There's a couple of people who I speak with who still mod and add stuff to OP. Some of the guys have difficulties with adding UIs to the game. Some because they lack the expertise, others because they lack the necessary software. There's also the fact that if I introduce let's say an Oberth Class UI into the download package, someone else won't be able to see this in their game without making the necessary manual changes themselves. Sometimes I kitbash ships and I would like people to have my specific UIs but they don't and I have to set the ships hardpoints to something that is compatiable with their exe/sprite.
Then there's the shiplist. Another manually intensive obstacle when people just really wanna add the ship and see it the way the author intended.
Some people like Tar and others know how they want their ships to be added and do it themselves but others are left to the mercy of sifting through pages on the forums and searching for old links to software and programs/plugins they don't have or waiting for a response on the forum that seems to be as long as like waiting for the Israelis and Palestinians to broker peace. Anyways, is it possible to create a tool so when someone like me kitbashes a ship, with everything included like hardpoints, UIs and the recommended shiplist specs to automatically plugin the UI into the sprites, plug a new line into the shiplist and place the ship in the right folder in order to make things easier and quicker.

This tool needs to account for several issues. Such as a button that adds it to the primary shiplist/fighterlist in the assets folder. Another button to add it to the metaAssets shiplist/fighterlist version bc people like Tar have two sets that necessarily aren't the same.
Another button to add the UI if the person wants to bc as I stated above it's difficult to custom make everyone's request. In my example I may want the Oberth to be just a survey ship being only one ship and one line within the shiplist entries and not an entire overhaul of the frigate list. The UI feature would be extremely useful for those who need a person like me to make UIs for their game bc they are unable to themselves. Again, just a suggestion. I'm very satisfied with all the tools we currently have and for me it's no big deal but for others it seems like a lot of work to simply make/add a UI or an entry into the shiplist.
If you think it's a cool idea and wanna give it a shot I would glad give you my thoughts on how the layout should appear so it's fluid for the users such as the recipients of the download but also fluid for the creators of the model packages.   

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #86 on: January 19, 2017, 07:42:36 am »
Anyways, is it possible to create a tool so when someone like me kitbashes a ship, with everything included like hardpoints, UIs and the recommended shiplist specs to automatically plugin the UI into the sprites, plug a new line into the shiplist and place the ship in the right folder in order to make things easier and quicker.

This tool needs to account for several issues. Such as a button that adds it to the primary shiplist/fighterlist in the assets folder. Another button to add it to the metaAssets shiplist/fighterlist version bc people like Tar have two sets that necessarily aren't the same.

If you think it's a cool idea and wanna give it a shot I would glad give you my thoughts on how the layout should appear so it's fluid for the users such as the recipients of the download but also fluid for the creators of the model packages.

Yes, i can do something like that for sure.
You would be amazed how easy is to work with the sprites.q3 atm.
But i have such a big 'to do' list atm... Let me finish the SFC Launcher first.
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #87 on: January 19, 2017, 07:48:58 am »
Did you saw how the SFC Launcher's interface looked like?
I'm having problems with the look of the Main Tab at the moment... It just doesnt feel right.
I will post a pic after leave work.
Maybe you can help make it look better.
« Last Edit: January 19, 2017, 08:18:18 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Captain Adam

  • Lt.
  • *
  • Posts: 713
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #88 on: January 19, 2017, 09:26:14 am »
Yup, I understand you have a priority. I just wanted to get it out there so you would know. Anything I can do is willing to help. Time permitting of course. I work crazy hours 0400-1230 so sometimes I'm exhausted during the week. Thanks again.

Adam

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #89 on: January 19, 2017, 02:52:44 pm »
It does its job, but looks bad, right?  ;D
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Captain Adam

  • Lt.
  • *
  • Posts: 713
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #90 on: January 19, 2017, 03:23:04 pm »
Lol

You too funny. If it does the job then it's fine by me. Idk what I can do. I'm just a kitbasher. I cannot tackle this aesthetically without seeing the components. Looks like you need an artist with a little knowledge in making pop up programs textures.

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 835
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #91 on: January 19, 2017, 05:18:55 pm »
I like the idea of a 2.563->2.564 patch that is not too disruptive. Some players are very accustomed to the 2.552 patch as a platform. A 2.552->2.564 patch seems reasonable. I don't have a personal preference. A CD (or .iso) to 2.564 patch is good too if someone gets a newer computer.

I didn't isolate many variables in OP. They could be moved to the free space. I didn't verify all of TAnimaL's offsets for the SFC_Editor. I found one variable (Hellbore charge rate 2.5d) that is shared with a vessel library function and should be isolated. But I bet 99% of them are fine because the OP code uses more immediate values than SFC2CE, which uses tons of shared values. Changes to the Fusion Beam, Scanner, and Sensor code are not worth relocating. They're just minor edits of conditional jumps and general register math.

The complex function you did for Space Backgrounds is working. It's up to you if you want to do it in a "safer" way.

Carlos, you work on the functions for HD and gamespy. When that looks good, send the .exe to me. I can add the Ph-A and Ph-B estimator functions and any other bug fixes in the meanwhile. I have copies of the Heavy Phaser functions and other notes in a text file to refresh my memory.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #92 on: January 20, 2017, 03:06:35 am »
Ok, the exe has all the changes already coded.
It is not much.

Yesterday i tested the SFC Launcher with sfc eaw 2037, and it also worked as well.
Later, i will send you the file, so you can add your last touches.

"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline xeryx

  • Lt. Junior Grade
  • *
  • Posts: 50
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #93 on: January 25, 2017, 10:45:02 pm »
Take your time guys!
I think having a patch is the best idea. 

Capt Adam,
That is a great idea. 

Keep up the good work, there is no pressure, it isn't like this game was released yesterday.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #94 on: February 04, 2017, 10:55:55 am »
As the work on the new SFC Launcher release continues,
I've finished the work on the SFC3 executable.
It took some time, but the final result is very cool.
I’ve replaced 2 functions in there, to reproduce the same 2 new mechanics that will be used in SFCOP.
With these changes in place, you will not need to hexedit anything anymore, to use Gamespy, or any custom HD resolution.

I will publish it in the next SFC Launcher release.

Cheers

Code: [Select]
// New gamespy mechanics (with the old hardcoded hostnames as example).

[Gamespy]
motd=http://www.gamespyarcade.com/features/launch.asp?svcname=sfc3
master=master.gamespy.com
gpcm=gpcm.gamespy.com
gpsp=gpsp.gamespy.com

// New resmode mechanic (with the default/lowest resolution, as example).

[3D]
width=1024
height=768

// You can use the sprites.q3 Editor at
// http://www.hotandspicyforums.com/post201588.html#p201588
// to manually replace any default resolution you wish.
// or wait a bit for the new SFC Launcher release, that will automate the process.
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Captain Adam

  • Lt.
  • *
  • Posts: 713
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #95 on: February 04, 2017, 05:06:50 pm »
Very cool

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
« Last Edit: April 27, 2017, 08:47:49 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline Tumulorum Fossor

  • Lt. Junior Grade
  • *
  • Posts: 142
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #97 on: April 27, 2017, 08:34:23 pm »
this... is... fricking AWESOME!!!!!!

Online vonfrank

  • Lt. Junior Grade
  • *
  • Posts: 26
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #98 on: April 27, 2017, 09:24:23 pm »
Nice!

I am SO pumped for the release of this! Cant wait to play it with friends.

Offline AlDaja

  • Lt. Junior Grade
  • *
  • Posts: 36
  • Gender: Male
  • SFC:III Troubleshooter
    • Star Trek: Starfleet Command III - Sra'xa'diin Shipyards
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #99 on: April 29, 2017, 12:06:20 pm »
Looks great.  Do you think you'll have a version that will operate for SFC3?  If so, like to give it a try with our mods we've been working on.
Don't try to be a great man. Just be a man, and let history make its own judgments.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #100 on: April 29, 2017, 02:15:55 pm »
Yes, it works perfectly with SFC3.
That was the point of the video. :)
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline FA Frey XC

  • Site Owner
  • Administrator
  • Captain
  • *
  • Posts: 5651
  • Gender: Male
    • XenoCorp.Net
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #101 on: May 15, 2017, 12:41:59 pm »
I have stickied this thread.

Regards,
Vice President of Technology,
Dynaverse Gaming Association
Owner, CEO XenoCorp Inc.




Online vonfrank

  • Lt. Junior Grade
  • *
  • Posts: 26
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #102 on: September 25, 2017, 10:32:57 am »
Good to see this hasn't been forgotten... I was starting to wonder if the project had quietly died.

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 678
  • Gender: Male
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #103 on: September 26, 2017, 10:35:19 am »
Quiet, but not dead.
This project will eventually materialize in some kind of release as we did before.
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline GodlyDevil

  • Ensign
  • *
  • Posts: 1
Re: SFC Launcher (a dynaverse and gamespy's online services replacement)
« Reply #104 on: October 05, 2017, 11:19:45 am »
Hello.
My first post in these forums.. Please forgive me if I'm overstepping it something.

I've tried the link at the top of this topic and all links in between, but i can't download the server prog.. Where do I get or where can I download it?

thanks in advance
GD