cocolabs / pz-zmod Goto Github PK
View Code? Open in Web Editor NEWZomboidMod is compact mod development environment for Project Zomboid.
License: MIT License
ZomboidMod is compact mod development environment for Project Zomboid.
License: MIT License
Image thumbnail files like Thumbs.db
should be included in .gititnore
rules.
Reproduction Steps:
The current project README
does not give any information on what this project is about, it is a template for building a mod.
This version of the readme should be the one included in the distribution, but the repo one should be instructional.
Create IDEA Discord rich presence configuration so users can display their modding activity.
This seems like a very useful tool for modders that deal with tiles:
https://github.com/BrianOstrander/pz-sheeter
It is licensed under MIT so there are no problems with permissions.
This exception occurs because the decompiler jar
distributed with IntelliJ IDEA has been compiled with a higher Java version.
Stacktrace:
java.lang.UnsupportedClassVersionError: org/jetbrains/java/decompiler/main/decompiler/ConsoleDecompiler has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)
Error: A JNI error has occurred, please check your installation and try again
It's time for this project to start keeping a changelog.
Suggestion: Place a disclaimer/comment on the tooltip.
IntelliJ IDEA run configurations should be automatically generated by Gradle.
Currently the setup is relaying on users to properly set their JDK in project properties. This can be improved by using gradle toolchains which allow us to properly designate which JDK we want the project to use. If the designated JDK is not installed locally, it will be downloaded, automating things for users.
Create a task that automatically generates project changelog with github-changelog-generator.
IntelliJ IDEA search scopes should be automatically generated by Gradle.
Running with fresh install and default settings against build 41 gives an error like:
zombie/Lua/LuaManager has been compiled by a more recent version of the Java Runtime
Changing the following line in zdoc.gradle (176):
languageVersion = JavaLanguageVersion.of(8)
to
languageVersion = JavaLanguageVersion.of(15)
fixes the issue for me. Not sure if 15 is the right version to pick but it gets the job to run happily and autocomplete works like a charm.
Project properties that define repository information for generateChangelog
task need to be automatically configured from user input. The best way to get repo.owner
and repo.name
would be from url
property in mod.info
file.
Tasks that need to be executed in a particular order to create a dev environment from scratch should be executed under a single task to make it easier for new users to set everything up with just running one or two gradle tasks.
Gradle auto-build action fails when refreshing build before initializing mod properties.
FAILURE: Build failed with an exception.
* Where:
Script 'C:\Users\Yooks\Documents\GitHub\project-zomboid\pz-zmod\setup.gradle' line: 35
* What went wrong:
A problem occurred evaluating script.
> Unable to find local project property gameDir
IDEA path variable $PZ_DIR_PATH
needs to be set in order to launch game via run configurations.
This should be documented in Setup
section of README.md
.
Link to cocolabs.gradle
gist is no longer valid.
ZomboidMod should store the current version of ZomboidDoc and run all associated tasks when dependency updates version.
Task :zomboidVersion
game version:
gameversion41.50-IWBUMS
Write a task that creates basic mod structure.
This task should be included in initializeMod
task.
Search scope mod-lua
is being created twice in two different files.
Current distribution is not including ZomboidMod README.md
or LICENSE.txt
. Distribution should not be a out-of-the box template, but rather have a task to set it up which can be included in an existing run configuration.
Hi everyone, when launching the gradle task "setupWorkspace" it is unable to conclude due to the error reported here:
Execution failed for task ':compileZomboidLua'.
Process 'command 'C:\Program Files\Java\jre1.8.0_311\bin\java.exe'' finished with non-zero exit value 1
Any suggestions?
The mods I have installed via Steam are not appearing in the mods menu.
It should be noted that the game has three directories for mods: Local-Mods, Workshop-Upload, and Workshop-Download.
Local-Mods
= C:\Users\<name>\Zomboid\mods
Workshop-Upload
= C:\Users\<name>\Zomboid\Workshop
Workshop-Download
= D:\Steam\steamapps\workshop\content
Creating mod distributions should be automated with gradle distribution plugin.
There are currently tasks that assemble classes (mediaClasses
) and resources (processMediaResources
), they just need to be packed together with other content in a distribution archive.
Task decompileZomboid
should have an option to decompile single classes.
Write a task that would initialize local properties with user input.
Using the lighter to set fire to Literature items such as newspapers, magazines, books etc when they are place on the floor in front of player
Decompiled sources do not match bytecode for output of zomboidClasses.
When sources are attached to classes in a jar that resulted as output from zomboidJar the error does not occur.
Mod properties should not have to be manually updated by users.
They should be able to provide values for each property through console inputs.
FAILURE: Build failed with an exception.
* Where:
Script 'D:\Projects\Mod\ProjectZomboid\pzarcade\distribution.gradle' line: 5
* What went wrong:
A problem occurred evaluating script.
> Could not get resource 'https://git.io/JqJiC'.
> Could not GET 'https://git.io/JqJiC'.
> Connect to git.io:443 [git.io/128.242.240.218, git.io/2a03:2880:f10a:83:face:b00c:0:25de] failed: Connection timed out: connect
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 42s
Project Zomboid supports modular mod structures for Steam workshop mods.
Each mod uploaded to the workshop can contain other mods that can then be toggled on and off in the game mod menu.
Currently zmod
does not support this modular structure and some features will not work.
Developing mods built with gradle under VCS for the Steam workshop is difficult as everything located in the workshop staging area gets pulled and packaged as part of the mod. This includes project build, config and VCS files.
To resolve this, distributions installed with installDist
should be synced with the designated Steam workshop directory to allow modders to keep their mod dev environment separate from workshop directory.
Distribution is generated without gradle-wrapper.jar
.
Property game_version
defined in gradle.properties
should be dynamically set according to actual game version.
We can use version
command from ZomboidDoc to get current game version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.