YSFlight Source Code Released!

News, announcements, updates, & more regarding YSFlight & YSFHQ
Post Reply
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: 117 times
Contact:

YSFlight Source Code Released!

Post by YSFHQ » Sat Aug 20, 2022 12:37 am

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: 861
Joined: Thu Jun 23, 2011 6:08 am
Favorite Aircraft: Tristar, F-5 family
Location: 55 or 10 to 12
OS: Win10 Pro
Has thanked: 180 times
Been thanked: 231 times
Contact:

Re: YSFlight Source Code Released!

Post by HawkbitAlpha » Sat Aug 20, 2022 12:44 am

YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE BOOOOOOOOOOOOOOOOOOOOOOOOOIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

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

A/A Mamba #4 "Wedge", CO @ 2nd United Combat Wing | 2020-Present
Manager & Pilot @ VCAP Aerobatics | 2021-Present
Founder, EXO @ Intercontinental Airways VA | 2011-2014
Official Brony & Youtube Dude @ YSFHQ | 2020-Present

User avatar
FreezingFalcon
Contributor
Contributor
Posts: 485
Joined: Sun Jul 14, 2013 3:48 am
Favorite Aircraft: F/A-18, F-35, TBM 900 es, all Boeing airlinersseri
Location: Indonesia
OS: Windows 10 Home
Has thanked: 827 times
Been thanked: 362 times
Contact:

Re: YSFlight Source Code Released!

Post by FreezingFalcon » Sat Aug 20, 2022 1:23 am

Image
PROGRESS TO CONNECT

THANK YOU FOR KEEPING OUR DREAMS ALOFT



Visit my model airport's website at :
http://rackenvilleintl.weebly.com/

Visit 4th Aerial Wing "Scorpions"' website at :
http://fourthaerialwingscorpions.weebly.com

User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1475
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1044 times
Been thanked: 333 times
Contact:

Re: YSFlight Source Code Released!

Post by u2fly » Sat Aug 20, 2022 9:06 am

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_ » Sat Aug 20, 2022 5:44 pm

YESSIR, FINALLY
Hello there :D

User avatar
Mustang
Rookie
Rookie
Posts: 88
Joined: Tue Feb 16, 2021 9:44 pm
Favorite Aircraft: F-16C Fighting Falcon(Block30)
Location: Amarillo, Texas
OS: Windows 10, 64Bit
Has thanked: 49 times
Been thanked: 17 times

Re: YSFlight Source Code Released!

Post by Mustang » Sat Aug 20, 2022 9:19 pm

This Opens the Door to So Many things with YS being Open source now, This has been a long time coming!
Image
YSflight Spads Demo Team(2022-)
YSFlight YSACC Viper Demo Team(2022-)
YSflight Fear the Bones/Hellcat Let Loose Demo(2022-)
2UCW Mambas Trainee(2021-)

User avatar
Copperhead
Veteran
Veteran
Posts: 1160
Joined: Tue Jun 18, 2013 7:00 pm
Favorite Aircraft: YF-23A Black Widow II
Location: Alabama
OS: Windows 10 now.
Has thanked: 421 times
Been thanked: 132 times

Re: YSFlight Source Code Released!

Post by Copperhead » Sat Aug 20, 2022 11:19 pm

Image
Image

^The Happy Murican^

<BoH

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

Re: YSFlight Source Code Released!

Post by In Revolt » Wed Aug 24, 2022 12:36 pm

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: 1532
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: Kiowa, Mitten, Hornet
Location: Canada
Has thanked: 148 times
Been thanked: 488 times
Contact:

Re: YSFlight Source Code Released!

Post by waspe414 » Wed Aug 24, 2022 3:30 pm

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: 1475
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1044 times
Been thanked: 333 times
Contact:

Re: YSFlight Source Code Released!

Post by u2fly » Fri Sep 02, 2022 12:23 pm

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: 726
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: 346 times
Been thanked: 103 times
Contact:

Re: YSFlight Source Code Released!

Post by MD5Ray01 » Sat Sep 03, 2022 4:10 pm

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: 1475
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1044 times
Been thanked: 333 times
Contact:

Re: YSFlight Source Code Released!

Post by u2fly » Sat Sep 03, 2022 5:12 pm

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 » Sun Sep 04, 2022 4:34 am

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: 4374
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 860 times
Been thanked: 1279 times
Contact:

Re: YSFlight Source Code Released!

Post by Flake » Fri Sep 09, 2022 9:46 am

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: 1475
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1044 times
Been thanked: 333 times
Contact:

Re: YSFlight Source Code Released!

Post by u2fly » Sun Sep 11, 2022 8:46 pm

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: 53
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 » Mon Sep 12, 2022 3:22 pm

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 » Tue Sep 13, 2022 5:26 pm

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: 510 times
Contact:

Re: YSFlight Source Code Released!

Post by NajmiCreative » Wed Sep 21, 2022 5:10 pm

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: 9
Joined: Tue Sep 20, 2022 6:01 am
Favorite Aircraft: F14 tomcat
Location: South korea, seoul
OS: Window 10
Contact:

Re: YSFlight Source Code Released!

Post by ROKAF-15 » Sat Sep 24, 2022 10:24 am

Now ysflight is opensource!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests