Home » MODDING HQ 1.13 » v1.13 Idea Incubation Lab  » 8-bit colours
8-bit colours[message #355213] Mon, 01 October 2018 23:13 Go to next message
Flugente

 
Messages:3425
Registered:April 2009
Location: Germany
A question for research and/or rant purposes:

Has anyone ever been able to play the game with 8-bit colours (256) only?

I can't do than on win10 and don't remember ever being able to use 8-bit...



"Is there any way to get the blood to flow up the walls?"
"I don't see why not."

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: 8-bit colours[message #355215 is a reply to message #355213] Mon, 01 October 2018 23:21 Go to previous messageGo to next message
silversurfer

 
Messages:2472
Registered:May 2009
I can start it in full screen mode with the desktop set to 8bit colors on Windows 7. But that wasn't the question, was it (as the game ends up with 16bit anyway)? Windowed mode requires the desktop to be set to 16bit colors.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: 8-bit colours[message #355216 is a reply to message #355215] Mon, 01 October 2018 23:32 Go to previous messageGo to next message
Flugente

 
Messages:3425
Registered:April 2009
Location: Germany
Yeah... I kinda want to know whether anyone can play in 8bit. Because if not, I can forget about 8-bit mode and add RGb-colour tags to AmmoTypes.xml, which lets me do this:
https://i.imgur.com/X9Cpeic.png
This doesn't look impressive, but setting colour is now soooo much easier than that bizarre 'we set colour by setting the index of a palette colour in a sti library very few people know the location of'-method.

[Updated on: Mon, 01 October 2018 23:34]




"Is there any way to get the blood to flow up the walls?"
"I don't see why not."

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: 8-bit colours[message #355217 is a reply to message #355216] Tue, 02 October 2018 01:18 Go to previous messageGo to next message
silversurfer

 
Messages:2472
Registered:May 2009
I don't think that there still is a system that allows to run anything in 8bit mode at all. Just get rid of it and add those tags.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: 8-bit colours[message #355219 is a reply to message #355217] Tue, 02 October 2018 10:36 Go to previous messageGo to next message
townltu

 
Messages:317
Registered:December 2017
Location: here
There are some 256color only ThinkPads in my collection, but their specs are almost certainly too low for vanilla JA2,
imo promising option is to patch the graphics driver so it reports 8 bit only to the OS.
Re: 8-bit colours[message #355221 is a reply to message #355219] Tue, 02 October 2018 12:20 Go to previous messageGo to next message
silversurfer

 
Messages:2472
Registered:May 2009
Actually we shouldn't figure out how to make the OS think it supports 8bit only. This isn't 1990 where the first graphic cards with XGA (first support for 16bit color depth) were released. We are now almost 30 years later so just drop the support for that ancient relic.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: 8-bit colours[message #355227 is a reply to message #355221] Wed, 03 October 2018 09:49 Go to previous messageGo to next message
Zarax

 
Messages:51
Registered:February 2007
Location: Italy
IMHO anything that could lead to an easier HDfying of the game is welcome, right now I can only play on a 24" monitor by forcing AA, otherwise pixilation kills the experience...
Re: 8-bit colours[message #355229 is a reply to message #355227] Wed, 03 October 2018 17:34 Go to previous messageGo to next message
Slax

 
Messages:1448
Registered:July 2006
Location: People riding polar bears...
Probably tried it back in the early 2000s on a laptop. Just for kicks, you know. Don't think it worked out.
silversurfer wrote on Tue, 02 October 2018 12:20
Actually we shouldn't figure out how to make the OS think it supports 8bit only. This isn't 1990 where the first graphic cards with XGA (first support for 16bit color depth) were released. We are now almost 30 years later so just drop the support for that ancient relic.

Also this. Native 32-bit would make things easier for everyone.

[Updated on: Wed, 03 October 2018 17:37]




1.13: Install JA2, unpack latest, play.
AIMNAS: Complete 1.13 installation, Download ZIP and unpack, play.

Re: 8-bit colours[message #355230 is a reply to message #355229] Wed, 03 October 2018 18:41 Go to previous messageGo to next message
townltu

 
Messages:317
Registered:December 2017
Location: here
Slax wrote on Wed, 03 October 2018 17:34
... Native 32-bit would make things easier for everyone.

Whats the issue with 32bit colour depth, is it win 7,8,10 related?
Desktop of my XP notebooks is usually set to 32bit @ native screen resolutiom,
and I have no issues to run the game with click on the exe ootb.
Re: 8-bit colours[message #355232 is a reply to message #355230] Wed, 03 October 2018 19:22 Go to previous messageGo to next message
silversurfer

 
Messages:2472
Registered:May 2009
Only problem I know of is that you can't run windowed mode in Windows 7 if the desktop is set to 32bit. I guess it's mostly a problem for modders and coders who need windowed mode most of the time.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: 8-bit colours[message #355256 is a reply to message #355232] Sat, 06 October 2018 20:59 Go to previous message
Flugente

 
Messages:3425
Registered:April 2009
Location: Germany
Committed change described here. I'm not entirely sure what you think I was going to do. I changed the way we displayed the colour of ammo. I did not add any HD support (how the f would I even do that?). Nor did I fundamentally alter string behaviour, however tempting it would be (cast UINT8 to UINT32, use that to get UINT16 value, interpret that as INT16, then use it as UINT8 is NOT THE WAY THINGS ARE SUPPOSED TO).



"Is there any way to get the blood to flow up the walls?"
"I don't see why not."

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Previous Topic: Rebalancing Scope and sight mode mechanics
Next Topic: Improved Interrupt System
Goto Forum:
  


Current Time: Tue Dec 18 23:28:13 EET 2018

Total time taken to generate the page: 0.01144 seconds