Dingoonity.org

GCW Zero => Development => Topic started by: gameblabla on June 12, 2016, 04:01:35 am

Title: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on June 12, 2016, 04:01:35 am
Exophase is the biggest proprietary zealot on earth.
He kept all of his emulators proprietary and after he realised he made no monez from the Pandora scene,
he decided to port his DS emulator to Android.
He made 2 millions of dollars thanks to DrasTic but this all changed.
One day, after he woke up, he said : "I feel like releasing Temper's source code."
And so, he did, on the pyra boards.
That day, Exophase was no longer a proprietary zealot :
he was a true hero.

Version 1.24.2
Download Temper here :
https://github.com/gameblabla/temper/raw/f3328369d5e00e70b9c2ea095e09b1dec6452de5/SDL/temper.opk
 (https://github.com/gameblabla/temper/raw/f3328369d5e00e70b9c2ea095e09b1dec6452de5/SDL/temper.opk)

Put your syscards file in $HOME/.temper/syscards.
For example, for the Super CD-ROM Syscard version 3.0,
the file should be called syscard3.pce.

Controls
SELECT : Menu

Changelog:
Code: [Select]
Version 1.24.2:
Debugger was accidentally left enabled.
This should considerably improve the speed.

Version 1.24.1:
Using new RGB 512 color palette from wikipedia.
It seems to look a little nicer now.

Version 1.24:
This version has better colors based on Mednafen.
Thanks Qubits !

Version 1.23.2:
Should fix support for OGG files.

Version 1.23.1:
Should fix the color/gamma issue.

Version 1.23:
Fixed several issues with Audio, thanks Qubits for reporting them.
Temper will now exit if you attempt to load a binary file. (instead of a cue file)

Version 1.22:
Fixed several issues with custom input.

Version 1.21:
Fixed Button VI not working. (thanks bear for reporting it)

Version 1.2:
Fixed a lot of issues on GCW Zero, it's now much faster.
Select now brings up the menu.
(If someone needs select for a special game like Air Zonk, he can always remap the buttons.)
Triple buffering is now enabled too.

Version 1.1:
Fixes issues with syscards and Select + A now brings up the Menu.

Version 1.0:
Initial version.

Any suggestions are WELLCUM !!!
Title: Re: [BETA] Temper - NEC PC-ENGINE emulator
Post by: eltehero on June 12, 2016, 12:35:47 pm
What is the difference between this new version and the already existing Temper?
Title: Re: [BETA] Temper - NEC PC-ENGINE emulator
Post by: gameblabla on June 12, 2016, 02:41:32 pm
What is the difference between this new version and the already existing Temper?
This new version is a native one optimised for the GCW Zero's better processor.
It also saves the configuration, bram, save states... to the home directory.
It is also guaranteed to work on future firmwares, whereas the Dingoo version can no longer work at any time.
Title: Re: [BETA] Temper - NEC PC-ENGINE emulator
Post by: Quickman on June 12, 2016, 08:10:56 pm
@gameblabla
 Possibly a stupid question?  what's the difference/how does it compare to your Mednafen??

Title: Re: [BETA] Temper - NEC PC-ENGINE emulator
Post by: gameblabla on June 13, 2016, 02:17:40 am
@gameblabla
 Possibly a stupid question?  what's the difference/how does it compare to your Mednafen??
Apparently, Mednafen suffers from some slowdowns for some games.
Yes, i could not believe that as i have personally not experienced that.
Temper is less accurate but much faster and better designed for speed unlike Mednafen.
It also comes with a menu, which Mednafen does not have by default.
(Only a primitive text interface that heavily relies on a keyboard)
Title: Re: [BETA] Temper - NEC PC-ENGINE emulator
Post by: Strauberry on June 13, 2016, 02:28:23 am
Where would I put the BIOS files? I tried the "images" folder, but that didn't seem to improve performance, and neither did placing the BIOS in the same directory as my roms
Title: Re: [BETA] Temper - NEC PC-ENGINE emulator
Post by: Quickman on June 13, 2016, 03:20:41 am
Nice! Thank you for the response! Sounds like I'll still be keeping Mednafen around and maybe end up using both for different types of games :)

Maybe Med for platformers , and temper for shooters?
Title: Re: [BETA] Temper - NEC PC-ENGINE emulator
Post by: gameblabla on June 13, 2016, 03:41:16 pm
Where would I put the BIOS files? I tried the "images" folder, but that didn't seem to improve performance, and neither did placing the BIOS in the same directory as my roms
Sorry, you were supposed to place it in the "syscards" folder but that folder was not created by Temper, oops.
I have released a new version that fixes this and Select + A now brings up the Menu.

Quote
Sounds like I'll still be keeping Mednafen around and maybe end up using both for different types of games :)
I think most people who wants to play NEC PC-Engine games will just use Temper now instead.
I would only advise people to use Mednafen if they want to play Supergrafx games.
For the other systems though (Neo Geo Pocket Color and Lynx), Mednafen is still the best choice.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Aeter on June 13, 2016, 09:10:14 pm
Lynx and neogeo pocket have better emulators already, Race and Handy320.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: bear on June 15, 2016, 09:00:05 am
thank you

1.Select + A now brings up the Menu;   no use in any game  :-[

2.cound't remap button(ie put menu to select)

3.sound lag

Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on June 15, 2016, 06:30:23 pm
Quote
1.Select + A now brings up the Menu;   no use in any game  :-[
no use in any game ? What is your point ?
Of course, it has no purpose in games, because you know, Select + A brings the menu...
Hmm....

2.cound't remap button(ie put menu to select)
You can remap buttons in the buttons but it's done differently in Temper.
You need to change the mapping by pressing left and right in the input menu.

And no, i'm not going to put the menu to select. Why ?
Because some games like Air Zonk is using the Select button.
In order not to conflict with such games, this is the only workaround i found.

Quote
3.sound lag
Maybe it runs too slowly ?
In what games did this happenned to you ?
You can set "Show FPS" to Yes in the menu.

Quote
Lynx and neogeo pocket have better emulators already, Race and Handy320.
lol aeter.
Handy320 does not run some games.
As for Race, it's such an unstable piece of s**t that it can't be updated due to that.
In fact, it no longer works properly when compiled against the latest toolchain.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Aeter on June 15, 2016, 06:53:57 pm
Quote
Lynx and neogeo pocket have better emulators already, Race and Handy320.
lol aeter.
Handy320 does not run some games.
As for Race, it's such an unstable piece of s**t that it can't be updated due to that.
In fact, it no longer works properly when compiled against the latest toolchain.
When I used them they performed properly at least in my opinion, perhaps my standards aren't that high.
Or perhaps the games I tested just run well enough, who knows.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: AtariHERO on June 15, 2016, 09:01:38 pm
ex. new adventure island run perfect on last temper
now the sound is terrible on this release  :'(
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on June 15, 2016, 11:14:29 pm
I should have tested it on a real GCW...
It was indeed not running properly due to numerous odd issues.
But now, it's a thing of the past and all the games are now running properly with crystal clear sound !

Enjoy this new release and sorry for the trouble !
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Strauberry on June 16, 2016, 12:28:40 am
All my roms are running at full speed now, thank you for the latest release!
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: bear on June 16, 2016, 05:41:20 am
thank you
ver 1.2 is very good ;D


1.remap button (no"none"and"menu"to select)
2."R"trigger couldn't use in some game(ie. street fighter 2)
3.menu function could use select+start or power/lock to instead
4.configure options-scale screen 1x couldn't change to fullscreen and other(remap button as same,just use default settings)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on June 16, 2016, 02:17:48 pm
1.remap button (no"none"and"menu"to select)
I'm not sure what you mean...

2."R"trigger couldn't use in some game(ie. street fighter 2)
Thanks, i fixed it. (I have released a new minor version in my first post)

3.menu function could use select+start or power/lock to instead
And now you're suggesting me to use Select+Start instead ?
Lol
That button combinaison is used by all games to reset to the titlescreen btw so can't really use it.

4.configure options-scale screen 1x couldn't change to fullscreen and other(remap button as same,just use default settings)
I did that on purpose because all the other options are useless on GCW Zero.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: yoshi41 on June 16, 2016, 06:35:51 pm
Thanks for this port. Looks pretty good.  8)

I think remap buttons might need some love...

- change (left side) list of GCW buttons from numbers to meaningful names
- when scrolling through the buttons, Rapid VI, None and Menu is missing

Select button shows the menu. Don't know if this is really a good idea, since Select in used in some games (e.g. Gate of Thunder).
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: AtariHERO on June 16, 2016, 08:08:38 pm
works great!!!


still
when you need to reload a game either you exit the emu or use the old interface
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on June 16, 2016, 09:16:22 pm
I have released a new minor update that fixes several issues.
Custom input in fact, did not worked before because it was actually, surprise, not implemented...

* Now you can select Menu and None
* You can now change the default mapping
* Changed the buttons names (used to be numbers before)

MAKE SURE TO DELETE ALL THE FILES In /media/home/.temper/config !

The new release (Version 1.22) can be downloaded in the first post.
Enjoy

Quote
still
when you need to reload a game either you exit the emu or use the old interface
No, you don't.
If you want to load a new game, select "Load new game" in the Menu.
If you want to reset a game, you need to select "Restart game" in the Menu.

Quote
Don't know if this is really a good idea, since Select in used in some games (e.g. Gate of Thunder).
For games like Gate of Thunder if needed, you can always change the mapping and choose "Exit: save for this game".
Might change that if really needed though. (What is the Select button for in Gate of Thunder anyway ?)

EDIT: Rapid fire does not seem to work properly. I'll look into this
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: bear on June 17, 2016, 04:15:12 am
thank you 8)
support fullscreen then perfect~
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: eltehero on June 17, 2016, 04:45:17 am
Does this new Temper support v-sync?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on June 17, 2016, 05:47:35 am
Does this new Temper support v-sync?
Yes, this version of Temper supports Triple Buffering, which is even better.

thank you 8)
support fullscreen then perfect~
It's already fullscreen... unless you want to fullscreen scaling ?
If so, then you can set "Scale screen width" to Yes.
It does not apply bilinear filtering to the screen though...

Title: Re: Temper - NEC PC-ENGINE emulator
Post by: bear on June 17, 2016, 01:03:56 pm
thank you 8)
support fullscreen then perfect~
[/quote]
It's already fullscreen... unless you want to fullscreen scaling ?
If so, then you can set "Scale screen width" to Yes.
It does not apply bilinear filtering to the screen though...
[/quote]

sorry~
thank you
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: yoshi41 on June 17, 2016, 07:36:38 pm
I have released a new minor update that fixes several issues.

Thanks!

What is the Select button for in Gate of Thunder anyway ?

Change the moving speed of the ship.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Quickman on June 17, 2016, 08:05:01 pm
I have released a new minor update that fixes several issues.

Thanks!

What is the Select button for in Gate of Thunder anyway ?

Change the moving speed of the ship.

 I think the Select button is also a speed changer for the game "blazing lasers" on tg16 as well

Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on June 27, 2016, 06:03:07 pm
That's a lot of informations to read here... hope you're ready gameblabla ! ;)

I haved tested all of my pce games, the fps is perfect, 60 fps full speed on all games i've tested but as previous people mentioned there are some massive sound, music lags / problems :

Aero Blaster : 60 FPS but sound / music lags, you can hear it on first level when the 3 green robots apears
Batman : 60 FPS but lot of sound / music lags during the whole game, even on the intro / menu
Blazing lasers 60 FPS but some sound / music lags during the intro / menu of the game
Bomberman 94 : 60 FPS but the music / sound spit and crackle from time to time (like every 20 secs), to hear this prob, press start until bomberman is in the " temple " kind of cheese place and let the music run
Dead Moon : 60 FPS but sound / music lags during the intro / menu screen. In the game its ok
Detana TwinBee : 60 FPS but MASSIVE sound / music lags during the intro / menu screen / in the game
Galaga 88 : 60 FPS but sounds / music lags during the game
Ginga Fukei Densetsu Sapphire : Doesnt work ! the game launch but then it shows a naked girl with a japanese writing......................
Gradius : 60 FPS but massive sound / music lags
Image Fight : 60 FPS sound / music lags during the intro, during the game it seems ok but i havent played for a long time
Image Fight II (cd) : 60 FPS but some spits and crackles for the music during the game (you can hear that easily by pressing start (pause) during the game and just hear the music...)
Loom : 60 FPS but sounds / music lags
Lords of Thunder :  60 FPS but sounds / music lags
Ninja Spirit : 60 FPS but some spits / crackles on music / sound
R-Type Part II : 60 FPS but sound / music lags
Summer Carnival 92 : 60 FPS but sound / music lag probs
Valkyrie no Densetsu : 60 FPS but sound / music lag probs

