ORIC HIRES screen paint program?

Questions, bug reports, features requests, ... about the Oric Software Development Kit. Please indicate clearly in the title the related element (OSDK for generic questions, PictConv, FilePack, XA, Euphoric, etc...) to make it easy to locate messages.

jsk
Pilot Officer
Posts: 69
Joined: Mon Jun 29, 2020 10:11 pm

ORIC HIRES screen paint program?

Post by jsk »

As I'm "allergic" to anything windows, or "install" and run this exe, I like playing with "Unix"y-command line tools, and if anything needs to be graphical, it's in a web-browser, single html-file.

I first just intended to make a simple HIRES-screen viewer, and incidentily it does anything but that, at the moment (?).

However, it displays an array of bytes, so just need a way to import them ;-)

Anyway, depending on how you see it; ORIC has 8 colors and it should be easy to draw ;-)

Obviously, as can be seen from the picture, I"m not an graphical artist...

Is there any current cross-dev viewer/editor of hires screen that runs on the web?

In this one I experiement with features like "any color", and "spray 1-5-10-25-50%" various sizes "brushes" or "spray cans" if you will.

But it strikes me, if you don't need pixel accurate/precision graphics, and not perfectly aligned/linear colors may be less problematic than initially though?

Anyway, thoughts?
You do not have the required permissions to view the files attached to this post.
User avatar
ibisum
Wing Commander
Posts: 2027
Joined: Fri Apr 03, 2009 8:56 am
Location: Vienna, Austria
Contact:

Re: ORIC HIRES screen paint program?

Post by ibisum »

Impressive ideas!
But it strikes me, if you don't need pixel accurate/precision graphics, and not perfectly aligned/linear colors may be less problematic than initially though?
I think that the Oric 'problem' enforces a certain aesthetic. For every colour and pixel attribute, the reverse bit can be set. Plan this and AIC together, and you can get aesthetically pleasing results.

Your web-app looks like a lot of fun - I hope you will support importing from #A000 to #BF3F ..
jsk
Pilot Officer
Posts: 69
Joined: Mon Jun 29, 2020 10:11 pm

Re: ORIC HIRES screen paint program?

Post by jsk »

Added:
- load a hires tap file
- save a hires tap file (for some reason gets hires.tap.txt name, I think the browser misbehaves...)
- textual commands

Playing with reading any web-image, stretching it and then make it oric format, but as we know, pict-conv are complicated beasts? Also, running into issues with CORS (unless it's a local image). Maybe need to use file api for this too. Hmmm.
User avatar
ibisum
Wing Commander
Posts: 2027
Joined: Fri Apr 03, 2009 8:56 am
Location: Vienna, Austria
Contact:

Re: ORIC HIRES screen paint program?

Post by ibisum »

jsk
Pilot Officer
Posts: 69
Joined: Mon Jun 29, 2020 10:11 pm

Re: ORIC HIRES screen paint program?

Post by jsk »

Yes pict-conv is quite impressive in what it does. But I'm not using windows so generally avoid OSDK, or exe-files.
User avatar
ibisum
Wing Commander
Posts: 2027
Joined: Fri Apr 03, 2009 8:56 am
Location: Vienna, Austria
Contact:

Re: ORIC HIRES screen paint program?

Post by ibisum »

Well, you don't have to run it. You could also look at the code and observe the different image-conversion processes it applies to exploit the Oric's attribute system .. there are some real gems in the source code.

See also, the great colorimetric processes in PictOric - which you might find worthy of a port to javascript:

https://github.com/Samuel-DEVULDER/PictOric

https://github.com/Samuel-DEVULDER/Pict ... ctOric.lua
User avatar
xahmol
Squad Leader
Posts: 626
Joined: Sun Jun 28, 2020 7:32 pm
Location: Utrecht, The Netherlands
Contact:

Re: ORIC HIRES screen paint program?

Post by xahmol »

jsk wrote: Mon Jan 27, 2025 6:56 pm Yes pict-conv is quite impressive in what it does. But I'm not using windows so generally avoid OSDK, or exe-files.
As we already explained in another topic in answer to you, it is perfectly possible to compile OSDK tools including pict-conv from source to a Linux version.
User avatar
coco.oric
Squad Leader
Posts: 785
Joined: Tue Aug 11, 2009 9:50 am
Location: North of France
Contact:

Re: ORIC HIRES screen paint program?

Post by coco.oric »

I came back on this topic.
As i wanted to adapt an adventure game to the oric, i've some screens to create. I've tried some methods :

- pictconv
- pictconv + OricHir (on PC from Goyo)

but i'm not very satisfied with these processes (or i'm to impatient and not enough good in drawing)
remains hide on the oric ...

Do you have another solution to create hires graphs on a pc ?
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
User avatar
Dbug
Site Admin
Posts: 5263
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: ORIC HIRES screen paint program?

Post by Dbug »

Generally the process I use is iterative.

For complex images that need to be converted from hi-color graphics I do a first pass where I resize the image to 240x200 and bump the contrast and brightness to use the full range of Oric colors. Then I use the "libpipi" (Sam Hocevar) converter to get a base image that displays on the Oric, but I output to PNG format instead of HIR so I can easily see how bad the result is.

Often fixing the image is as simple as separating the elements on the screen to give a chance to the converter to put attributes where possible.
image_2025-09-01_083553838.png
On the Wolfenstein image you can see that the two characters as well as the wall were converted automatically, but the logo was completely cleaned out to be "pixel clean" and then a gradient added to make it nicer.

You can also see that there's a 6 pixels black column between the hero and the wall to ensure the wall stays blue, and then there's black on the right of the wall to limit the glitches on the soldier, and the helmet was forced painted to white.
image_2025-09-01_083840460.png
On the Encounter image I painted the background characters in black and dark shaded the right side of the front character to avoid glitches.

So basically on the Oric you need to work with "where" are things on screen so you can avoid things to impact each others.

Me personally, everything is done in PaintShopPro 9, with layers, using a 6 pixels wide grid so I have everything aligned properly so the converter can exploit alignment to put the proper attributes, or things like "6 white pixels" will be drawn just by using invert video if they are aligned and there was some black around.
You do not have the required permissions to view the files attached to this post.
User avatar
Symoon
Archivist
Posts: 2532
Joined: Sat Jan 14, 2006 12:44 am
Location: Paris, France

Re: ORIC HIRES screen paint program?

Post by Symoon »

OricHir is really a great program. If I'm not mistaken, it's not 100% accurate on some special values (that are mostly never used), but for 99.9% of usages it should be fine.

As for converting graphics, I feel like Pictconv, being optimized to use all the possible values on screen to get close to the original, won't let you "play" much with the final picture.

A small picture made this morning thanks to OricHir:
Luke-Oric.png
You do not have the required permissions to view the files attached to this post.
Post Reply