Jump to content

[Mod][XCL] X-Change Life Mod Loader Utility


Recommended Posts

  • 2 weeks later...
Posted

Hey, i can't run it, java installed and set as the software to open the file with but i just get the shortest blip of something opening before immediately closing.  been checking my firewalls and whatnot but nothing...

Posted
On 2/2/2024 at 9:50 PM, HighBreeder100 said:

You can just move the file into the disabled folder manually. It's what I do and I haven't had problems yet. 

 

How? There is no disabled folder. Do I need to manually create it? If so, where exactly? Root directory for the game?

Posted (edited)
On 1/25/2024 at 6:53 PM, metalhead_hr said:

The workaround that I have been using for the same issue is to open the 1.1.4 version and disable the mod and then go back into the the 1.2.0 version to correctly set mod order and install the new or updated mods.

 

Thanks for the tip. If I can ask a favour, please quote the answer you're replying to, otherwise I wouldn't have know you even replied. I only found your reply now because I happened to browse this thread for an unrelated reason.

 

Question: where can I get previous mod loader version? It's not in the downloads.

Edited by belegost
Posted (edited)

edit- i can't type [ post ] properly because this text editor always thinks it is a link -_-

 

I have another suggestion for modding feature, similar to [around].

 

For many mods, a lot of their behaviour, they just need to attach additional functionality and calculations when a scene happens. So you could implement [ post ] (maybe [pre] as well) to help that.

 

If you have a [ post ] modifier, what it will do is execute the code block inside right after the named block has run. Very similar to [around], except one does not need to have (display:_around) in the code any more. As many mods as they wish could attach the functionality to run in a list. Whereas with [around] you need a babushka doll of wrappings.

 

Certainly it doesn't replace [around], there are times you specifically need that replacement, but just post and pre functionality, I think happens more often.

Edited by mijhy
Posted (edited)
On 2/20/2024 at 8:32 AM, belegost said:

 

Thanks for the tip. If I can ask a favour, please quote the answer you're replying to, otherwise I wouldn't have know you even replied. I only found your reply now because I happened to browse this thread for an unrelated reason.

 

Question: where can I get previous mod loader version? It's not in the downloads.

Here is a link to the 1.1.4 version from the mod-loader gitgud.io release page.

https://gitgud.io/xchange-life/mod-loader/-/releases/v1.1.4

 

Version 1.2.1 was released that may fix some of the issues.

Edited by metalhead_hr
Posted
19 hours ago, metalhead_hr said:

Here is a link to the 1.1.4 version from the mod-loader gitgud.io release page.

https://gitgud.io/xchange-life/mod-loader/-/releases/v1.1.4

 

Version 1.2.1 was released that may fix some of the issues.

Glad to hear 1.2.1 does fix this, finally had time to take a look and get that resolved. In case something like this comes up again, yeah the gitgud release page works to find old versions, or if you find the "See changelog" dropdown on the LL download page, that'll let you see and download old versions.

 

And hopefully we won't have a similar issue in the future, but you can always manually move files in and out of the mods folder before you open the loader, then it'll read that folder when you open it.

Posted (edited)

cant open the file,nothing happens even tho i got java 8

 

 

 

 

Nvm

 

Creating a bat file fixed the issue   '' java -jar mod-loader-1.2.1.jar '' 

 

Edited by Caster245
  • 4 weeks later...
Posted (edited)

So why do I have to delete the mods folders when installing characters mods? Seem counterproductive to delete the mod folder that the mod loader creates...

Edited by Megumin.
  • 3 weeks later...
Posted

I tried to add new mod and this showed 

 

Modding X-Change Life.html

Restoring base state
java.util.zip.ZipException: error in opening zip file
  at life.xchange.util.FileOperationsKt.extractZipTo(FileOperations.kt:34)
  at life.xchange.ModLoaderKt.restoreOriginals(ModLoader.kt:59)
  at life.xchange.ModLoaderKt.access$restoreOriginals(ModLoader.kt:1)
  at life.xchange.ModProcessor.loadMods(ModLoader.kt:300)
  at life.xchange.GUI$loadMods$1.invoke(GUI.kt:169)
  at life.xchange.GUI$loadMods$1.invoke(GUI.kt:168)
  at life.xchange.GUI$runWithConsole$1.invoke(GUI.kt:218)
  at life.xchange.GUI$runWithConsole$1.invoke(GUI.kt:214)
 

 

Yesterday everything was fine , can someone help?

  • 2 weeks later...
Posted

I have java 8 and everything but the mod loader refuses to work, I suspect i might be having the same issue as caster245 but I have no clue how to fix it especially since the guide is seemingly wrong because i don't have a jdk file but a JRE file instead

Posted

