Pages

duminică, 13 august 2023

News : free games on Epic Games.

... free games from Epic games.
The Epic Games platform because it comes with some good games and this week ...

sâmbătă, 12 august 2023

GAS - show appreciated videos with like it by me.

As I said, my old tutorial website is on hiatus and I am filling in blogs.
Today, an incomplete but functional script for searching in the playlist of appreciated videos with like it by me.
Create an access key in the Google Console and also enable the YouTube Data service in both the Google Console and the Editor.
Here is a script in GAS - Google Apps Script that allows you to access the playlist of videos you have liked.
function searchLikedVideos(query) {
    if (!query) {
    Logger.log('Vă rugăm să furnizați un cuvânt cheie de căutare.');
    return;
  }
  var apiKey = 'YOUR_API_KEY';

  var url = 'https://www.googleapis.com/youtube/v3/videos';
  url += '?part=snippet';
  url += '&myRating=like'; // "Like" filter
  url += '&q=' + encodeURIComponent(query); // Cuvântul cheie de căutare
  url += '&maxResults=50'; // 

  var options = {
    'method': 'get',
    'headers': {
    'Authorization': 'Bearer ' + ScriptApp.getOAuthToken(),
    'X-JavaScript-User-Agent': 'Google Apps Script',
    'X-GData-Key': 'key=' + 'YOUR_API_KEY',
    'X-YouTube-Client-Name': 'youtubeLikeI', // Numele aplicației dvs.
    'X-YouTube-Client-Version': '1.0', // Versiunea aplicației dvs.
    'X-YouTube-Developer-Key': 'YOUR_API_KEY',
    'X-YouTube-Api-Version': '3',
    'X-YouTube-Page-Cl': 'cl=3009377', // Cod unic asociat aplicației dvs.
    'X-YouTube-Page-Token': 'token=' + ScriptApp.getOAuthToken(),
    'X-YouTube-Utc-Offset': '120', // Offset-ul UTC
    'X-YouTube-Time-Zone': 'Europe/Bucharest', // Fusul orar
    'X-YouTube-Max-Upload-Rate': '20000', // Rata maximă de încărcare (în KB/s)
    'X-YouTube-Max-Download-Rate': '5000000', // Rata maximă de descărcare (în KB/s)
    'X-YouTube-Locale': 'ro_RO', // Localizarea dvs.
    'X-YouTube-Ad-Format': 'html5_1_adsense2_0'
    }
  };

  var response = UrlFetchApp.fetch(url, options);
  var data = JSON.parse(response.getContentText());

  if (data.items && data.items.length > 0) {
    for (var i = 0; i < data.items.length; i++) {
      var channel_ID = data.items[i].snippet.channelId;
      Logger.log('Channel Id: ' + channel_ID);
      var videoTitle = data.items[i].snippet.title;
      Logger.log('Video Title: ' + videoTitle);
    }
  } else {
    Logger.log('Nu s-au găsit videoclipuri "Like" pentru căutarea dată.');
  }
}

function search() {
  searchLikedVideos('theescapist');
}

