Duke4.net Forums: Tilefromtexture and ifcrc - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Tilefromtexture and ifcrc

User is online   NightFright 

  • The Truth is in here

#1

I have an issue with ifcrc when using it in tilefromtexture.

In my example file attached below, the game is using the widescreen replacement for the statusbar (#2462) just fine with the correct ifcrc parameter.
However, when doing the same with any weapon (e.g. pistol or shrinker), it doesn't work unless I remove ifcrc completely. I am 100% sure I took the correct CRC values via BAFED from duke3d.grp and vacation.grp.

The idea behind this was to have widescreen replacements for weapons only if original tiles from Duke Nukem 3D or Life's A Beach are used (but not if they are altered by mods).

Attached File(s)



This post has been edited by NightFright: 20 September 2019 - 07:15 AM

0

User is offline   fgsfds 

#2

If CRC is larger than 2147483647, subtract 4294967296 from it.
1

#3

View Postfgsfds, on 20 September 2019 - 07:36 AM, said:

If CRC is larger than 2147483647, subtract 4294967296 from it.


I find it pretty weird and unintuitive that the CRC in eduke32 is not treated as an unsigned value.

This post has been edited by Doom64hunter: 20 September 2019 - 07:42 AM

0

User is online   NightFright 

  • The Truth is in here

#4

Wow, that's a solution I wouldn't have come up with by myself for sure. o.O Gotta try.
0

User is offline   Hendricks266 

  • Weaponized Autism

  #5

I believe the def parser also supports hexadecimal literals, so try entering the CRC into calc.exe and switching the output to hex, then prefixing it with 0x.
0

User is online   NightFright 

  • The Truth is in here

#6

Yeah, the grpinfo of Ion Fury uses that format, for example. In the addon compilation I use the values from the checksum textfile EDuke32 creates on startup, works the same way.

This post has been edited by NightFright: 20 September 2019 - 09:35 AM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks are property of their respective owners. Instead of reading this text, you could be playing Ion Fury! ;) © 2019 Voidpoint, LLC

Enter your sign in name and password


Sign in options