Jump to content
Tony Cruise

MSX/Coleco Sprite & Tile Set Editor

Recommended Posts

This is an application written in C# .Net for home brew developers to create both Sprite and Tile Set designs for their home brew projects.

 

The sprite design section allows:

  • multi-layer pattern design
  • animation sequences
  • export to assembler and C formats
  • import data directly from existing source code

 

MSXSpriteEditor1.png

 

The tile set editor section allows:

  • characters can be designed in groups of four for larger objects
  • powerful colour editing and copying

 

MSXSpriteEditor2.png

 

I intend on adding more features in the future.

 

The application is free to use, but I have included a Donate button if anyone would like to contribute to the cost of the certificate.

 

You can download it here: https://www.electricadventures.net/Content/Downloads/MSX_Sprite_Editor_Installer.msi

 

RLE Compressed Data

The RLE compression in this tool uses standard RLE i.e. 1st byte data, 2nd byte run length, if run length = 0 end of data

Here is a sample assembler routine to un-compress this:

;===========================================================================
; Standard RLE to VRAM
; HL = Source data
;      1st byte data, 2nd byte runlength, if runlength=0 end of data
; DE = VRam starting location
;===========================================================================
RLE_TO_VRAM:
    di
    ld      c,CTRL_PORT
    out     (c),e
    set     6,d
    out     (c),d
    ei
    ld      c,DATA_PORT
RTV1:    
    ld      a,(hl)
    inc     hl
    ld d,a ; save our data byte
    ld      a,(hl)
    inc hl
    cp 0 ;  zero runlength - end of data
    ret z
    cp 1
    jp nz, RTV2
    ; single byte - output
    out (c),d
    jp RTV1
RTV2:
    ld b,a
RTV3:
    out (c),d
    nop
    nop
    djnz RTV3
    jp RTV1

 

DAN1 Compressed Data

See @newcoleco 's thread on DAN1 here:

DAN3 Compressed Data

See @newcoleco 's thread on DAN3 here:

 

 

 

 

 

 

Edited by Tony Cruise
Added direct link to the installion MSI
  • Like 4

Share this post


Link to post
Share on other sites

I have released a new version that now includes a tile layout i.e. screen editor. Layouts can be output in raw data i.e. 768 bytes or compressed using Pletta. At the moment it assumes the same tileset is used for all three quadrants, and few more controls on the tab need fleshing out, but it is functional.

There is a bug in the tileset editor screen with colours, doesn't happen all the time looking into it though.

I have also updated my site to have a SSL certificate, which will prepare it for the coming July deadline (and has already cropped up for some scanner tools, warning when sites don't have a SSL certificate).

Hey Atariage, time to make the change :)

Share this post


Link to post
Share on other sites

Most results are ASM only.

 

It would be great if it supports RLE compression as well.

 

I use C, not ASM.

Edited by Serguei2

Share this post


Link to post
Share on other sites

It's best if the outputs are uncompressed. You can then use the compressor of choice. There were some other previous tile editors that didn't offer uncompressed.

 

Most results are ASM only.

 

It would be great if it supports RLE compression as well.

 

I use C, not ASM.

Edited by digress

Share this post


Link to post
Share on other sites

Most results are ASM only.

 

It would be great if it supports RLE compression as well.

 

I use C, not ASM.

You can change how the generated code is output using the options i.e. can be output in a way acceptable to pretty much any compiler/assembler will accept, including C.

RLE is very similar to Pletter I will add a RLE option soon.

Share this post


Link to post
Share on other sites

It's best if the outputs are uncompressed. You can then use the compressor of choice. There were some other previous tile editors that didn't offer uncompressed.

 

Output can be in uncompressed or compressed (only by Pletter at the moment), controlled through the options.

Share this post


Link to post
Share on other sites

It's best if the outputs are uncompressed. You can then use the compressor of choice. There were some other previous tile editors that didn't offer uncompressed.

 

 

Compressed data makes more rooms for other stuff.

 

 

You can change how the generated code is output using the options i.e. can be output in a way acceptable to pretty much any compiler/assembler will accept, including C.

RLE is very similar to Pletter I will add a RLE option soon.

 

I would be happy for it.

Share this post


Link to post
Share on other sites

