Home » MODDING HQ 1.13 » v1.13 Bug Reports » r8452 - Shop Graphic - Almost stops game
icon5.gif  r8452 - Shop Graphic - Almost stops game[message #350720] Thu, 24 August 2017 02:09 Go to next message
PAWJA2 is currently offline PAWJA2

 
Messages:125
Registered:December 2009
Location: Melbourne, Australia

Hello,

Love all the v1.13 stuff.

However, in the latest build:
SCI_Unstable_Revision_8452_on_GameDir_2384

The colorful shop graphic seems to almost stop my game.
I get thru but with hiccups. Old XP machine.

I have an old version with plain graphic when buying/selling,
that works fine.

Could anyone tell me what the file is so I can grab it from my old build
that would make this part of the game a bit more normal again.

Not sure why the color one almost stops the machine.
I do have 3GB RAM, and everything else is smooth as.

PAW

Report message to a moderator

Sergeant
Re: r8452 - Shop Graphic - Almost stops game[message #350721 is a reply to message #350720] Thu, 24 August 2017 02:45 Go to previous messageGo to next message
Flugente

 
Messages:3509
Registered:April 2009
Location: Germany
There is no graphic file anymore. As we now have all sorts of resolutions, this is now generated on the fly, as a plain grey background was deemed too ugly. What kind of resolution are you using? This is only generated once per exe usage and doesn't take more than a second for me with a 1024x768 resolution, subsequent calls of the menu are faster.

[Updated on: Thu, 24 August 2017 02:47]




I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

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.

Report message to a moderator

Captain

Re: r8452 - Shop Graphic - Almost stops game[message #350722 is a reply to message #350721] Thu, 24 August 2017 02:51 Go to previous messageGo to next message
PAWJA2 is currently offline PAWJA2

 
Messages:125
Registered:December 2009
Location: Melbourne, Australia

Flugente,

I believe I have it set on 1280 x 960.
Will have to check when I get home tonight.
I am at work here Down Under.

PAW

Report message to a moderator

Sergeant
Re: r8452 - Shop Graphic - Almost stops game[message #350726 is a reply to message #350722] Thu, 24 August 2017 14:40 Go to previous messageGo to next message
Flugente

 
Messages:3509
Registered:April 2009
Location: Germany
After sleeping over it, I've thought about this some more.

  • The current method generates the picture on the first time it is used, afterwards pastes it on every refresh. Due to the nature of our graphics functions (in this case, I made them up on short notice) this is not very efficient. I can probably optimize this a bit further, but the problem will likely remain for older computers.
  • As a solution, I will make the above behaviour optional (off by default) and fall back to the previous simple grey screen. Assuming DepressivesBrot builds his SCIs as usual, this will be in the next SCI, which will due be in ~a week.
  • While generating the background from smaller pictures looks horrible, I could generate a very huge background instead, and 'cut out' a smaller piece of that to use as background - pasting an exisiting picture is done all the time anyway. However, I don' think we ever only partially use an exisiting picture (I don't mean drawing over pictures, I mean only drawing a part of a picture to begin with), so I'll have to rig this up. In case this doesn't work, back to step 2.
  • For now, in your case you can try to see whether picking a lower resolution will ease the problem. I know, not exactly a satisfying solution, but, well, the cavalry is on its way angel

[Updated on: Thu, 24 August 2017 14:41]




I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

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.

Report message to a moderator

Captain

Re: r8452 - Shop Graphic - Almost stops game[message #350734 is a reply to message #350726] Fri, 25 August 2017 00:42 Go to previous messageGo to next message
PAWJA2 is currently offline PAWJA2

 
Messages:125
Registered:December 2009
Location: Melbourne, Australia

Flugente,

Confirmed last night I am on 1280 x 960. And I played enough last night to
see the worst was the 1st time. 2nd & subsequent were not as bad.

Appreciate your looking into it.

One day I want to see if I can get those ranks into my game like they were in Urban Chaos, loved that part of the game where you could buy at the store.
I know Mercenaries don't really have ranks, but being a military brat, I always love having ranks.

Keep up the awesome stuff. I am on a mission to actually finish the Queen once and for all. Come close, but always stifled.

PAW

Report message to a moderator

Sergeant
Re: r8452 - Shop Graphic - Almost stops game[message #350754 is a reply to message #350734] Sat, 26 August 2017 18:51 Go to previous message
Flugente

 
Messages:3509
Registered:April 2009
Location: Germany
Due to the considerable slowdown mentioned in this thread, as of r8457 & GameDir r2385, the trade menu background is no longer generated by random noise, but by cutting out a section of a much bigger picture.

http://i.imgur.com/8C87eOX.png

This should remove any speed issues. The picture used has a size of 3088x2056. This should suffice for resolutions up to ~5544x3540. If you have a screen with a bigger resolution, you need to add a picture with higher dimensions. You are also spending waaaay to much money on monitors.

[Updated on: Sat, 26 August 2017 18:51]




I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

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.

Report message to a moderator

Captain

Previous Topic: Improve Prejudice IMP Screen ( with patch )
Next Topic: Unable to exit sectors.
Goto Forum:
  


Current Time: Fri Mar 29 06:55:15 GMT+2 2024

Total time taken to generate the page: 0.01400 seconds