Duke4.net Forums: Problem with getting Hires-texture into Mapster/Eduke - Duke4.net Forums

Jump to content

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

Problem with getting Hires-texture into Mapster/Eduke

User is offline   blizzart 

#1

Hi guys,
for a new project I´m trying to load Hires textures into the game/Mapster32.

I´m using this code:

// Tile 0 and Editor Sprites

dummytile 0000 128 128
texture 0 { pal 0 { file "assets/standards/00000.jpg" } }

// Build editor sprites

dummytilerange 0001 0009 16 16
texture 1 { pal 0 { file "assets/standards/00001.png" } }
texture 2 { pal 0 { file "assets/standards/00002.png" } }
texture 3 { pal 0 { file "assets/standards/00003.png" } }
texture 4 { pal 0 { file "assets/standards/00004.png" } }
texture 5 { pal 0 { file "assets/standards/00005.png" } }
texture 6 { pal 0 { file "assets/standards/00006.png" } }
texture 7 { pal 0 { file "assets/standards/00007.png" } }
texture 8 { pal 0 { file "assets/standards/00008.png" } }
texture 9 { pal 0 { file "assets/standards/00009.png" } }

dummytile 0010 41 10
texture 10 { pal 0 { file "assets/standards/00010.png" } }


The texture of Tile 0000 (default texture) for example has a resolution of 1024x1024 but should be loaded by the def file with a resolution of 128x128 in Mapster32/Eduke32. The texture is loaded in Mapster but with its original size of 1024x1024.
I used this method in an older mod and there it worked without any problem. I´m using the same Eduke32/Mapster32 versions in both projects.

Maybe anyone has a clue, what I´m doing wrong here. Has been a while I was into modding.

Thanks in advance.
0

User is offline   Mark 

#2

dummytilerange numbers should match your tile numbers on the left, not the texture numbers on the right?
Good to see you back to modding here again.

This post has been edited by Mark: 31 January 2024 - 09:33 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 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