Author Topic: Temper - NEC PC-ENGINE emulator  (Read 37750 times)

Qubits

  • Posts: 146
Re: Temper - NEC PC-ENGINE emulator
« Reply #60 on: October 01, 2016, 04:23:00 pm »
Hello Swarmadd,

The syscard should be called syscard3.pce and not syscard.pce and placed in a folder called syscards (HOME/.temper/syscards). Also you should open your cue files and make sure the filename at the top of the cue is the exact same name than the iso and the extension is in lower case, exemple :

You have thoses files :

Chou_Aniki_(NTSC-J)_[NSCD2013].cue
Chou_Aniki_(NTSC-J)_[NSCD2013].iso

Open your cue file with a text editor and make sure it's written :

FILE "Chou_Aniki_(NTSC-J)_[NSCD2013].iso" BINARY
  TRACK 01 AUDIO
    INDEX 01 00:00:00
  TRACK 02 MODE1/2352
    PREGAP 00:03:00
etc...

Mar8

  • Posts: 103
Re: Temper - NEC PC-ENGINE emulator
« Reply #61 on: October 01, 2016, 07:39:22 pm »
@davidgilmour  it's actually the emulator, as far as I know. From what I remember, use temper for everything? But  when wanting to play supergrafx specifically, use @gameblabla 's Mednafen emu :) !


gameblabla (OP)

  • Posts: 1382
Re: Temper - NEC PC-ENGINE emulator
« Reply #62 on: October 01, 2016, 08:23:24 pm »
And is it my roms or does Granzort en GnG ( both supergrafx games ) don't work on it?
Aldynes is a Supergrafx game too and that one is running fine, so it is Supergrafx compatible, or isn't it?
Your Supergrafx roms must be bad dumps.
If that's the case, force Supergrafx mode by adding the ".sgx" extension to them.
No need to use Mednafen for Supergrafx games.

Quote
Hello, I don't know what I'm doing wrong, but it's the only emulator I have problems with. I'm unable to launch anything... I've tried cue/iso/ogg, cue/bin/ogg, with all cue fields named properly and with binary transfer (rebooting the console and deleting each time the old image before retrying). All these images come from my Caanoo (temper via ginge)
I always have a black screen...
As Qubits said, check the cue file. (a lot of old iso files on the web were dumped by idiots)
Make sure the path to the binary file is correct and also make sure the case is correct because Temper is case-sensitive.
If you have iso/cue/wav files, also make sure to also check the filenames and case to the wav files.
Same for OGG files.

If you still have issues, post your cue file and the filename here.

davidgilmour

  • Posts: 317
Re: Temper - NEC PC-ENGINE emulator
« Reply #63 on: October 01, 2016, 11:35:34 pm »
And is it my roms or does Granzort en GnG ( both supergrafx games ) don't work on it?
Aldynes is a Supergrafx game too and that one is running fine, so it is Supergrafx compatible, or isn't it?
Your Supergrafx roms must be bad dumps.
If that's the case, force Supergrafx mode by adding the ".sgx" extension to them.
No need to use Mednafen for Supergrafx games.
Thanks again, will try to find two good dumps or rename them.
This emu is very nice. If the colours are fixed then it will be 100% perfect, all games at 60 fps!

Swarmadd

  • Posts: 18
Re: Temper - NEC PC-ENGINE emulator
« Reply #64 on: October 03, 2016, 12:33:43 pm »
Thank you Qubits and gameblabla, unfortunately I still encounter problems..

I test with Splash Lake (Yes, that's my choice^^ Because levels begin to get very nervous and with the Caanoo, no dpad !)
So I've just grabbed a fresh cue/bin , and it works !! So at least my bios is good. But, of course, this is 318 Mb compared to the cue/iso/ogg that's only 29 Mb...
Maybe it's not possible to play compressed ones ?!

This is the cue that works :
Splash_Lake.cue
Quote
FILE "Splash_Lake.bin" BINARY
  TRACK 01 AUDIO
    INDEX 01 00:00:00
  TRACK 02 MODE1/2352
    PREGAP 00:03:00
    INDEX 01 00:40:09
  TRACK 03 AUDIO
    PREGAP 00:02:00
    INDEX 01 01:31:50
etc


And that's what the lightweight cue looks like once freshly converted with bin_to_iso_ogg (This one works on Caanoo's temper) :
Splash_Lake.cue
Quote
FILE "Splash_Lake_t1.ogg" OGG
  TRACK 01 AUDIO
    INDEX 01 00:00:00
