Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Mon Dec 19, 2005 5:22 am   

bmp filetype script?
 
Vent looking for some sort of SCRIPT compatible script for bmp file editing. Idealy functioncall x y color

I just noticed there is a #IM filename.bmp.
This is great as now I can script to have popup graphical maps etc.

Now I'm looking on a way to
1) #IM - close the graphic file
2) modify the bmp file
3) #IM filename.bmp - to reload the bmp with changes.

Anyone have any ideas? Googling the past 40 minutes hasnt given me anything I know what to do with.
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Mon Dec 19, 2005 5:35 am   
 
Could I use something like:
Code:

#FILE 6 rec.fil
#WRI 6 {this is record 3} 3

writes the string as the third record in file 6.


Or could I use a record file to store a text map? Been ages since I've worked with files at the low level so bear my cluenessless.
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Fri Dec 23, 2005 12:53 am   
 
The solution to this has to be a known entity. I would think this kid of manipulation is 3 courses after "hello world".

Can anyone point me a code snippet that manipulates BMP files that I can use in a SCRIPT or MSS zMud code?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Dec 23, 2005 8:48 am   
 
I found this link somewhat helpful:
http://www.fortunecity.com/skyscraper/windows/364/bmpffrmt.html

It was found by googling "bmp file structure".
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net