Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Bug: Looking for file in all the wrong places!

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Tech Support >> Bug: Looking for file in all the wrong places! Page: [1]
Login
Message << Older Topic   Newer Topic >>
Bug: Looking for file in all the wrong places! - 2/22/2020 10:59:08 AM   
cathar1244

 

Posts: 728
Joined: 9/5/2009
Status: offline
I see this in the TOAW log file.

"General :UberBitmap : tiles_river_edge (C:\Program Files (x86)\Matrix Games\The Operational Art of War IV\Graphics\tiles_river_edge.bmp) : (00000000)
General :UberBitmap : tiles_river_edge (missing) : (00000000)
General :Directory Search Order
C:\Program Files (x86)\Matrix Games\The Operational Art of War IV\Scenarios\
C:\ ... My Games\The Operational Art of War IV\Scenarios\
C:\ ... My Games\The Operational Art of War IV\Graphics Override\
..."

And on and on. Really clutters the log output.

Is this just old code looking for a .bmp file that is no longer part of the software distribution?

Cheers
Post #: 1
RE: Bug: Looking for file in all the wrong places! - 2/22/2020 11:52:55 AM   
Lobster


Posts: 4002
Joined: 8/8/2013
From: Third rock from the Sun.
Status: online
Outstanding.

Also note that it appears to be looking for something that never existed anyway. River tiles on a hex edge.

_____________________________

http://www.operationbarbarossa.net/

"There are more things in Heaven and Earth, Horatio, than are dreamt of in your philosophy."

(in reply to cathar1244)
Post #: 2
RE: Bug: Looking for file in all the wrong places! - 2/23/2020 2:40:22 PM   
Shadrach


Posts: 722
Joined: 10/16/2001
From: Oslo, Norway
Status: offline
I tried to create a zero-byte BMP file named the same - and it didn't crash (on Win10) but on another OS it might be different.

I also created a 1x1 transparent PNG, and it seems to stop the logging of the error messages. The existence of a PNG will override any BMPs it tries to find.

Then again, if you ask me, the game's insistence on constantly logging the Directory Search Order is more problematic from the perspective of cluttering the output...


_____________________________

OUW (Order of the Upgrade Wars)



There are folks out there with way too much time on their hands.
- Norm Koger

(in reply to Lobster)
Post #: 3
RE: Bug: Looking for file in all the wrong places! - 2/23/2020 4:13:07 PM   
cathar1244

 

Posts: 728
Joined: 9/5/2009
Status: offline

quote:

ORIGINAL: Shadrach

I tried to create a zero-byte BMP file named the same - and it didn't crash (on Win10) but on another OS it might be different.

I also created a 1x1 transparent PNG, and it seems to stop the logging of the error messages. The existence of a PNG will override any BMPs it tries to find.

Then again, if you ask me, the game's insistence on constantly logging the Directory Search Order is more problematic from the perspective of cluttering the output...



Can you upload the 1x1 PNG file? I would like to try that. Funny, game bombed out on me when I tried the 0 byte BMP ... and I have Win10.

Thanks for the follow-up!

Cheers

(in reply to Shadrach)
Post #: 4
RE: Bug: Looking for file in all the wrong places! - 2/23/2020 4:15:58 PM   
larryfulkerson


Posts: 39039
Joined: 4/17/2005
From: Tucson, AZ
Status: online
I made a 5 pixel X 5 pixel bmp file of a black square and saved it as the tiles_river_edge.bmp ( 24-bit ) and the error messages went away in the TOAW log file. Thanks for the tip my friend.

_____________________________

Bumper sticker on the door leading to an underground Titan missle silo near Minot, ND:
"A nuclear detonation anywhere in the world in 30 minutes or the next one is free."

(in reply to cathar1244)
Post #: 5
RE: Bug: Looking for file in all the wrong places! - 2/23/2020 5:14:39 PM   
Shadrach


Posts: 722
Joined: 10/16/2001
From: Oslo, Norway
Status: offline
@Cathar: Sure, attaching it here. Also attaching a 0-byte BMP in case it works as well for you. When I tested a 0-byte PNG I still found (different) messages in the log indicating something wrong. And expecting a 0-byte non-standard file to work without any issue is kind of a gamble so better to create a proper file.

@Larry: You're welcome. The reason I didn't use BMP myself is that bitmaps have no transparency so would have to guess that the first colour in the index is used for that. Usually #1 is white, but I've seen some with black as well. I guess as long as it's single colour it would work anyway.


Attachment (1)

< Message edited by Shadrach -- 2/23/2020 5:21:26 PM >


_____________________________

OUW (Order of the Upgrade Wars)



There are folks out there with way too much time on their hands.
- Norm Koger

(in reply to larryfulkerson)
Post #: 6
RE: Bug: Looking for file in all the wrong places! - 2/23/2020 5:22:46 PM   
cathar1244

 

Posts: 728
Joined: 9/5/2009
Status: offline
Thank you, Shadrach.

ETA: Looks like the .png file helps. The directory search order is shown up front a few times in the log file, but not repeated over and over throughout the combat action log. Easier to read, a good work-around.

Cheers

< Message edited by cathar1244 -- 2/23/2020 5:36:21 PM >

(in reply to Shadrach)
Post #: 7
RE: Bug: Looking for file in all the wrong places! - 2/24/2020 5:28:36 PM   
jmlima

 

Posts: 591
Joined: 3/1/2007
Status: offline

quote:

ORIGINAL: Lobster

Outstanding.

Also note that it appears to be looking for something that never existed anyway. River tiles on a hex edge.


Now we discovered why there aren't rivers on the edges. It cannot find the file.

(in reply to Lobster)
Post #: 8
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Tech Support >> Bug: Looking for file in all the wrong places! Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.117