Author Topic: Support for FS1 in the SCP  (Read 6745 times)

0 Members and 1 Guest are viewing this topic.

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
:D

taylor: Thanks for the tip. :yes: I'll talk to an admin about moving this into the SCP forum.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
:lol: Sorry, WW.  The first two posts have been copied back to General FS.
« Last Edit: November 07, 2003, 12:38:54 pm by 561 »

 

Offline Hippo

  • Darth water-horse
  • 211
  • Grazing.
    • All Hands to War
If it involves FS1, you are guarenteed to be supported bu Goober5000 and I. :p
VBB Survivor -- 387 Posts -- July 3 2001 - April 12 2002
VWBB Survivor -- 100 Posts -- July 10 2002 - July 10 2004

AHTW

 

Offline Hippo

  • Darth water-horse
  • 211
  • Grazing.
    • All Hands to War
ah yes... good old english... figures, since my mom teaches it, its my least favorite subject...
VBB Survivor -- 387 Posts -- July 3 2001 - April 12 2002
VWBB Survivor -- 100 Posts -- July 10 2002 - July 10 2004

AHTW

 

Offline Solatar

  • 211
I had the Galatea mainhall working as well...but this will come in useful as I lost it.

 
do us all a major favour, report in at the SCP forum, and see if you can try doing some merging here and there.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline Woolie Wool

  • 211
  • Fire main batteries
Galatea mainhall ANI positions revealed!
http://archives.volitionwatch.com/download/fs1mod/vfd11.zip

Notice a file in the zip called "mainhallnotes.txt" or something like that. It has the coordinates for the ani files for the Galatea mainhall from FS1.

I made a working hi-res version by multiplying the coordinates by 1.6 and using the hi-res animations and background I made, but FS2 crashes when I put my cursor on a door animation and then move it away from the animation. There is no crashing in the low-res version.

Now all we need to do is get the Bastion mainhall to work.
16:46   Quanto   ****, a mosquito somehow managed to bite the side of my palm
16:46   Quanto   it itches like hell
16:46   Woolie   !8ball does Quanto have malaria
16:46   BotenAnna   Woolie: The outlook is good.
16:47   Quanto   D:

"did they use anesthetic when they removed your sense of humor or did you have to weep and struggle like a tiny baby"
--General Battuta

 

Offline Woolie Wool

  • 211
  • Fire main batteries
:hopping:

Not only was my thread hijacked but someone changed its name!
16:46   Quanto   ****, a mosquito somehow managed to bite the side of my palm
16:46   Quanto   it itches like hell
16:46   Woolie   !8ball does Quanto have malaria
16:46   BotenAnna   Woolie: The outlook is good.
16:47   Quanto   D:

"did they use anesthetic when they removed your sense of humor or did you have to weep and struggle like a tiny baby"
--General Battuta

 

Offline Drew

  • 29
    • http://www.galactic-quest.com
Quote
Originally posted by Goober5000


ACK!  PBTHB!  "Goober5000 and me!"  "Me" is the object noun, "I" is the subject noun.

:lol: :lol:
shut up goober ;P
[(WWF - steroids + ties - spandex) / Atomic Piledrivers] - viewing audience = C-SPAN

My god.. He emptied the gasoline tank from the van onto your cat, lit him on fire, threw him in the house and dove for cover.  :wtf: Family indeed.  ~ KT

Happiness is belt fed.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
I've already figured this out once before.  Grab http://icculus.org/~taylor/freespace/fs1.vp_en/fs1.vp.gz which has an mainhall.tbl with the ani positions for both the Bastion and the Galetea.  Here is a quick list if you can't get it out of the VP.

Bastion misc anims:
main1-m1 = 14x14
main1-m2 = 174x198

Bastion door anims (exit, barracks, ready room, tech room, options, campaign):
main1-d1 = 68x260+103x298
main1-d6 = 309x34+110x61
main1-d3 = 312x264+385x330
main1-d4 = 457x34+404x367
main1-d5 = 530x206+174x412
main1-d2 = 305x133+385x330

Galetea misc anims:
main2-m1 = 0x37
main2-m2 = 59x0
main2-m3 = 80x115
main2-m4 = 0x182

Galetea door anims:
main2-d1 = 199x265+263x295
main2-d6 = 296x278+331x309
main2-d3 = 423x138+531x240
main2-d4 = 363x187+395x218
main2-d5 = 47x307+101x342
main2-d2 = 325x311+362x371

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Yep, lurking.  I have actually posted before on the topic of original FS1 nebula support that still exists in the FS2 engine.  I was ignored but didn't take it personally.  I'm working on the Linux icculus.org stuff and working with tigital on the OSX port.  New sound stuff, MS-ADPCM decoder, MVE player, joystick ForceFeedback under Linux, lots of memory leak fixes, automatic language switching support without the need for build/ini options and probably a couple of other things that I'm going to eventually try to get to you guys if any of that is wanted.