These are only the games that have some sound / music lags, of course i've played other games that dont have any problems at all and are just perfect in terms of fps, sound & music like Devil Crash, Fantasy Star Soldier, Coton, Final Match Tennis, etc...

Also an important thing to notice is that on many games when you press pause you hear a noise in the background which doesnt happen on Mednafen or other emulators, exemple : Ninja Spirit or Dead Moon.

Another thing to mention when lauching cd games, since you cannot see the extension, if you launch the iso instead of the cue, it will show a black screen and the gcw is stucked, the only way to escape is pressing Hold up + Select, it would be nice to be able to press start+select to exit and go back to the list of the roms too or an automatic go back to the rom list like on Mednafen would be nice.

Now the other problem i've mentioned in the Mednafen post and that i think is important enough to mention is about the colors / contrast / saturation. I dont know if Mednafen shows the correct c/c/s or if its temper that is right, but the difference is here and to me, it seems that Temper is fading the colors a little bit, make them look desaturated, while Mednafen is showing bright and crisp colors, much more better looking. here are a few screenshots for some comparaisons :

Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Quickman on June 27, 2016, 06:09:35 pm
@Qubits  thanks for the screenshot comparisons and info!   I can see what you mean exactly on the color/contrast/saturation
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on June 27, 2016, 10:38:10 pm
Thank you for reporting bugs Qubits.
I have released a new version (1.23) that fixes all the issues except the color saturation.

Ginga Fukei Densetsu Sapphire : Doesnt work ! the game launch but then it shows a naked girl with a japanese writing......................
HAHAHAHA
I'm sorry but this is just hilarious, i need to test this.
This game is one of these games to require the Arcade Card.
To enable the Arcade Card, go to "Configure Options", and set "CD-Rom System" to ACD.

Quote
Now the other problem i've mentioned in the Mednafen post and that i think is important enough to mention is about the colors / contrast / saturation. I dont know if Mednafen shows the correct c/c/s or if its temper that is right, but the difference is here and to me, it seems that Temper is fading the colors a little bit, make them look desaturated, while Mednafen is showing bright and crisp colors, much more better looking. here are a few screenshots for some comparaisons :
I attempted to fix this but SDL_SetGamma do not work on the GCW0, arf...
I will need to look further into this but the fact that SDL_SetGamma only seems to work on Windows does not help.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on June 27, 2016, 10:57:47 pm
I've downloaded 1.23 and it fixes all sound / music problems except with loom. It's now getting close to perfection, hope you can find a solution to fix the color problem ! Good luck.

Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on June 28, 2016, 06:11:17 pm
BTW, here is a very good site for PC Engine you might want to visit if you dont know about it and would like to discover new games, it has lot of screenshots, videos, even comparisons for games that have been ported on other consoles, very good tool, ckeck it out !

http://www.pcengine.co.uk
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Quickman on June 28, 2016, 08:18:56 pm
BTW, here is a very good site for PC Engine you might want to visit if you dont know about it and would like to discover new games, it has lot of screenshots, videos, even comparisons for games that have been ported on other consoles, very good tool, ckeck it out !

http://www.pcengine.co.uk

Thanks buddy! @Qubits
 I love that they have a section for Sprite sheets 👍😀
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on July 05, 2016, 01:30:56 pm
Just taking some news, do you think you can fix the colors problem gameblabla ? I really would like to play my favourites pc engine games with the original colors...
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on September 14, 2016, 01:59:24 pm
I have fixed the color issue and made the color palette brighter,
let me know if the palette is too bright.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on September 14, 2016, 05:56:02 pm
It's the same, i've downloaded the opk from the first post, its still v1.23, are you sure you've uploaded the new one ?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on September 14, 2016, 07:15:22 pm
It's the same, i've downloaded the opk from the first post, its still v1.23, are you sure you've uploaded the new one ?
It's not the same, you're wrong, i have just not bothered to change the version string.
I changed it so it includes the current version number now. (1.23.1)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on September 14, 2016, 07:19:31 pm
I've downloaded the opk from the first post, replaced it on my gcw and the colors and the same.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on September 14, 2016, 08:07:12 pm
I've downloaded the opk from the first post, replaced it on my gcw and the colors and the same.
Then that's a problem on your side, because i have updated it.
Sometimes, you may have to reboot your GCW0 because it doesn't refresh the cache properly.

I have (again) updated Temper because the palette was too bright,
it's now on par with Mednafen.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on September 14, 2016, 08:20:24 pm
You've changed the luminosity (too bright black becomes grey) but the colors are always too pale (temper 1.2.3.1 on the left and mednafen on the right) :

Title: Re: Temper - NEC PC-ENGINE emulator
Post by: TimeDevouncer on September 14, 2016, 10:19:53 pm
I don't know the problem, but when I try a CD game, the screen turns black and nothing more.

I put the syscards in the .temper\syscards directory :-\, I need something else?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on September 15, 2016, 12:15:01 am
Well, i can't seem to tweak it to make it look like Mednafen...
I might end up simply using pre-calculated values from the 512-color test lol.

I don't know the problem, but when I try a CD game, the screen turns black and nothing more.
I put the syscards in the .temper\syscards directory :-\, I need something else?
Your game needs to be in bin/cue or iso/cue format.
Check the cue file, it needs to be valid and the filename is case-sensitive,
you might have to modify the cue file.

The syscards file needs to be named "syscard3.pce", make sure that's the case.

I myself tried it just recently (last version) and i can assure you CD games work perfectly.

Also... if you use Filezilla, you need to change the transfer type.
To do so, go to Transfer -> Transfer Type -> Binary.
Then delete your iso and transfer it again to your console.

I'm sorry but i know a lot of people who suffered from that issue and it turned out to be Filezilla's fault.
A MTP implementation to the Zero should fix this but it won't be added any time soon.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on September 15, 2016, 08:21:24 am
Can any dev on the forum help to fix this color issue ?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on September 15, 2016, 08:47:06 am
Can any dev on the forum help to fix this color issue ?
lol

But i could use some help...
If anyone has some time to waste, i want the rgb values for each color found on that screenshot :
(https://gameblabla.nl/img/color_test.png)

There are 512 colors in total, any volonteers ?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on September 15, 2016, 11:02:21 am
I will work on it this week end. What you need is for exemple : Red = 74 / Green = 114 / Blue = 90 , for each of the colours right ? Also there is not 512 colors on this picture but 539 so are you sure it's going to help you ?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on September 15, 2016, 11:10:22 am
What you need is for exemple : Red = 74 / Green = 114 / Blue = 90 , for each of the colours right ?
Exactly. Start from left to right, go down to the next range, repeat.
Quote
Also there is not 512 colors on this picture but 539 so
Yeah, sorry about that, there's indeed a little more than 512 colors.
Quote
are you sure it's going to help you ?
If you wish to have better colors on Temper, then this is your only hope.

Thanks Qubits, you're one crazy dude hahaha
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on September 15, 2016, 11:13:52 am
It's going to take me 30-60 mins max, i might even do it tonight since i will come back home pretty soon and hopefully you will be able to fix this color issue this week end :)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: TimeDevouncer on September 15, 2016, 04:08:39 pm
Well, i can't seem to tweak it to make it look like Mednafen...
I might end up simply using pre-calculated values from the 512-color test lol.

I don't know the problem, but when I try a CD game, the screen turns black and nothing more.
I put the syscards in the .temper\syscards directory :-\, I need something else?
Your game needs to be in bin/cue or iso/cue format.
Check the cue file, it needs to be valid and the filename is case-sensitive,
you might have to modify the cue file.

The syscards file needs to be named "syscard3.pce", make sure that's the case.

I myself tried it just recently (last version) and i can assure you CD games work perfectly.

Also... if you use Filezilla, you need to change the transfer type.
To do so, go to Transfer -> Transfer Type -> Binary.
Then delete your iso and transfer it again to your console.

I'm sorry but i know a lot of people who suffered from that issue and it turned out to be Filezilla's fault.
A MTP implementation to the Zero should fix this but it won't be added any time soon.

You're right, with modified " cues" works fine, thank you so much ;D
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on September 15, 2016, 06:09:56 pm
Came back from work later than i've thought, so i've done the first column, i will try to finish it tomorrow or this week end. I will update the post. I also put a picture as a reference so you can understand how its done :

Column 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)
Column A2 : (R144,G0,B0) / (R144,G0,B36) / (R144,G0,B72) / (R144,G0,B108) / (R144,G0,B144) / (R144,G0,B180) / (R144,G0,B216) / (R144,G0,B252)
Column A3 : (R0,G36,B0) / (R0,G36,B36) / (R0,G36,B72) / (R0,G36,B108) / (R0,G36,B144) / (R0,G36,B180) / (R0,G36,B216) / (R0,G36,B252)
Column A4 : (R144,G36,B0) / (R144,G36,B36) / (R144,G36,B72) / (R144,G36,B108) / (R144,G36,B144) / (R144,G36,B180) / (R144,G36,B216) / (R144,G36,B252)
Column A5 : (R0,G72,B0) / (R0,G72,B36) / (R0,G72,B72) / (R0,G72,B108) / (R0,G72,B144) / (R0,G72,B180) / (R0,G72,B216) / (R0,G72,B252)
Column A6 : (R144,G72,B0) / (R144,G72,B36) / (R144,G72,B72) / (R144,G72,B108) / (R144,G72,B144) / (R144,G72,B180) / (R144,G72,B216) / (R144,G72,B252)
Column A7 : (R0,G108,B0) / (R0,G108,B36) / (R0,G108,B72) / (R0,G108,B108) / (R0,G108,B144) / (R0,G108,B180) / (R0,G108,B216) / (R0,G108,B252)
Column A8 : (R144,G108,B0) / (R144,G108,B36) / (R144,G108,B72) / (R144,G108,B108) / (R144,G108,B144) / (R144,G108,B180) / (R144,G108,B216) / (R144,G108,B252)
Column A9 : (R0,G144,B0) / (R0,G144,B36) / (R0,G144,B72) / (R0,G144,B108) / (R0,G144,B144) / (R0,G144,B180) / (R0,G144,B216) / (R0,G144,B252)
Column A10 : (R144,G144,B0) / (R144,G144,B36) / (R144,G144,B72) / (R144,G144,B108) / (R144,G144,B144) / (R144,G144,B180) / (R144,G144,B216) / (R144,G144,B252)
Column A11 : (R0,G180,B0) / (R0,G180,B36) / (R0,G180,B72) / (R0,G180,B108) / (R0,G180,B144) / (R0,G180,B180) / (R0,G180,B216) / (R0,G180,B252)
Column A12 : (R144,G180,B0) / (R144,G180,B36) / (R144,G180,B72) / (R144,G180,B108) / (R144,G180,B144) / (R144,G180,B180) / (R144,G180,B216) / (R144,G180,B252)
Column A13 : (R0,G216,B0) / (R0,G216,B36) / (R0,G216,B72) / (R0,G216,B108) / (R0,G216,B144) / (R0,G216,B180) / (R0,G216,B216) / (R0,G216,B252)
Column A14 : (R144,G216,B0) / (R144,G216,B36) / (R144,G216,B72) / (R144,G216,B108) / (R144,G216,B144) / (R144,G216,B180) / (R144,G216,B216) / (R144,G216,B252)
Column A15 : (R0,G252,B0) / (R0,G252,B36) / (R0,G252,B72) / (R0,G252,B108) / (R0,G252,B144) / (R0,G252,B180) / (R0,G252,B216) / (R0,G252,B252)
Column A16 : (R144,G252,B0) / (R144,G252,B36) / (R144,G252,B72) / (R144,G252,B108) / (R144,G252,B144) / (R144,G252,B180) / (R144,G252,B216) / (R144,G252,B252)


