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

Import all screens from (other) PETSCII editor #15

Closed
Esshahn opened this Issue Jul 20, 2018 · 6 comments

Comments

Projects
None yet
2 participants
@Esshahn
Collaborator

Esshahn commented Jul 20, 2018

Would be great if we could import the files from the other PETSCII app. They are saved as plain text:

unsigned char frame0000[]={// border,bg,chars,colors
14,13,
224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
32,224,224,224,224,32,32,32,224,224,224,224,32,32,32,224,224,224,224,32,32,224,224,224,224,224,224,224,224,224,224,224,32,224,224,224,224,32,224,224,
32,224,224,224,224,96,32,32,224,224,224,224,223,32,32,224,224,224,224,96,32,224,224,224,224,224,224,224,224,224,224,224,32,224,224,224,224,96,96,224,
32,224,224,224,224,96,32,32,224,224,224,224,224,32,32,224,224,224,224,96,32,224,224,224,224,224,224,224,224,224,224,224,32,224,224,224,224,223,96,224,
32,224,224,224,224,96,32,32,95,224,224,224,224,32,32,230,230,230,230,96,32,198,198,198,198,224,224,232,232,232,232,224,32,95,224,224,224,224,96,224,
32,226,226,226,226,96,32,32,32,32,32,32,32,32,32,32,32,32,32,96,32,32,32,32,96,224,224,224,224,224,224,224,224,224,95,224,224,224,96,96,
32,32,32,32,32,32,32,32,32,32,32,96,96,96,96,96,32,32,32,32,32,32,32,32,32,224,224,224,224,224,224,224,224,224,224,224,224,224,96,224,
32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,224,224,224,224,224,224,224,224,224,224,224,224,96,224,
32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
32,32,32,32,32,32,32,32,32,32,96,96,96,96,96,96,96,32,32,32,32,32,32,32,32,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,15,15,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,12,12,12,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,
0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,15,15,15,15,0,0,0,0,0,0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,
0,1,1,1,1,0,0,0,1,1,1,1,0,0,0,12,12,12,12,0,0,0,0,0,0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,
5,1,1,1,1,5,5,5,15,15,15,15,5,5,5,11,11,11,11,5,5,1,1,1,1,5,5,1,1,1,1,5,5,15,15,15,15,5,5,5,
14,1,1,1,1,14,14,14,15,15,15,15,14,14,14,12,12,12,12,14,14,1,1,1,1,13,13,15,15,15,15,13,14,15,15,15,15,14,13,13,
14,15,15,15,15,11,14,14,15,15,15,15,5,14,14,11,11,11,11,11,14,1,1,1,1,13,13,15,15,15,15,13,14,15,15,15,15,5,5,13,
14,15,15,15,15,11,14,14,15,15,15,15,5,14,14,11,11,11,11,11,14,15,15,15,15,13,13,12,12,12,12,13,14,15,15,15,15,5,5,13,
14,5,5,5,5,11,14,14,5,5,5,5,5,14,14,5,5,5,5,11,14,5,5,5,5,13,13,5,5,5,5,13,14,5,5,5,5,5,5,13,
14,5,5,5,5,11,14,14,14,14,14,14,14,14,14,14,14,14,14,11,14,14,14,14,11,13,13,13,13,13,13,13,13,13,5,5,5,5,5,5,
14,14,14,14,14,14,14,14,14,14,14,1,1,1,1,1,14,14,14,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,5,13,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,5,13,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
14,14,14,14,14,14,14,14,14,14,1,1,1,1,1,1,1,14,14,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13
};
// META: 40 25 C64 upper
@nurpax

This comment has been minimized.

Show comment
Hide comment
@nurpax

nurpax Jul 20, 2018

Owner

I did ask around and no clear single format emerged as the most common format to start with.

Maybe support Marq’s C format and the petscii.krissz.hu? Exported .prg files also probably could be loaded.

I guess will have to go with one format at a time, based on user feedback.

Owner

nurpax commented Jul 20, 2018

I did ask around and no clear single format emerged as the most common format to start with.

Maybe support Marq’s C format and the petscii.krissz.hu? Exported .prg files also probably could be loaded.

I guess will have to go with one format at a time, based on user feedback.

@nurpax

This comment has been minimized.

Show comment
Hide comment
@nurpax

nurpax Jul 25, 2018

Owner

screen shot 2018-07-25 at 11 11 35 pm

Marq's .c format works for 40x25 images now.

Owner

nurpax commented Jul 25, 2018

screen shot 2018-07-25 at 11 11 35 pm

Marq's .c format works for 40x25 images now.

@Esshahn

This comment has been minimized.

Show comment
Hide comment
@Esshahn

Esshahn Jul 27, 2018

Collaborator

bildschirmfoto 2018-07-27 um 09 39 45

Successful loading in a screen from Marq's PETCII.
Multiple screens aren't supported yet, right?

Collaborator

Esshahn commented Jul 27, 2018

bildschirmfoto 2018-07-27 um 09 39 45

Successful loading in a screen from Marq's PETCII.
Multiple screens aren't supported yet, right?

@nurpax

This comment has been minimized.

Show comment
Hide comment
@nurpax

nurpax Jul 27, 2018

Owner

Yeah no multi screen yet. All the imports are single screen for now as I wanted to be able to import into the currently selected screen.

I think import needs some kind of settings pane that can be used to select what to import.

Sent with GitHawk

Owner

nurpax commented Jul 27, 2018

Yeah no multi screen yet. All the imports are single screen for now as I wanted to be able to import into the currently selected screen.

I think import needs some kind of settings pane that can be used to select what to import.

Sent with GitHawk

@nurpax nurpax added this to the 0.2 milestone Jul 27, 2018

@nurpax

This comment has been minimized.

Show comment
Hide comment
@nurpax

nurpax Jul 28, 2018

Owner

57c9d28 adds .c export too (single screen)

Owner

nurpax commented Jul 28, 2018

57c9d28 adds .c export too (single screen)

@Esshahn Esshahn changed the title from Import files from (other) PETSCII editor to Import all screens from (other) PETSCII editor Aug 4, 2018

@Esshahn Esshahn modified the milestones: 0.2, 0.3 Aug 4, 2018

@Esshahn

This comment has been minimized.

Show comment
Hide comment
@Esshahn

Esshahn Aug 4, 2018

Collaborator

(changed issue title for clarity)

Done:

  • import single screen from Marq's editor

Open:

  • import all screens that are in a PETSKII file
Collaborator

Esshahn commented Aug 4, 2018

(changed issue title for clarity)

Done:

  • import single screen from Marq's editor

Open:

  • import all screens that are in a PETSKII file

@nurpax nurpax referenced this issue Aug 5, 2018

Closed

Import/export settings handling #72

2 of 2 tasks complete

@nurpax nurpax closed this in c715984 Aug 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment