News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Devilmarkus

JavaCPC 6.6 - Last release?

Started by Devilmarkus, 22:03, 26 August 09

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Devilmarkus

Hi together,
I just compiled latest version 6.6 of JavaCPC.

It's not a final release, so no official download.

Since Java version 1.6 update 14, JavaCPC has strange display problems.

Until I cannot fix them, I will not offer a new official release.

Here's my last release:
http://cpc-live.com/6.6.pre.rar

Sorry, no sources, readme and other docs.
Check docs from 6.5

Who wants to help me with the "setDoubleBuffered(true);" please contact for swapping sources.

Cheers,
Markus
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Gryzor

Hmmmm... on the other hand, how many people really use the latest Java versions???

Devilmarkus

Quote from: GryzorHmmmm... on the other hand, how many people really use the latest Java versions???

Java is mostly auto-updating. (But you can deny the updates)

For all of you who wants to get rid of the bug in last Java-JRE's:
- Uninstall Java (System settings - Software)
- Install last good Java JRE (I archived on my server)

http://cpc-live.com/jre-6u13-windows-i586-p.exe
Java JRE 1.6 update 13 for Windows 32bit

I already reported this bug to SUN. (But what if they planned this?)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Gryzor

Ah yes, they have that stupid autoupdater... damn. Even if it's just a bug and they're planning to fix it, who knows how long it'll take :(

Devilmarkus

I can override this "bug" but this will bring the next problem with it:


Does anyone know, how I can remove the top bar of this JInternalFrame? It looks ugly...

But with this, the emulator would be doubleBuffered...
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Devilmarkus

Found my solution... (what a crap!!!)
((javax.swing.plaf.basic.BasicInternalFrameUI)
      intern.getUI()).setNorthPane(null);
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Gryzor

You mean the 'output' bar? It's not ugly, it's just wasted space...

I can't stop loving this filter :)

Devilmarkus

#7
After a long day full of hard work, I managed JavaCPC to get working better now.
The display should also be doublebuffered on new Java-versions, too.

WebCPC in this forum already has been updated with the new routine.
Please check it and tell me if it works properly.

(I had to do a really crap code for this)

Some other positive news:
The screenshot function now really captures, what is visible on screen!
So also scanlines, bilinear filtering or the monitor blend will be visible now.



Please check the modified display routine here:
http://cpc-live.com/cauldrongame.html
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Gryzor

I just love this screenshot. All screenies should be made like this :D

Devilmarkus

#9
Just improved green screen emulation (a bit)

bilinear filtered, all effects on

Also new filtering for colour screen:


Please use the filters only when you have a fast PC + a good GPU
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Powered by SMFPacks Menu Editor Mod