Homebrew RELEASE Yet another XCI Cutter (Multiplatform, written in Java)

noX1609

B9S freak ;)
Member
Joined
Aug 30, 2016
Messages
477
Trophies
0
Age
33
XP
501
Country
Germany
Does the xci files created by this tool are fully working with SX OS? Because the other tool (xci-cutter for Windows) had problems in the past with SX OS so i thought k better ask because i‘m searching a tool to be able to split my XCI Files for using them with FAT32 Memory card.

Are there any special settings i have to make in order to make the files compatible with latest SXOS?
 

takeitfish

Member
Newcomer
Joined
Nov 15, 2018
Messages
19
Trophies
0
Age
47
XP
63
Country
Australia
Running 2.0.1 SXOS here and even tried the latest beta but I got SD card reading errors in CFW for a XCI Cutter 2.4.2 image of 7.43GB.

I'm 3.0.2 firmware atm with what I thought was an exFAT mod via PC but it might be broken.

Getting "Error: Could not find or load main class xci-splitter-win64-1.3.3-SNAPSHOT.jar"
 
Last edited by takeitfish,

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,391
Country
Germany
Try "java -jar splitter-win64-1.3.3-SNAPSHOT.jar" or double click the jar file.

Note: the -jar option is important here.
 

takeitfish

Member
Newcomer
Joined
Nov 15, 2018
Messages
19
Trophies
0
Age
47
XP
63
Country
Australia
I had the latest Java already

Aah..

Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:256)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
at org.eclipse.swt.internal.C.<clinit>(C.java:16)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:140)
at org.insanedevelopment.nx.xci.cutter.frontend.swt.XciSplitterSwtGui.open(XciSplitterSwtGui.java:60)
at org.insanedevelopment.nx.xci.cutter.frontend.swt.XciSplitterSwtGui.main(XciSplitterSwtGui.java:50)

Does this require 64bit Java?
 

takeitfish

Member
Newcomer
Joined
Nov 15, 2018
Messages
19
Trophies
0
Age
47
XP
63
Country
Australia
There is a 32bit java???? :D:D:D

In all seriousness: install a 64bit java (e.g. https://adoptopenjdk.net/releases.html#x64_win OpenJDK 8 (LTS) and HotSpot )
okie. Reason I ask is that we never use 64bit java at work - everything we need is 32bit (legacy management interfaces) because tbh java is cancer and we tend to avoid it like the plague :/

update - nah doesn't work still. I assume that doesn't have an installer? The one I got from there was just zipped. Tried running the jar with the java.exe from the package, no luck.

D:\temp4\bin>java ..\xci-splitter-win64-1.3.3-SNAPSHOT.jar
Error: Could not find or load main class ..\xci-splitter-win64-1.3.3-SNAPSHOT.jar

D:\temp4\bin>java -version
openjdk version "1.8.0_192"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_192-b12)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.192-b12, mixed mode)


Back to trying to get exFAT to work..
 
Last edited by takeitfish,

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,391
Country
Germany
okie. Reason I ask is that we never use 64bit java at work - everything we need is 32bit (legacy management interfaces) because tbh java is cancer and we tend to avoid it like the plague :/

Don't hate about java to the java developer please :glare:
I deeply feel sorry for you that you have to work with shoddy (java) software at work. Nobody should be doing that.

Also java is not bad anymore, since the java plugin is never allowed in any browser. I mean who could have thought that automatically running an executable file from a random website could be a security risk, right?

quick edit for the above post edit:

please try D:\temp4\bin>java -jar ..\xci-splitter-win64-1.3.3-SNAPSHOT.jar
 
Last edited by Insane,

takeitfish

Member
Newcomer
Joined
Nov 15, 2018
Messages
19
Trophies
0
Age
47
XP
63
Country
Australia
Ah thanks - sorry I thought I had tried with -jar initially but I think that was when the path was finding the 32bit java.exe instead.

That worked.

Yeah it's not that we use java ourselves - it's that the products we use need it often and being a security focused enterprise Java is basically a constant source of vulnerabilities. We try to remove it from all users unless they need it for some legacy management app for their old bit of hardware :/
 

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,391
Country
Germany
I also work in a enterprise with very high security and as being a java developer I constantly get annoyed about Java security issues. (I additionally have to deal with a vendor product which can only run on java 1.6). I noticed the following:

- Running java programs is as secure as running random exe files from the internet.
- Sidenote: Running random exe files from the internet is as secure as running random nsp files on your switch (like e.g. a certain pokemon game)
- 99.9% of the security issues are in making java more secure than running random exe files from the internet
- Javas browser and webstart plugin (automatically or one click running of stuff from the internet with java embedded program updater) are really bad. They want to be more secure than a random exe file, but are not.
- installing java without the browser plugin or not installing and just unzipping them poses no additional security risk (I mean you are always at risk)
 

takeitfish

Member
Newcomer
Joined
Nov 15, 2018
Messages
19
Trophies
0
Age
47
XP
63
Country
Australia
Yeh random applications of any sort are. We don't allow that - it's mandatory under the security standard we're meant to be complying with - application white listing.

Everyone is getting paranoid about security lately so we get pressured from above more than ever for any unpatched vulnerabilities.
 
Last edited by takeitfish,
  • Like
Reactions: Insane

gustaf

New Member
Newbie
Joined
May 31, 2019
Messages
2
Trophies
0
Age
28
XP
45
Country
Sweden
Hi, i have a problem.

I used this on Mac (sierra) and it does split the XCI files, but the split sizes is always 4.2 GB.

It needs to be under 4GB to work on Fat32.

Any idea why this is? Any solution?
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,877
Trophies
2
XP
29,193
Country
United Kingdom
Hi, i have a problem.

I used this on Mac (sierra) and it does split the XCI files, but the split sizes is always 4.2 GB.

It needs to be under 4GB to work on Fat32.

Any idea why this is? Any solution?
Did you try copying the files to the SD anyway? MacOS is a dick about file sizes (it's a base 2 vs base 10 thing), might actually still be the size you want.
 
  • Like
Reactions: gustaf and Insane

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,391
Country
Germany
Hi, i have a problem.

I used this on Mac (sierra) and it does split the XCI files, but the split sizes is always 4.2 GB.

It needs to be under 4GB to work on Fat32.

Any idea why this is? Any solution?

expected file size is 4294967232 bytes which is 3,9999999 GiB or 4,294967232 GB. The file needs to be smaller than 4 GiB! (the base 2 vs the base 10 thing)
Here's a relevant wikipedia entry: https://en.wikipedia.org/wiki/Gibibyte

TL;DR: do what hippy dave says :)
 

Ultimadrago

Member
Newcomer
Joined
Feb 13, 2013
Messages
19
Trophies
0
Age
32
XP
201
Country
United States
Hello! Thanks for this tool, Insane! I'm just getting into the whole deal. Question though,

What's the difference between a SX and NX Split Method?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    The snack that smiles back, Ballsack!
    BakerMan @ BakerMan: @salazarcosplay yeah cod's still up