I made the modifications to the FS2 engine to support the original FS1 under Linux as a build option to the icculus.org project.  That FS1 support took about 7 months to make so I've got the locations of every single interface graphic used in the game.  If any more is needed I'll cough up the info or you're free to just check out the icculus.org CVS and look for anything in a MAKE_FS1 #define.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Galemp: PM on the way.

Goober5000 (and others): I'm spending all of my time on the icculus.org project at the moment but you can bet that I'm going to share everything.  Other than the unfinished code that I'm working on streaming audio is all that's left to do in the icculus.org project.  In the next month or so I'm going to cut a few patches for FS2_Open and try to help out the people working in the Linux side of things.

The big problem with me is that I only began learning how to program last July in order to figure out FS1 support.  It hasn't stopped me from taking on some big stuff but it does make me slow since I have to learn as I go.  The FS1 port makes changes to around 100 files so I'd rather not do that again under someone wants to volunteer to help.  I'm going to make a post about this to the SCP forum in the next week or two after I get done with some other projects.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Since there is obviously some interest here I posted my original full patch for FS1 support for icculus.org CVS here.  It's obviously not going to apply very well to FS2_Open but this should give everyone a change to look it over.  I've made a couple of changes since this patch, which I made in Febuary, so I'll have to go through everything to pick up the other bug fixes.  This doesn't contain support for original pilot files or original networking but otherwise it only needs about 10 new/updated tables and has modifications to work with the rest, plus one interface matte for the detail screen.

Since this does support Silent Threat it's going to require a ST compatible version (1.04+) to work correctly.  Also, since it uses the FS2 version of the networking code the client/server versions have been bumped so that there are no FS1->FS2 games going on.  The pilot file version has also been bumped so those are some some things that need to be thought over when getting anything worked into FS2_Open.

Feel free to fire any comments my way and someone please let me know if there is a particular CVS branch that I should look at for making patches.  Oh and since I'm from south Georgia and we southerners have our own way of talking, if anyone has a problem with my english please keep it to yourself or play host to the two dozen rednecks that are going to come a knockin` on your door ;)

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
The icculus.org project isn't a duplication of efforts though.  We Linux people haven't had Freespace 1 or 2 to play with.  I don't dual boot for a good reason and about the only thing that I've missed was Freespace.  The entire purpose of the icculus.org project is to get the original games working under Linux, not to add all new and cool features, just to get it working.

The SCP is doing great things but it's not the same game.  Depending on your point of view it's a better game unless you are super nostalgic for the original (like me).  I knew about SCP before  I started working on the icculus.org project.  The question of when the FS2_Open code gets merged into the icculus.org project has come up numerous times in over the past year and the answer is always: "It won't".

Stable Linux code can come from the icculus.org project to benefit FS2_Open and that's great.  I don't know of a single person working on the icculus.org code that doesn't pay attention to SCP but it's obviously not going the other way around.  I've made posts here and elsewhere correcting people who don't know the features and capabilities of the icculus.org port but it's constantly falling on deaf eyes because the message isn't getting through.

No one new about the OSX port even though it's was started in November of last year .  No one new about full FS1 support even though is went into beta last September and final at the end of January.  I've been coming to this forum almost every day for a year and a half.  I've gotten tired of the comments and flames casting a negative light on the icculus.org project.  It is absolutely pathetic when (recent) comments are made about not knowing that the icculus.org project had working sound and who the hell knows what else.  I've personally put in countless hundreds of hours working on the icculus.org project and so have a lot of others, those who code and a whole lot of beta testers who have helped whip that code into shape.  When I think of that effort being belittled it makes me sick.  There is a damn good reason that more icculus.org developers (both Linux and OSX) aren't part of this project, they read these forums.

I fully intend to stick around and try to help bring some of that great work from the icculus.org project to SCP plus any new stuff that I might be able to help with.  Two different projects with two different goals and helping both does nothing but make sure that everyone wins.  I'm pretty humble, I don't really care for personal credit and it takes a lot to piss me off but icculus.org (freespace project or not) is full of great and smart people who donate their time, effort and personal lives for the benefit of all *NIX gamers and to see them constantly run down on this forum really pisses me the **** off.  I'm probably taking this more personally than most but that's just the way it is.

There's probably more I can rant about but the rest is really just 90% profanity so I'll keep it to myself.  I got my two words in and that's enough for me.  I'd much rather have fun playing Freespace.

Taylor
taylor@icculus.org

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
I can't remember which messages or topics specifically, sorry.  I don't think it has ever been anything outright, just insinuated or in jest or people just commented without checking.  I didn't think of anyone in particular when I wrote that so if anyone took it personally I apologize. I tend to get this from both sides of the camp with people wanting the icculus.org project to be more like FS2_Open and it's not supposed to be.  It's been building up for a while now so it had to come out at some point.  It's in the open now though and the mood has passed so no hard feelings.