Column 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)
Column B2 : (R180,G0,B0) / (R180,G0,B36) / (R180,G0,B72) / (R180,G0,B108) / (R180,G0,B144) / (R180,G0,B180) / (R180,G0,B216) / (R180,G0,B252)
Column B3 : (R36,G36,B0) / (R36,G36,B36) / (R36,G36,B72) / (R36,G36,B108) / (R36,G36,B144) / (R36,G36,B180) / (R36,G36,B216) / (R36,G36,B252)
Column B4 : (R180,G36,B0) / (R180,G36,B36) / (R180,G36,B72) / (R180,G36,B108) / (R180,G36,B144) / (R180,G36,B180) / (R180,G36,B216) / (R180,G36,B252)
Column B5 : (R36,G72,B0) / (R36,G72,B36) / (R36,G72,B72) / (R36,G72,B108) / (R36,G72,B144) / (R36,G72,B180) / (R36,G72,B216) / (R36,G72,B252)
Column B6 : (R180,G72,B0) / (R180,G72,B36) / (R180,G72,B72) / (R180,G72,B108) / (R180,G72,B144) / (R180,G72,B180) / (R180,G72,B216) / (R180,G72,B252)
Column B7 : (R36,G108,B0) / (R36,G108,B36) / (R36,G108,B72) / (R36,G108,B108) / (R36,G108,B144) / (R36,G108,B180) / (R36,G108,B216) / (R36,G108,B252)
Column B8 : (R180,G108,B0) / (R180,G108,B36) / (R180,G108,B72) / (R180,G108,B108) / (R180,G108,B144) / (R180,G108,B180) / (R180,G108,B216) / (R180,G108,B252)
Column B9 : (R36,G144,B0) / (R36,G144,B36) / (R36,G144,B72) / (R36,G144,B108) / (R36,G144,B144) / (R36,G144,B180) / (R36,G144,B216) / (R36,G144,B252)
Column B10 : (R180,G144,B0) / (R180,G144,B36) / (R180,G144,B72) / (R180,G144,B108) / (R180,G144,B144) / (R180,G144,B180) / (R180,G144,B216) / (R180,G144,B252)
Column B11 : (R36,G180,B0) / (R36,G180,B36) / (R36,G180,B72) / (R36,G180,B108) / (R36,G180,B144) / (R36,G180,B180) / (R36,G180,B216) / (R36,G180,B252)
Column B12 : (R180,G180,B0) / (R180,G180,B36) / (R180,G180,B72) / (R180,G180,B108) / (R180,G180,B144) / (R180,G180,B180) / (R180,G180,B216) / (R180,G180,B252)
Column B13 : (R36,G216,B0) / (R36,G216,B36) / (R36,G216,B72) / (R36,G216,B108) / (R36,G216,B144) / (R36,G216,B180) / (R36,G216,B216) / (R36,G216,B252)
Column B14 : (R180,G216,B0) / (R180,G216,B36) / (R180,G216,B72) / (R180,G216,B108) / (R180,G216,B144) / (R180,G216,B180) / (R180,G216,B216) / (R180,G216,B252)
Column B15 : (R36,G252,B0) / (R36,G252,B36) / (R36,G252,B72) / (R36,G252,B108) / (R36,G252,B144) / (R36,G252,B180) / (R36,G252,B216) / (R36,G252,B252)
Column B16 : (R180,G252,B0) / (R180,G252,B36) / (R180,G252,B72) / (R180,G252,B108) / (R180,G252,B144) / (R180,G252,B180) / (R180,G252,B216) / (R180,G252,B252)


Column 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)
Column C2 : (R216,G0,B0) / (R216,G0,B36) / (R216,G0,B72) / (R216,G0,B108) / (R216,G0,B144) / (R216,G0,B180) / (R216,G0,B216) / (R216,G0,B252)
Column C3 : (R72,G36,B0) / (R72,G36,B36) / (R72,G36,B72) / (R72,G36,B108) / (R72,G36,B144) / (R72,G36,B180) / (R72,G36,B216) / (R72,G36,B252)
Column C4 : (R216,G36,B0) / (R216,G36,B36) / (R216,G36,B72) / (R216,G36,B108) / (R216,G36,B144) / (R216,G36,B180) / (R216,G36,B216) / (R216,G36,B252)
Column C5 : (R72,G72,B0) / (R72,G72,B36) / (R72,G72,B72) / (R72,G72,B108) / (R72,G72,B144) / (R72,G72,B180) / (R72,G72,B216) / (R72,G72,B252)
Column C6 : (R216,G72,B0) / (R216,G72,B36) / (R216,G72,B72) / (R216,G72,B108) / (R216,G72,B144) / (R216,G72,B180) / (R216,G72,B216) / (R216,G72,B252)
Column C7 : (R72,G108,B0) / (R72,G108,B36) / (R72,G108,B72) / (R72,G108,B108) / (R72,G108,B144) / (R72,G108,B180) / (R72,G108,B216) / (R72,G108,B252)
Column C8 : (R216,G108,B0) / (R216,G108,B36) / (R216,G108,B72) / (R216,G108,B108) / (R216,G108,B144) / (R216,G108,B180) / (R216,G108,B216) / (R216,G108,B252)
Column C9 : (R72,G144,B0) / (R72,G144,B36) / (R72,G144,B72) / (R72,G144,B108) / (R72,G144,B144) / (R72,G144,B180) / (R72,G144,B216) / (R72,G144,B252)
Column C10 : (R216,G144,B0) / (R216,G144,B36) / (R216,G144,B72) / (R216,G144,B108) / (R216,G144,B144) / (R216,G144,B180) / (R216,G144,B216) / (R216,G144,B252)
Column C11 : (R72,G180,B0) / (R72,G180,B36) / (R72,G180,B72) / (R72,G180,B108) / (R72,G180,B144) / (R72,G180,B180) / (R72,G180,B216) / (R72,G180,B252)
Column C12 : (R216,G180,B0) / (R216,G180,B36) / (R216,G180,B72) / (R216,G180,B108) / (R216,G180,B144) / (R216,G180,B180) / (R216,G180,B216) / (R216,G180,B252)
Column C13 : (R72,G216,B0) / (R72,G216,B36) / (R72,G216,B72) / (R72,G216,B108) / (R72,G216,B144) / (R72,G216,B180) / (R72,G216,B216) / (R72,G216,B252)
Column C14 : (R216,G216,B0) / (R216,G216,B36) / (R216,G216,B72) / (R216,G216,B108) / (R216,G216,B144) / (R216,G216,B180) / (R216,G216,B216) / (R216,G216,B252)
Column C15 : (R72,G252,B0) / (R72,G252,B36) / (R72,G252,B72) / (R72,G252,B108) / (R72,G252,B144) / (R72,G252,B180) / (R72,G252,B216) / (R72,G252,B252)
Column C16 : (R216,G252,B0) / (R216,G252,B36) / (R216,G252,B72) / (R216,G252,B108) / (R216,G252,B144) / (R216,G252,B180) / (R216,G252,B216) / (R216,G252,B252)


Column D1 : (R108,G0,B0) / (R108,G0,B36) / (R108,G0,B72) / (R108,G0,B108) / (R108,G0,B144) / (R108,G0,B180) / (R108,G0,B216)
Column D2 : (R252,G0,B0) / (R252,G0,B36) / (R252,G0,B72) / (R252,G0,B108) / (R252,G0,B144) / (R252,G0,B180) / (R252,G0,B216)
Column D3 : (R108,G36,B0) / (R108,G36,B36) / (R108,G36,B72) / (R108,G36,B108) / (R108,G36,B144) / (R108,G36,B180) / (R108,G36,B216)
Column D4 : (R252,G36,B0) / (R252,G36,B36) / (R252,G36,B72) / (R252,G36,B108) / (R252,G36,B144) / (R252,G36,B180) / (R252,G36,B216)
Column D5 : (R108,G72,B0) / (R108,G72,B36) / (R108,G72,B72) / (R108,G72,B108) / (R108,G72,B144) / (R108,G72,B180) / (R108,G72,B216)
Column D6 : (R252,G72,B0) / (R252,G72,B36) / (R252,G72,B72) / (R252,G72,B108) / (R252,G72,B144) / (R252,G72,B180) / (R252,G72,B216)
Column D7 : (R108,G108,B0) / (R108,G108,B36) / (R108,G108,B72) / (R108,G108,B108) / (R108,G108,B144) / (R108,G108,B180) / (R108,G108,B216)
Column D8 : (R252,G108,B0) / (R252,G108,B36) / (R252,G108,B72) / (R252,G108,B108) / (R252,G108,B144) / (R252,G108,B180) / (R252,G108,B216)
Column D9 : (R108,G144,B0) / (R108,G144,B36) / (R108,G144,B72) / (R108,G144,B108) / (R108,G144,B144) / (R108,G144,B180) / (R108,G144,B216)
Column D10 : (R252,G144,B0) / (R252,G144,B36) / (R252,G144,B72) / (R252,G144,B108) / (R252,G144,B144) / (R252,G144,B180) / (R252,G144,B216)
Column D11 : (R108,G180,B0) / (R108,G180,B36) / (R108,G180,B72) / (R108,G180,B108) / (R108,G180,B144) / (R108,G180,B180) / (R108,G180,B216)
Column D12 : (R252,G180,B0) / (R252,G180,B36) / (R252,G180,B72) / (R252,G180,B108) / (R252,G180,B144) / (R252,G180,B180) / (R252,G180,B216)
Column D13 : (R108,G216,B0) / (R108,G216,B36) / (R108,G216,B72) / (R108,G216,B108) / (R108,G216,B144) / (R108,G216,B180) / (R108,G216,B216)
Column D14 : (R252,G216,B0) / (R252,G216,B36) / (R252,G216,B72) / (R252,G216,B108) / (R252,G216,B144) / (R252,G216,B180) / (R252,G216,B216)
Column D15 : (R108,G252,B0) / (R108,G252,B36) / (R108,G252,B72) / (R108,G252,B108) / (R108,G252,B144) / (R108,G252,B180) / (R108,G252,B216)
Column D16 : (R252,G252,B0) / (R252,G252,B36) / (R252,G252,B72) / (R252,G252,B108) / (R252,G252,B144) / (R252,G252,B180) / (R252,G252,B216)


E : (R36,G36,B36) / (R72,G72,B72) / (R108,G108,B108) / (R144,G144,B144) / (R180,G180,B180) / (R216,G216,B216) / (R252,G252,B252)
F : (R36,G0,B0) / (R72,G0,B0) / (R108,G0,B0) / (R144,G0,B0) / (R180,G0,B0) / (R216,G0,B0) / (R252,G0,B0)
G : (R0,G36,B0) / (R0,G72,B0) / (R0,G108,B0) / (R0,G144,B0) / (R0,G180,B0) / (R0,G216,B0) / (R0,G252,B0)
H : (R0,G0,B36) / (R0,G0,B72) / (R0,G0,B108) / (R0,G0,B144) / (R0,G0,B180) / (R0,G0,B216) / (R0,G0,B252)
I :  (R36,G36,B0) / (R72,G72,B0) / (R108,G108,B0) / (R144,G144,B0) / (R180,G180,B0) / (R216,G216,B0) / (R252,G252,B0)
J : (R0,G36,B36) / (R0,G72,B72) / (R0,G108,B108) / (R0,G144,B144) / (R0,G180,B180) / (R0,G216,B216) / (R0,G252,B252)
K :  (R36,G0,B36) / (R72,G0,B72) / (R108,G0,B108) / (R144,G0,B144) / (R180,G0,B180) / (R216,G0,B216) / (R252,G0,B252)

Title: Re: Temper - NEC PC-ENGINE emulator
Post by: congusbongus on September 16, 2016, 12:51:26 am
I imagine @gameblabla will put those values into source code so a format like CSV would be easier to work with.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on September 16, 2016, 01:34:09 am
I imagine @gameblabla will put those values into source code so a format like CSV would be easier to work with.
Exactly, it is just easier to manipulate pre-calculated values than over-complicated convertion algorithms.
I just put them in arrays though.

I need Qubits to complete the whole palette so i can get proper color rendering though...
Right now, the palette order is wrong and cannot be used as such until he's done.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on September 17, 2016, 06:02:18 pm
It's done.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on September 17, 2016, 06:08:43 pm
What i dont really understand is : shouldnt white be R255,G255,B255 ? for a pure white and a better contrast ? and so all the other values as well, shouldnt they go up to 255 and not 252 ?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on September 17, 2016, 08:05:03 pm
What i dont really understand is : shouldnt white be R255,G255,B255 ? for a pure white and a better contrast ? and so all the other values as well, shouldnt they go up to 255 and not 252 ?
Well, that screenshot came right from Mednafen so it can't be wrong.
That being said, the PC-Engine has a huge palette of 512 colors but from the first 512 colors, i can't see a pure white...
Hmmm... i guess i will have to put that palette inside of temper and see what happens.
Thanks Qubits
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on September 17, 2016, 08:38:47 pm
Let's try with thoses values, if the colors are still too pale then maybe we'll have to tweak them and raise them a bit with a +3 for each of them to reach the 255.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Mar8 on September 17, 2016, 09:28:40 pm
  Teamwork! I love it! Thanks @Qubits and @gameblabla!  It will be very interesting to see if you can get the color palette and saturation/contrast to match the beauty of Mednafen's :)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Mar8 on October 01, 2016, 05:12:44 am
@davidgilmour its THIS version buddy!
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: davidgilmour on October 01, 2016, 09:22:02 am
@davidgilmour its THIS version buddy!
Thanks, will try it today!
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on October 01, 2016, 11:30:59 am
How is the color fix going gameblabla ? have you tried the rgb values or do you encounter any other problem ?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: davidgilmour on October 01, 2016, 01:01:43 pm
@Mar8 thanks. This is a great version!
No more vsycnc problems.

It's an awesome emu.
2 minor things, 1. The colours aren't accurate (known issue)
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?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Swarmadd on October 01, 2016, 03:54:54 pm
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...
EDIT: I also have the syscard.pce (renamed from syscard.bin) into /usr/local/home/.temper/syscards !

ps. Thank you very much gameblabla for all your work (I'm french and from the OpenConsoles forum, I've seen your posts there!)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits 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...
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Mar8 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 :) !

Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla 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.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: davidgilmour 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!
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Swarmadd 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!)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla 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.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Swarmadd 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)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla 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)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: davidgilmour 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!
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on October 16, 2016, 12:26:08 pm
What about the color issue, when will it be fixed ?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla 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 :
(https://gameblabla.nl/img/color_palette_temper.png)

Rather than dealing with Mednafen's color palette, i have cramedp up the constrast on Temper's palette,
does this look better to you ?
(https://gameblabla.nl/img/color_palette_tweak.png)

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)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits 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.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits 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)



Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla 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)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits 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 ?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla 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.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits 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 ?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla 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.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits 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 ?
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: congusbongus 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/
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on October 19, 2016, 05:02:00 am
It's ok, using my technique i can finish the palette in less than one hour, i just need gameblabla to confirm that the grid doesnt need to have the same size of rectangles, if so i will spend more time to re-do the grid and make sure all rectangles have the exact same size.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on October 19, 2016, 07:54:29 am
The size doesn't really matter, as long as it is in the same order as Temper's palette.
Don't worry about that
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on October 19, 2016, 05:12:38 pm
Done 128 colors so far, still working on it, it takes much longer than i've thought, i will probably wont have time to finish it tonight. I've made a quick comparison of the first two rows and it's now pretty obvious how bad the Temper colors are and how accurate and vivid the Mednafen colors / palette is.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on October 20, 2016, 01:34:46 am
Man, that Temper palette is really bad in comparaison to Mednafen's one.
I should add you to the credits once you're done with the palette.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on October 20, 2016, 01:42:12 am
All the credit goes to the creator of Mednafen for creating this beautiful palette. I've done 256 colors so far, i will try to finish it tonight when i come back from work :)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Mar8 on October 20, 2016, 02:19:00 am
 The best of the best!? Temper is going to be incredible!

Thanks guys!!!
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on October 20, 2016, 06:50:24 pm
Here it is, all colors have been triple checked to be ensure they have the correct value / order.

(http://img15.hostingpics.net/pics/573035colorpalettetempermednafen.png)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Mar8 on October 20, 2016, 09:46:55 pm
Boom!  Looks beautiful! Thanks @Qubits
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on October 20, 2016, 10:38:00 pm
Thank you Qubits, the colors are fixed.
Well, almost... See that pict ?
(https://gameblabla.nl/img/bomberman94.png)

The copyright text is supposed to be pink, not black.
There has to be a mistake somewhere inside the palette...

Here's the palette taken from my new Temper :
(https://gameblabla.nl/img/mednafen.bmp)
And the old one :
(https://gameblabla.nl/img/palette_temper_512.png)

I'll recheck the palette again...

EDIT: I have replaced the black in the second row with pink and it fixed the copyright text.
I have not noticed any wonky issues, even during transitions but perhaps my eyes are falling on me...
I have released Temper version 1.24 with the new improvements.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on October 21, 2016, 06:08:25 am
Thanks, looks beautiful now ! I will check my PCE games this week end to see if everything's fine.

One thing to mention although is about the menu. It would be a good idea to make it appear by pressing select + start or pushing the power slider because some games like Devil Crash are using the select button : in the game, when you pause (start) and press select it shows a screen with the best scores but since Temper shows the emulator menu you cant see that score screen.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on October 22, 2016, 09:35:39 am
I havent noticed any color problems on my 80 PCE games only some music lags on twin bee and LOOM.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on October 22, 2016, 10:42:50 pm
I've just realized something... The original PCE palette has a palette of 512 colors divided by 32 groups of 16 colors instead of Temper who is actually using a palette of 512 colors divided by 64 groups of 8 colors which at the end results of a maximum in RGB of 252 on the 255 colors available (so each color is actually a bit under its correct value) so my question gameblabla is if we want to reproduce the exact same palette than the PCE that goes up to 255 and not 252, would Temper be able to use and handle a palette of 32 groups of 16 colors instead of the 64 groups of 8 colors that it's using right now ? If yes, i'm ok to work on it so we can achieve the perfection.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on October 22, 2016, 11:38:03 pm
I havent noticed any color problems on my 80 PCE games only some music lags on twin bee and LOOM.
Hmm, if the music lags then it means the FPS drops and it cannot run the games smoothly.
I had just realised Temper on the GCW0 is just able to run games smoothly...
Maybe this will change when the next firmware release will get realised though.
(with its new toolchain)

One thing to mention although is about the menu. It would be a good idea to make it appear by pressing select + start or pushing the power slider because some games like Devil Crash are using the select button : in the game, when you pause (start) and press select it shows a screen with the best scores but since Temper shows the emulator menu you cant see that score screen.
I had tried to do that but some problems with Temper's internals prevented me to do that (easily).
I will need to just that out again though.

Quote
I've just realized something... The original PCE palette has a palette of 512 colors divided by 32 groups of 16 colors instead of Temper who is actually using a palette of 512 colors divided by 64 groups of 8 colors which at the end results of a maximum in RGB of 252 on the 256 colors available (so each color is actually a bit under its correct value) so my question gameblabla is if we want to reproduce the exact same palette than the PCE that goes up to 256 and not 252, would Temper be able to use and handle a palette of 32 groups of 16 colors instead of the 64 groups of 8 colors that it's using right now ? If yes, i'm ok to work on it so we can achieve the perfection.
I'm not even sure that's actually how the PCE works.
Sure, its able to have up to 32 palettes with 16 different colors in each one but that does not mean
the internal palette is actually using 32 groups of 16 colors.
Unless you can prove me wrong.
In any case, this seem to be hardly feasible without breaking the games.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on October 23, 2016, 12:29:07 pm
After doing some researches on Google, i've found the 9 bits RGB palette on wiki ( https://en.wikipedia.org/wiki/List_of_monochrome_and_RGB_palettes#9-bit_RGB ) used by a real PCE which uses different values to go up to 255. Do you think you can use it and test it to see if we get better results ? it should be more accurate than the one i've made :

(http://img15.hostingpics.net/pics/456128RGB9bitspalette.png)

Here is a comparison of the first palette (top left), we can see this new palette rise up the last colors a bit to reach 255 so all colors should be more vivid :

Temper A1 (the one i've made) : (R0,G0,B0) / (R0,G0,B36) / (R0,G0,B72) / (R0,G0,B108) / (R0,G0,B144) / (R0,G0,B180) / (R0,G0,B216) / (R0,G0,B252)

Wiki A1 : (R0,G0,B0) / (R0,G0,B36) / (R0,G0,B72) / (R0,G0,B109) / (R0,G0,B145) / (R0,G0,B182) / (R0,G0,B218) / (R0,G0,B255)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: mth on October 29, 2016, 02:10:03 pm
Yes, i bundled Tremor with Temper because it's faster than libogg included with the firmware.
(static linking yo man)

Static linking can be a useful tool, but here it's not needed: Tremor is already available in the GCW Zero rootfs as "libvorbisidec.so" (the "idec" stands for "integer decoder").
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Qubits on November 01, 2016, 10:51:00 am
Gameblabla have you tried the new palette ? It should be more accurate than the mednafen one.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on November 03, 2016, 03:35:33 am
Gameblabla have you tried the new palette ? It should be more accurate than the mednafen one.
No, not really. I worked on other projects.
Will give this try again (as my first attempt failed)
Quote
Static linking can be a useful tool, but here it's not needed: Tremor is already available in the GCW Zero rootfs as "libvorbisidec.so" (the "idec" stands for "integer decoder").
thanks for the ip mth but i think i will keep it as is because you can't apply specific optimisations on shared libraries.
(Unless somehow the libraries has specific MIPS routines ??)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on December 03, 2016, 11:58:29 pm
I have converted the new palette and it does seem to be a little more accurate.
You can download update 1.24.1 now in my first post.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: Mar8 on December 04, 2016, 09:30:41 pm
Awesome! Thank you!
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on August 08, 2017, 10:23:49 pm
*Bump*
It turns out that the reason why some of more demanding games were slowing down is because
the debugger was left enabled...
Yes I'm not kidding, one line of code was responsible for the mess.
Exophase discovered this issue when someone ported the emulator to the 3DS but he forgot to tell me about it...
https://gbatemp.net/threads/release-temperpce-for-3ds.474737/page-3 (https://gbatemp.net/threads/release-temperpce-for-3ds.474737/page-3)

This will also be fixed in the Nspire version.
For now, enjoy Version 1.24.2 on your GCW-Zero.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: opt2not on August 08, 2017, 11:23:51 pm
Awesome! Thanks for uploading this update!
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: opt2not on August 09, 2017, 09:47:04 pm
Tried this out last night. Seems to increase performance for some CD games from what I could tell. Cotton and Bonk III runs pretty nice now. I couldn't see much difference in Beyond Shadowgate, but that game doesn't have a lot going on.

I'm still getting a weird issue with enabling the 6-button pad. Whenever I turn it on, (in multiple games) it keeps pressing the right direction automatically. I can't get it to stop. In 2-button mode it's fine, it's just when I enable 6-button that the controller initialization seems to be bugged.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on August 11, 2017, 01:49:00 am
I'm still getting a weird issue with enabling the 6-button pad. Whenever I turn it on, (in multiple games) it keeps pressing the right direction automatically. I can't get it to stop. In 2-button mode it's fine, it's just when I enable 6-button that the controller initialization seems to be bugged.
Tried it on my GCW-Zero and i can confirm the issue.
I disabled some useless code that was enabled and it should fix the issue. (i did not test it however)
I pushed another update, try it for me pretty pleaaassee
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: opt2not on August 11, 2017, 08:02:34 pm
Tried it on my GCW-Zero and i can confirm the issue.
I disabled some useless code that was enabled and it should fix the issue. (i did not test it however)
I pushed another update, try it for me pretty pleaaassee
I gave the latest push a try, and the problem is still is present.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on October 08, 2017, 07:39:49 pm
Tried it on my GCW-Zero and i can confirm the issue.
I disabled some useless code that was enabled and it should fix the issue. (i did not test it however)
I pushed another update, try it for me pretty pleaaassee
I gave the latest push a try, and the problem is still is present.
Yup, it doesn't fix it. I have no idea what's causing this ;_;
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: iball on July 25, 2019, 07:21:22 am
Where did the OPK for this go?  Dead link on the first post.  Checked gameblabla's github for it but it seems to be gone.
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: gameblabla on July 27, 2019, 06:34:09 pm
Where did the OPK for this go?  Dead link on the first post.  Checked gameblabla's github for it but it seems to be gone.
Sorry, i updated Temper and had removed the older OPK.
It's still available here :
https://github.com/gameblabla/temper/raw/f3328369d5e00e70b9c2ea095e09b1dec6452de5/SDL/temper.opk (https://github.com/gameblabla/temper/raw/f3328369d5e00e70b9c2ea095e09b1dec6452de5/SDL/temper.opk)
Title: Re: Temper - NEC PC-ENGINE emulator
Post by: iball on July 27, 2019, 08:31:28 pm
Where did the OPK for this go?  Dead link on the first post.  Checked gameblabla's github for it but it seems to be gone.
Sorry, i updated Temper and had removed the older OPK.
It's still available here :
https://github.com/gameblabla/temper/raw/f3328369d5e00e70b9c2ea095e09b1dec6452de5/SDL/temper.opk (https://github.com/gameblabla/temper/raw/f3328369d5e00e70b9c2ea095e09b1dec6452de5/SDL/temper.opk)

I had forgotten about Github's revision history until last night and was just about to post this link myself.
Thanks!