FILE "Splash_Lake_t2.iso" BINARY
  TRACK 02 MODE1/2048
    PREGAP 00:03:00
    INDEX 01 00:00:00
FILE "Splash_Lake_t3.ogg" OGG
  TRACK 03 AUDIO
    PREGAP 00:02:00
    INDEX 01 00:00:00
etc
   
   
That doesn't fit with Qubits' advice (both cue and iso files having the same name with the iso on top of cue file), so I tried renaming to fix this.
And so, I tried many combinations (With the cue modified accordingly each time !)

Renaming the cue :
Splash_Lake_t2.cue
Quote
FILE "Splash_Lake_t2.iso" BINARY
  TRACK 02 MODE1/2048
    PREGAP 00:03:00
    INDEX 01 00:00:00
FILE "Splash_Lake_t1.ogg" OGG
  TRACK 01 AUDIO
    INDEX 01 00:00:00
FILE "Splash_Lake_t3.ogg" OGG
  TRACK 03 AUDIO
    PREGAP 00:02:00
      INDEX 01 00:00:00
etc

Failed ! So, another way, renaming the iso :
Splash_Lake.cue
Quote
FILE "Splash_Lake.iso" BINARY
  TRACK 02 MODE1/2048
    PREGAP 00:03:00
    INDEX 01 00:00:00
FILE "Splash_Lake_t1.ogg" OGG
  TRACK 01 AUDIO
    INDEX 01 00:00:00
FILE "Splash_Lake_t3.ogg" OGG
  TRACK 03 AUDIO
    PREGAP 00:02:00
    INDEX 01 00:00:00
etc



Then I tried to convert the iso to bin, also tried with the iso not on top of cue (like the "freshly converted" on top of my post) in all these combinations above.
And in a last swing of despair I tried both MODE1/2048 and MODE1/2352, in all combinations too...

I'm desperate ^^'



EDIT : I took again the original bin/cue/ogg I had made for the Caanoo, then converted the ogg files to wav (modifying the cue file accordingly), and... It works !!! :')
Something must be wrong with the encoding of my ogg files (even if it's all 44khz), looking into it right now ;)



EDIT 2 : I tried differents ogg encodings, all failed.

Then I tried a little trick and modified the cue like this :
Quote
FILE "Splash_Lake_t5.ogg" MP3 (instead of OGG)
  TRACK 05 AUDIO
    INDEX 01 00:00:00
   etc
The game launches ! But as one would suspect, no music.

So I tried MP3 (44khz, 128kbps, CBR), still no luck !

So, right now I keep on messing around and fiddling until it works (or not!)
« Last Edit: October 03, 2016, 05:43:49 pm by Swarmadd »

gameblabla (OP)

  • Posts: 1382
Re: Temper - NEC PC-ENGINE emulator
« Reply #65 on: October 03, 2016, 11:26:21 pm »
I have updated Temper to version 1.23.2 and it should fix the issues Swamadd had with OGG files.
Please @Swarmadd, download it again (same link) and try again.

Swarmadd

  • Posts: 18
Re: Temper - NEC PC-ENGINE emulator
« Reply #66 on: October 04, 2016, 07:51:37 am »
That was quick ! Gameblabla, thank you very very much, you made my day ! It works prefectly right now  ;D

I've always been an obstinate fiddler, but have almost no knowledge in development... I've seen that the opk took a little weight compared to 1.23.1 so I've opened it ^^ you've putted an ogg decoder directly into the executable ?! Just curious !

Thank you again  8)
« Last Edit: October 04, 2016, 07:53:33 am by Swarmadd »

gameblabla (OP)

  • Posts: 1382
Re: Temper - NEC PC-ENGINE emulator
« Reply #67 on: October 04, 2016, 05:53:53 pm »
That was quick ! Gameblabla, thank you very very much, you made my day ! It works prefectly right now  ;D
I've always been an obstinate fiddler, but have almost no knowledge in development... I've seen that the opk took a little weight compared to 1.23.1 so I've opened it ^^ you've putted an ogg decoder directly into the executable ?! Just curious !
Thank you again  8)
Yes, i bundled Tremor with Temper because it's faster than libogg included with the firmware.
(static linking yo man)

davidgilmour

  • Posts: 317
Re: Temper - NEC PC-ENGINE emulator
« Reply #68 on: October 15, 2016, 11:33:46 pm »
That was quick ! Gameblabla, thank you very very much, you made my day ! It works prefectly right now  ;D
I've always been an obstinate fiddler, but have almost no knowledge in development... I've seen that the opk took a little weight compared to 1.23.1 so I've opened it ^^ you've putted an ogg decoder directly into the executable ?! Just curious !
Thank you again  8)
Yes, i bundled Tremor with Temper because it's faster than libogg included with the firmware.
(static linking yo man)
I have to thank you. Today I tried the cd roms for the first time and they all play flawlessly, this is a f*#$ing good emulator, really really excellent. And the PC engine got some nice exclusive cd games too!

Qubits

  • Posts: 146
Re: Temper - NEC PC-ENGINE emulator
« Reply #69 on: October 16, 2016, 12:26:08 pm »
What about the color issue, when will it be fixed ?

gameblabla (OP)

  • Posts: 1382
Re: Temper - NEC PC-ENGINE emulator
« Reply #70 on: October 16, 2016, 11:34:10 pm »
What about the color issue, when will it be fixed ?
I can't say when because i don't know.
I need to first take a look at Temper's color palette and see how it is ordered before
i can do anything really.
I'm still working on it.

EDIT:
I have extracted Temper's color palette, here it is :


Rather than dealing with Mednafen's color palette, i have cramedp up the constrast on Temper's palette,
does this look better to you ?


EDIT2:
I just tried out my new tweaked palette on Temper and it actually looks worse than before...
Lots of color details are lost.
So the palette generated by Temper really isn't accurate and it is not a contrast issue either.

Qubits, got some time to waste again ?
Use the Mednafen's color palette i gave you earlier but sort it like the Temper's palette.
If you can do that, then the color issue will be fixed for good. (i'm using my own tools now)
« Last Edit: October 17, 2016, 12:59:46 am by gameblabla »

Qubits

  • Posts: 146
Re: Temper - NEC PC-ENGINE emulator
« Reply #71 on: October 17, 2016, 01:34:27 pm »
I will work on it. The problem is that Temper got a palette of 512 colors (64 groups of 8 colors) while mednafen only got 496 colors + this strange group of 49 colors at the bottom but i will find out the 16 colors of the Temper palette that are missing on Mednafen using the mednafen logic because what its basically doing for each group is keeping the same values for two colors (Red & Green for exemple) and raising up by 36 the last value (Blue) while on Temper there is no such logic, its more random.
« Last Edit: October 17, 2016, 01:36:05 pm by Qubits »

Qubits

  • Posts: 146
Re: Temper - NEC PC-ENGINE emulator
« Reply #72 on: October 17, 2016, 04:44:16 pm »
I've transposed all mednafen colors on the temper palette and here are the rgb values that should be applied in order to have the mednafen colors :

A1 : (R0,G0,B0) / (R0,G0,B36) / (R0,G0,B72) / (R0,G0,B108) / (R0,G0,B144) / (R0,G0,B180) / (R0,G0,B216) / (R0,G0,B252)
B1 : (R36,G0,B0) / (R36,G0,B36) / (R36,G0,B72) / (R36,G0,B108) / (R36,G0,B144) / (R36,G0,B180) / (R36,G0,B216) / (R36,G0,B252)
C1 : (R72,G0,B0) / (R72,G0,B36) / (R72,G0,B72) / (R72,G0,B108) / (R72,G0,B144) / (R72,G0,B180) / (R72,G0,B216) / (R72,G0,B252)
D1 : (R108,G0,B0) / (R108,G0,B36) / (R108,G0,B72) / (R108,G0,B108) / (R108,G0,B144) / (R108,G0,B180) / (R108,G0,B216) / (R108,G0,B252)
E1 : (R144,G0,B0) / (R144,G0,B36) / (R144,G0,B72) / (R144,G0,B108) / (R144,G0,B144) / (R144,G0,B180) / (R144,G0,B216) / (R144,G0,B252)
F1 : (R180,G0,B0) / (R180,G0,B36) / (R180,G0,B72) / (R180,G0,B108) / (R180,G0,B144) / (R180,G0,B180) / (R180,G0,B216) / (R180,G0,B252)
G1 : (R216,G0,B0) / (R216,G0,B36) / (R216,G0,B72) / (R216,G0,B108) / (R216,G0,B144) / (R216,G0,B180) / (R216,G0,B216) / (R216,G0,B252)
H1 : (R252,G0,B0) / (R252,G0,B36) / (R252,G0,B72) / (R252,G0,B108) / (R252,G0,B144) / (R252,G0,B180) / (R252,G0,B216) / (R252,G0,B252)

A2 : (R0,G36,B0) / (R0,G36,B36) / (R0,G36,B72) / (R0,G36,B108) / (R0,G36,B144) / (R0,G36,B180) / (R0,G36,B216) / (R0,G36,B252)
B2 : (R36,G36,B0) / (R36,G36,B36) / (R36,G36,B72) / (R36,G36,B108) / (R36,G36,B144) / (R36,G36,B180) / (R36,G36,B216) / (R36,G36,B252)
C2 : (R72,G36,B0) / (R72,G36,B36) / (R72,G36,B72) / (R72,G36,B108) / (R72,G36,B144) / (R72,G36,B180) / (R72,G36,B216) / (R72,G36,B252)
D2 : (R108,G36,B0) / (R108,G36,B36) / (R108,G36,B72) / (R108,G36,B108) / (R108,G36,B144) / (R108,G36,B180) / (R108,G36,B216) / (R108,G36,B252)
E2 : (R144,G36,B0) / (R144,G36,B36) / (R144,G36,B72) / (R144,G36,B108) / (R144,G36,B144) / (R144,G36,B180) / (R144,G36,B216) / (R144,G36,B252)
F2 : (R180,G36,B0) / (R180,G36,B36) / (R180,G36,B72) / (R180,G36,B108) / (R180,G36,B144) / (R180,G36,B180) / (R180,G36,B216) / (R180,G36,B252)
G2 : (R216,G36,B0) / (R216,G36,B36) / (R216,G36,B72) / (R216,G36,B108) / (R216,G36,B144) / (R216,G36,B180) / (R216,G36,B216) / (R216,G36,B252)
H2 : (R252,G36,B0) / (R252,G36,B36) / (R252,G36,B72) / (R252,G36,B108) / (R252,G36,B144) / (R252,G36,B180) / (R252,G36,B216) / (R252,G36,B252)

A3 : (R0,G72,B0) / (R0,G72,B36) / (R0,G72,B72) / (R0,G72,B108) / (R0,G72,B144) / (R0,G72,B180) / (R0,G72,B216) / (R0,G72,B252)
B3 : (R36,G72,B0) / (R36,G72,B36) / (R36,G72,B72) / (R36,G72,B108) / (R36,G72,B144) / (R36,G72,B180) / (R36,G72,B216) / (R36,G72,B252)
C3 : (R72,G72,B0) / (R72,G72,B36) / (R72,G72,B72) / (R72,G72,B108) / (R72,G72,B144) / (R72,G72,B180) / (R72,G72,B216) / (R72,G72,B252)
D3 : (R108,G72,B0) / (R108,G72,B36) / (R108,G72,B72) / (R108,G72,B108) / (R108,G72,B144) / (R108,G72,B180) / (R108,G72,B216) / (R108,G72,B252)
E3 : (R144,G72,B0) / (R144,G72,B36) / (R144,G72,B72) / (R144,G72,B108) / (R144,G72,B144) / (R144,G72,B180) / (R144,G72,B216) / (R144,G72,B252)
F3 : (R180,G72,B0) / (R180,G72,B36) / (R180,G72,B72) / (R180,G72,B108) / (R180,G72,B144) / (R180,G72,B180) / (R180,G72,B216) / (R180,G72,B252)
G3 : (R216,G72,B0) / (R216,G72,B36) / (R216,G72,B72) / (R216,G72,B108) / (R216,G72,B144) / (R216,G72,B180) / (R216,G72,B216) / (R216,G72,B252)
H3 : (R252,G72,B0) / (R252,G72,B36) / (R252,G72,B72) / (R252,G72,B108) / (R252,G72,B144) / (R252,G72,B180) / (R252,G72,B216) / (R252,G72,B252)

A4 : (R0,G108,B0) / (R0,G108,B36) / (R0,G108,B72) / (R0,G108,B108) / (R0,G108,B144) / (R0,G108,B180) / (R0,G108,B216) / (R0,G108,B252)
B4 : (R36,G108,B0) / (R36,G108,B36) / (R36,G108,B72) / (R36,G108,B108) / (R36,G108,B144) / (R36,G108,B180) / (R36,G108,B216) / (R36,G108,B252)
C4 : (R72,G108,B0) / (R72,G108,B36) / (R72,G108,B72) / (R72,G108,B108) / (R72,G108,B144) / (R72,G108,B180) / (R72,G108,B216) / (R72,G108,B252)
D4 : (R108,G108,B0) / (R108,G108,B36) / (R108,G108,B72) / (R108,G108,B108) / (R108,G108,B144) / (R108,G108,B180) / (R108,G108,B216) / (R108,G108,B252)
E4 : (R144,G108,B0) / (R144,G108,B36) / (R144,G108,B72) / (R144,G108,B108) / (R144,G108,B144) / (R144,G108,B180) / (R144,G108,B216) / (R144,G108,B252)
F4 : (R180,G108,B0) / (R180,G108,B36) / (R180,G108,B72) / (R180,G108,B108) / (R180,G108,B144) / (R180,G108,B180) / (R180,G108,B216) / (R180,G108,B252)
G4 : (R216,G108,B0) / (R216,G108,B36) / (R216,G108,B72) / (R216,G108,B108) / (R216,G108,B144) / (R216,G108,B180) / (R216,G108,B216) / (R216,G108,B252)
H4 : (R252,G108,B0) / (R252,G108,B36) / (R252,G108,B72) / (R252,G108,B108) / (R252,G108,B144) / (R252,G108,B180) / (R252,G108,B216) / (R252,G108,B252)

A5 : (R0,G144,B0) / (R0,G144,B36) / (R0,G144,B72) / (R0,G144,B108) / (R0,G144,B144) / (R0,G144,B180) / (R0,G144,B216) / (R0,G144,B252)
B5 : (R36,G144,B0) / (R36,G144,B36) / (R36,G144,B72) / (R36,G144,B108) / (R36,G144,B144) / (R36,G144,B180) / (R36,G144,B216) / (R36,G144,B252)
C5 : (R72,G144,B0) / (R72,G144,B36) / (R72,G144,B72) / (R72,G144,B108) / (R72,G144,B144) / (R72,G144,B180) / (R72,G144,B216) / (R72,G144,B252)
D5 : (R108,G144,B0) / (R108,G144,B36) / (R108,G144,B72) / (R108,G144,B108) / (R108,G144,B144) / (R108,G144,B180) / (R108,G144,B216) / (R108,G144,B252)
E5 : (R144,G144,B0) / (R144,G144,B36) / (R144,G144,B72) / (R144,G144,B108) / (R144,G144,B144) / (R144,G144,B180) / (R144,G144,B216) / (R144,G144,B252)
F5 : (R180,G144,B0) / (R180,G144,B36) / (R180,G144,B72) / (R180,G144,B108) / (R180,G144,B144) / (R180,G144,B180) / (R180,G144,B216) / (R180,G144,B252)
G5 : (R216,G144,B0) / (R216,G144,B36) / (R216,G144,B72) / (R216,G144,B108) / (R216,G144,B144) / (R216,G144,B180) / (R216,G144,B216) / (R216,G144,B252)
H5 :  (R252,G144,B0) / (R252,G144,B36) / (R252,G144,B72) / (R252,G144,B108) / (R252,G144,B144) / (R252,G144,B180) / (R252,G144,B216) / (R252,G144,B252)

A6 : (R0,G180,B0) / (R0,G180,B36) / (R0,G180,B72) / (R0,G180,B108) / (R0,G180,B144) / (R0,G180,B180) / (R0,G180,B216) / (R0,G180,B252)
B6 : (R36,G180,B0) / (R36,G180,B36) / (R36,G180,B72) / (R36,G180,B108) / (R36,G180,B144) / (R36,G180,B180) / (R36,G180,B216) / (R36,G180,B252)
C6 : (R72,G180,B0) / (R72,G180,B36) / (R72,G180,B72) / (R72,G180,B108) / (R72,G180,B144) / (R72,G180,B180) / (R72,G180,B216) / (R72,G180,B252)
D6 : (R108,G180,B0) / (R108,G180,B36) / (R108,G180,B72) / (R108,G180,B108) / (R108,G180,B144) / (R108,G180,B180) / (R108,G180,B216) / (R108,G180,B252)
E6 : (R144,G180,B0) / (R144,G180,B36) / (R144,G180,B72) / (R144,G180,B108) / (R144,G180,B144) / (R144,G180,B180) / (R144,G180,B216) / (R144,G180,B252)
F6 : (R180,G180,B0) / (R180,G180,B36) / (R180,G180,B72) / (R180,G180,B108) / (R180,G180,B144) / (R180,G180,B180) / (R180,G180,B216) / (R180,G180,B252)
G6 : (R216,G180,B0) / (R216,G180,B36) / (R216,G180,B72) / (R216,G180,B108) / (R216,G180,B144) / (R216,G180,B180) / (R216,G180,B216) / (R216,G180,B252)
H6 : (R252,G180,B0) / (R252,G180,B36) / (R252,G180,B72) / (R252,G180,B108) / (R252,G180,B144) / (R252,G180,B180) / (R252,G180,B216) / (R252,G180,B252)

A7 : (R0,G216,B0) / (R0,G216,B36) / (R0,G216,B72) / (R0,G216,B108) / (R0,G216,B144) / (R0,G216,B180) / (R0,G216,B216) / (R0,G216,B252)
B7 : (R36,G216,B0) / (R36,G216,B36) / (R36,G216,B72) / (R36,G216,B108) / (R36,G216,B144) / (R36,G216,B180) / (R36,G216,B216) / (R36,G216,B252)
C7 : (R72,G216,B0) / (R72,G216,B36) / (R72,G216,B72) / (R72,G216,B108) / (R72,G216,B144) / (R72,G216,B180) / (R72,G216,B216) / (R72,G216,B252)
D7 : (R108,G216,B0) / (R108,G216,B36) / (R108,G216,B72) / (R108,G216,B108) / (R108,G216,B144) / (R108,G216,B180) / (R108,G216,B216) / (R108,G216,B252)
E7 : (R144,G216,B0) / (R144,G216,B36) / (R144,G216,B72) / (R144,G216,B108) / (R144,G216,B144) / (R144,G216,B180) / (R144,G216,B216) / (R144,G216,B252)
F7 : (R180,G216,B0) / (R180,G216,B36) / (R180,G216,B72) / (R180,G216,B108) / (R180,G216,B144) / (R180,G216,B180) / (R180,G216,B216) / (R180,G216,B252)
G7 : (R216,G216,B0) / (R216,G216,B36) / (R216,G216,B72) / (R216,G216,B108) / (R216,G216,B144) / (R216,G216,B180) / (R216,G216,B216) / (R216,G216,B252)
H7 : (R252,G216,B0) / (R252,G216,B36) / (R252,G216,B72) / (R252,G216,B108) / (R252,G216,B144) / (R252,G216,B180) / (R252,G216,B216) / (R252,G216,B252)

A8 : (R0,G252,B0) / (R0,G252,B36) / (R0,G252,B72) / (R0,G252,B108) / (R0,G252,B144) / (R0,G252,B180) / (R0,G252,B216) / (R0,G252,B252)
B8 : (R36,G252,B0) / (R36,G252,B36) / (R36,G252,B72) / (R36,G252,B108) / (R36,G252,B144) / (R36,G252,B180) / (R36,G252,B216) / (R36,G252,B252)
C8 : (R72,G252,B0) / (R72,G252,B36) / (R72,G252,B72) / (R72,G252,B108) / (R72,G252,B144) / (R72,G252,B180) / (R72,G252,B216) / (R72,G252,B252)
D8 : (R108,G252,B0) / (R108,G252,B36) / (R108,G252,B72) / (R108,G252,B108) / (R108,G252,B144) / (R108,G252,B180) / (R108,G252,B216) / (R108,G252,B252)
E8 : (R144,G252,B0) / (R144,G252,B36) / (R144,G252,B72) / (R144,G252,B108) / (R144,G252,B144) / (R144,G252,B180) / (R144,G252,B216) / (R144,G252,B252)
F8 : (R180,G252,B0) / (R180,G252,B36) / (R180,G252,B72) / (R180,G252,B108) / (R180,G252,B144) / (R180,G252,B180) / (R180,G252,B216) / (R180,G252,B252)
G8 : (R216,G252,B0) / (R216,G252,B36) / (R216,G252,B72) / (R216,G252,B108) / (R216,G252,B144) / (R216,G252,B180) / (R216,G252,B216) / (R216,G252,B252)
H8 : (R252,G252,B0) / (R252,G252,B36) / (R252,G252,B72) / (R252,G252,B108) / (R252,G252,B144) / (R252,G252,B180) / (R252,G252,B216) / (R252,G252,B252)




gameblabla (OP)

  • Posts: 1382
Re: Temper - NEC PC-ENGINE emulator
« Reply #73 on: October 17, 2016, 08:17:36 pm »
Actually i was asking you to put all colors in a picture like i did with Temper hahaha
It's much easier to work with a picture than with the RGB values. (yeah i changed my mind but i should have been a bit more clear sorry)

Qubits

  • Posts: 146
Re: Temper - NEC PC-ENGINE emulator
« Reply #74 on: October 18, 2016, 12:50:06 am »
You want me to create a visual of temper palette with the mednafen colors ? How will be it more usefull than having all rgb values for each colors ? Cant you use thoses rgb values i gave you in your program ?

gameblabla (OP)

  • Posts: 1382
Re: Temper - NEC PC-ENGINE emulator
« Reply #75 on: October 18, 2016, 01:44:51 am »
Quote
You want me to create a visual of temper palette with the mednafen colors ?
Yes.

Quote
How will be it more usefull than having all rgb values for each colors ?
Actually, it would save me and you a lot of time because i have programmed a tool that read the pixels from a picture
and directly convert them to decimal that can be used out-of-the-bpx by Temper.

Cant you use thoses rgb values i gave you in your program ?
I could but then i realised it would take me more time than just using my tools to read the pixels from a picture
and directly convert them to decimal for the emulator.

Using my tools, i got this list for my tweaked palette :
Code: [Select]
0,
0,
3,
7,
13,
17,
21,
25,
0,
0,
4,
9,
12,
17,
21,
2074,
8192,
8192,
10245,
8200,
10253,
10257,
10262,
10267,
16384,
16384,
18436,
16392,
18445,
18450,
18455,
18458,
26624,
26624,
26628,
28682,
26638,
28690,
28694,
28699,
36864,
34817,
36871,
36874,
36878,
36882,
38935,
36891,
47104,
47105,
47111,
47113,
45102,
45074,
47161,
45084,
55328,
57409,
55333,
57418,
57392,
57429,
57399,
61532,
32,
0,
37,
40,
45,
49,
86,
59,
64,
32,
2116,
40,
77,
50,
87,
58,
8288,
10400,
10308,
10410,
10350,
14514,
10358,
14523,
20672,
18593,
20679,
20650,
20686,
20658,
24791,
20699,
28864,
26817,
28903,
28873,
28910,
28882,
33017,
28892,
37088,
39201,
37093,
39210,
39152,
39253,
39223,
43324,
47456,
47425,
47464,
47436,
51569,
47443,
51577,
51548,
57696,
57667,
61800,
57708,
61840,
55667,
57753,
57726,
320,
352,
324,
362,
334,
370,
374,
379,
2432,
353,
2439,
2410,
2510,
2450,
374,
2459,
14720,
10625,
14791,
14729,
10734,
10642,
14809,
10716,
20928,
20993,
20965,
25098,
20976,
25109,
25079,
25116,
33344,
33281,
33352,
33292,
35409,
33363,
33303,
35356,
39488,
39427,
39528,
39500,
43632,
39507,
43641,
43614,
47712,
51844,
51815,
51884,
51856,
53910,
51866,
53950,
58080,
58019,
62184,
58029,
58001,
62134,
58041,
62206,
608,
609,
647,
617,
686,
658,
665,
668,
2688,
2785,
2725,
6890,
2736,
6901,
6839,
6940,
10912,
15073,
10919,
15084,
15024,
15123,
15095,
15164,
25344,
25315,
25384,
25356,
27440,
21299,
25465,
25374,
33568,
35684,
33639,
35724,
35696,
35734,
35706,
37790,
39776,
43907,
43879,
43917,
43889,
45974,
43929,
46014,
52160,
52100,
54185,
52141,
54226,
54197,
54298,
54238,
62368,
62469,
62409,
64525,
62481,
64566,
64475,
64575,
896,
961,
903,
940,
944,
979,
951,
1052,
7104,
7075,
7176,
7116,
9232,
7187,
9273,
9182,
15360,
17444,
15399,
17484,
17456,
17494,
17466,
19550,
21536,
25667,
25639,
25677,
25649,
27734,
25689,
27806,
36000,
35908,
38025,
35981,
38066,
38037,
36058,
36030,
46208,
46277,
46249,
46317,
46289,
48374,
46299,
48383,
54432,
54501,
54472,
56557,
54482,
56567,
56539,
56639,
64800,
62756,
64810,
64750,
64851,
64823,
64859,
64863,
1216,
1252,
1255,
1324,
1264,
1334,
1274,
1244,
7392,
9507,
7463,
9517,
9457,
9558,
9529,
11614,
17760,
17732,
19817,
17741,
19826,
19797,
19866,
19838,
25984,
28037,
28009,
28109,
28049,
28021,
28059,
28031,
38272,
36293,
36232,
38349,
36242,
38359,
38299,
38399,
48608,
46564,
48650,
48590,
48659,
48631,
52763,
46623,
56833,
58951,
56842,
58960,
56914,
56854,
58971,
56863,
65089,
65095,
65098,
65134,
65106,
65145,
65116,
65151,
1600,
1540,
3657,
1549,
1618,
1621,
1658,
1630,
9824,
9796,
11881,
9804,
11889,
11861,
11899,
11871,
18048,
20101,
20072,
20141,
20114,
22199,
20123,
22207,
30432,
28324,
30442,
30382,
30451,
30391,
34555,
30463,
38625,
36581,
38666,
38638,
38674,
38646,
40731,
38655,
48897,
53031,
46858,
48942,
48914,
49017,
48924,
53055,
59267,
59237,
59274,
59248,
63381,
59257,
63390,
63359,
65409,
65383,
65420,
65424,
65429,
65431,
65468,
65439,
1888,
1925,
1896,
1933,
1906,
3991,
1915,
3999,
16288,
12164,
16298,
16270,
12243,
12215,
12251,
12223,
22433,
20389,
22474,
22446,
22482,
22454,
26587,
22495,
30657,
30695,
30698,
34798,
30706,
34809,
34812,
34815,
40931,
40933,
40938,
40944,
45045,
40953,
45054,
45055,
49121,
49127,
49132,
49136,
53237,
49143,
53244,
53247,
59363,
63464,
63468,
59377,
59379,
63481,
59390,
63487,
65508,
65512,
65516,
65520,
65526,
65530,
65535,
65535,

Clearly, they aren't RGB values and it is just less number to type in than RGB values.
« Last Edit: October 18, 2016, 01:46:39 am by gameblabla »

Qubits

  • Posts: 146
Re: Temper - NEC PC-ENGINE emulator
« Reply #76 on: October 18, 2016, 02:05:13 am »
Does the palette has to be the exact same size than the picture you've posted or it doesnt matter ? Can i post lines by lines ? a picture of A1,B1,C1,D1,E1,F1,G1,H1 then A2-H2, then A3-H3, etc.... ? or does your programm need a picture of the 512 colors ?

gameblabla (OP)

  • Posts: 1382
Re: Temper - NEC PC-ENGINE emulator
« Reply #77 on: October 18, 2016, 02:45:48 am »
Does the palette has to be the exact same size than the picture you've posted or it doesnt matter ? Can i post lines by lines ? a picture of A1,B1,C1,D1,E1,F1,G1,H1 then A2-H2, then A3-H3, etc.... ?
It doesn't matter, as long it is in the same order as Temper's palette.
And yes, all the 512 colors need to be there.

Quote
or does your programm need a picture of the 512 colors ?
Yes, it needs to be in a similar way to Temper's palette.

Qubits

  • Posts: 146
Re: Temper - NEC PC-ENGINE emulator
« Reply #78 on: October 18, 2016, 04:30:36 pm »
504 colors to go, haha !!

Gameblablah is it ok if the rectangles of colors dont all have the same size or do they need to be the exact same width / height for your program to detect them ?
« Last Edit: October 18, 2016, 04:51:47 pm by Qubits »

congusbongus

  • Posts: 80
    • congusbongusgames
Re: Temper - NEC PC-ENGINE emulator
« Reply #79 on: October 18, 2016, 11:30:42 pm »
it would be faster to use imagemagick to produce the palette, using the drawing commands http://www.imagemagick.org/Usage/draw/

 

Post a new topic
Post a new topic