Browser Extension

Cyberpunk 2077 Mods |

Browser Extension

Browser Extension Framework creates an easy entry point to add your custom Web Sites to the main browser page: “NETdir://ncity.pub”. It also gathers and shows all the vanilla sites defined as journal entries in the game’s resources.

Browser Extension Framework
by r457 & gh057

Prerequisites:
redscript
red4ext
Codeware

Installation:
– Download the main framework archive
– Extract the archive into the Cyberpunk 2077 install folder
– You can download an optional mod that allows to manually block sites by address (see instructions below)

Keep in mind that the main page is not an actual scrolling page – it imitates scrolling, so right stick won’t do anything there for console controller users! Use DPad Down and DPad Up to change pages. For KB&M users it depends on your personal settings (UI_MoveDown/UI_MoveUp actions), vanilla ones are scroll down/up with the mouse wheel and arrow down/up.

Description:
Browser Extension Framework creates an easy entry point to add your custom Web Sites to the main browser page: “NETdir://ncity.pub”. It also gathers and shows all the vanilla sites defined as journal entries in the game’s resources. New sites are pushed at the start of the homepage, the homepage is scrollable using UI_MoveDown/UI_MoveUp actions (usually bound to the mouse wheel).

To add a new site you need to create a child of BrowserEventsListener, fill the name/address/create the pages and add/init your custom site in BrowserGameController.OnInitialize – see CustomSiteExample provided with the framework (Optional files section).

You can either create your pages from scratch (manually or using Codeware custom widgets) or reuse existing vanilla templates (see CustomSiteExample).

Details:
– The system will only pass a link address to your listener if it begins with your site’s main address: use it to define all your site pages in the GetWebPage method.
– Your custom page is reparented to the root page widget with anchor set to fill – anything else is on you: correct margins, scale, processing events, etc.
– Link your pages with the LoadPageByAddress method.
– You can override vanilla sites by address as custom sites are processed first (TODO: override system needs more work, in process).

Making your site icon:
CustomSiteExample archive from Optional files contains a WolvenKit project with the raw dds icon, xbm texture and inkatlas. Icon size is 204×229.

Notes:
– Use dds as a raw source.
– Select TEXG_Generic_UI as a texture group on import, check IsGamma and VFlip.
– Select TRF_TrueColor for RawFormat and TCM_None for compression, remove all the other checkboxes.
– Didn’t test with transparency yet – might be different!

Block sites by address:
Open r6\scripts\BlockByAddress\BlockByAddress.reds with notepad and uncomment (remove // at the start) the sites you don’t want to see in-game. It’s a simple system (might do an in-game UI later) to allow people to remove useless noise, though, we do encourage other modders to try and give those sites life.

TODO:
Make the homepage an actual scrollable widget (now imitates scrolling by redrawing items)


Author: r457 and gh057
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5.00 out of 5)
Loading...

This content was uploaded by website visitors. If you notice any mistake, please let us know.


Looking for opportunities to update the Cyberpunk 2077? Then you are on the right place! We offer a wide range of various mods for even very specific requirements. Cyberpunk 2077 Browser Extension Mod help to improve a game and make it more interesting. Why not to take an offer, especially when it’s free of charge. Take a look at the descriptions and think of the ways the Browser Extension mod can help you solving the issue or becoming more efficient. Then simply click on Cyberpunk 2077 Browser Extension Mod download and follow the installation steps. If you change your mind and mods don’t appear to be as useful as expected, feel free to try other ones because there are no download limits. This few simple steps will lift your game to the upper level – what can be better that upgrading your game personally? Break all boundaries and develop your game easily. Take the best that you can and don’t look back – you must be orientated to the future and new experiences. That’s the only way to stay ahead of everything. If you see it as your goals, it’s definitely now or never!



Useful Information:
- How to install Cyberpunk 2077 Mods
- How to Create Cyberpunk 2077 Mods
- Cyberpunk 2077 Release Date
- Cyberpunk 2077 System Requirements
- About Cyberpunk 2077 Game
- Cyberpunk 2077 News

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *