Skip to content

wonderswan map format#75

Open
joffb wants to merge 1 commit into
Rangi42:masterfrom
joffb:master
Open

wonderswan map format#75
joffb wants to merge 1 commit into
Rangi42:masterfrom
joffb:master

Conversation

@joffb

@joffb joffb commented Oct 12, 2022

Copy link
Copy Markdown

loading and saving the wonderswan/wonderswan color map format

loading and saving the wonderswan/wonderswan color map
@Rangi42

Rangi42 commented Oct 12, 2022

Copy link
Copy Markdown
Owner

Please explain exactly what format you want supported, ideally with example files and how they'd be rendered.

Edit: Oops, I thought this was an issue, not a PR. :P But some example files would still be nice for testing.

@joffb

joffb commented Oct 12, 2022

Copy link
Copy Markdown
Author

Hello! The commit will load and save raw maps in a format the wonderswan/color can read
Used the spec from here, the tile number is a 9-bit value and the wonderswan color adds another bank which takes it to 10-bit
http://daifukkat.su/docs/wsman/#disp_screens
Both can use up to 16 palettes and support X/Y flipping

Not 100% sure what to upload but this zip has two 32x32 maps (fg and bg) and three tilesets to be loaded
tiles.png at 0x000 (first bank)
sprites.png at 0x100
tiles2.png at 0x200 (second bank)
Has a rom (test.wsc) which loads the tilesets and maps and does some separate scrolling on each layer (scrolling works fine in mednafen and stoicgoose but looks a bit mad in oswan so I think I need to work on my interrupt handler) and puts a sprite on screen
Also has the asm to build with nasm and a build .bat to convert the tiles and palettes with superfamiconv!

tilesmap_studio_ws_test.zip

@asiekierka

Copy link
Copy Markdown

Any news on this PR? Just curious.

@Rangi42

Rangi42 commented Dec 21, 2024

Copy link
Copy Markdown
Owner

Well, it's as on-hold as everything else about the project (2025 might be a good time for me to get back to it); but also not mergable because it doesn't update res/help.html.

@asiekierka

Copy link
Copy Markdown

feature-wonderswan.patch.zip

Here's a patch on top of this branch that takes care of that, and fixes a few other minor issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants