Language…
23 users online: ageVerrly, AJ1Ayrton,  AmperSam, DanMario24YT, Dark Prince, DJLocks, Golden Yoshi, h.carrell, Humpty Dumpty Magazine, JezJitzu, Jukeboxi_,  Kevin, Konaoto, MiracleWater, Pink Gold Peach, RZRider, Samie Zuccati, SF - The Dark Warrior,  shovda, Shuttles, Sixcorby,  Tahixham,  Teows - Guests: 116 - Bots: 131
Users: 58,123 (2,479 active)
Latest user: PaperDawN

PIXI v1.32 - Sprite Insertion Tool

Tools → PIXI v1.32 - Sprite Insertion Tool

Submission Details

Name: PIXI v1.32 - Sprite Insertion Tool
Authors: Atari2.0, JackTheSpades, Tattletale
Added:
Version History: View
Operating System: Windows
Platforms: SNES
Games: SMW
Source Available: Yes
Featured: Essential
Website: Link
Description: A sprite insertion tool made to allow more dynamic sprite usage, space savings and more SA-1 compatibility.
Despite this, it is almost fully compatible with sprites written for older SpriteTools, save for the fact that Asar is now used as the assembler. There also the new sprite status table that has been moved from 1938 to 7FAF00, used by SubOffScreen routines since version 1.2.10.
Since version 1.2.13, now you can disable the 255 sprite per level support by using the -d255spl flag. This is only useful if you are converting old romi sprites to pixi and you don't know what you are doing. You will have to rebuild your rom in case you already ran pixi +1.2.10 without that flag and want now to use the flag.

Detailed usage instructions, common errors and changes compared to older sprite tools can be found in the included readme.txt file. Version history can be found in changelog.txt.

Source (up to date now): https://github.com/JackTheSpades/SpriteToolSuperDelux

List of known bugs/issues: https://github.com/JackTheSpades/SpriteToolSuperDelux/issues?q=is%3Aopen+is%3Aissue+label%3Abug
Any weird issues you may encounter, contact me on discord (Atari2.0#1706).

Changelog:

Version 1.32 (January 23, 2021):
- (Atari2.0) Fixes spritetool_clean.asm not being in the asm/ folder.
- (Atari2.0) Now permits nested shared routine calls, fixing https://github.com/JackTheSpades/SpriteToolSuperDelux/issues/28
- (Atari2.0) Updated asar.dll to 1.80, fixes https://github.com/JackTheSpades/SpriteToolSuperDelux/issues/35
- (Atari2.0) Updated and fixed make, Makefile and .gitignore
- (Atari2.0) Added escaping to ! in filepaths, fixes https://github.com/JackTheSpades/SpriteToolSuperDelux/issues/16
- (Atari2.0) Added autoclean to all sprite pointers, fixes https://github.com/JackTheSpades/SpriteToolSuperDelux/issues/34
- (Atari2.0) Fixed various compiler warnings, swapped fread arguments causing an error when writing extmod file.
- (Atari2.0) Fixed snestopc not working correctly on SA-1 roms bigger than 2 mbs
- (Atari2.0) Greatly refactored and reworked MeiMei, embedded both ROM classes in one
- (Atari2.0) Made Pixi work on +6mb ROMs correctly
- (Atari2.0) Now can use -nr to specify max number of shared routines
- (Atari2.0) Fixed various memory leaks, along with a couple of asar warnings related to relative paths being used.
- (Atari2.0) You can now use comments in your list.txt file
- (Atari2.0) Completely rewritten populate_sprite_list and relative_directory to fix various bugs related to pathing.

Version 1.31 (November 4, 2020):
- (Atari2.0, randomdude999) Fully implemented Romi's SpriteTool legacy cleanup (note that this doesn't mean that now Pixi can coexist in the same rom as SpriteTool but it means that at least SpriteTool roms can be easily upgraded to Pixi without breaking massively as long as you do it properly). ASM file used for cleanup provided by randomdude999.
- (Atari2.0) Fixed an issue where upon upgrading from 1.2.x to 1.3, Pixi would completely destroy overworld layer 2 events.
- (Atari2.0) Upped limit for .s16 files from 0x10 pages to 0x38 pages
- (Atari2.0) Added extmod support (for specifics read the Lunar Magic help file in the section "Restore Options"), also added a "-ext-off" command line option to turn off extmod logging.
- (Atari2.0) Finished implementing -mw2 and -mwt command line options, since they were not completed.
- (Atari2.0) Fixed a bunch of compilation warnings.
- (Atari2.0) Added a command line option (-lm-handle) strictly to enable the use of Pixi in the custom user toolbar of Lunar Magic, check LM's help file for more details. Usage is: "-lm-handle <LM_VERIFICATION_HANDLE>", this command line option can't be used out of LM's custom user toolbars. Keep in mind that this is Windows only.
- (Atari2.0) Added an icon to the executable file.

Version 1.3 (September 19, 2020):
- (Atari2.0) Added a lot of utility routines (CapeContact, CheckForContactAlternate, SetPlayerClippingAlternate, SetSpriteClippingAlternate, LoseYoshi, FinishOAMWrite, FireballContact) most of these were taken from GIEPY. Credit to respective authors in the asm files.
- (Atari2.0) Fixed a bug regarding cape interaction with extended sprites by adding a print "CAPE" statement, along with an ExtendedCapeClipping routine
- (Atari2.0) Added a SpawnSpriteSafe routine to fix a problem related to how the vanilla game handles OAM in certain sprite slots.
- (Atari2.0) Optimized Random a little bit
- (Akaginite, randomdude999 and Atari2.0) Fixed, reworked and merged the per-level sprites update. Now you can use B0-BF as normal sprite slots aswell, reduced insert size
- (Atari2.0) Added print statements for states that are not 8, more details in README.txt
- (Atari2.0) Fixed various bugs related to per-level sprites in sprite.cpp
- (Atari2.0) Added a warning in case the user is inserting Pixi while having the VRAM patch from LM disabled.
- (Alcaro) Updated asardll.c to not give compiler warnings about strict aliasing and a missing cast
- (randomdude999) Fixed compilation on Linux, added basic makefile
- (lx5, Atari2.0) Updated CFG Editor and Pixi to support json files with more than 4 extra bytes for custom collections.
- (Atari2.0) Changed SA1 definitions to use absolute addressing instead of long addressing.
- (Atari2.0) Added setting bit to disable Lunar Magic sprite count warning message when using 255 sprites per level.
- (Atari2.0) Fixed per-level sprites displaying 9 extra bytes in the Lunar Magic window, forced to 4 (as a side effect of this, in fact, per level sprites now can only use up to 4 extra bytes).

Version 1.2.15 (July 10, 2020):
- (Atari2.0) Removed unnecessary waiting (BRA $00/NOPs) in SA-1 version of various routines (Aiming, CircleX, CircleY, Random)
- (Atari2.0) Added exception control for missing .json files. Now it will output exactly what json file was not found instead of printing the stacktrace.
- (Atari2.0) Added a command line option "-out" that can be added after "-d" to redirect debug output to a file instead of the prompt/stdout.
- (Atari2.0) Fixed trimming of filenames causing bug with trailing whitespaces in .cfg/.json names in list.txt
- (Atari2.0) Added a warning in case the user is inserting Pixi into a rom without having modified any level in Lunar Magic, causing various bugs (like goal posts not working).

Version 1.2.14 (March 02, 2020):
- (Atari2.0) Fixed a bug which caused pixi to cleanup stuff wrong if you ran it with an empty list.
- (Sillymel) Fixed a bug in GetDrawInfo which caused it to consider clippings from 20+ instead of two-tiles death animation flags. This is actually a bug in the Vanilla game as well (see $01A365 and $02D378).
- (Sillymel) Fixed comments on ShooterMain.
- (Sillymel) Fixed a bug which caused SpawnExtended to return the wrong carry flag when signalling it failed to spawn a sprite due to the sprite being offscreen.
- (Sillymel) Fixed carry return of GetMap16 so it actually returns the flags like it says it should.
- (Sillymel) Fixed ChangeMap16 return so it returns #$FFFF instead of #$00FF.
- (Sillymel) Fixed a bug which caused ChangeMap16 to break the stack due to it mishandling 16 bit mode.
- (Tattletale) Added proper documentation to -d255spl.
- (Tattletale) Added a comment about x/y offset in SpawnSprite, basically it substracts them if they are negative.
- (Tattletale) Added a comment about TDC usage in GetDrawInfo.
- (Tattletale) Fixed a slight overlook in GetDrawInfo which would cause it to keep the vertical offscreen flag's state if the sprite is offscreen horizontally. Reported by Super Maks 64.
- (Tattletale) -ssc is now properly implemented, reported by Shiny Ninetales, quite possibly imamelia had issues with this too.
Tags: cluster extended insert inserter insertion sa-1 sprite sprite tool spritetool
Comments: 145 (jump to comments)
Rating:
5.0 (2 ratings)
No rating
Download 1.03 MiB | 6,602 downloads

Screenshots

View all

Comments (145)

 Atari2.0 Author Pinned Link
If you encounter an issue with Pixi saying that it's not able to open a file and you have ANY special characters in your path, such as àèéìòù or others, please download it from here and that should work.
snowflag841 Link
I have a problem, when i put the file smc in pixi, it say that could not open the smc file
Dragul66 Link
Hello there. I have a problem. When I want to insert a sprite PIXI can't open config.asm. What can I do to fix this problem?
HammerBrother Link
When using this tool, I recommend not have any other programs such as LM have the ROM opened, I've experioenced crashes. Kinda strange on why this occurs. It happened to me when first insertion on the ROM the first time.
 Atari2.0 Author Link
This is not true
El Cuh Fermin Link
This tool also works with custom powerups. But I gonna use with SA-1 1.32 version for temporary
Soul Link
VERY IMPORTANT

If your rom crashes on sprite apply then delete all unused sprite files
gohkenytp8 Link
I suddenly came across an error within the "sprites/40 00" file.
Is there any way to fix it?
Mapping_bl Link
very nice for SMW
 Atari2.0 Author Link
Originally posted by CaptainWeird
Does anyone know the solution to this problem I'm having? I'm not even able to attempt to insert a sprite cuz every time I give pixi my rom I get "You haven't installed the VRAM optimization patch in Lunar Magic, this will cause many features of Pixi to work incorrectly, insertion was aborted..."

Does anyone know what this means/how to fix it? Idk what this patch its referring to is, and I cant find any info online

The patch is contained within Lunar Magic. It is applied as soon as you modify any levels of your ROM with it.
D1STYNCT Link
Since it's not specifically mentioned in the readme.txt, I figured out that the character to start comments in your list.txt (as of v1.32) is a semi-colon (;).

On any line (blank lines or on a sprite definition row) anything after a (;) will be considered a comment and be ignored while PIXI runs. This makes it easy to add notes, for example which ExGFX goes with which custom sprite.

Code
00 propeller_block.cfg   ; ExGFX80 => SP2
lx5 From older version: PIXI v1.31 - Sprite Insertion Tool Link
finally some good updates
 Major Flare From older version: PIXI v1.2.15 - Sprite Insertion Tool Link
Tested within Windows 10.

Aside of the basic functionalities being preserved, I tested all the new additions and they work. Then, let's accept this.
Wolfguy423 From older version: PIXI v1.2.14 - Sprite Insertion Tool Link
i need a walk-through to use this that's made for a complete idiot apparently. i dont understand this at all.. :-(
TorbiBoy From older version: PIXI v1.2.14 - Sprite Insertion Tool Link
It's super simple but works totally fine! Thanks for creating this tool, it's very helpful and there would be way less to do in Terms of Sprites!
MegaSonic1999 From older version: PIXI v1.2.14 - Sprite Insertion Tool Link
I don't know where to insert the -pl flag for sprites per levels, because pixi.bat file is not available. Could you help me out with this? I'm using version 1.2.10
Sonck's entertainment From older version: PIXI v1.2.14 - Sprite Insertion Tool Link
Lo que pasa para usar PIXI es escribir la dirección de la herramienta y poner antes una carpeta como Desktop y creo que así funcionaria
TheNooseMan87 From older version: PIXI v1.2.14 - Sprite Insertion Tool Link
I downloaded this new version of pixi and it said that it would not work on windows so i downloaded a previous version of pixi but it also would not work on windows. Could you help me out? its been working before i downloaded this new version. Thanks!
 dtothefourth From older version: PIXI v1.2.14 - Sprite Insertion Tool Link
Tested on Snes9X 1.56, BSNES+ v05, LM 3.10, SA-1
 Ayami From older version: PIXI v1.2.13 - Sprite Insertion Tool Link
Originally posted by Wolfguy423
how do i even use it? any instructions for dum dums?

If you're used to other smw hacking tools as AMK or GPS it shouldn't be that hard, but in any case, there's a tutorial here
Wolfguy423 From older version: PIXI v1.2.13 - Sprite Insertion Tool Link
Guess i need my hand held for this. how do i even use it? any instructions for dum dums? attempting a romhack. thanks in advance!
 dtothefourth From older version: PIXI v1.2.13 - Sprite Insertion Tool Link
Tested with LM 3.10, Snes9x/BSNES, SA-1
Tattletale Author From older version: PIXI v1.2.12 - Sprite Insertion Tool Link
I'm currently locked out of my github account. If you need the fix earlier, contact me on discord.
Tattletale Author From older version: PIXI v1.2.12 - Sprite Insertion Tool Link
it's been broken since 1.2.10, released in July.
Tattletale Author From older version: PIXI v1.2.12 - Sprite Insertion Tool Link
Currently there's a bug with pixi in which it's not really displacing sprite data correctly, causing sprites not to spawn or spawn bugged up sprites. The reason this never happens is because LM3 has a proper cache for that. Some times the cache fails and pixi has to take over the cache, in those cases, sprites are not spawning properly (mostly for super tall levels, don't know the specifics).
This will be fixed within this week.
El Cuh Fermin From older version: PIXI v1.2.12 - Sprite Insertion Tool Link
When is going to have Oveworld sprites
ASMagician Maks From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
Originally posted by Romano338
I don't get the trashkas removal. Have I missed something? I have an old sprite that I can't insert because I need to convert it, but I have no way of doing it.

The tool is already hosted on the site. Link
Romano338 From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
I don't get the trashkas removal. Have I missed something? I have an old sprite that I can't insert because I need to convert it, but I have no way of doing it.
JuanGamerSTC7 Br From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
I inserted a custom sprite into my smw rom but the game is no longer running on the emulator (neither znes nor snes9x) what do I do?#ab{;_;}
how do i remove the rom sprite?
Tattletale Author From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
Originally posted by zipper
file path name is not in English that error happened.

Yeah it's made in C/C++ (mostly C), it is not accounting for encoding whatsoever.
I will register that as a bug in the github, but do not expect that to be fixed lol.
zipper From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
Originally posted by Tattletale
Originally posted by zipper
I have an error when I try to insert sprites. After I type my ROM's name and press enter, it said:
Quote
An error has been detected: spr_temp.asm:2: error: (E5016): File 'C:/Users/…(my directory)…/pixi_v1.2.10/asm/sa1def .asm' wasn't found. [incsrc "C:/Users/…(my directory)…/pixi_v1.2.10/asm/sa1def .asm"]

The same happened to _header.asm and asm files of sprites I try to insert, though these file exist in a correct folder. I read readme and then think that this error is relevant to incsrc/incbin, but I don't know what this is and what I shoud do.

You fucked up your folder, they are all inside the zip file.

I didn't, but problem was resolved. It is because file path name is not alphabet that error happened.
Tattletale Author From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
Originally posted by zipper
I have an error when I try to insert sprites. After I type my ROM's name and press enter, it said:
Quote
An error has been detected: spr_temp.asm:2: error: (E5016): File 'C:/Users/…(my directory)…/pixi_v1.2.10/asm/sa1def .asm' wasn't found. [incsrc "C:/Users/…(my directory)…/pixi_v1.2.10/asm/sa1def .asm"]

The same happened to _header.asm and asm files of sprites I try to insert, though these file exist in a correct folder. I read readme and then think that this error is relevant to incsrc/incbin, but I don't know what this is and what I shoud do.

You fucked up your folder, they are all inside the zip file.
zipper From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
I have an error when I try to insert sprites. After I type my ROM's name and press enter, it said:
Quote
An error has been detected: spr_temp.asm:2: error: (E5016): File 'C:/Users/…(my directory)…/pixi_v1.2.10/asm/sa1def .asm' wasn't found. [incsrc "C:/Users/…(my directory)…/pixi_v1.2.10/asm/sa1def .asm"]

The same happened to _header.asm and asm files of sprites I try to insert, though these file exist in a correct folder. I read readme and then think that this error is relevant to incsrc/incbin, but I don't know what this is and what I shoud do.
Tattletale Author From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
Originally posted by autisticsceptile1993
For some reason this causes any gfx/exgfx in Lunar to be resetted to 0

No. Pixi doesn't touch anywhere near there.
Your rom is corrupted.
The only way to corrupt your rom with pixi is if you run pixi without any normal sprites in its list and then run it again, blowing up your rom. The issue is listed in the known issues link and this would cause your rom to crash before entering the showoff level, right after the nintendo presents screen.
If that's not the case, you will have to check on your own what corrupted your rom.
autisticsceptile1993 From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
For some reason this causes any gfx/exgfx in Lunar to be resetted to 0
Luaxon From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
Originally posted by Tattletale
Originally posted by MinecraftGamerLR
I can't even insert custom sprites, there's no list.txt file included! 0/10. #smw{>:|}
Create it you dingus.
#w{xD}

Great tool!!
AyGaAlPa From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
Excellent, as always
Tattletale Author From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
Originally posted by Kiatus
lol and he even rated it 1 star

Free speech and a not-so-free rate systems are a pretty cool combination, aren't them?
I don't care about pixi's ratings. What is he gonna do? Use another tool? Be my guest lmao.
Kiatus From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
lol and he even rated it 1 star
Tattletale Author From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
Originally posted by MinecraftGamerLR
I can't even insert custom sprites, there's no list.txt file included! 0/10. #smw{>:|}
Create it you dingus.
MinecraftGamerLR From older version: PIXI v1.2.10 - Sprite Insertion Tool Link
I can't even insert custom sprites, there's no list.txt file included! 0/10. #smw{>:|}
Gamma V From older version: PIXI v1.2.9 - Sprite Insertion Tool Link
SubOffScreen might be bugged. The Baron Von Zeppelin sprite crashes the game if it's allowed to spawn above the vertical boundary or to the left of the horizontal boundary. Some other sprites may do the same thing.
Green Jerry From older version: PIXI v1.2.9 - Sprite Insertion Tool Link
Is it just me or are SA-1 Convert and Trashkas missing from the converter tools folder? Only their readmes are there.
Luaxon From older version: PIXI v1.2.9 - Sprite Insertion Tool Link
Is it possible to allow comments on the list.txt for the next version of PIXI?
Mechanical koopa From older version: PIXI v1.2.9 - Sprite Insertion Tool Link
What is the difference between extended and cluster sprites?
Red Dino From older version: PIXI v1.2.9 - Sprite Insertion Tool Link
nice #smrpg{y}
TheLucraftTeam From older version: PIXI v1.2.8 - Sprite Insertion Tool Link
i found a issue, when i insert a sprite into my hack, it says unknown filetype, but the file type is not unknown, so are you kidding me pixi?#smw{>:|}
Zavok From older version: PIXI v1.2.9 - Sprite Insertion Tool Link
A beautiful version of tools!
ASMagician Maks From older version: PIXI v1.2.9 - Sprite Insertion Tool Link
Knowing Tattletale, the next update will have the cursed 1.2.10 numbering.
Green Jerry From older version: PIXI v1.2.9 - Sprite Insertion Tool Link
Another update!!
Tattletale Author From older version: PIXI v1.2.8 - Sprite Insertion Tool Link
Routine Star.asm is bugged as well. Reported by Darolac. This issue was actually reported to me by Blinddevil and fixed to me by him himself like more than one year ago, but I forgot about that.

Code
;Routine that star-kills the sprite and gives Mario points.
;Doesn't check whether Mario actually has a star.
        PHB
        PHK
        PLB
        JSL $01AB6F|!BankB
        LDA #$02                ; \ sprite status = 2 (being killed by star)
        STA !14C8,x             ; /
        LDA #$D0                ; \ set y speed
        STA !AA,x               ; /
        JSR .SubHorzPos
        LDA .speed,y            ; \ set x speed based on sprite direction
        STA !B6,x               ; /
        INC $18D2|!Base2        ; increment number consecutive enemies killed
        LDA $18D2|!Base2        ; \
        CMP #$08                ; | if consecutive enemies stomped >= 8, reset to 8
        BCC ?+                   ; |
        LDA #$08                ; |
        STA $18D2|!Base2        ; /
?+        JSL $02ACE5|!BankB      ; give mario points
        LDY $18D2|!Base2        ; \ 
        CPY #$08                ; | if consecutive enemies stomped < 8 ...
        BCC ?+                   ; |
        LDY #$08
?+        LDA .sound,y            ; |    ... play sound effect
        STA $1DF9|!Base2        ; /
        PLB                        ;
        RTL                     ; final return

.speed    db $F0,$10
.sound    db $00,$13,$14,$15,$16,$17,$18,$19,$03

.SubHorzPos
        LDY #$00
        LDA $94
        SEC
        SBC !E4,x
        STA $0E
        LDA $95
        SBC !14E0,x
        STA $0F
        BPL ?+
        INY        
?+        RTS 


Here's the fixed version.

I will update pixi with these two fixes (this and the other one I posted here) this weekend.
 Hooded Edge From older version: PIXI v1.2.8 - Sprite Insertion Tool Link
Thank you! I've been waiting for a miracle like this to happen for centuries. lol.
Tattletale Author From older version: PIXI v1.2.8 - Sprite Insertion Tool Link
ExtendedDrawInfo routine is currently broken. It will be updated soon. Reported by Darolac.

Replace it with this:

Code
; Gets the OAM index to be used, deletes when off screen, etc.


   LDA.l .OAMPtr,x
	TAY
   
.noIndex
	LDA $1747|!Base2,x
	AND #$80
	EOR #$80
	LSR
	STA $00
	LDA $171F|!Base2,x
	SEC
	SBC $1A
	STA $01
	LDA $1733|!Base2,x
	SBC $1B
	BNE .erasespr
	LDA $1715|!Base2,x
	SEC
	SBC $1C
	STA $02
	LDA $1729|!Base2,x
	ADC $1D
	BEQ .neg
	LDA $02
	CMP #$F0
	BCS .erasespr
	RTL
.neg	LDA $02
	CMP #$C0
	BCC .erasespr
	CMP #$E0
	BCC .hidespr
	RTL
.erasespr
	STZ $170B|!Base2,x	; delete sprite.
.hidespr
	LDA #$F0	; prevent OAM flicker
	STA $02
	RTL

.OAMPtr
   db $90,$94,$98,$9C,$A0,$A4,$A8,$AC
S.R.H. From older version: PIXI v1.2.8 - Sprite Insertion Tool Link
is it me or does command line option -l not work 🤔
 Major Flare From older version: PIXI v1.2.8 - Sprite Insertion Tool Link
A minor update, but works as intended and it is still stable. Since I tend to use the newest versions when moderating sprites, the tests made give me enough input to accept this.
randomdude999 From older version: PIXI v1.2.8 - Sprite Insertion Tool Link
fed to the rules and i hit the ground running
 Ayami From older version: PIXI v1.2.8 - Sprite Insertion Tool Link
and they don't stop coming
 Erik From older version: PIXI v1.2.8 - Sprite Insertion Tool Link
nice
 Major Flare From older version: PIXI v1.2.7 - Sprite Insertion Tool Link
Just a routine update. Since it does not break the routines that were updated by this version, and it works as usual, I've come to terms to accept the tool.
zacmario From older version: PIXI v1.2.7 - Sprite Insertion Tool Link
What version of .net does the cfg editor use?
 Major Flare From older version: PIXI v1.2.6 - Sprite Insertion Tool Link
Tested and works fine, donut lift included. Judging by the tests I made, I think is stable enough to be accepted.
Tattletale Author From older version: PIXI v1.2.6 - Sprite Insertion Tool Link
I don't really care about what the staff plan on doing with giepy. I will keep on updating pixi so long I/people need it.
zacmario From older version: PIXI v1.2.6 - Sprite Insertion Tool Link
Feeling confused. I see more updates for pick, but I keep hearing giype or whatever is gonna be the one.
Tattletale Author From older version: PIXI v1.2.4 - Sprite Insertion Tool Link
Tattletale Author From older version: PIXI v1.2.4 - Sprite Insertion Tool Link
There's an issue with this release I caused. I set the perlevel flag in asm/main.asm as default 0. This apparently causes issues with inserting / spawning shooters.

I will make a new pixi release (1.2.5) and I will turn off the perlevel feature by default (currently it's turned half on, which is not good, prior versions were on). Shouldn't take long for the release to be submitted.

Meanwhile, you can use the good old -npl flag and make a bat with it like:

Code
@echo off
pixi.exe -npl <your rom's name.smc>
pause


*pause is optional*
*save it as <whatever name you want>.bat*

Next release this flag will do nothing but won't cause any harm and a new flag called -pl will be added to toggle perlevel insertion.

Any questions or issues, you can find me in discord.
 Major Flare From older version: PIXI v1.2.4 - Sprite Insertion Tool Link
Still as good, and works with LM's newest features.
ASMagician Maks From older version: PIXI v1.2.4 - Sprite Insertion Tool Link
Still as good
 Vitor Vilela From older version: PIXI v1.2.4 - Sprite Insertion Tool Link
If someone could sync the previous versions to the Git repository it would be appreciated. Looks a tad outdated.
 Vitor Vilela From older version: PIXI v1.2.4 - Sprite Insertion Tool Link
Special thanks to Tattletale for his incredible work on this build. High expectations to just version be much more reliable compared to the old versions.
ShrekDaKoopa From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
U r very good
randomdude999 From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
You forgot to update the changelog. I fixed that for you. I also slightly changed the comment at the top of Random.asm (it still mentioned Y instead of A).

also, someone should really backport these changes to the github repo
zacmario From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
OK, I understand now. Thanks for the clarifactions.
HammerBrother From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
Does this uses the newest version of Asar?
 Telinc1 From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
See what Erik said. The whole process with GIEPY still needs a bit more work before we can safely make the switch. This is a minor update to PIXI to stabilize it - after all, we don't want people using buggy tools just because GIEPY isn't fully ready yet.
 Erik From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
GIEPY but it still needs some testing before making the full move.
zacmario From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
Feeling really confused, will the site support pixi or giepy in the end???
SubconsciousEye From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
thanks jack
ASMagician Maks From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
yay
 Eevee From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
 Erik From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
more like can we move to giepy haha
 Telinc1 From older version: PIXI v1.2.3 - Sprite Insertion Tool Link
This is a very minor update to the tool. I've upgraded the Asar library to 1.60 to help prevent the softlock issue. I've also fixed the Aiming routine, fixed the crash in ExtendedGetDrawInfo, and fixed various problems with the Random routine which were discovered in #asm a couple of minutes ago.
 RussianMan From older version: PIXI v1.2.2 - Sprite Insertion Tool Link
ExtendedGetDrawInfo is still broken.
YoshioSK From older version: PIXI v1.2.2 - Sprite Insertion Tool Link
The donut life sprite is still broken. Please fix this!
Brunamaraferreira5 From older version: PIXI v1.2.2 - Sprite Insertion Tool Link
Olá pessoal sou nova aqui mas se alguém tiver disposto a me ajudar pois não consegui baixar um jogo que dirá criar um kkk obg
randomdude999 From older version: PIXI v1.2.2 - Sprite Insertion Tool Link
I undid the RTS->RTL, since that wasn't the main return in Star.asm, it was only a subroutine, which was called via JSR .SubHorzPos.

Also, these changes should probably be merged back into the GitHub repo too (which is a bit inconvenient, considering that the only active person who has push access to the repo is RPG Hacker but he doesn't have internet at home currently, only at work).
ASMagician Maks From older version: PIXI v1.2.2 - Sprite Insertion Tool Link
Still the best Sprite Tool
 Blind Devil From older version: PIXI v1.2.2 - Sprite Insertion Tool Link
Fixed Star.asm, which didn't have a bank wrapper, thus not reading tables correctly, and changed a faulty RTS to RTL. Also fixed sa1def.asm, uncommenting the !7FAB64 define macro used for Extra Byte 4, and also correcting its default SA-1 address for !extra_byte_4 define, used by the tool, which was wrong (default was $4000D8 when the correct is meant to be $4000DB).
Circus Charlie From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
@JackTheSpades
I would prefer it to be a new version because it does not work with me, something needs to be improved
Activisor From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
how do you use it
Activisor From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
how do you use it
Elie Barnes From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
until these bugs are fixed, i'm sticking with spritetool
obersteiner86 From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
If i insert are sprite with it my game starts but i dont see mario and it freeze at the title screen i us are sa-1 rom
smwgohken From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
All sprites crash when they create projecttiles for create a custom sprite!
gblake90 From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
Does anybody have a tutorial to this... and in ENGLISH?!!!
 Major Flare From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
%Star() still misses its necessary PHB : PHK : PLB and PLB in order to correctly access the tables.
Yuzu From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
Edit: Solved a bug with the Lastest of Powerups v3.0.4 without Defs but inserting without problems
Klug From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
And what about the Display features? Is it fixed yet?
Kiatus From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
I'm going to port everything of my rom to a new one because i had a very old version of pixi. But yeah, i hope this version has no problem with "broken" cluster sprites.
 RPG Hacker From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
The only thing that has changed is a single sub-routine, so I think it should be no problem. Make sure to backup your ROM before you try it.
TheOrangeToad From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
can i use PIXI 1.2.1 with my rom that has PIXI 1.2 in it.

Test it if work or not?
 RPG Hacker From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
No code changes to the application itself were made between 1.2 and 1.2.1, so sure, if you use the old version, it will behave just like version 1.2. Is there a good reason to do that? (Something broken with the new version?)
TheOrangeToad From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
Can i use the old PIXI 1.2 version of suboffscreen.asm and replace the PIXI 1.2.1 version of Suboffscreen.asm?
 RPG Hacker From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
Mod's note: made some minor adjustments and bumped to version 1.2.1. Changes are listed in changelog.txt.
zacmario From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
I can't not get my custom sprites displayed in lunar magic! This is driving me fucking insane! Why won't they show!
Mariofan64 From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
awesome
 Erik From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
The display features barely work:
- Load m16 does nothing.
- Neither does Load GFX33.
- I assume the 8x8 Tile Selector would allow me to make my custom map16 tiles, but I can do nothing in it.
- Changing to 8x8 mode in both windows still only pastes 16x16 tiles, and no, I can't remove one by one, I can only remove the 4 or nothing.
- Who should I pray for this to save?
- You can't use the mousewheel to scroll.
-

with all due honesty never touch this again unless you plan to stick around, be responsive to the bug reports and keep up with our own progress in the pixi fork.
MarcStar Hacks From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
I'm stupid, I couldn't find the download. Lol
TheOrangeToad From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
can you give me a image of the run the tool via command line?
TheBiob From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
You need to run the tool via command line if you want to disable them.

Code
pixi.exe -npl <rom name>
TheOrangeToad From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
I can't find the way to disable per-level sprites insertion?
 Telinc1 From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
This version adds an option to disable per-level sprites insertion, which fixes the softlock. The option is not enabled by default, so running PIXI normally will not fix anything.

Potential resolutions (rather, workarounds) have been found and are being tested for inclusion in an unofficial future version of PIXI.
TheOrangeToad From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
Version 1.2 still has the softlock.
Mogu94 From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
Been looking forward to this.
Konata Izumi From older version: PIXI v1.2.1 - Sprite Insertion Tool Link
custom appearance support? O_O
besides that, what else, and is the softlock bug fixed?
HammerBrother From older version: PIXI v1.1 - Sprite Insertion Tool Link
Also I forgot to mention, when you’re using any of the provided sprites, you may have to edit it’s code in order to prevent sub label issues with the macro. I’ve mentioned earlier that labels (including the +/- labels) leaks outs (as in, treating labels inside the macro as if they’re outside where it’s called) and cause problems.
TheBiob From older version: PIXI v1.1 - Sprite Insertion Tool Link
Quote
Edit: Now, I try this version, and I get a lot of errors:

The sprite was made for trasm, check if it has been remoderated in the sprites section.
If so you're good to go if you download the remoderated sprite.
If not you'll have to try and use trashkas (Included in "asm/Converter Tools" and see if that can convert the sprite correctly.
If that does not work you're probably better of asking for help directly or waiting for it to get remoderated.


As for the mushroom sprite it might be using some stuff that asar doesn't like but xkas allows.
First step applies to this as well but if it hasn't been remoderated you probably don't want to convert it if it doesn't throw errors as that will cause it to definitely break.
Lespna1 From older version: PIXI v1.1 - Sprite Insertion Tool Link
Okay, I put it in F:\OLD Drive\pixi v1.1, but do I have to move the original sprites from the old folder to the new folder?

I tried both versions, but I deleted your version and then uploaded this version. So I need both versions for it to work?

Edit: Okay, after about two or three hours of copying and pasting the files like it said, I think it worked, but I inserted the sprites, and I have the mushroom that gives you more time so when I collect it, the screen just like blinks and turns blank and the music plays in the background. Am I missing something? It worked fine for the SMW2 soldiers that walk and run around in the castles, but I don't know what is wrong w/the mushroom sprite. People were being overcritcal saying that it played the halfway point sound so I don't know if that might have something to do w/it. That wasn't my fault.
TheBiob From older version: PIXI v1.1 - Sprite Insertion Tool Link
Are you talking about my version or the original?
If you're talking about my version then it only contains the modified files so you still need to download the actual tool and replace the files.

If you downloaded the original tool then make sure to put it in it's own folder to not mess with other tools that might be using a different version of asar.dll
Lespna1 From older version: PIXI v1.1 - Sprite Insertion Tool Link
I d/loaded the version in the hyperlink below, and I get the following error:

Error: Asar library is missing, please redownload the tool or add the dll.

Edit: Now, I try this version, and I get a lot of errors:

18 Shared routines registered in "routines/"
An error has been detected:
sprites/birdo.asm:16: error: Unknown command. [TILEMAP dcb $8E,$AE,$8E,$EE,$CE,$AE]
sprites/birdo.asm:17: error: Unknown command. [VERT_DISP dcb $F0,$00,$F0,$00,$F0,$00]
sprites/birdo.asm:18: error: Unknown command. [PROPERTIES dcb $40,$00]
sprites/birdo.asm:25: error: Invalid number. [dcb "INIT"]
sprites/birdo.asm:26: error: Label SUB_GET_DIR not found [JSR SUB_GET_DIR]
sprites/birdo.asm:48: error: Invalid number. [dcb "MAIN"]
sprites/birdo.asm:49: error: Unknown command. [HAMMER_BRO_JSL PHB]
sprites/birdo.asm:53: error: Label START_HB_CODE not found [JSR START_HB_CODE]
sprites/birdo.asm:64: error: Unknown command. [DEC RAM_ThrowTimer,x]
sprites/birdo.asm:72: error: Unknown command. [X_SPEED dcb $00,$F8,$00,$08]
sprites/birdo.asm:73: error: Unknown command. [TIME_IN_POS dcb $50,$20,$50,$20]
sprites/birdo.asm:75: error: Unknown command. [RETURN RTS]
sprites/birdo.asm:76: error: Unknown command. [START_HB_CODE JSR SUB_GET_DIR]
sprites/birdo.asm:80: error: Label SUB_GFX not found [JSR SUB_GFX]
sprites/birdo.asm:83: error: Label RETURN not found [BNE RETURN]
sprites/birdo.asm:85: error: Label RETURN not found [BNE RETURN]
sprites/birdo.asm:87: error: Label SUB_OFF_SCREEN_HB not found [JSR SUB_OFF_SCREEN_HB]
sprites/birdo.asm:92: error: Label LABEL3 not found [BEQ LABEL3]
sprites/birdo.asm:98: error: Unknown command. [LABEL3 STA $1602,x]
sprites/birdo.asm:102: error: Label JUMP_BIRDO not found [BCS JUMP_BIRDO]

More errors too.
TheBiob From older version: PIXI v1.1 - Sprite Insertion Tool Link
That sounds like the problem mentioned one comment below. Did you try the version linked there?
KBY30 From older version: PIXI v1.1 - Sprite Insertion Tool Link
So, PIXI freezes when I try to insert any sprites at all.
It just says this, and then hangs.

line: 00:00
num: 0, ex: 0, char: :
line: 00:00
num: 0, ex: 0, char: :
line: 1
num: 1, ex: 0, char: F
18 Shared routines registered in "routines/"
 Telinc1 From older version: PIXI v1.1 - Sprite Insertion Tool Link
That's the freedata align bug, an issue with Asar which causes PIXI to softlock when trying to insert per-level sprites. If you don't need per-level sprites, you can use TheBiob's modified PIXI which doesn't have the crash bug (at the price of not supporting per-level sprites).
Amomario123w From older version: PIXI v1.1 - Sprite Insertion Tool Link
whats up when pixi wont aplied the sprites just stay stanby and dont say aplied succesfully. just stay standby
how can i fix it
mish1 From older version: PIXI v1.1 - Sprite Insertion Tool Link
+FedoraFriday

Where did you put Pixi, for me it seems to work just fine.
gohkenytp111 From older version: PIXI v1.1 - Sprite Insertion Tool Link
I think that mikeyk's custom sprites aren't compatible with PIXI. Can you fix it for us please?
TheOrangeToad From older version: PIXI v1.1 - Sprite Insertion Tool Link
Is This Tool is compatible with Asar v1.50?
FedoraFriday From older version: PIXI v1.1 - Sprite Insertion Tool Link
Does this not work with addmusick? I've tried it multiple times, and the program executes but freezes right before completion. If its not addmusic, idk what it is. I can apply it to a fresh rom just fine, but applying sprites to my current one just doesnt work.
DAA234 From older version: PIXI v1.1 - Sprite Insertion Tool Link
good job
Fostelif From older version: PIXI v1.1 - Sprite Insertion Tool Link
The tweaked sprites that come with the program don't come with their graphics.
 RPG Hacker From older version: PIXI v1.1 - Sprite Insertion Tool Link
NOTE: Fixed a couple of bugs in different ASM files, so if you downloaded the tool while it was still waiting for moderation, please redownload before doing anything else.
 Telinc1 From older version: PIXI v1.1 - Sprite Insertion Tool Link
I'll just leave a warning here. The cluster sprite support that this new version of PIXI comes with is incompatible with the Extended NMSTL patch, and using PIXI will massively break your ROM if you've previously applied the patch.

This is surprisingly easy to fix. I haven't tested it with custom cluster sprites, but it should work. First, comment out lines 123-125 and 265-273 from extendnstl.asm. Go to the end of the file and add a new line which says print "GetExtOAMIndex: $",hex(GetExtOAMIndex). Apply the patch and write down the offset it gives you.

After that, go into PIXI's asm/cluster.asm. If you've previously applied extendnstl.asm, remove the autoclean from line 14. Find line 37 (BEQ .return) and, on a new line after it, put PHA : JSL $xxxxxx : PLA. Replace $xxxxxx with the offset you wrote down earlier. Now PIXI won't break the graphics of cluster sprites or nuke your ROM. You should change the offset in asm/cluster.asm every time you reapply extendnstl.asm to make sure it doesn't change (I could make it read it from the ROM, but I'm too lazy).
HammerBrother From older version: PIXI v1.1 - Sprite Insertion Tool Link
uh, I tested by inserting 1 sprite on id=#$00 on donut lift sprite and even weirder stuff happened:
Code
line: 1
num: 1, ex: 0, char: F
18 Shared routines registered in "routines/"
An error has been detected:
sprites/donut_lift.asm:85: error: Label "SubOffScreen_return" redefined [.return]
routines/SubOffScreen.asm:26 (called from sprites/donut_lift.asm:49): error: Relative branch out of bounds (distance is -147) [BNE .return]
routines/SubOffScreen.asm:49 (called from sprites/donut_lift.asm:49): error: Relative branch out of bounds (distance is -192) [BPL .return]
routines/SubOffScreen.asm:68 (called from sprites/donut_lift.asm:49): error: Relative branch out of bounds (distance is -226) [BNE .return]
routines/SubOffScreen.asm:71 (called from sprites/donut_lift.asm:49): error: Relative branch out of bounds (distance is -231) [BCS .return]
routines/SubOffScreen.asm:100 (called from sprites/donut_lift.asm:49): error: Relative branch out of bounds (distance is -289) [BPL .return]


Yes, thats an asar bug with having a %Macro() in between main label and sublabel(s), but whats with the underline part?


(PS: Really REALLY REALLY hope asar had this macro issue resolved, having sublabels are not only used to prevent redefined errors, but also keeps the code structure (viewed by a programmer) organized). Using + and - doesn't help much on telling a code its purpose.

mod edit: stop stretching tables
HammerBrother From older version: PIXI - Sprite Insertion Tool Link
Major problem:
1) I put this in list.txt: 00 donut_lift.cfg. I only put that sprite in and no other sprites for testing to see if it successfully inserts.

2) I run the exe file and put the ROM on it to insert. It spits out an error on my face:
Code
15 Shared routines registered in "routines/"
An error has been detected:
sprites/donut_lift.asm:85: error: Label "SubOffScreen_return" redefined [.return]
routines/SubOffScreen.asm:26 (called from sprites/donut_lift.asm:49): error: Relative branch out of bounds (distance is -147) [BNE .return]
routines/SubOffScreen.asm:49 (called from sprites/donut_lift.asm:49): error: Relative branch out of bounds (distance is -192) [BPL .return]
routines/SubOffScreen.asm:65 (called from sprites/donut_lift.asm:49): error: Relative branch out of bounds (distance is -223) [BNE .return]
routines/SubOffScreen.asm:68 (called from sprites/donut_lift.asm:49): error: Relative branch out of bounds (distance is -228) [BCS .return]
routines/SubOffScreen.asm:97 (called from sprites/donut_lift.asm:49): error: Relative branch out of bounds (distance is -286) [BPL .return]


Don't tell me that this is like GPS's sublabel problem/glitch, where if you use a .sublabel before a %CallSubroutine() whatever label inside CallSubroutine.asm is assumed present in the file that calls the sublabel causing it to error out saying no parent or redefined:

Code
MainLabel:
	%CallSubroutine()	;>Whatever labels in this subroutine is assumed to be here rather than exclusively inside this.
.Sublabel


Edit: blame asar for this buggy macro.
Aurel509 From older version: PIXI - Sprite Insertion Tool Link
Bug with this tool
When I insert some sprites in a ROM with SA-1.
The basic shooters (Bullet Bill (C9) and Torpedo Launcher (CA)) doesn't work after the insertion.
Please fix that.
 MarioFanGamer From older version: PIXI - Sprite Insertion Tool Link
@Gi Manilla: Sprites have yet to be converted. After the remoderation, though, sprites will support SA-1.
 Aram From older version: PIXI - Sprite Insertion Tool Link
Do I have to use the sprite converter to SA-1, or does PIXI automatically detect the sprite? What about clusters?
Klug From older version: PIXI - Sprite Insertion Tool Link
Originally posted by TheJuanCarlos64
I tested on my Windows XP and Doesn't work with the "CFG Editor GUI"

Sorry! We don't allow you to use the tool while on an outdated version of Windows. (Curse you, Windows XP!!!)
Yuzu From older version: PIXI - Sprite Insertion Tool Link
Why!

I tested on my Windows XP and Doesn't work with the "CFG Editor GUI"
and Tested with Windows 7 or Higher but It works Fine

I can fix This!

lion From older version: PIXI - Sprite Insertion Tool Link
Originally posted by Dan
Oh noooo! First there's BPS, now there's PIXI?!

God damn it people, it's not the end of the world.

it's just one dude

Originally posted by TheJullasicFox
Yeah... but my rom can't even handle GPS or ASMtool. And also, I don't feel like reinserting everything.

First, >ASMtool
Second, how old is your hack if it cant handle gps
Third,
Originally posted by The description
Despite this, it is almost fully compatible with sprites written for older SpriteTools, save for the fact that Asar is now used as the assembler.
TheJullasicFox From older version: PIXI - Sprite Insertion Tool Link
Yeah... but my rom can't even handle GPS or ASMtool. And also, I don't feel like reinserting everything.
 Dan From older version: PIXI - Sprite Insertion Tool Link
Oh noooo! First there's BPS, now there's PIXI?!

God damn it people, it's not the end of the world.
 Erik From older version: PIXI - Sprite Insertion Tool Link
what
TheJullasicFox From older version: PIXI - Sprite Insertion Tool Link
NOOOOO!!! It got accepted... Now they're only going to be these PIXI sprites... I'm going to have to delete all my sprite tool sprites? PLEASE NO SMWC... PLEASE NO!!!
leod From older version: PIXI - Sprite Insertion Tool Link
Very likely.
If no bugs are found in this tool, there will be no need for Romi's any more.
TheOrangeToad From older version: PIXI - Sprite Insertion Tool Link
Is this mean that the Romi sprite tool going to be replace.