function searchByKeyword() {
  var results = YouTube.Search.list('id,snippet', {q: 'like', maxResults: 25});
  for(var i in results.items) {
    var item = results.items[i];
    Logger.log('[%s] Title: %s', item.id.videoId, item.snippet.title);
  }
}
This script show the original title of the video and not that is show on YouTube browser where is translate, see : EVİNİZDE 3 PATATES VE 1 YUMURTANIZ VARSA‼️ BU KOLAY ...
The result in console log in the Editor script is this :
10:20:42 PM	Notice	Execution started
10:20:45 PM	Info	Channel Id: UCqg5FCR7NrpvlBWMXdt-5Vg
10:20:45 PM	Info	Video Title: An Unexpected Dump | Adventure is Nigh! - The Liar, The Witch and The Wartorn | S3 EP 2
10:20:45 PM	Info	Channel Id: UCXuqSBlHAE6Xw-yeJA0Tunw
10:20:45 PM	Info	Video Title: Facebook Sold me this Antivirus USB
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Now You Know with Zac and Jesse: Tesla, EVs, SpaceX, and Twitter
10:20:45 PM	Info	Channel Id: UCH91ivVTdIPZkhWi6oqeQPQ
10:20:45 PM	Info	Video Title: There's something INSANE about this..
10:20:45 PM	Info	Channel Id: UCX0JHmYdFAOr8k8xCvSc0FQ
10:20:45 PM	Info	Video Title: AI Texture Generator free online, Polycam, seamless texture maker with Blender test render
10:20:45 PM	Info	Channel Id: UC7Ln337Vpli1JHEFDks1t7g
10:20:45 PM	Info	Video Title: Signals in Godot are Amazing!
10:20:45 PM	Info	Channel Id: UCC0_trsvWYyqjZ3njunfU4Q
10:20:45 PM	Info	Video Title: Memory Management - Unity Tutorial
10:20:45 PM	Info	Channel Id: UCAvdfiv_vwTH0fw_LHvX21g
10:20:45 PM	Info	Video Title: ADEVĂRUL despre margarină! Ce spune Sorin Gadola despre ALIMENTELE INTERZISE
10:20:45 PM	Info	Channel Id: UC6nPUTO22UXVxD8uOei8BjA
10:20:45 PM	Info	Video Title: Seagate | "Just" a Hard Drive
10:20:45 PM	Info	Channel Id: UCSojAWUnEUTUcdA9iJ6bryQ
10:20:45 PM	Info	Video Title: Let's Create Our Character Controller! - Creating a Horror Game in Godot 4 Part 1 C#
10:20:45 PM	Info	Channel Id: UC1sELGmy5jp5fQUugmuYlXQ
10:20:45 PM	Info	Video Title: Building a Massive Carousel in Minecraft!
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Tesla, SpaceX, and Robots, Oh My!
10:20:45 PM	Info	Channel Id: UCAvdfiv_vwTH0fw_LHvX21g
10:20:45 PM	Info	Video Title: 3 trucuri pentru înfrânarea poftelor
10:20:45 PM	Info	Channel Id: UCjCpZyil4D8TBb5nVTMMaUw
10:20:45 PM	Info	Video Title: Unity Shader Graph - Changing Parameters in Script
10:20:45 PM	Info	Channel Id: UCggKidH56IZIGQ8SppxYn-Q
10:20:45 PM	Info	Video Title: iPad apps you NEED😍 digital reading journal | iPad pro & apple pencil
10:20:45 PM	Info	Channel Id: UCUL9n86w1_MYQmdg-aRhJDg
10:20:45 PM	Info	Video Title: KeenTools GeoTracker for Blender (Beta)
10:20:45 PM	Info	Channel Id: UCk-UHW1Q5EBJIHB4jHkVTbA
10:20:45 PM	Info	Video Title: Samsung NotePaper Screen for Tab S9 tablets (review for writing and drawing)
10:20:45 PM	Info	Channel Id: UCdWNZCe8NLVuYluV_FdGogA
10:20:45 PM	Info	Video Title: Gravelbike test TREK ALR 4
10:20:45 PM	Info	Channel Id: UCUBVVi3dFyBX0B4zUxbrw-Q
10:20:45 PM	Info	Video Title: Restoration of a rusty 30-year-old MERCEDES T1 bus / Part 1
10:20:45 PM	Info	Channel Id: UCFkyds8iRRwi64iPrVh_0AA
10:20:45 PM	Info	Video Title: #121 Protejarea tavanelor din beton chiar daca ai tavan fals
10:20:45 PM	Info	Channel Id: UCAE8fRq0xXh6gZ6d2EHYipQ
10:20:45 PM	Info	Video Title: Plajele de la Cercul Polar se bat cu cele din Seychelles! Caniculă în plină vară arctică
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Why Elon Musk chose Austin, Texas as America's boomtown
10:20:45 PM	Info	Channel Id: UCjgVg6F0nUF1707kAyzCXVQ
10:20:45 PM	Info	Video Title: Three USB C Foldable Keyboards With Trackpads
10:20:45 PM	Info	Channel Id: UC_0CVCfC_3iuHqmyClu59Uw
10:20:45 PM	Info	Video Title: The YY3568 Is An All New ARM Based SBC : DEV Board That Run Linux Or Android
10:20:45 PM	Info	Channel Id: UCjgVg6F0nUF1707kAyzCXVQ
10:20:45 PM	Info	Video Title: Three Folding Keyboards With Usb C
10:20:45 PM	Info	Channel Id: UCCQWuh2eCjq6K9aY4BrAETA
10:20:45 PM	Info	Video Title: Lost in a Lava Cave for Days Looking for a Secret Waterfall
10:20:45 PM	Info	Channel Id: UCKPLvnWhN1Qo51IDDZsmq1g
10:20:45 PM	Info	Video Title: SparkFun 20th Anniversary: Jennifer Mullins
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Astronaut Shortage Uncovered: The Surprising Truth
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: How This Gamer Turned Virtual Money into 40K for Wildfire Relief
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: TOP 3 ways a rocket launch can FAIL #starship #rocket #rocketlaunch
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Elon Musk's superpower
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: I drove the original #tesla #roadster
10:20:45 PM	Info	Channel Id: UCOALNiNsBtmONJGCw-SCfgA
10:20:45 PM	Info	Video Title: Godot 4.0: Metadata Demonstration
10:20:45 PM	Info	Channel Id: UChdrIsYOHZXgEyCLaOHc2Ew
10:20:45 PM	Info	Video Title: Feţele libertăţii cu Andrei Şerban (@TVR1)
10:20:45 PM	Info	Channel Id: UCSojAWUnEUTUcdA9iJ6bryQ
10:20:45 PM	Info	Video Title: Creating a Flexable Level Loading System in Godot 4 C#
10:20:45 PM	Info	Channel Id: UCA4YUiMFaa3Wn4Rkd1UKFAw
10:20:45 PM	Info	Video Title: How to create a MENU in Godot 4.1!
10:20:45 PM	Info	Channel Id: UCTyq5-4JUA_-694Y2pNdYng
10:20:45 PM	Info	Video Title: Multiplayer in Godot 4 in 3 minutes
10:20:45 PM	Info	Channel Id: UCTyq5-4JUA_-694Y2pNdYng
10:20:45 PM	Info	Video Title: API calls in Godot 4 under 4 minutes
10:20:45 PM	Info	Channel Id: UCr-5TdGkKszdbboXXsFZJTQ
10:20:45 PM	Info	Video Title: Terrain3D - The New Terrain Engine for Godot
10:20:45 PM	Info	Channel Id: UCr-5TdGkKszdbboXXsFZJTQ
10:20:45 PM	Info	Video Title: Godot 4.1 Is Here!
10:20:45 PM	Info	Channel Id: UClARBYN-cvOBb4DhKKyjo2w
10:20:45 PM	Info	Video Title: 24) C language. Roguelike: simple AI of monsters. Movement and attack
10:20:45 PM	Info	Channel Id: UClARBYN-cvOBb4DhKKyjo2w
10:20:45 PM	Info	Video Title: Tiled GUIDE for developer (level/map editor)
10:20:45 PM	Info	Channel Id: UClARBYN-cvOBb4DhKKyjo2w
10:20:45 PM	Info	Video Title: [Solution] Issue with Unity license
10:20:45 PM	Info	Channel Id: UCX0JHmYdFAOr8k8xCvSc0FQ
10:20:45 PM	Info	Video Title: Blender Free Addon for Tree Generator - Generate Tree 3D Model
10:20:45 PM	Info	Channel Id: UC-2Y8dQb0S6DtpxNgAKoJKA
10:20:45 PM	Info	Video Title: Date Z - Announce Trailer | PS5 & PS4 Games
10:20:45 PM	Info	Channel Id: UCelXvXZDvx8_TdOOffevzGg
10:20:45 PM	Info	Video Title: Space library tour with astronomer Jonathan McDowell!
10:20:45 PM	Info	Channel Id: UCUOilIEi4sJqM8Z1W53RXZw
10:20:45 PM	Info	Video Title: Dread the Dragons! | The Vallorian Legend | Chapter 21 | Elvenar
10:20:45 PM	Info	Channel Id: UCiHVGt9LmI1SBaswRg3Ufnw
10:20:45 PM	Info	Video Title: EVİNİZDE 3 PATATES VE 1 YUMURTANIZ VARSA‼️ BU KOLAY VE LEZZETLİ PATATES TARİFİNİ HAZIRLAYIN🤌
10:20:45 PM	Info	Channel Id: UCRSx63y-VPidCrycgDS-o_Q
10:20:45 PM	Info	Video Title: [SOLVED] Bone Heat Weighting failed (Automatic Weights doesn't work in Blender)
10:20:43 PM	Notice	Execution completed

News : another video from The Escapist.

... Yes, it's a nice lineup!

News : World of Warcraft another video.

News : 20 Hunt Challenge - The Hunter Call of the Wild Gameplay.

Gource

... here is a system for evaluating the evolution of a software, in the case of DC++.
The video was generated with Gource, http://code.google.com/p/gource/

Ubisoft instagram

I don't knwow, the youtube channel of Ubisoft has another content ...

vineri, 11 august 2023

News : Deviantart website comes with low prices.

I didn't really have time to focus on the artist side, I only processed what I needed and what appeared in the development of tools in this field.
I could say that I have tested the production part towards development with open-source tools, and it is quite difficult work because it involves many rules.
Here's the news, this site known for artists has enough functionalities and enough content, here it comes with low prices.
I know most of the websites of this kind and I recommend it because it offers sales capabilities to a large number of users.
Unwrap 50% Off catafest, you’re invited to DeviantArt’s 23rd birthday! Grab a party favor and save 50% when you unwrap Core features like these: Personalize your style with Custom Sections and Profile Skins Sell Adoptables, or offer Subscriptions to your fans Schedule and submit multiple deviations at once Organize artwork with Sub-Galleries and Private Collections Give badges to art and comments you love with weekly fragment grants …and much more!

Unity 3D : How To Create Beautiful Orbs in Unity - VFX Tutorial .

News : Tennis On-Court - Trailer for PS VR2 Games PlayStation

Here is finally a good idea for a sports game, I played a little tennis and it is quite demanding, it improves your movements and it is also enjoyable...

joi, 10 august 2023

Graphics programming - Unity 3D shaders - 005.

If you working with shaders and you get this error
Shader error in '': Parse error: syntax error, unexpected TVAL_ID
Go to console area and find where is the line of source code ...
Shader error in '': Parse error: syntax error, unexpected TVAL_ID at line 15
In my case was an old defined source code ZWriteoff, after I change it with ZWrite Off the shader is compileted.

Godot : Fix error on godot 4.1.1. mono with C#.

If you want to use Godot mono with C# on Windows O.S. then you need to download it and follow the steps from the official website.
One step need to use the .NET version and sometime can have an error like this when you try to build the project:
Exception: "NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder ...
Go to your mono folder and create the GodotNuGetFallbackFolder on this path:
C:\Users\YOUR_username\AppData\Roaming\Godot\mono
I build the project and works well:
Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.54

News : Flashback 2 - New Washington Trailer .

... to New Washington, Conrad! The dystopian megalopolis awaits for you in Flashback 2, available on November 16th on the Epic Games Store!