I don't know what you mean. Tormentor667 did the logo for ZDoom and since it's unused i borrowed it, in theory it should say LZ but it doesn't matter, take it as a generic logo for a ZDoom derived engine. Still it's closer to the old ZDoom than GZDoom.
Now to the meat... i've made the switch to Unicode but without the newer fonts. Doom Tournament now works (with the -zsvoverride switch) and even with spanish but there's a crash in software when i open the Player setup menu. OpenGL runs fine (but GLSWFB also crashes).
If i remove the ZMAPINFO line Border = 0,0,"","","","","","","","" in GameInfo it doesn't crash. The crash was here already in the last devbuild changing ByteAt for CharCodeAt.
According to the wiki border = <size>, <offset>, "<tr>", "<t>", "<tl>", "<r>", "<l>", "<br>", "<b>", "<bl>" sets the border graphics used in various places throughout the game.
I guess those are textures? Also crashes reducing screen size, what does "" mean? A dummy texture? Is that line okay?
The crash happens here: *buff++ = *pix2; in texture.cpp. pix is null in pix = GetPixels(fmt == TEX_Pal? DefaultRenderStyle() : LegacyRenderStyles[STYLE_Shaded]);
Last iteration enters here:
Code: Select all
const uint8_t *FDummyTexture::GetPixels(FRenderStyle style)
{
return nullptr;
}
@Marisa Kirisame: was that line already in old versions? Could you provide (or someone) an older version?
@devs: i really need help with this. What could i do? Add a null pointer check? What's going on here? Thanks.
Backtrace:
Code: Select all
> lzdoom.exe!FTexture::FillBuffer(unsigned char * buff, int pitch, int height, FTextureFormat fmt) Line 768 C++
lzdoom.exe!D3DTex::Update() Line 2339 C++
lzdoom.exe!D3DTex::Create(D3DFB * fb, bool wrapping) Line 2290 C++
lzdoom.exe!D3DTex::D3DTex(FTexture * tex, FTextureFormat fmt, D3DFB * fb, bool wrapping) Line 2223 C++
lzdoom.exe!D3DFB::CreateTexture(FTexture * gametex, FTextureFormat fmt, bool wrapping) Line 2573 C++
lzdoom.exe!FTexture::GetNative(FTextureFormat fmt, bool wrapping) Line 733 C++
lzdoom.exe!D3DFB::FlatFill(int left, int top, int right, int bottom, FTexture * src, bool local_origin) Line 3003 C++
lzdoom.exe!V_DrawFrame(int left, int top, int width, int height) Line 1384 C++
lzdoom.exe!AF__Screen_DrawFrame(VMValue * param, int numparam, VMReturn * ret, int numret, const unsigned char * reginfo) Line 1408 C++
lzdoom.exe!VMNativeFunction::NativeScriptCall(VMFunction * func, VMValue * params, int numparams, VMReturn * returns, int numret) Line 308 C++
[External Code]
lzdoom.exe!VMScriptFunction::FirstScriptCall(VMFunction * func, VMValue * params, int numparams, VMReturn * ret, int numret) Line 301 C++
[External Code]
lzdoom.exe!VMScriptFunction::FirstScriptCall(VMFunction * func, VMValue * params, int numparams, VMReturn * ret, int numret) Line 301 C++
lzdoom.exe!VMCall(VMFunction * func, VMValue * params, int numparams, VMReturn * results, int numresults) Line 580 C++
lzdoom.exe!DMenu::CallDrawer() Line 325 C++
lzdoom.exe!M_Drawer() Line 839 C++
lzdoom.exe!D_Display() Line 959 C++
lzdoom.exe!D_DoomLoop() Line 1086 C++
lzdoom.exe!D_DoomMain() Line 2772 C++
lzdoom.exe!DoMain(HINSTANCE__ * hInstance) Line 1059 C++
lzdoom.exe!wWinMain(HINSTANCE__ * hInstance, HINSTANCE__ * nothing, wchar_t * cmdline, int nCmdShow) Line 1390 C++
Code: Select all
- this 0x0000023a13d4fc20 {...} FTexture * {FDummyTexture}
+ [FDummyTexture] {...} FDummyTexture
+ __vfptr 0x00007ff75d2b40a0 {lzdoom.exe!void(* FDummyTexture::`vftable'[17])()} {0x00007ff75baf1c2a {lzdoom.exe!FDummyTexture::`vector deleting destructor'(unsigned int)}, ...} void * *
LeftOffset 0 short
TopOffset 0 short
WidthBits 6 '\x6' unsigned char
HeightBits 6 '\x6' unsigned char
+ Scale {X=1.0000000000000000 Y=1.0000000000000000 } TVector2<double>
SourceLump -1 int
+ id {texnum=0 } FTextureID
+ CustomShaderTextures 0x0000023a13d4fc48 {0x0000000000000000 <NULL>, 0x0000000000000000 <NULL>, 0x0000000000000000 <NULL>, ...} FTexture *[15]
+ Name {Chars=0x00007ff75d4d1cdc "" } FString
UseType Null (13 '\r') ETextureType
bNoDecals 0 '\0' unsigned char
bNoRemap0 0 '\0' unsigned char
bWorldPanning 0 '\0' unsigned char
bMasked 1 '\x1' unsigned char
bAlphaTexture 0 '\0' unsigned char
bHasCanvas 0 '\0' unsigned char
bWarped 0 '\0' unsigned char
bComplex 0 '\0' unsigned char
bMultiPatch 0 '\0' unsigned char
bKeepAround 0 '\0' unsigned char
Rotations 65535 unsigned short
SkyOffset 0 short
Width 64 unsigned short
Height 64 unsigned short
WidthMask 63 unsigned short
+ Native 0x0000023a13d4fcd8 {0x0000000000000000 <NULL>, 0x0000000000000000 <NULL>, 0x0000000000000000 <NULL>} FNativeTexture *[3]
+ PixelsBgra { size=0 } std::vector<unsigned int,std::allocator<unsigned int> >
bSWSkyColorDone false bool
+ FloorSkyColor {b=205 'Í' g=205 'Í' r=205 'Í' ...} PalEntry
+ CeilingSkyColor {b=205 'Í' g=205 'Í' r=205 'Í' ...} PalEntry
+ gl_info {Material=0x0000023a13d4fd20 {0x0000000000000000 <NULL>, 0x0000000000000000 <NULL>} SystemTexture=0x0000023a13d4fd30 {...} ...} FTexture::MiscGLInfo
+ buff 0x0000023a15aa3560 "" unsigned char *
fmt TEX_Pal (0) FTextureFormat
h 64 int
height 64 int
pitch 64 int
+ pix 0x0000000000000000 <NULL> const unsigned char *
+ pix2 0x0000000000000000 <NULL> const unsigned char *
stride 0 int
w 64 int
x 0 int
y 0 int