I have tested multiple things including a fresh install of the game and the loader, I have the correct java edition but currently when ever i activated the modloader it immediately just closes itself any assistance would be greatly appreciated.

Posted
On 2/25/2024 at 10:16 AM, Caster245 said:

cant open the file,nothing happens even tho i got java 8

 

 

 

 

Nvm

 

Creating a bat file fixed the issue   '' java -jar mod-loader-1.2.1.jar '' 

 

how did you create a bat file? that is probably the cause of my issues so i was wondering what you did to fix it.

Posted
On 4/21/2024 at 11:17 PM, painfulcub said:

how did you create a bat file? that is probably the cause of my issues so i was wondering what you did to fix it.

 

 

java -jar mod-loader-1.2.1.jar  

 

Type it in notepad and change the file to run.bat

 

  • 2 weeks later...
  • 2 weeks later...
Posted
13 hours ago, storky17 said:

is there a way to change load order?

 

The load order is alphabetical. So you can change the mod name to change the loadorder. For example you could add "XCL" to a modname to move it lower, or remove the "XCL" to move it higher.

  • 2 weeks later...
Posted
On 1/30/2023 at 11:07 AM, togashikokujin said:

[XCL] X-Change Life Mod Loader Utility


This is the official utility that can be used for applying mods to the game X-Change Life

 

Find mod loader usage details here: https://gitgud.io/xchange-life/mod-loader/-/wikis/home

 

And a step-by-step guide for applying mods with this utility: https://x-change.life/wiki/docs/mods/

 

Developed by @togashikokujin who is a primary contributor to the X-Change Life project.


 

I have downloaded the game, updated Java 8. Mod loader is still showing as a winrar file. If I click some more files come up but not what that is mentioned like Mod list etc. Can anyone help me

And the dowloaded xchange life file also opens only through Chrome, Please suggest what the game has to be opened with

Screenshot 2024-05-30 125636.png

Posted
On 5/30/2024 at 3:26 AM, Sathya44 said:

I have downloaded the game, updated Java 8. Mod loader is still showing as a winrar file. If I click some more files come up but not what that is mentioned like Mod list etc. Can anyone help me

And the dowloaded xchange life file also opens only through Chrome, Please suggest what the game has to be opened with

Screenshot 2024-05-30 125636.png

First you should associate .jar files with Java, currently they are associated with WinRAR based on your screenshot.

1. Right click on mod-loader-1.2.1.jar

2. Select Properties from the context menu

3. On the Properties window, where it says Opens With: is probably saying WinRAR and next to that is a button saying Change

4. Click the Change button

image.png.29f98d3292540b105da2604672580703.png

5. On the popup menu select your Java Platform binary, exact version and name will depend on version you have

image.png.8f08c23b6b878414da1853154c2a01f0.png

6. Click on your Java version which should be under Suggested apps and then click Set default

The .jar files should now be associated with Java and look like the screenshot of the Properties window

7. Close the Properties will by click the Ok button

8. Open the file as normal which will start the mod loader program

Posted
31 minutes ago, metalhead_hr said:

First you should associate .jar files with Java, currently they are associated with WinRAR based on your screenshot.

1. Right click on mod-loader-1.2.1.jar

2. Select Properties from the context menu

3. On the Properties window, where it says Opens With: is probably saying WinRAR and next to that is a button saying Change

4. Click the Change button

image.png.29f98d3292540b105da2604672580703.png

5. On the popup menu select your Java Platform binary, exact version and name will depend on version you have

image.png.8f08c23b6b878414da1853154c2a01f0.png

6. Click on your Java version which should be under Suggested apps and then click Set default

The .jar files should now be associated with Java and look like the screenshot of the Properties window

7. Close the Properties will by click the Ok button

8. Open the file as normal which will start the mod loader program

Thanks you very, got it

 

  • 4 weeks later...
Posted

I don't know why, but I can't open the latest version of the mod loader. The other versions open fine, but the latest version won't open no matter what I do. I have the latest version of java installed and I did the troubleshooting stuff on the wiki but nothing is working.

Posted
32 minutes ago, Eros2469 said:

I don't know why, but I can't open the latest version of the mod loader. The other versions open fine, but the latest version won't open no matter what I do. I have the latest version of java installed and I did the troubleshooting stuff on the wiki but nothing is working.

Same here.

Posted
Exception in thread "main" java.nio.file.InvalidPathException: Illegal char <:> at index 2: mod-loader-1.2.4.jar
        at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
        at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
        at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
        at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
        at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
        at java.base/java.nio.file.Path.of(Path.java:147)
        at java.base/java.nio.file.Paths.get(Paths.java:69)
        at life.xchange.MainKt.main(Main.kt:125)

 

Trying to run the newest mod loader errors with the above message for me.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...