Author Topic: Things to do in the source code  (Read 19641 times)

0 Members and 1 Guest are viewing this topic.

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Things to do in the source code
A short list of things and features that I consider to be worth working on. I'll categorize them based in my personal and completely biased estimation of how hard or desirable they are. Please add your own suggestions, but please be aware that at this moment, the only people working on this are me and Echelon9, so don't expect the same sort of turnaround we manage in FSO.

Short term goals:
1. Convert the List and Text utility classes to their STL equivalents (std::string and std::vector/std::list respectively).

2. Make the mission editor more powerful. It already has an event manager, and I think that it may be worthwhile to add more commands there.

3. Sort of related to 2, investigate options to include a scripting language. If at all possible, I want to use a preexisting scripting language like Lua or Python.

4. Create an OpenGL renderer. This is my personal pet project. It's either that, or learning how to DirectX, and I am not too keen on doing that.

5. Use Collada dae as a native model format in addition to the proprietary .mag format used now.

Long term goal:

Make Starshatter cross-platform. I am really going to need help on this, as my POSIX fu is rather weak.
« Last Edit: June 04, 2012, 06:18:36 am by The E »
Let there be light
Let there be moon
Let there be stars and let there be you
Let there be monsters and let there be pain
Let us begin to feel again
--Devin Townsend, Genesis

 

Offline Talon 1024

  • 29
  • How do you turn this on?
    • Mods, Games, and Stuff
Re: Things to do in the source code
...Please add your own suggestions...
Fix the bugs in Starshatter vanilla, of course. :)

Good luck to you guys.
To understand religion, you need to understand morality first. | WCSaga website | WCSaga Forum | 158th website | 158th forum | Project Leader: WC: Hostile Frontier | WCHF Thread at CIC | Wing Blender | Twist of Fate | Multipart turrets on angled surfaces, tutorial included. | My Google Drive stuff | To convert speeds from WC to WCS, multiply both the cruise speed and the Afterburner speed by 0.15625 (5/32)

FS2 Mods I'm waiting on: Inferno 10th Anniversary
Current Project: Contestant Android app, Learn4Life iOS app, Blender Commander (importer).
The FreeSpace Font Foundry is back in action!

 

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Things to do in the source code
Well, yes. Would help if someone could put those on the Google code bugtracker.
Let there be light
Let there be moon
Let there be stars and let there be you
Let there be monsters and let there be pain
Let us begin to feel again
--Devin Townsend, Genesis

 
Re: Things to do in the source code
Will switching to OpenGL fix the z-buffer issues? When I converted the Solaris it wasn't so much z-fighting but rather z-thunderdome grudge match.
Did you hear that fellas? She says I have a Meritorious Unit.

 

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Things to do in the source code
Depends in what is causing it. Personally, I believe that's caused by Starshatter's stencil shadows, but I am not sure at this point. My main reason for wanting to do an ogl renderer is that I am much more familiar with it.
Let there be light
Let there be moon
Let there be stars and let there be you
Let there be monsters and let there be pain
Let us begin to feel again
--Devin Townsend, Genesis

 

Offline Thaeris

  • Can take his lumps
  • 211
  • Away in Limbo
Re: Things to do in the source code
Should this be fused with the "Roadmap" topic, seeing as this is basically the same thread with a different title, or vice-versa?
"trolls are clearly social rejects and therefore should be isolated from society, or perhaps impaled."

-Nuke



"Look on the bright side, how many release dates have been given for Doomsday, and it still isn't out yet.

It's the Duke Nukem Forever of prophecies..."


"Jesus saves.

Everyone else takes normal damage.
"

-Flipside

"pirating software is a lesser evil than stealing but its still evil. but since i pride myself for being evil, almost anything is fair game."


"i never understood why women get the creeps so ****ing easily. i mean most serial killers act perfectly normal, until they kill you."


-Nuke

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Things to do in the source code
naw

 

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Things to do in the source code
Not really, because I want the actual roadmap to be in the very first post, not buried somewhere down on page 1 or 2.
Let there be light
Let there be moon
Let there be stars and let there be you
Let there be monsters and let there be pain
Let us begin to feel again
--Devin Townsend, Genesis

 

Offline braddw25

  • Moderator
  • 26