There have been good things though but they seem few and far between.  I do stress *seem* though since I don't read ever single message that passes through the HLP forums.  This was kind of a 95% scotch 5% water situation.  Someone is going to get to drunk, jump up on the bar and strip naked.  I just wanted to show off my package first.

Better communication between the projects seems to be needed and that's one of the reasons I'm here.  Good will missions don't usually start out with a firery rant but I was going to unleash it some time and the sooner the better.  I respect you guys though and leaving that out of the previous post makes it harsher than I wanted but it was necessary.  In the end I'm just a big fan and every fan has their opinion.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Raa Tor'h:  I can assure you that my package is worth more than a dollar :nod:

Galemp:  Everything is not excluded and the other stuff is more on a case by case basis.  Speed enhancements are well sought after and though I think that glowmaps are truely impressive and bring a lot to the game it's not needed to play the original game with a straight CD install.  The biggest things are finding the time to actually implement those changes into the icculus.org project and keeping those changes in sync.  This isn't something that anyone has offered to spend the time doing.  The effort is being put in to get the *NIX version up to par with the original Windows release.  This also gets into the area of the two projects doing the same thing.  If anyone is going to spend the time and effort to implement and support these features that most people probably wouldn't use (based on all of the people I talk to regularly) then it would probably be accepted.  What probably isn't going to be accepted is anything that changes how the original game works or requires extra resources.  I'm not the maintainer of the icculus.org project though so the decision isn't mine in the end.

All I want out of the icculus.org project is to get as much of the original game working as possible and move on.  Do you, or anyone else that works on FSO have the original Freespace binary installed along with FSO?  Why?  This is just the same thing for *NIX people.  I can use ravage's installer, for instance, to install the original game off of the CDs and (when it's working) have the FSO binary installed as well to get all of the coolness.  The two binaries can use different settings under ${HOME} and can have different mods installed there as well.  I love TBP and BWO and this is how I use them.  When TBP and BWO get to the point that they require FSO changes then I would much rather get FSO working great with Linux rather than FSO support into icculus.org that would have to be constantly maintained and updated.

I walked this line when I decided to do the full FS1 port.  From the outset it was obviously going to take a lot of work and no one was volunteering to help.  This was also about the time I found your Freespace port and when it was pointed out by someone else that the effort existed I was asked "Why?".  My ever briliant answer was "Because it's not the same".  It does help that I'm a bit insane.  My FS1 stuff required a ton of changes and a new VP to work.  I was willing to do the work and maintain it as well as separate it from the rest of the source with a build option.  The patch got accepted.  Nearly everyone that contacts me about the game, be it on Linux or OSX, is playing FS1 rather than FS2 even if they have FS2.  That was worth the effort.  So obviously it's possible to get new things in but some one has to step up and do it with the risk that it's not wanted in CVS.  I took the chance and it paid off.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
That's why I'm here.  The icculus.org project is a component and a lot of comitted code away from being where it's wanted in the end.  As of now I'm splitting my energy on the two projects to help out here where I can while I finish up on my icculus.org code which will benefit FSO as well.  I'm pretty sure that tigital wants to do the same thing as soon as OSX support hits the icculus.org CVS.  I've been making mental notes for the past 6 months on the code I'm doing so that it's easier to integrate into FSO.  It's been the plan for a while now but I didn't want to really get involved until I was close to getting my icculus.org stuff finished up and that time is now.

 

Offline bKtHeG

  • 25
    • http://www.rtk-games.net
It would great if someone could work on the linux build of SCP because there is still much that needs to be done.
As far as I was able to look at the HT&L code it is nothing that is realy interesting because it is somehow crossplatform (the opengl code is still very buggy and some functions are missing).

But there is one thing that needs to be done beside the port of the main executeable. Fred 2 is still a windows-only mfc based app. This means no real modding under osx or linux. Therefore somebody should port it to gtk or wxWindows in order to make it (nearly) plattform independent.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Back on topic, sorry my fault.

The mainhall.tbl that I'm using for FS1 is here: http://icculus.org/~taylor/freespace/testing/mainhall.tbl

This has the animation positions for misc and the doors for 640x480 only on both ships.  It also has the sound info that you may need including the ani keyframes for playback (some are off a little still I think) as well as the 2D pan sound values.  If there are any questions let me know.

 

Offline Kosh

  • A year behind what's funny
  • 210
Would this mainhall mod thing for FS1 also play the mainhall music from fs1 (assuming that we have the fs1 warble of course)?
"The reason for this is that the original Fortran got so convoluted and extensive (10's of millions of lines of code) that no-one can actually figure out how it works, there's a massive project going on to decode the original Fortran and write a more modern system, but until then, the UK communication network is actually relying heavily on 35 year old Fortran that nobody understands." - Flipside

Brain I/O error
Replace and press any key