YSFlight Source Code Released!

News, announcements, updates, & more regarding YSFlight & YSFHQ
User avatar
YSFHQ
Staff Chief
Staff Chief
Posts: 248
Joined: Wed Apr 18, 2012 3:31 pm
Favorite Aircraft: All of them.
Has thanked: 1 time
Been thanked: 126 times
Contact:

YSFlight Source Code Released!

Post by YSFHQ »

Image


YSFlight is now open-source!

As of August19th, 2022, we're pleased to share the news that our friend CaptainYS has released the source code of YSFlight! After a small group of the community approached him about the possibility of growing the simulator we've all grown to love, CaptainYS has graciously opted to ultimately release the source-code of YSFlight 2018! On behalf of the YSFHQ Staff and the YSFlight community at large, we'd like to extend our thanks to CaptainYS for his devotion to the project for over 23 years. We're also forever thankful that he's allowed the general public a chance to see into the inner-workings of the simulator and opened the gates for new, community-driven editions of the YSFlight platform.


Access the source-code here.


With source-code now available and CaptainYS allowing further community releases, a team of community members plan to address known bugs implement suggestions from the community. Expect updates as work begins.
User avatar
HawkbitAlpha
2nd United Combat Wing
2nd United Combat Wing
Posts: 950
Joined: Thu Jun 23, 2011 6:08 am
Favorite Aircraft: Tristar, F-5 family
Location: Jackson, MS
OS: Imprisoned in Win11
Has thanked: 226 times
Been thanked: 267 times
Contact:

Re: YSFlight Source Code Released!

Post by HawkbitAlpha »

YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE BOOOOOOOOOOOOOOOOOOOOOOOOOIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

Last edited by HawkbitAlpha on Sat Aug 20, 2022 2:26 am, edited 1 time in total.
Image
Image

Manager, Host, Pilot @ VCAP Aerobatics | 2021-Present
"Wedge", CO @ 2nd United Combat Wing | 2020-Present
User avatar
FreezingFalcon
Contributor
Contributor
Posts: 488
Joined: Sun Jul 14, 2013 3:48 am
Favorite Aircraft: F/A-18, F-35, TBM 900 es, all Boeing airlinersseri
Has thanked: 836 times
Been thanked: 371 times

Re: YSFlight Source Code Released!

Post by FreezingFalcon »

Image
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: YSFlight Source Code Released!

Post by u2fly »

YSFHQ wrote: Sat Aug 20, 2022 12:37 am YSFlight is now open-source!
Thank You, 'CaptainYS'!

Finally this is not a joke anymore.

U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
ImKal_
Newbie
Newbie
Posts: 1
Joined: Sun Aug 07, 2022 5:30 pm
Favorite Aircraft: Concorde
OS: Win11, Pop OS Linux

Re: YSFlight Source Code Released!

Post by ImKal_ »

YESSIR, FINALLY
Hello there :D
User avatar
Mustang
Rookie
Rookie
Posts: 99
Joined: Tue Feb 16, 2021 9:44 pm
Favorite Aircraft: F-16C Fighting Falcon(Block30)
Location: Amarillo, Texas
OS: Windows 11, 64Bit
Has thanked: 81 times
Been thanked: 23 times

Re: YSFlight Source Code Released!

Post by Mustang »

This Opens the Door to So Many things with YS being Open source now, This has been a long time coming!
Image
VCAP Aerobatics Staff (2023-)
YSACC F-15C Eagle Demo Team(2023-)
YSFlight F-14 Tomcat Demo Team (2023-)
2UCW Mambas Trainee(2021-)
User avatar
Copperhead
Veteran
Veteran
Posts: 1164
Joined: Tue Jun 18, 2013 7:00 pm
Favorite Aircraft: YF-23A Black Widow II
Location: Alabama
OS: Windows 10 now.
Has thanked: 438 times
Been thanked: 136 times

Re: YSFlight Source Code Released!

Post by Copperhead »

Image
Image

^The Happy Murican^

<BoH
User avatar
In Revolt
Rookie
Rookie
Posts: 34
Joined: Tue Jun 18, 2019 11:58 pm
Favorite Aircraft: F-117
OS: Linux
Has thanked: 24 times
Been thanked: 49 times

Re: YSFlight Source Code Released!

Post by In Revolt »

Successfully compiled under Win10 and under Linux.
Everything looks normal except that there are white lines at the edges of a joystick-throttle-rudder model.Lines appear in any compiled exe win32 win64 linux64.Any ideas why this happened?
Attachments
2.png
1.png
User avatar
waspe414
Staff
Staff
Posts: 1581
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: Kiowa, Mitten, Hornet
Location: Canada
Has thanked: 154 times
Been thanked: 506 times

Re: YSFlight Source Code Released!

Post by waspe414 »

Looks like it's rendering the wireframe for them as well as the faces
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: YSFlight Source Code Released!

Post by u2fly »

waspe414 wrote: Wed Aug 24, 2022 3:30 pm Looks like it's rendering the wireframe for them as well as the faces
Anybody digs into code where such option could be switched OFF before/during compile process?
In Revolt wrote: Wed Aug 24, 2022 12:36 pm Successfully compiled under Win10 and under Linux.
May you write detailed step-by-step compiling instruction for Windows? (with listing all dependencies)

Also would be good if someone may add step-by-step built instruction for Mac.