I can't seem to get the application to run I am getting the following error:

    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\kynrek\Downloads\MSXSpriteEditor.application resulted in exception. Following failure messages were detected:
        + Application manifest has either a different computed hash than the one specified or no hash specified at all.
        + File, MSXSpriteEditor.exe.manifest, has a different computed hash than specified in manifest.

 

Share this post


Link to post
Share on other sites
18 minutes ago, kynrek said:

I can't seem to get the application to run I am getting the following error:

    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\kynrek\Downloads\MSXSpriteEditor.application resulted in exception. Following failure messages were detected:
        + Application manifest has either a different computed hash than the one specified or no hash specified at all.
        + File, MSXSpriteEditor.exe.manifest, has a different computed hash than specified in manifest.

 

I think you fell into the same trap I did in the beginning.

Use his other thread then follow the link on the first page

or this directly.

https://www.electricadventures.net/Pages/Category/24

Best to go to his other Atari Age thread in case his direct link changes.

 

On his offsite page click on the "Download latest version"

It can be confusing because although the others are depreciated Tony has not found time to remove the buttons.

 

Remember to show Tony some love because it is an awesome program completely free of charge and he is still improving it.

Edited by Itchy Scratchy
  • Like 1

Share this post


Link to post
Share on other sites
4 hours ago, Itchy Scratchy said:

I think you fell into the same trap I did in the beginning.

Use his other thread then follow the link on the first page

or this directly.

https://www.electricadventures.net/Pages/Category/24

Best to go to his other Atari Age thread in case his direct link changes.

 

On his offsite page click on the "Download latest version"

It can be confusing because although the others are depreciated Tony has not found time to remove the buttons.

 

Remember to show Tony some love because it is an awesome program completely free of charge and he is still improving it.

 

5 hours ago, kynrek said:

I can't seem to get the application to run I am getting the following error:

    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\kynrek\Downloads\MSXSpriteEditor.application resulted in exception. Following failure messages were detected:
        + Application manifest has either a different computed hash than the one specified or no hash specified at all.
        + File, MSXSpriteEditor.exe.manifest, has a different computed hash than specified in manifest.

 

Yep that is correct, I need to clean-up the links in the older articles on my website, but my admin sections is currently not working.  Haven't had time to fix it with all the other stuff I have going on.  Make sure the old version is uninstalled as well, otherwise it can cause the new version not to install a short cut icon on the desktop and you will still be trying to run the old version.

And I am in Australia so my time zone means I am asleep when most of you guys are awake.

Share this post


Link to post
Share on other sites
56 minutes ago, Tony Cruise said:

And I am in Australia so my time zone means I am asleep when most of you guys are awake.

And your toilet drains in the opposite direction.

  • Like 1

Share this post


Link to post
Share on other sites

