still crashes
43873 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain - java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: 1 error(s) while compiling unit "data/scripts/TTSC_modPlugin.java"
at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:226)
at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:178)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 2 more
Caused by: org.codehaus.commons.compiler.CompileException: 1 error(s) while compiling unit "data/scripts/TTSC_modPlugin.java"
at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:326)
at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:224)
... 5 more
just in case you want to run a secondary Linux as a dual windows bootable and want one that also plays games:
I use
EndeavourOS, an Arch based distro, like what Valve/Steam uses for its Steam deck.
as desktop (Linux has many)
KDE Plasma (just like Valve does). steam games run flawlessly with most of the games I play.
good thing about EndeavourOS is that the installation will *actually ask* you where to put the boot loader... I'd always recommend putting linux dual boot not on the windows ssd, cause a reinstallation of windows could delete the boot loader, but unless you do that, it'll be fine. Linux never touches Windows or messes with it.
but you can read and write to windows drives under Linux, just not vice versa.
at install of EndeavourOS, choose KDE Plasma, and when you're asked if you want to use systemd for boot or Grub. choose Grub. Grub will launch your windows or Linux, whatever you choose at system boot.
you can set the Grub boot as priority in bios, cause windows boot loader won't let you choose. it'll simply always boot windows.
fyi: when you take out your Linux ssd and put it into another computer, your system will just work. cause all drivers are baked into the kernel. you never install drivers in Linux (I at least never needed to).
if you take out a windows ssd, it'll not work in another computer as a system at least.
EndeavourOS, KDE Plasma, Grub after install
after install, open the terminal
sudo pacman -Syu (updates everything)
then: sudo pacman -S discover for the graphical KDE package manager /app store that's not installed by default.
a lot of programs are available as flatpaks. self-contained, isolated programs. they will not clog up the system cause they're not installed per se.
usually, you need an Arch version of a program for Arch, a Debian for Debian and so on. flatpaks run on any Linux distro. so that's a big advantage.
flathub dot org. there are flatpak versions of firefox and steam and so on. to install flathub,
sudo pacman -Syu
then
sudo pacman -S flatpak
then lastly
flatpak remote-add --if-not-exists flathub (this part is a link to the repo, but I did not want to post links here. the line is on flathub in the description)
from then on you have a graphical 'app' store like experience when you open discover.
and if you never want ads again on twitch or youtube, install in firefox addons: NoScript and uBlock Origin. they're not ad blockers. they block the connection to the source. and prohibit scripts you don't want and don't spy on you, like ad blockers do
you need to allow very little usually to get a website to work fine. e.g. on twitch you only need to allow twitchcdn.net and twitch.com in noscript.
I can have hundreds of tabs open like this. did I mess up? the file looks like this:
package data.scripts;
import com.fs.starfarer.api.BaseModPlugin;
import com.fs.starfarer.api.Global;
import com.fs.starfarer.api.PluginPick;
import com.fs.starfarer.api.campaign.CampaignPlugin;
import com.fs.starfarer.api.campaign.econ.MarketAPI;
import com.fs.starfarer.api.campaign.StarSystemAPI;
import com.fs.starfarer.api.characters.PersonAPI;
import com.fs.starfarer.api.impl.campaign.ids.Skills;
import data.scripts.world.TTSCGEN;
import exerelin.campaign.SectorManager;
public class TTSC_modPlugin extends BaseModPlugin {
public void onApplicationLoad() {
{
boolean hasLazyLib = Global.getSettings().getModManager().isModEnabled("lw_lazylib");
if (!hasLazyLib) {
throw new RuntimeException("Tri-Tac Special Circumstances LazyLib!"
+ "\nGet it at
http://fractalsoftworks.com/forum/index.php?topic=5444");
}
boolean hasMagicLib = Global.getSettings().getModManager().isModEnabled("MagicLib");
if (!hasMagicLib) {
throw new RuntimeException("Tri-Tac Special Circumstances requires MagicLib!" + "\nGet it at
http://fractalsoftworks.com/forum/index.php?topic=13718");
}
}
}
public void onGameLoad(boolean newGame) {
}
}