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

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,392
Country
Germany
Hi,

I don't know if this is useful for you guys, since we already have at least two other XCI cutting and trimming tools here on gbatemp I don't know if another tool in that space is actually helpful.
Anyways: There is also another simple tool for cutting XCIs available on github https://github.com/choss/java-xci-splitter/releases
Maybe someone finds it useful still.

(BTW, the other two used tools are: https://gbatemp.net/threads/xci-cutter-multiplatform-osx-linux-windows.507322/ and https://gbatemp.net/threads/xci-cutter-tool-windows.504818/ )

Version 1.3.3beta1 adds beta support for nsp splitting. Hopefully I have not broken xci splitting as I could not test that.

Version 1.4 adds splitting of nsp files for sx os. The way for tinfoil should still be available for single files only (not in batch mode).
Xci functionality is tested and seems to work.
 
Last edited by Insane, , Reason: Release 1.4

Type_O_Dev

Developer
Developer
Joined
Dec 12, 2017
Messages
683
Trophies
0
XP
1,469
Country
United States
Hi,

I don't know if this is useful for you guys, since we already have at least two other XCI cutting and trimming tools here on gbatemp I don't know if another tool in that space is actually helpful.
Anyways: There is also another simple tool for cutting XCIs available on github https://github.com/choss/java-xci-splitter/releases
Maybe someone finds it useful still.

(BTW, the other two used tools are: https://gbatemp.net/threads/xci-cutter-multiplatform-osx-linux-windows.507322/ and https://gbatemp.net/threads/xci-cutter-tool-windows.504818/ )

There is also XCI-Explorer it cuts faster than above two and also lets you clear, backup or inject certs
https://gbatemp.net/threads/xci-explorer.505528/
 

Notex

Well-Known Member
Newcomer
Joined
Mar 21, 2017
Messages
68
Trophies
0
Age
26
XP
550
Country
Australia
upload_2018-6-29_18-3-11.png


Can't resize the window in the Linux version.


Batch processing window is fine though:
upload_2018-6-29_18-4-12.png
 

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,392
Country
Germany
That is really odd. The not being able to resize was unfortunately done on purpose as the components inside do not scale when resizing the window.
The real bug is that the window shows a tad bit small.

Nevertheless I've there is now version 1.3.1 ( https://github.com/choss/java-xci-splitter/releases/tag/1.3.1 )which should have resizing enabled again as a quick fix. I hope to be able to take a better look at the linux version, when I have access to my Linux boxes again. Currently I am forced to work on Windows....

BTW: I have no access to any Mac machines unfortunately, so issue in the OSX versions are also highly appreciated.
 

Notex

Well-Known Member
Newcomer
Joined
Mar 21, 2017
Messages
68
Trophies
0
Age
26
XP
550
Country
Australia
That is really odd. The not being able to resize was unfortunately done on purpose as the components inside do not scale when resizing the window.
The real bug is that the window shows a tad bit small.

Nevertheless I've there is now version 1.3.1 ( https://github.com/choss/java-xci-splitter/releases/tag/1.3.1 )which should have resizing enabled again as a quick fix. I hope to be able to take a better look at the linux version, when I have access to my Linux boxes again. Currently I am forced to work on Windows....

BTW: I have no access to any Mac machines unfortunately, so issue in the OSX versions are also highly appreciated.

The window opens to the right size now without having to resize it. So I guess locking it from resizing bugged it out somehow lol.
 

Purple_Shyguy

Well-Known Member
Member
Joined
Nov 8, 2008
Messages
2,348
Trophies
2
Age
33
Location
Republic of Ireland
XP
4,746
Country
Is this still the best splitter tool?

Does anyone know if there's a way to get thumbnails to show on split xci's in the SX OS menu? It's just a minor inconvenience but having thumbnails is better than scrolling through titles.
 

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,392
Country
Germany
Is this still the best splitter tool?

Does anyone know if there's a way to get thumbnails to show on split xci's in the SX OS menu? It's just a minor inconvenience but having thumbnails is better than scrolling through titles.
In my opinion yes :rofl2:

Split xci should always show the thumbnail. At least in SXOS 1.1 which I was using. I believe though we moved on to using exFAT mostly.
 

bundat

¿
Member
Joined
Jul 25, 2018
Messages
456
Trophies
0
XP
481
Country
Antarctica
Just tried this on OSX
As I really prefer Java JAR programs over other things (that either require tons of dependencies in brew, or having to compile stuff yourself, etc..), unlike these things which are usually "extract and double-click" simple.

Works great, except that if you use the "Target" button, it creates a "weird filename" which includes the entire path in the final output file's filename:
a1.png


But other than that it works great!
Here's me loading up the trimmed Super Mario Party XCI (620 MB smaller):
a2.jpg
 

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,392
Country
Germany
I would ask: which games don't show up? Are they cart2 games? Do they need a higher Firmware than you have installed?

I highly doubt that the implementation of the XCI splitting is to blame, since it is quite dumb.

@bundat I will try to take a look. It's a bit hard without a mac, but apparently there are some issues in the gui framework I use...
 
Last edited by Insane,

Purple_Shyguy

Well-Known Member
Member
Joined
Nov 8, 2008
Messages
2,348
Trophies
2
Age
33
Location
Republic of Ireland
XP
4,746
Country
I would ask: which games don't show up? Are they cart2 games? Do they need a higher Firmware than you have installed?

I highly doubt that the implementation of the XCI splitting is to blame, since it is quite dumb.

@bundat I will try to take a look. It's a bit hard without a mac, but apparently there are some issues in the gui framework I use...

Im on 6.0 and SX 1.9.

Looking the games up and yeah, all the ones with missing thumbnails are Cart 2.

-Dragonball FighterZ
-Worms
-Shining Resonance
-Banner Saga etc etc

The working ones are Cart 1.
 
Last edited by Purple_Shyguy,

garyopa

Admin @ MaxConsole
Member
Joined
Apr 25, 2009
Messages
777
Trophies
0
Location
Tropical Island
Website
www.O-P-A.biz
XP
9,502
Country
Canada
Maybe I should ask @garyopa if TX has some guidelines for splitting cart2 games. (Which I hopefully just did)

The main different with cart2 is the original encrypted 'logo partition' is empty, and new one is added that has the game logo now UN-Encrypted, one of the BigBlueBox .nfo files explained how the format changed between cart1 and cart2.

I don't see how 'splitting' would fuck up the thumbnails, as all the info in the first part should be there still, maybe it is bug with how cart2 support is handled, I will check. -- And does this happen with other XCI tools?
 

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,392
Country
Germany
The main different with cart2 is the original encrypted 'logo partition' is empty, and new one is added that has the game logo now UN-Encrypted, one of the BigBlueBox .nfo files explained how the format changed between cart1 and cart2.

I don't see how 'splitting' would fuck up the thumbnails, as all the info in the first part should be there still, maybe it is bug with how cart2 support is handled, I will check. -- And does this happen with other XCI tools?

The output of my tool is exactly the same as: https://gbatemp.net/threads/xci-cutter-tool-windows.504818/ (That is my tool for sanity-checking)

So I dare to say: there might be an issue with other tools, too... Maybe someone can try another tool and tell us the result.
 

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,392
Country
Germany
Just tried this on OSX
As I really prefer Java JAR programs over other things (that either require tons of dependencies in brew, or having to compile stuff yourself, etc..), unlike these things which are usually "extract and double-click" simple.

Works great, except that if you use the "Target" button, it creates a "weird filename" which includes the entire path in the final output file's filename:
View attachment 145842

But other than that it works great!
Here's me loading up the trimmed Super Mario Party XCI (620 MB smaller):
View attachment 145844

Please try again with the newest release. I added some workaround for OSX.....
 

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,392
Country
Germany
Great! That is good news! BTW Finding a Hack/Macintosh is apparently harder then one might think...

And I fully ignore the fact that the "Split and Trim" button looks like shite
 

Insane

Well-Known Member
OP
Member
Joined
May 8, 2018
Messages
144
Trophies
0
XP
2,392
Country
Germany
Shamelessly double posting here: I added some support for nsp splitting. Only for the daring for now! I would appreciate feedback though.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    DinohScene @ DinohScene: when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying