Starsector game icon4/30/2023 ![]() ![]() This is an organization thing if there are two Java files The first step is to change the package of our code.See that in src, we have author.modname as the package (which matches the folder path src/author/modname). Stepping on each others' toes, so to speak. Now you have a template that works, but we need to personalize it so multiple people can use the template without It's also possible to edit this in File -> Project Structure -> Libraries, but for editing en masse, editing the xml directly is simpler.It should be fairly clear what needs to be fixed any path that's pointing to the default game installation should be changed to point to wherever you have it installed. If you did install to the default location, skip to the next part. If your game isn't installed to C:\Program Files (x86)\Fractal Softworks\Starsector then we need to fix some more file paths. "I didn't install the game to the default location" Dcom.fs.=true com.fs.starfarer.StarfarerLauncher ![]() server -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 =./native/linux -Xms1536m -Xmx1536m -Xss2048k -classpath janino.jar:commons-compiler.jar:commons-compiler-jdk.jar::starfarer_obf.jar:jogg-0.0.7.jar:jorbis-0.0.15.jar:json.jar:lwjgl.jar:jinput.jar:log4j-1.2.9.jar:lwjgl_util.jar:fs.sound_obf.jar:fs.common_obf.jar:xstream-1.4.10.jar -Dcom.fs.=./saves -Dcom.fs.=./screenshots -Dcom.fs.=./mods -Dcom.fs.=. If you are running on linux, the VM Arguments should instead be You should now be able to choose Run Starsector from the Run menu and then click the Debug button (the icon By default, they are set for a typical WindowsĬlick Ok. Set Working directory to the location of your starsector-core folder, if different than what's currently there.Ĭheck other values to make sure they fit your Starsector install. In IntelliJ, click Run - Edit Configurations. Using JDK 8 (1.8) or higher may have slightly faster compile times, but is otherwise the same as using JDK 7 (1.7).Įnsure that your run configuration is correct:.Otherwise, download JDK 7, extract it anywhere, and set it as the SDK.You can also download an SDK from this dropdown, if the Download option is provided. This can be 1.7 (aka 7), 1.8 (aka 8), or higher. Ensure that the Language Level is set to 7.Open File -> Project Structure -> Project.IntelliJ Configuration Set your SDK (the thing that compiles the Java code) Latest version of IntelliJ is 2022.2 as of writing. Written for IntelliJ Community ( free download), but should work with any IDE. When you are done, you will have a mod that does nothing, but is ready for anything to be added. starsector.sh.This is a template for a generic Starsector mod using Java. To run the Linux version, unzip the file, cd starsector, and then run. Processor: Hard to say exactly, but nothing fancyĪfter you’ve preordered and received your activation code, download Starsector for your OS of choice using one of the links below.Graphics: Minimum 1280×768 resolution, 512 MB video memory.OS: Windows, Mac (OS X 10.7 or higher), or Linux. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |