clownacy / clownmaped Goto Github PK
View Code? Open in Web Editor NEWSonic the Hedgehog sprite editor, portable clone of Xenowhirl's SonMapEd.
License: GNU Affero General Public License v3.0
Sonic the Hedgehog sprite editor, portable clone of Xenowhirl's SonMapEd.
License: GNU Affero General Public License v3.0
At this point, these are the only mappings that this program doesn't yet support. Hivebrain's format is similar to the MainMemory's SpritePiece, albeit with an emphasis on human readability:
; x pos, y pos, dimensions, tile, optional x flip, y flip, priority, and palette options
piece $10, -$30, 2x2, $5D, xflip, pal2
Looking at the source of libsonassmd, I get the impression that the program converts macro mappings to binary by assembling them if the presence of a copy of MainMemory's macros in assembler.cpp is any indication. I've prepared a file with the macros required to assemble HB's format, and can provide it to help you get started. That said, there is one significant caveat with regards to writing mapping files in this format: the labels used within the mapping files must remain unchanged, as they are referenced in animation scripts. There is also a possible caveat with handling DPLCs, but I'll leave that for later.
ClownMapEd can't load this while SonMapEd can:
; ---------------------------------------------------------------------------
; Sprite mappings - Sonic
; ---------------------------------------------------------------------------
dc.w byte_21293-Map_Sonic
byte_21293: dc.b 4 ; standing
dc.b $EC, 8, 0, 0, $F0
dc.b $F4, $D, 0, 3, $F0
dc.b 4, 8, 0, $B, $F0
dc.b $C, 8, 0, $E, $F8
even
SonMapEd seems to completely ignore if Map_Sonic:
is missing while ClownMapEd requires it, stating "file could not be assembled" if attempting to load the above.
it's broken :/
When trying to re-open PLCs you've exported, CME says that they're "incompatible with the currently mappings" even if they're the exact same mappings you exported the PLCs with.
It can load any PLCs exported by SonMapEd however.
How to reproduce:
I've also noticed that the PLCs that CME exports seem to be broken when loading them into SonMapEd, just making the mappings appear to be a garbled mess, especially for complex mappings that reference tiles all over the art file.
Default Sonic 1 (Old Hivebrain ASM68k) can't seem to load them properly either, as seemingly random frames will bug out and have the wrong tiles loaded.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.