News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_roudoudou

splitraster+ v8

Started by roudoudou, 22:38, 31 May 19

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CraigsBar

OK, Not the greatest but I am having fun :)



IRC:  #Retro4All on Freenode

CraigsBar

IRC:  #Retro4All on Freenode

roudoudou

future version will handle screens up to 273 lines for full full full screen and also tiny screens low to 16 lines (for logos, title, ...)



I'm currently working on an editor. When all settings are done, the screen may be locked to run bitmap editor then...

each time the cursor is changing line, the screen palette (at the upper-right of the screen) is updated
the sprite palette is active when there is at least one HSP on the line
the green cursor outside HSP (represented by blue squares) has obviously mode 0 size

GOB

Roud: don't miss to used cursor keys to move pixel editor cursor ;)

roudoudou

Quote from: GOB on 22:55, 18 June 19
Roud: don't miss to used cursor keys to move pixel editor cursor ;)
it's ONLY keyboard to move the current pixel because there is one palette per line. Using mouse is too confusing.
still a last bug to fix with backups before release

roudoudou


new version with pixel editor in the first post - thank you to READ again the first post for new keys
this is still beta and there is no palette edition (until the next version)




roudoudou


better ergonomics in the new executable  8)
you may use cursor key to move current sprite and space to toggle zoom sprite positionning view or sprite mask edition

Deckard

Quote from: roudoudou on 22:38, 31 May 19
usage -> splitsdl.exe <pngimage>

the software is supposed to handle PNG pictures of 384 pixels width and any height from 16 to 273 pixels

IF not, a crappy resize will be done (NOT recommended)


Keyboard in quantization mode:

+/- to change current hardware sprite selection
T to enable/disable squares around hardware sprites
G to generate scr and asm files
L -> lock the bitmap and go to pixel edition mode
ESC to quit

Keyboard in pixel edition mode:

U -> unlock the bitmap, all handdrawings are lost
cursor to move current pixelleft shift + cursor to speed up a little
space to apply current selected color
keypad . and 0 (OCP style) to change current selected color
and again G to generate scr and asm files
B to put a background pixel over a sprite hard (enable transparency and put background color when inside an HSP)

ESC to quit

The software was presented during a Twitch live session



Here is a capture of the tool and two CPC+ cartridges so you may test yourself the performance


outputed files with a <file>.png image:
- <file>.xml settings file
- <file>.sc1 & <file>.sc2 binaries for screen files
- <file>.spr file for HSP data (packed 4+4bits)
- <file>.asm file for raster code
- <file>cpr.asm in ordre to generate a ready to use cartridge (use RASM to compile it!)
Je dois être idiot, je ne trouve pas le lien de téléchargement du logiciel...

Arnaud

Quote from: Deckard on 21:24, 12 December 19
Je dois être idiot, je ne trouve pas le lien de téléchargement du logiciel...

Il est à la fin du premier post, mais je te mets le lien directement  :D

http://www.cpcwiki.eu/forum/applications/splitraster-v3/?action=dlattach;attach=28997

Deckard

Quote from: Arnaud on 21:28, 12 December 19
Il est à la fin du premier post, mais je te mets le lien directement  :D

http://www.cpcwiki.eu/forum/applications/splitraster-v3/?action=dlattach;attach=28997
Merci à toi ! Je viens de le trouver sur le post cité également !Maintenant, il buggue chez moi... Il se lance, puis disparait instantanément...Etrange...

roudoudou

Quote from: Deckard on 01:04, 31 December 19
Merci à toi ! Je viens de le trouver sur le post cité également !Maintenant, il buggue chez moi... Il se lance, puis disparait instantanément...Etrange...
The solution is the 1st line of this topic: splitsdl.exe <pngimage>You may drag'n'drop a png image into it, if you are not familiar with command line

roudoudou


new release, many fixes since last time (PNG with low palette-bit handling, bmp support, MacOS version...

and for this release, bayer matrix dithering with high flexibility

https://www.pouet.net/prod.php?which=103258

https://github.com/EdouardBERGE/splitRasterPlus/releases/tag/v10.2025

darkhalf

Tried this out today but seeing these errors from rasm_x64 using the output from the included renegade PNG

rasm_x64 -oa renegade384cpr.asm
Pre-processing [renegade384cpr.asm]
Assembling
Error: [renegade384cpr.asm:40] Invalid first char in label declaration (')
Error: [renegade384cpr.asm:26] expression [HSP_COORDINATES] keyword [HSP_COORDINATES] not found in variables, labels or aliases
Error: [renegade384cpr.asm:39] expression [RASTALOOP] keyword [RASTALOOP] not found in variables, labels or aliases
Error: [renegade384cpr.asm:39] relative offset -274 too far [RASTALOOP]
Error: 4 errors

Offending lines:
ld bc,#10FF: ld hl,HSP_coordinates: ld de,#6000: ld a,9 ; sprite zoom like mode 1
where HSP_coordinates is defined in the renegade384.asm file. So I removed the single quotes from this line:
read 'renegade384.asm'
Then I added an 'include renegade384.asm' at the start, but still got this:
rasm_x64  renegade384cpr.asm
Pre-processing [renegade384cpr.asm]
Assembling
Error: [renegade384cpr.asm:40] relative offset -210 too far [RASTALOOP]
Error: 1 error

Any ideas. Newbie with using RASM, in case there is some parameter I missed?
CPC464/GT64, CPC464 Plus/CTM640, 2 x CPC6128/CTM644

roudoudou

Quote from: darkhalf on 07:02, 26 January 25Any ideas. Newbie with using RASM, in case there is some parameter I missed?

you are right, i miss some deprecated instructions left in the assembly generated so...

change the READ with an INCLUDE or get the last nightly build of splitRasterPlus

darkhalf

Thanks. I grabbed that build and it worked  ;)

For giggles I did also try and build the Windows (win64.bat) version but having troubles as there is a bit of stuff missing (header files, libraries etc). Perhaps include with the GIT project in a ZIP file? Sourced and built with SIL2 2.30.2,  lpng1640, TRex project but struck issues with FnMatch (part of GCC included with Cygwin) which failed to compile here


CPC464/GT64, CPC464 Plus/CTM640, 2 x CPC6128/CTM644

roudoudou

Quote from: darkhalf on 12:54, 26 January 25Thanks. I grabbed that build and it worked  ;)

For giggles I did also try and build the Windows (win64.bat) version but having troubles as there is a bit of stuff missing (header files, libraries etc). Perhaps include with the GIT project in a ZIP file? Sourced and built with SIL2 2.30.2,  lpng1640, TRex project but struck issues with FnMatch (part of GCC included with Cygwin) which failed to compile here



windows build is painful and need many externals/libraries to be build, it's not relevant to polute the git repo with all the stuff needed

Powered by SMFPacks Menu Editor Mod