1dot13/source

Missing graphics?

Closed this issue · 7 comments

Typed out the error from game.

Assertion Failure [Line 1952 in file D:\a\source\source\Laptop\BobbyRGuns.cpp].
Error: Could not load item uiIndex 335 graphics. ubGraphicType 1 and ubGraphicNum 726
I was scrolling to the end of Bobby's catalog, gun category, when this hit.

Version is 134 (latest from a few days ago I think?).
Didn't see any other issues reporting a missing graphic, or anything that hit on Num 726, so assume mine is still present.

Item 335 is the Barrett M82A2 (see items.xml)

not sure what went wrong, but the graphics do exists (all three: big, medium and small)

I can see the weapon at BR in both categories, general guns and sniper (see screen)

So there might be some other factor leading to your outcome that needs to be figured out

Do you recall more of the situation?

Mainly,

what are the BR quality/quantity settings?
what's the item progress setting?

that weapon has a coolness of 10 (highest possible value), with default settings, that'll result in it only will be available at endgame

those are setting you can change at gamestart, same UI as difficulty level
by pressing "V" ingame you should see a message showing them

barret br

barret xml

I remember someone else having a CTD related to these barrett graphics when playing JA2 Vanilla VFS config. Maybe this is the same situation, where the game is trying to find the files from Data instead of Data-1.13 folder?

@kitty624 This is definitely a vanilla JA2 config issue. If you enable VFS_CONFIG_INI = vfs_config.JA2Vanilla.ini in ja2.ini, the game will error out in Bobby Ray's due to not being able to find the big item graphics for the M82A2. It will also crash in tactical because the mdp1items.sti does not have the proper subimages for the weapon.

Sorry for not getting back to this earlier.
I don't have the save anymore, but as best I can recall, I had the BR quality maxed out, specifically so I could do a Barrett run.

Fixed by gamedir commit 1dot13/gamedir@a57876d