Re: Things to do in the source code
One thing that I just noticed is that under the graphics options menu there is an option to increase the max texture size to 4096x4096. I honestly don't recall if that option was there in the stock game or if it has been added by the source code team. The problem though is that if I select that option it causes the game to crash. I was hoping that this could possibly be fixed. The reason is that I've been experimenting with seeing how huge a starship the game can render nicely. If you make a starship that gets much over 25km in length, the textures start to look bad with a shimering kind of shadowy effect. The larger you can make the texture file though, the better it looks. So far I haven't been able to use anything over 2048x2048 so I"m thinking if the larger texture size were permitted without crashing, it might make HUGE starships more feasible.

 

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Things to do in the source code
Please locate the file called errlog.txt (should be in your starshatter folder), and post it here.
Let there be light
Let there be moon
Let there be stars and let there be you
Let there be monsters and let there be pain
Let us begin to feel again
--Devin Townsend, Genesis

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Things to do in the source code
Can't get anything larger than 2048² ? First guess is that you're stuck on an intelgrated or equivalently sucky card.
People are stupid, therefore anything popular is at best suspicious.

Homeworld: Blue Planet     -     Help us help you     -     FSO Installer     -     BP extras portal     -     My legacy

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline Thaeris

  • Can take his lumps
  • 211
  • Away in Limbo
Re: Things to do in the source code
I recall that the 4096 x 4096 max texture size was always there. I'm certain I've also heard that the largest textures used by the game were 2048 x 2048 as well - thus, the higher texture size is an unused development in the retail game for all I can tell. Being unused, it may also thus not have needed to be stable.

Is it possible, Brad, that your settings files have manually been set to read-only? This would override changes made in the GUI settings menu if memory serves me well.
"trolls are clearly social rejects and therefore should be isolated from society, or perhaps impaled."

-Nuke



"Look on the bright side, how many release dates have been given for Doomsday, and it still isn't out yet.

It's the Duke Nukem Forever of prophecies..."


"Jesus saves.

Everyone else takes normal damage.
"

-Flipside

"pirating software is a lesser evil than stealing but its still evil. but since i pride myself for being evil, almost anything is fair game."


"i never understood why women get the creeps so ****ing easily. i mean most serial killers act perfectly normal, until they kill you."


-Nuke

 

Offline braddw25

  • Moderator
  • 26
Re: Things to do in the source code
Can't get anything larger than 2048² ? First guess is that you're stuck on an intelgrated or equivalently sucky card.

That is very possible due to the fact that I am not at home and am using my laptop which does have a lower end integrated video card. I will have to try it out on my gaming computer at home. Thanks!!

 

Offline braddw25

  • Moderator
  • 26
Re: Things to do in the source code
I have tried without success to replicate the crash from before. It may have been caused by something else besides setting the texture limit. At this point it looks like on my computer the game is resetting itself to 2048x2048 as soon as I leave the options screen. The video.cfg file has 4096 listed as the max texture, but in game if I go back into options it is set at the lower setting. It could be simply due to the limitations of my laptop. I will be home tomorrow so I can try it on my much better equipped gaming system.

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Things to do in the source code
If you'd just tell us your computer specs, that would settle the problem.
People are stupid, therefore anything popular is at best suspicious.

Homeworld: Blue Planet     -     Help us help you     -     FSO Installer     -     BP extras portal     -     My legacy

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Things to do in the source code
In addition, please post the errlog.txt file.
Let there be light
Let there be moon
Let there be stars and let there be you
Let there be monsters and let there be pain
Let us begin to feel again
--Devin Townsend, Genesis

 

Offline braddw25

  • Moderator
  • 26
Re: Things to do in the source code
In addition, please post the errlog.txt file.

Its kind of long, but here it is.

[attachment deleted by a ninja]

 

Offline braddw25

  • Moderator
  • 26
Re: Things to do in the source code
If you'd just tell us your computer specs, that would settle the problem.

Didn't know you wanted them. All you had to do was ask.



[attachment deleted by ninja]

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Things to do in the source code
Hum. Do I fail at reading SS logs or do they not list the GPU used ? That's something that should be added IMHO.

EDIT: And yeah, I am not good with hardware but from what I quickly googled it doesn't seem that ATI Radeon Xpress can render above 2048² stuff.

EDIT2: Irrelevant to the issue at hand, but ogad, SS uses pcx D:
« Last Edit: June 04, 2012, 05:23:49 am by MatthTheGeek »
People are stupid, therefore anything popular is at best suspicious.

Homeworld: Blue Planet     -     Help us help you     -     FSO Installer     -     BP extras portal     -     My legacy

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Things to do in the source code
The R300 chip (which this is based on) certainly can't.  At least based on the fact that the R420 (which my old X1250 was based on) couldn't.
Let there be light
Let there be moon
Let there be stars and let there be you
Let there be monsters and let there be pain
Let us begin to feel again
--Devin Townsend, Genesis