Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 Resets not working.
Yesterday, 5:52 pm
By dbna2
 I am trying to compile smaugfuss1.8
Yesterday, 4:52 pm
By Remcon
 Compendium of bugs in SmaugFUSS
Yesterday, 8:42 am
By Remcon
SIGCONT?
May 13, 2013, 9:49 am
By Aurin
Try/Catch function?
May 10, 2013, 10:36 am
By Zeno
QSF Portal
Author: QSF Portal Team
Submitted by: Samson
Raspberry Pi Diff File
Author: Dretzile
Submitted by: Dretzile
Replacement mp_*_passage funcs
Author: Andril
Submitted by: Andril
g++ 4.6 unused variables patch
Author: diff
Submitted by: Andril
LOP 1.43
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, GudrunVZT, Google, MargaretS, MirtaHops, SusannahL

Members: 4
Guests: 25
Stats
Files
Topics
Posts
Members
Newest Member
440
3,577
18,322
3,846
DougTolle
Today's Birthdays
RandellTT (38), KatrinBri (100), LeslieMcc (54)
Related Links
Smaug Building Institute
» SmaugMuds.org » General » Building » Creating or editing overland ...
Forum Rules | Mark all | Recent Posts

Creating or editing overland maps
< Newer Topic :: Older Topic > some nice tools

Pages:<< prev 1 next >>
Post is unread #1 Jul 18, 2006, 9:29 am
Go to the top of the page
Go to the bottom of the page

tophe

GroupMembers
Posts13
JoinedJul 4, 2006

I just wanted to share what I just found to create/edit overland maps. The process is the same as in the RGB.txt file from Samson, but i found a nice tool to convert to and from RAW files. Just as PSP does, but for free.

Here is the URL

Those won't allow you to edit RAW files, but will convert them. Convert the RAW file, then use your favourite format/editor to work on the map and convert back to RAW.

Two solutions here:
-1- XnView itself, a nice utility for viewing and converting graphic files. Imports about 400 file formats, and exports about 50.
Just make sure you go in Tools/Options/Read/RAW and set width to 1000, Height to 1000 (default overland size in pixels) starting offset to 0, channel order to interleaved and channel type to RGB.
Also, in Tools/Options/Write/RAW, make sure to have Channel order set to interleaved, channel type to RGB and Starting offset to 0.

-2- NConvert. This one is a batch utility to convert files.
You have to make sure you use Samson's settings detailed in the RGB.txt file.

To convert from BMP to RAW
nconvert -out raw -ctype rgb -corder inter -size 1000x1000+0 test.bmp
This line means output format is RAW, channel type is RGB, channel order is interleaved, size is 1000x1000 pixels and header offset is 0. File to be converted is "test.bmp"

To convert from RAW to BMP
nconvert -out bmp -ctype rgb -corder inter -size 1000x1000+0 test.raw


Both tools are free for non-commercial use.
I hope this helps.
       
Post is unread #2 Jul 19, 2006, 9:56 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,588
JoinedJan 1, 2002

Nice find. Definitely very helpful indeed. Looks like it will also handle conversion to png files which is what the C++ code is using to support the graphics.
       
Pages:<< prev 1 next >>

 
Contact Us