After picking up the most recent Windows 10 update and the corresponding .Net updates, unfortunately the sprite editor stopped working on my PC.  The app launches and I can see the icon in the taskbar with the focus highlight indicating it's active but there is no app window.  I deinstalled and reinstalled the app with no change to the behavior, ran it as administrator, no dice.  Is there any log I can look at or any other method of debugging I can employ?  The Windows update affected a lot of things it shouldn't have (isn't that always the case) and I fear that, in my case, the sprite editor has been affected by some security fix or other patch.  

Share this post


Link to post
Share on other sites
2 hours ago, AnalogKid said:

After picking up the most recent Windows 10 update and the corresponding .Net updates, unfortunately the sprite editor stopped working on my PC.  The app launches and I can see the icon in the taskbar with the focus highlight indicating it's active but there is no app window.  I deinstalled and reinstalled the app with no change to the behavior, ran it as administrator, no dice.  Is there any log I can look at or any other method of debugging I can employ?  The Windows update affected a lot of things it shouldn't have (isn't that always the case) and I fear that, in my case, the sprite editor has been affected by some security fix or other patch.  

The application uses screen size information stored in the .config file.  Even if you uninstall this might be left behind.  Try uninstalling and checking that the directory is completely gone and then re-install.  I'll do some checks on the latest build of Windows 10, as  I just installed it yesterday as well.

Share this post


Link to post
Share on other sites
On 3/17/2021 at 6:18 AM, AnalogKid said:

After picking up the most recent Windows 10 update and the corresponding .Net updates, unfortunately the sprite editor stopped working on my PC.  The app launches and I can see the icon in the taskbar with the focus highlight indicating it's active but there is no app window.  I deinstalled and reinstalled the app with no change to the behavior, ran it as administrator, no dice.  Is there any log I can look at or any other method of debugging I can employ?  The Windows update affected a lot of things it shouldn't have (isn't that always the case) and I fear that, in my case, the sprite editor has been affected by some security fix or other patch.  

And also tonight there is a rather quickly pushed out 'Quality Update' for Windows 10 Version 20H2 :) 

2021-03 Cumulative Update for Windows 10 Version 20H2 for x64-based Systems (KB5001567)

Share this post


Link to post
Share on other sites

A tip for anyone else who ran into trouble launching the app after a Windows update: I found that changing the shortcut's Run property to Maximized solved the issue.  Maybe something about my particular Windows configuration caused the app window to come up with a 0 by 0 window size, who knows.

  • Like 1

Share this post


Link to post
Share on other sites
On 5/27/2021 at 3:11 PM, AnalogKid said:

A tip for anyone else who ran into trouble launching the app after a Windows update: I found that changing the shortcut's Run property to Maximized solved the issue.  Maybe something about my particular Windows configuration caused the app window to come up with a 0 by 0 window size, who knows.

 

 I have got the same problem ,  yesterday i ran into trouble when i launched the tool. (i did not used it since a while) ... and after reading your post i changed the Run propery to Maximized and it worked.  Thanks :)

Share this post


Link to post
Share on other sites
Posted (edited)

Added a RLE example decompression routine.  I'll add example decompression routines for the other output types, as I tidy-up my libraries over the next few weeks.

Edited by Tony Cruise

Share this post


Link to post
Share on other sites

Released a new version, with some bug fixes to the repainting the sprite list when you change the order of the sprites i.e. move them up or down in the list.

Fixed a crash when loading an old file.

  • Like 1

Share this post


Link to post
Share on other sites
3 hours ago, Tony Cruise said:

Released a new version, with some bug fixes to the repainting the sprite list when you change the order of the sprites i.e. move them up or down in the list.

Fixed a crash when loading an old file.

May i have a request for a future version?

 

Give the possibility on the tool , to change the background color for the sprite.   It would be help to see how the sprite render if the background is black or blue... and more visible when your sprite need to be white....

 

And but less critical for me , would it be possible to be able to create 3 and 4 colors sprite? (triple and quadruple sprites)

 

 

Share this post


Link to post
Share on other sites
8 hours ago, youki said:

May i have a request for a future version?

 

Give the possibility on the tool , to change the background color for the sprite.   It would be help to see how the sprite render if the background is black or blue... and more visible when your sprite need to be white....

 

And but less critical for me , would it be possible to be able to create 3 and 4 colors sprite? (triple and quadruple sprites)

 

 

Both good suggestions, I'll see what I can do.

 

Also I had another thing I wanted for myself (specifically with the bigger sprites needed in Kangaroo and the mothership in Lunar Rescue), the ability to view final sprites together.  So you still edit one at a time, but you can lay out more than one sprite in perhaps up to a 2 x 2 grid of sprite shapes.

Share this post


Link to post
Share on other sites
6 hours ago, Tony Cruise said:

Both good suggestions, I'll see what I can do.

 

Also I had another thing I wanted for myself (specifically with the bigger sprites needed in Kangaroo and the mothership in Lunar Rescue), the ability to view final sprites together.  So you still edit one at a time, but you can lay out more than one sprite in perhaps up to a 2 x 2 grid of sprite shapes.

Thanks a lot , and yes, i would need that also it would be great!

 

May be you can let the option to set the size of the sprite freely up to  64x64 pixels ?    Even if in 64x64 you can not do multicolored sprites, you can let the option ,it can be useful if you plan to manage some flickering for instance.

  

  • Like 1

Share this post


Link to post
Share on other sites
On 7/27/2021 at 4:54 PM, youki said:

Thanks a lot , and yes, i would need that also it would be great!

 

May be you can let the option to set the size of the sprite freely up to  64x64 pixels ?    Even if in 64x64 you can not do multicolored sprites, you can let the option ,it can be useful if you plan to manage some flickering for instance.

  

Version 1.0.7882.36063 Uploaded.

Minor update shows four sprite patterns on the right hand side.  Click in each segment to change that segment to the current sprite.

  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...