Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Level 9 games in Blorb files #8

Open
DavidKinder opened this issue Nov 26, 2020 · 3 comments
Open

Level 9 games in Blorb files #8

DavidKinder opened this issue Nov 26, 2020 · 3 comments

Comments

@DavidKinder
Copy link
Owner

DavidKinder commented Nov 26, 2020

It would be possible to add support for all the files for a game to be kept in a single Blorb file. The Blorb specification already includes an executable chunk type for Level 9 games ('LEVE'). Support for all the games and graphics formats would involve:

  • Single part games would have a single executable chunk.
  • Multiple part games would have multiple executable chunks, numbered in order of the parts.
  • Bitmap graphics would be represented as PNG images.
  • Line drawn graphics data would be represented as a binary data resource chunk ('BINA').

For this to be of any use it would also be necessary to create a tool to create the Blorb files from the original data files and/or the output of L9Cut.

@cibersheep
Copy link
Contributor

I have used the blorb Python Tool from Andrew Plotkin to get a blorb Snowball working game (with graphics):
SB-BLORB.zip

Like this (ifiction file seems not be detected):

python blorbtool.py -o snowball.l9 -n
>import EXEC 0 LEVE Snowball/SNOWBALL.DAT
Added chunk, length 31538
>import DATA 0 BINA Snowball/SNOWBALL.CGA
Added chunk, length 11392
>import DATA 1 BINA Snowball/SNOWBALL.HRC
Added chunk, length 11392
>import IFmd Snowball/LEVEL9-018.ifiction
Added chunk, length 1051
>save
``

@cibersheep
Copy link
Contributor

I tried the same for Scapeghost adding the *.PIC as PICT 0 PNG SG/1.PIC but didn't work.
The interpreter didn't find the pictures in the blorb (it did if I copied at the same level of the blorb file)

@cibersheep
Copy link
Contributor

I have tried (with no luck) to include the pictures for Scapeghost as

>import RESO 0 BINA title
Added chunk, length 40072
>import RESO 1 BINA 1
Added chunk, length 27272

and as

>import PICT 0 PNG title
Added chunk, length 40072
>import PICT 1 PNG 1
Added chunk, length 27272

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

No branches or pull requests

2 participants