.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $7.00
winSPWW2- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old June 5th, 2003, 07:09 PM
Lisif Deoral's Avatar

Lisif Deoral Lisif Deoral is offline
Corporal
 
Join Date: Dec 2000
Location: Italy
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
Lisif Deoral is on a distinguished road
Default Idea: merging RTC & Modlauncher

First & foremost I wished to thank Matryx and the PBW team for the mod launcher utility and the RTC client

I had an idea about a possible integration of the mod picker and the RTC.
I suppose you're wondering what's wrong with the current programs... Well, I have two Versions (classic and Gold) of SE4 installed, and each of these has a couple of mods installed. Basically, I would like the RTC to pick the proper Version-mod combination for each savegame.

The idea was more or less this: the RTC should call a modpicker (either an external program or with an internal routine).
The modpicker should read from a local file the Version and mod info and run the game. The RTC should look for the .plr file in the appropriate savegame dir (i.e., the mod's savegame dir).

I thought to program it myself, but since I do not know anything of Java and the "PBW protocol" seems to be a bit too complex, I was thinking to modify the modlauncher source if Matryx agrees.
Anyway, there is a little problem: as far as I understand, the RTC launches "se4.exe" - you can modify the dir (and thus specify a different file), but it has to be called "se4.exe". The modpicker should then be renamed, but I'd prefer not to create a "duplicate" se4.exe...
Reply With Quote
  #2  
Old June 11th, 2003, 01:07 AM
Matryx's Avatar

Matryx Matryx is offline
Sergeant
 
Join Date: Apr 2001
Location: London, UK
Posts: 289
Thanks: 0
Thanked 1 Time in 1 Post
Matryx is on a distinguished road
Default Re: Idea: merging RTC & Modlauncher

Send me an e-mail:
[email protected] and I'll drop you the entire source code for the mod-picker
It is written in Delphi
You can do whatever you want with it.
__________________
The Unofficial Space Empires 4 Mod Utility V2.26
------------------
Download as a .ZIP -(HERE)-
Reply With Quote
  #3  
Old June 11th, 2003, 01:49 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Idea: merging RTC & Modlauncher

The mod picker as it is works with RTC. The problem really is with RTC itself. It will only work out of the savegame folder and se4.exe that is in the Se4 directory that you specify in the RTC options. There is a way to make them work together. It seems very cumbersome, but using appropriatly named shotcuts it works quite well and is easy to get used to.

First of all you need to have a separate instance of RTC for each Version of Se4 (not each mod, jsut each Version). The easiest thing to do I have found is put a copy of the RTC programs in each Se4 directory. You can then have shortcuts to each on your desktop or a central location if you want.

Second you need to have separate instances of the mod picker for each Version. For the mod picker I think it has to be in the Se4 directory. I can't remember for sure but that works best even if it's not required.

Third, you have to delete the savegame folders from each mod folder. The reason for this will be explained in a bit.

Now when you are ready to play a mod PBW game you launch the mod picker for the appropriate Se4 Version. Then you select the mod you are using on the left side of the mod picker and hit the "Play SEIV button". This will rewrite the path file and launch the main Se4 startup screen. At this point hit quit game, but don't close the Mod picker. As long as you leave the mod picker running and don't start SE4 again with a different mod Version the path file remains as is. If you close the mod picker it changes it back to none.

Now launch the RTC for the appropriate Version and select your game. You can play it normally. The reason you have to delete all the Savegame folders in the various mod folders is that if you don't, RTC will lose track of the .plr file. RTC only uses the savegame folder in the Se4 directory you specify. It does not change to the mod folder because it doesn't look at the path file the way Se4 does. Without deleting the mod folder savegame folders you will be able to play your turn but Se4.exe will save the .plr file to the mod/savegame folder and RTC will look for it in the default savegame folder.

I don't think you are going to be able to rewrite the Mod picker to work with RTC better then this is without rewriting RTC which really isn't an option at this point.

However, I do have some ideas how you might write a standalone utiliity that works without the RTC or the mod picker and does what you are trying to do. If you want to email me I'd be happy to talk about it with you. I don't know how to code it but I know how the files are stored on the PBW server and I think it might work.

[email protected]

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #4  
Old June 11th, 2003, 03:45 PM
Lisif Deoral's Avatar

Lisif Deoral Lisif Deoral is offline
Corporal
 
Join Date: Dec 2000
Location: Italy
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
Lisif Deoral is on a distinguished road
Default Re: Idea: merging RTC & Modlauncher

Quote:
Originally posted by Matryx:
Send me an e-mail:
[email protected] and I'll drop you the entire source code for the mod-picker
It is written in Delphi
You can do whatever you want with it.
Thank you very much, but I don't know anything about Delphi...
Reply With Quote
  #5  
Old June 11th, 2003, 04:04 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Idea: merging RTC & Modlauncher

Isn't that just a bit complex?

In this case, it seems you would save a lot of trouble by just:
- Double click Path.txt
- Type in the mod name
- Press save
- Run RTC

Or, if you really want to use the modpicker, how about adding a checkbox to the modpicker so that it runs RTC instead of SE4?
Reply With Quote
  #6  
Old June 11th, 2003, 05:51 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Idea: merging RTC & Modlauncher

Quote:
Originally posted by Suicide Junkie:
Isn't that just a bit complex?

In this case, it seems you would save a lot of trouble by just:
- Double click Path.txt
- Type in the mod name
- Press save
- Run RTC
Well, I said it does seem that way at first. But with shortcuts and a few times of doing it it's quite convenient and I'd say quicker then doing it manually. I am a very mouse oriented person. If I have a choice between doing something with a clicks or with typing I choose the clicks every time.
Quote:


Or, if you really want to use the modpicker, how about adding a checkbox to the modpicker so that it runs RTC instead of SE4?
I guess that would eliminate having to click "Quit game". Not sure what other purpose it would serve though.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #7  
Old June 11th, 2003, 07:41 PM

Andr�s Andrés is offline
Major
 
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
Andrés is on a distinguished road
Default Re: Idea: merging RTC & Modlauncher

What about getting old Fuerte's PBEM helper to work with PBW.
I konw this was in the to-do list but it doesn't seem to be a priority anymore.
Reply With Quote
  #8  
Old June 11th, 2003, 10:42 PM
Nodachi's Avatar

Nodachi Nodachi is offline
First Lieutenant
 
Join Date: Mar 2002
Location: North Carolina
Posts: 720
Thanks: 0
Thanked 0 Times in 0 Posts
Nodachi is on a distinguished road
Default Re: Idea: merging RTC & Modlauncher

Geo's right, it only seems complicated in print. Once you're in the habit of doing it it's like anything else you do repeatedly, you do it without thinking!
__________________
This is the 21st century, right? Then where the hell is my flying car?
Reply With Quote
  #9  
Old June 11th, 2003, 11:14 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Idea: merging RTC & Modlauncher

Truth be told, I do the whole path.txt thing with almost all mousing too.

I've got all the mods I use listed above the *begin* line, and just highlight, CTRL-C, highlight CTRL-V then close and save.
Reply With Quote
  #10  
Old June 11th, 2003, 11:37 PM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: Idea: merging RTC & Modlauncher

or you could just type it out on the line. it works, especially if you shorten those folder names. takes ten seconds, maybe.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
Reply

Bookmarks


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 On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:17 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.