choice4genesis - a ChoiceScript clone for the Sega Genesis

Talk about development tools here

Moderator: BigEvilCorporation

haroldoop
Very interested
Posts: 160
Joined: Sun Apr 29, 2007 10:04 pm
Location: Belo Horizonte, MG, Brazil

Version 0.11.1 is now available!

Post by haroldoop » Tue Nov 15, 2022 8:51 pm

Version 0.11.1 fixes a background palette bug:
Made the background use pallette 0, and text use palette 1, so the background is shown correctly; that way, color 0 of the background image is displayed as expected.

Standalone distribution for 0.11.1: https://github.com/haroldo-ok/choice4ge ... ndalone.7z
Transpiler only for 0.11.1: https://github.com/haroldo-ok/choice4ge ... nspiler.7z
Demo ROM for 0.11.1: https://github.com/haroldo-ok/choice4ge ... mo.rom.bin

haroldoop
Very interested
Posts: 160
Joined: Sun Apr 29, 2007 10:04 pm
Location: Belo Horizonte, MG, Brazil

Version 0.12.0 is now available!

Post by haroldoop » Wed Nov 30, 2022 10:22 pm

Hello, again!

Version 0.12.0 has been released.

This version implements support for ADPCM for both music and sound:
  • Added the "adpcm" flag that can be set for the "sound" and "music" commands;
  • When using the ADPCM flag, it is now possible to use a .wav file as background music.
Standalone distribution for 0.12.0: https://github.com/haroldo-ok/choice4ge ... ndalone.7z
Transpiler only: https://github.com/haroldo-ok/choice4ge ... nspiler.7z

haroldoop
Very interested
Posts: 160
Joined: Sun Apr 29, 2007 10:04 pm
Location: Belo Horizonte, MG, Brazil

Re: choice4genesis - a ChoiceScript clone for the Sega Genesis

Post by haroldoop » Sat Dec 10, 2022 12:27 pm

Here, I'm trying to teach "ChatGPT" to generate code for some random programming language, in this case, "choice4genesis"; normally, it you tried to do it in english, it will return a "Sorry, Dave" canned answer, but if you teach it in Portuguese first, then ask the questions in english, it works okay.

https://www.youtube.com/watch?v=fuIagko-Y1g

Tomahomae
Very interested
Posts: 61
Joined: Sat Jan 27, 2018 2:50 am
Location: Russia

Re: choice4genesis - a ChoiceScript clone for the Sega Genesis

Post by Tomahomae » Tue Dec 13, 2022 11:55 am

I heard about "extreme" MegaDrive VDP modes, when VDP acquires an ability to generate an 8-, 9-, or even 12-bit images thanks to some programming tricks.
Do the tools you use for choice4genesis development allow an opportunity of such tricks? Many visual novel developers for SMD would like to use more than 1 character sprites on the screen (like in RenPy and many other VN engines), but the main problem is a lack of free palettes.

haroldoop
Very interested
Posts: 160
Joined: Sun Apr 29, 2007 10:04 pm
Location: Belo Horizonte, MG, Brazil

Re: choice4genesis - a ChoiceScript clone for the Sega Genesis

Post by haroldoop » Tue Dec 13, 2022 10:18 pm

Hello, at the moment, choice4genesis isn't capable of using those tricks, but I seems like a good idea for the VN genre, since, while those tricks tend to use almost 100% of the CPU, that kind of game does not use much CPU to begin with.

cero
Very interested
Posts: 340
Joined: Mon Nov 30, 2015 1:55 pm

Re: choice4genesis - a ChoiceScript clone for the Sega Genesis

Post by cero » Wed Dec 14, 2022 7:06 am

The resolution cut in DMA colors makes it hardly worth it. So you have more colors but a blocky appearance, would be much better to work the art to the limitations.

As for changing palettes, that happens in hblank. Meaning your two sprites cannot be on the same horizontal lines. Which is not what VNs do, they have two characters at the same height.

haroldoop
Very interested
Posts: 160
Joined: Sun Apr 29, 2007 10:04 pm
Location: Belo Horizonte, MG, Brazil

Version 0.13.1 is now available!

Post by haroldoop » Fri Dec 23, 2022 11:49 pm

Hello, again!

Version 0.13.1 adds a built-in code editor.

Video showing the editor in action:
https://www.youtube.com/watch?v=dK_CyszhHl0

Standalone distribution for version 0.13.1: https://github.com/haroldo-ok/choice4ge ... ndalone.7z
Transpiler only: https://github.com/haroldo-ok/choice4ge ... nspiler.7z

haroldoop
Very interested
Posts: 160
Joined: Sun Apr 29, 2007 10:04 pm
Location: Belo Horizonte, MG, Brazil

Version 0.13.2 is now available!

Post by haroldoop » Mon Jan 09, 2023 10:07 pm