Build instruction for Linux users (Ubuntu 20.04 / Debian 11)
  1. Check & Install build requirements (dependency packages):

    Code: Select all

    cmake libx11-dev libgl-dev libglu1-mesa-dev libasound2-dev libpulse-dev python-is-python3
  2. In your working directory open terminal and do next:

    Code: Select all

    git clone https://github.com/captainys/public.git
    git clone https://github.com/captain/YSFLIGHT.git
    cd YSFFLIGHT
    mkdir build
    cd build
    cmake ../src
    cmake --build . --config Release --parallel
    
  3. Backup old game data stored in `~/Documents/YSFLIGHT.COM/` (from previous YSFlight installs).
  4. Empty `~/Documents/YSFLIGHT.COM/` directory (to prevent conflicts with latest version).
  5. Copy contents of `./YSFLIGHT/build/main/` to `~/Documents/YSFLIGHT.COM/` — and run `ysglight64_gl1` (OpenGL1.x) or `ysflight64_gl2` (OpenGL2).
    NOTE: If you need CLI-server executable (`ysflight64_nownd`), copy it from `/YSFLIGHT/build/main/build/main_consvr/` to `~/Documents/YSFLIGHT.COM/`.

U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
MD5Ray01
Veteran
Veteran
Posts: 729
Joined: Mon Mar 25, 2013 11:17 pm
Favorite Aircraft: A-10A Thunderbolt 2
Location: Skyway Air Base, home of the 345th TFW
OS: Windows 10
Has thanked: 349 times
Been thanked: 103 times
Contact:

Re: YSFlight Source Code Released!

Post by MD5Ray01 »

This brings forth a world of possibilities for YSFlight.
ImageImage
Image
"Everything's better when inverted" - me, 2015
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: YSFlight Source Code Released!

Post by u2fly »

MD5Ray01 wrote: Sat Sep 03, 2022 4:10 pm This brings forth a world of possibilities for YSFlight.
My old YSFlight features wish-list: viewtopic.php?f=137&t=8505

U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
MrMofumofu
Newbie
Newbie
Posts: 1
Joined: Sat Aug 27, 2022 9:51 am
Favorite Aircraft: MiG-29K / Su-33
OS: Arch Linux
Been thanked: 5 times

Re: YSFlight Source Code Released!

Post by MrMofumofu »

Hi all. I'm back.

Before leaving here, I developed ExportSRF( https://github.com/pasutisu/ExportSRF ) but I retired development for some reason.
But my local friends are wished add some functions long time so I forked Captain's code and add it.

Now I'm proceeding to develop new weapons and refined dogfight ai, and other functional are scheduled.

Sadly I don't have enough time to receive feature request publicly and maitainance and support pre-build binary.
But if you are C/C++ developer, it will be bit help for development.

https://github.com/pasutisu/YSFLIGHT
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

Re: YSFlight Source Code Released!

Post by Flake »

Well that's interesting... 8-)
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: YSFlight Source Code Released!

Post by u2fly »

Flake wrote: Fri Sep 09, 2022 9:46 am Well that's interesting... 8-)
:idea: :arrow: https://github.com/captainys/YSFLIGHT/network

U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
C05MIC
Rookie
Rookie
Posts: 54
Joined: Tue Mar 26, 2013 1:30 am
Favorite Aircraft: F-15S/MT Eagle+
Location: ELECTROSPHERE
Has thanked: 38 times
Been thanked: 12 times

Re: YSFlight Source Code Released!

Post by C05MIC »

After many years of being MIA and having a hunch to visit the forum I can honestly say best news I've heard for 10 years, now I can't wait to see how far this platform goes with dev and ofcourse capability

Gonna share a little bug that I found out awhile back on the 2015 version if you open up obs the frames per second shoot up to 64fps don't know why but that's just my 2 cents.

Also optimization so we can have better in sim performance would be fantastical lol


Thanks Captain YS for your donation and contribution to these many years
ELECTROSPHERE IS THE FUTURE......

MESSAGE TERMINATED.....
User avatar
Eerie
Newbie
Newbie
Posts: 1
Joined: Tue Sep 13, 2022 4:51 pm
Favorite Aircraft: X-15
OS: Windows 11

Re: YSFlight Source Code Released!

Post by Eerie »

Late but,Awesome.
Image

Ramjets are Awesome.
User avatar
NajmiCreative
Modding Team
Modding Team
Posts: 787
Joined: Thu Sep 04, 2014 9:14 am
Favorite Aircraft: MiG-29N,SU-30 MKM
Location: Shah Alam,Selangor,Malaysia
OS: Windows 10 Home
Has thanked: 518 times
Been thanked: 513 times
Contact:

Re: YSFlight Source Code Released!

Post by NajmiCreative »

holy smokes

YSF source code is here
My official website
My Twitter NOTE:All my rework model are allowed for repaint and need to credit on publish..no need to PM me anymore
[align=center]for modifications on my mods,please PM me first,and credit me and original creator(if my work were rework)[/align]
User avatar
ROKAF-15
Newbie
Newbie
Posts: 25
Joined: Tue Sep 20, 2022 6:01 am
Favorite Aircraft: F14 tomcat,F15K slameagle
Location: South korea, seoul
OS: Window 10
Has thanked: 7 times
Been thanked: 4 times
Contact:

Re: YSFlight Source Code Released!

Post by ROKAF-15 »

Now ysflight is opensource!
DarkestHour
Newbie
Newbie
Posts: 8
Joined: Mon May 21, 2018 12:29 pm
Favorite Aircraft: Anything that flies
Location: England
OS: Win10
Has thanked: 13 times
Been thanked: 7 times

Re: YSFlight Source Code Released!

Post by DarkestHour »

This is a source code kind of request I guess but I was wondering if its possible (for a creator) to be able to modify the default solid/flat clouds so that anyone could adjust said clouds to any height, in a similar way to the overcast layers when specifying flight environment.

You could then have more possible weather scenarios. E.g. you could have solid clouds with base height at 3000 ft, to represent low cumulus clouds scudding along! Would be pretty cool.
''Ebony & ivory, live together in perfect harmony, side
by side on my piano keyboard, oh lord, why don't we''
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests