Duke4.net Forums: PNG and OGG files inside .GRP? - Duke4.net Forums

Jump to content

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

PNG and OGG files inside .GRP?

User is offline   Freudstein 

#1

Hi, I'm continuing to experiment with modding Duke3D. I wish to insert custom .png and .ogg files to replace an existing expansion's menus and music. I managed to do this by making a .DEF file as follows:

// Set MY_BG.PNG as 'betascreen' and 'menuscreen' tiles.
texture 2493 { pal 0 { file "MY_BG.PNG" nocompress nodownsize } }
texture 2456 { pal 0 { file "MY_BG.PNG" nocompress nodownsize } }

// Set MY_LOGO.PNG as 'ingamedukethreedee' tile.
texture 2499 { pal 0 { file "MY_LOGO.PNG" nocompress nodownsize } }

// Set a dummy 0-sized tile instead of the "ATOMIC" menu logo, so that only the
// 'ingamedukethreedee' tile is shown.
dummytile 2503 0 0

// Replace Grabbag intro with custom music.
music { id "intro" file "MY_MUSIC.OGG" }

This all works fine. However, now I'd like to package everything into a single .GRP, so that I can have only that and a .GRPINFO to avoid having lots of files scattered all over the place. I used Group File Studio 3.1 to place the .pngs, .ogg, .DEF, and the modified .CON (which does setdefname for including the .DEF) inside the .GRP. However, when I run the game with eDuke32 I see that neither my .png nor .ogg files are being used; the menu background and music are all the original ones. The .DEF file is being processed, though, since I don't see the "ATOMIC" menu logo (i.e. the dummytile change is being applied). Is there no way to package .png and .ogg files reliably inside a .GRP?

Note that the png and ogg files are about a couple MBs in size each.
0

Share this topic:


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


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options