Version 0.13.2 fixes a memory leak problem on the text buffer that would, sometimes, make images be displayed incorrectly.

Full standalone release for 0.13.2: https://github.com/haroldo-ok/choice4ge ... ndalone.7z
Transpiler only: https://github.com/haroldo-ok/choice4ge ... nspiler.7z

Muzzy
Interested
Posts: 24
Joined: Mon Jun 19, 2017 5:06 pm

Re: choice4genesis - a ChoiceScript clone for the Sega Genesis

Post by Muzzy » Tue Feb 21, 2023 6:02 pm

It's a pity that VN32X has not received further development :( But maybe this tool will go further? Looks promising!

haroldoop
Very interested
Posts: 160
Joined: Sun Apr 29, 2007 10:04 pm
Location: Belo Horizonte, MG, Brazil

Re: choice4genesis - a ChoiceScript clone for the Sega Genesis

Post by haroldoop » Wed Feb 22, 2023 10:18 pm

Muzzy wrote:
Tue Feb 21, 2023 6:02 pm
It's a pity that VN32X has not received further development :( But maybe this tool will go further? Looks promising!
Thanks! And yes, it already has more functionality than VN32X ever had.

Muzzy
Interested
Posts: 24
Joined: Mon Jun 19, 2017 5:06 pm

Re: choice4genesis - a ChoiceScript clone for the Sega Genesis

Post by Muzzy » Fri Feb 24, 2023 10:48 am

haroldoop wrote:
Tue Dec 13, 2022 10:18 pm
at the moment, choice4genesis isn't capable of using those tricks, but I seems like a good idea for the VN genre
There is useful tool for palettes/colors ect. - https://rilden.github.io/tiledpalettequant/ , maybe it's somewhat made things easier for you to get this "magic tricks" up and running :wink:

I guess more helpful where be a tool, that cold do this trick from GameHut sleeve:
Attachments
03.jpg
03.jpg (66.59 KiB) Viewed 26040 times
04.jpg
04.jpg (74.39 KiB) Viewed 26040 times
05.jpg
05.jpg (60 KiB) Viewed 26040 times

Muzzy
Interested
Posts: 24
Joined: Mon Jun 19, 2017 5:06 pm

Re: choice4genesis - a ChoiceScript clone for the Sega Genesis

Post by Muzzy » Fri Feb 24, 2023 11:30 am

+
Attachments
colors.jpg
colors.jpg (47.54 KiB) Viewed 26040 times
clors+.jpg
clors+.jpg (38.61 KiB) Viewed 26040 times
shade.jpg
shade.jpg (52.87 KiB) Viewed 26040 times

haroldoop
Very interested
Posts: 160
Joined: Sun Apr 29, 2007 10:04 pm
Location: Belo Horizonte, MG, Brazil

Re: choice4genesis - a ChoiceScript clone for the Sega Genesis

Post by haroldoop » Fri Feb 24, 2023 3:36 pm

Muzzy wrote:
Fri Feb 24, 2023 10:48 am
haroldoop wrote:
Tue Dec 13, 2022 10:18 pm
at the moment, choice4genesis isn't capable of using those tricks, but I seems like a good idea for the VN genre
There is useful tool for palettes/colors ect. - https://rilden.github.io/tiledpalettequant/ , maybe it's somewhat made things easier for you to get this "magic tricks" up and running :wink:

I guess more helpful where be a tool, that cold do this trick from GameHut sleeve:
That's a pretty nice converter!

haroldoop
Very interested
Posts: 160
Joined: Sun Apr 29, 2007 10:04 pm
Location: Belo Horizonte, MG, Brazil

Version 0.14.0 is now available!

Post by haroldoop » Sat Feb 25, 2023 10:18 pm

Hello, again!

Version 0.14.0 reduces the size of the distribution. The full distribution for this version occupies 190MB, while in the previous version, it was 235MB.

- Full standalone distribution for 0.14.0: https://github.com/haroldo-ok/choice4ge ... ndalone.7z
- Transpiler only: https://github.com/haroldo-ok/choice4ge ... nspiler.7z

haroldoop
Very interested
Posts: 160
Joined: Sun Apr 29, 2007 10:04 pm
Location: Belo Horizonte, MG, Brazil

Version 0.4.3 is now available!

Post by haroldoop » Thu Nov 09, 2023 11:05 pm

Bugfixes since 0.4.0:
- Fixed bug that happened when the background filenames had special chars;
- Fixed repeated variable names when using similar file names: where both 1chr1v1.png and #1chr1v1.png used to produce the same variable name, causing compilation errors;
- Fixed a bug where the automatic conversion was messing up the palettes of 16 color images when resizing them.

- Standalone distribution for 0.4.3: https://github.com/haroldo-ok/choice4ge ... ndalone.7z
- Transpiler only distribution for 0.4.3: https://github.com/haroldo-ok/choice4ge ... nspiler.7z

Post Reply