Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我想创建一款新游戏的扩展,遇到了一些问题 #17250

Open
BUCTPJP opened this issue Mar 3, 2025 · 4 comments
Open

我想创建一款新游戏的扩展,遇到了一些问题 #17250

BUCTPJP opened this issue Mar 3, 2025 · 4 comments

Comments

@BUCTPJP
Copy link

BUCTPJP commented Mar 3, 2025

I want to create an extension for Tale of Immortal. When following the tutorial to create an index.js file, I found that this game is not like regular games such as Palword, which have files with the game name-Win64-Shipping.exe, making it impossible to create. The file structure of this game is also quite different. I would like to ask how to create an extension that supports this game

Image

@IDCs
Copy link
Contributor

IDCs commented Mar 3, 2025

Hi there - it looks like Tale of Immortal is a unity game which means you can follow the same pattern as Valheim, Lethal Company, Goose Game, V Rising etc (Can't recall what other game extensions are out there). Most of those game extensions would've used the BepInEx injector rather than MelonLoader, but adding support for both isn't too complicated.

Have a look at https://github.com/Nexus-Mods/Vortex/wiki/LEGACY-Tutorial-BepInEx-Extensions-Usage if/when adding BepInEx support.

The Win64-Shipping.exe executables are generally distributed as part of a game that was developed using Unreal Engine and does not apply here. Just use guigubahuang.exe as the executable instead.

@BUCTPJP
Copy link
Author

BUCTPJP commented Mar 3, 2025

Hi there - it looks like Tale of Immortal is a unity game which means you can follow the same pattern as Valheim, Lethal Company, Goose Game, V Rising etc (Can't recall what other game extensions are out there). Most of those game extensions would've used the BepInEx injector rather than MelonLoader, but adding support for both isn't too complicated.

Have a look at https://github.com/Nexus-Mods/Vortex/wiki/LEGACY-Tutorial-BepInEx-Extensions-Usage if/when adding BepInEx support.

The Win64-Shipping.exe executables are generally distributed as part of a game that was developed using Unreal Engine and does not apply here. Just use guigubahuang.exe as the executable instead.

Okay, thank you very much for your reply. I will try again

@BUCTPJP
Copy link
Author

BUCTPJP commented Mar 3, 2025

Now, a new problem has arisen.

My extension can be recognized, but I am unable to install mods through Vortex.

Image

I noticed that the mod files for this game are placed in "Steam \ teamapps \ workshop \ content \ 1468810" instead of the regular game folder, which makes me unsure how to write the index.js file.

Image

The current situation is that when dragging the mod file into Vortex, Vortex shows that the installation was successful, but the mod has not been loaded into the game. I compared the folder structure and found that the mod file structure installed through Vortex is not the same as the structure that can be recognized by the game.

Although the official manager can install mods very well, if you want to use different mods for different saves, you need to re enable and disable mods every time you play different saves. However, I hope to manage mods flexibly through Vortex. I'm not very good at coding, can anyone write extensions for this game

@IDCs
Copy link
Contributor

IDCs commented Mar 4, 2025

Hi @BUCTPJP, you can change the target mods folder in your game registration call via the queryModPath property. As for the mod's folder structure - that is resolved through custom installers. Have a read through our wiki article which describes how you can create a game extension.

https://github.com/Nexus-Mods/Vortex/wiki/MODDINGWIKI-Developers-General-Creating-a-game-extension

If you do not feel confident in your coding abilities, try asking the community to help.

I'm afraid we simply do not have enough manpower to develop the game extension ourselves, but we're more than happy to review your code and highlight any issues before it's added to the Vortex manifest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants