Note that alterations to the YSFlight .EXE is forbidden
Post Reply
User avatar
Posts: 3748
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
Has thanked: 778 times
Been thanked: 1652 times


Post by decaff_42 » Fri Apr 06, 2018 11:16 pm

YS Chat allows you to extract chat messages from a .yfs replay file and save them as a .txt file.

Simply place the YS_Chat_v0.1.py file into a directory with .yfs files and run it. All files will be parsed, so a folder with only a few .yfs files is recommended.

Tested with Python 3.4.2. Your mileage may vary with other versions of python.
Download from BitBucket

21.26 - [XMS-121] Swiftteehhhhhh has left the airplane.
22.77 - MD5Ray01 took off ([241ST]AERO_L-39_ALBATROS)
26.79 - [XMS-121] Swiftteehhhhhh took off ([GRUNSOL/8TFS]A/F-10Z_ADVANCED_W)
29.46 - [VFA-49]Ace Lord took off ([VFA-49]B-1R_LANCER[DV3_FIREBALL)
30.37 - MD5Ray01 has left the airplane.
57.66 - ** Log-on process completed **
65.76 - MD5Ray01 took off (WW-04_WARHAWK)
97.00 - Decaff_42 took off ([VT-171]F/A-18C_HORNET)
127.50 - MD5Ray01 has left the airplane.
129.69 - MD5Ray01 took off (WW-04_WARHAWK)
135.95 - ouga8888 took off (F-15DJ_72-8090(HIKOKYODOTAI)[ICE)
143.68 - SATSUI_NO_HADO took off ([8TFS-GRUN-FGTR/ATKR]_F-15E_STRI)
153.85 - MD5Ray01 has left the airplane.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories

YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database

User avatar
Senior Veteran
Senior Veteran
Posts: 1463
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1024 times
Been thanked: 328 times


Post by u2fly » Sat Apr 07, 2018 10:40 pm

Just use it for test "test_malfunct.yfs" mission - all work like a charm! Image
So, "YS Chat" would be useful tool for missions testing/development too.

Thank you, decaff42!

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)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests