Map Database  •  FAQ  •  RSS  •  Login

Where are Those Tiles Hiding?

<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 12 Mar 2013, 20:01

Where are Those Tiles Hiding?

I've exported a lot of files from the Remake, but I still can't seem to find where the tiles are kept. Can anyone help me with this?

Thanks :)
I used to spam this forum so much...
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 13 Mar 2013, 05:17

Re: Where are Those Tiles Hiding?

Tiles are kept in Tiles.rxx. I don't remember if we have Menu>Export>Tiles though. I'll check now.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 13 Mar 2013, 05:18

Re: Where are Those Tiles Hiding?

Hmmm. Any luck?

EDIT: Ooh. My clock is wrong (Daylight Savings time just came into effect). I thought you'd been checking for an hour. :lol:
It's funny that I just happened to check the forum a minute after you posted...
I used to spam this forum so much...
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 13 Mar 2013, 05:24

Re: Where are Those Tiles Hiding?

Tileset export was not there, I've added it.

You can temporarily rename tiles.rxx into houses.rxx and menu>export>houses to get the tileset.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 13 Mar 2013, 05:34

Re: Where are Those Tiles Hiding?

Ugghh. So much work :P

Thanks, Krom. I appreciate it :) On a side note, why are they not exported as default? Does it take more disk space that way?
I used to spam this forum so much...
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 13 Mar 2013, 05:56

Re: Where are Those Tiles Hiding?

@Ben: What do you mean? Tiles are not exported because there were not in RX originally and I forgot to add the corresponding menu item when we made them into RXX.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 13 Mar 2013, 06:10

Re: Where are Those Tiles Hiding?

No, what I meant was why are all the other files (such as trees, units, etc.) hidden if we can export them anyway?
I used to spam this forum so much...
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 13 Mar 2013, 06:46

Re: Where are Those Tiles Hiding?

What do you mean "hidden" ?
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 13 Mar 2013, 07:21

Re: Where are Those Tiles Hiding?

Hehe, never mind. I can't seem to explain it well. It doesn't really matter ;)
I used to spam this forum so much...
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 13 Mar 2013, 07:47

Re: Where are Those Tiles Hiding?

No, what I meant was why are all the other files (such as trees, units, etc.) hidden if we can export them anyway?
We're certainly not doing it to hide them from people, that's why we let them be exported and imported so easily. We pack them into RXX files for a few reasons:

1. It saves disk space by doing one lot of compression over all the sprites. Exported as PNGs the nearly 9,000 unit sprites are 36.3 MB, packed into RXX they are ~5.4 MB.

2. It's much faster to load. If we loaded all of the sprites as PNGs each one would need to be opened and uncompressed separately (PNG uses compression) which would take a few minutes (literally) every time you started the game. We could store them uncompressed (e.g. as BMPs) but then it would be hundreds of MBs. That's also nearly 9,000 individual reads from the disk (just for units) which is much less efficient than just reading in one file.

3. Stored in the RXX file they're in exactly the right format the game needs to use them as textures in OpenGL. Once the RXX file has been uncompressed no further processing is required, it just generates the textures out of each sprite. EDIT: Actually currently it has to pack all the smaller sprites into large atlases for OpenGL textures after uncompromising them, but we've discussed just storing the atlases in RXX files to make it even faster to load, but the current load times seem acceptable so we haven't got around to it yet.
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 13 Mar 2013, 07:54

Re: Where are Those Tiles Hiding?

Okay, thanks Lewin. That's what I wanted to know.

I've always liked digging around in games' data folders for the purpose of finding sound files and other media of the like, but they are often stored as rxx (is it always rxx or is that just one of many? I don't know). Some games have a lot of sound files already "exported" so it is easy to make ringtones and stuff with them, but like I said, this is often not so.
I used to spam this forum so much...
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 13 Mar 2013, 08:55

Re: Where are Those Tiles Hiding?

RXX is just a format we made up (no other games use it) and the same with RX from original KaM as far as I know (unless the developers used it in other games that they made).
<<

FeyBart

User avatar

Knight

Posts: 402

Joined: 28 Dec 2011, 16:35

KaM Skill Level: Beginner

Location: Nutville, NL

Post 13 Mar 2013, 09:34

Re: Where are Those Tiles Hiding?

Wouldn't it be possible to unpack all those files and store them online, so people could simply download it? Or would that be unnecessary work?
Nice coffee is always nice.
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 13 Mar 2013, 10:21

Re: Where are Those Tiles Hiding?

@FeyBart: Don't forget that these pictures are copyright by TopWare(?), so uploading them in a form of a library might be undesired.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

FeyBart

User avatar

Knight

Posts: 402

Joined: 28 Dec 2011, 16:35

KaM Skill Level: Beginner

Location: Nutville, NL

Post 13 Mar 2013, 14:02

Re: Where are Those Tiles Hiding?

Ah, right.


Annoying copyright laws...
Nice coffee is always nice.

Return to “General / Questions”

Who is online

Users browsing this forum: No registered users and 11 guests