explaingit

vanillanahida/nte-custom-bagel

19C++Audience · generalComplexity · 3/5LicenseSetup · moderate

TLDR

A Windows mod tool for the game NTE that lets players replace in-game photo backgrounds with their own images using a DirectX 11 hook.

Mindmap

mindmap
  root((nte-custom-bagel))
    What it does
      Swap photo backgrounds
      Auto-scale images
      DX11 hook injection
    How to use
      Run uploader first
      Launch game in DX11
      Press F9 to activate
    Compatibility
      720p 1080p 1440p
      CN and global servers
    Limitations
      Personal use only
      No commercial use
      DX11 mode required
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Replace the default photo backgrounds in the game NTE with your own custom images during in-game photography sessions.

USE CASE 2

Test how different image resolutions look as photo backdrops at 720p, 1080p, or 1440p in NTE without editing game files directly.

Tech stack

C++DirectX 11

Getting it running

Difficulty · moderate Time to first run · 30min

Game must be launched in DX11 mode, the hook injection step must happen before entering the game's photo-taking screen.

Personal study and research use only, commercial use is prohibited and users are asked to delete the tool within 24 hours of downloading.

In plain English

This is a Windows tool for the game NTE (known in Chinese as "Yi Huan Bei Guo") that lets players swap the photo background images displayed during the game's in-game photography feature. Instead of being limited to the backgrounds the game provides, players can supply their own images and have them appear in the photo results. The tool works by injecting into the game process using a DirectX 11 hook, which intercepts graphics calls at the system level. Because of this, the game must be launched in DX11 mode for the substitution to work. The steps are: run the uploader tool first, select your replacement image, then launch the game through its launcher with DX11 enabled. Once inside the game and in the photo-taking screen, pressing F9 activates the replacement. Pressing F9 again after taking the photo ends the session. The tool automatically scales and resizes your selected image to fit the game's expected dimensions. It works with window resolutions of 720p, 1080p, and 1440p. According to the README, it is compatible with both the Chinese server and the international server versions of the game without needing separate configurations. The disclaimer in the README states the tool is intended only for personal study and research, prohibits commercial use, and asks that users delete it from their computers within 24 hours of downloading. The repository is written in Chinese with no English translation provided. Video background replacement is listed as a planned feature that was noted as completed but not yet released at the time of writing.

Copy-paste prompts

Prompt 1
I want to use nte-custom-bagel to add a custom background to NTE photos. Walk me through setting up the tool, launching the game in DX11 mode, and pressing F9 to activate the swap.
Prompt 2
My custom image looks stretched in NTE using nte-custom-bagel. How does the tool handle scaling, and what image dimensions should I prepare for 1080p?
Prompt 3
I play NTE on the international server. Does nte-custom-bagel work without any extra configuration, or do I need to change settings compared to the Chinese server version?
Prompt 4
What is a DirectX 11 hook and why does nte-custom-bagel require launching the game in DX11 mode for the background replacement to work?
Open on GitHub → Explain another repo

← vanillanahida on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.