Weird impy thing
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > XWE > Little Bug: Entry type
 
Author
All times are GMT. The time now is 18:31. Post New Thread    Post A Reply
Lobo
Forum Regular


Posts: 972
Registered: 12-01


Howdy, just a little tiny bug with the latest beta:

1. download the latest EDGE.wad (the one that comes with 1.29 RC1) and open it with XWE
2. Most of the DDF entries have "DDF" in the TYPE column except for the newest additions (which are DDFFONT, DDFIMAGE and DDFSTYLE). Are the DDF entries hardcoded in XWE? If so, you'll have to add these new ones.

BTW, the DDFFONT entry shows as "View as Bytes" instead of text in the preview window.


I'm on Windows XP home SP2.
XWE version is 1.15 (Beta)

__________________
Official EDGE Forum.

Robotech: FirstGen TC / Edge Shell Launcher(ESL) Home page.

Old Post 03-15-05 22:38 #
Lobo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csabo
Moderator


Posts: 541
Registered: 02-02


This is not hard-coded into XWE. Open up the xwe.ini file (it's a simple text file), and look for [DDF]. You can add any new entry types there. This is (partially) what makes XWE eXtendable. (I'll add them for the next release.)

When you try to open an entry (for which there's no specified editor), XWE reads the first 256 bytes or so, and checks whether those are all readable characters. (Letters, numbers, spaces, etc.) If not, it displays the entry as BYTES (vs. text). The DDFFONT entry you mentioned has some accented chars in it (, etc). That's why XWE thinks this is binary data and not text. I guess I could make this checking routine more flexible by adding the accented chars, but actually there's a lot. It may mean that XWE would think some binary data is actually text... I guess this is a sideeffect you'll have to live with, unless you add the "DDFFONT" entry to the xwe.ini file. In that case, XWE knows which editor to use, so it will display as text.

Old Post 03-21-05 14:30 #
Csabo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Lobo
Forum Regular


Posts: 972
Registered: 12-01


OK, thanks for that info. I've added the new types to the .ini and now everything is great.
It seems that it has also fixed the "view as bytes" problem too :)

__________________
Official EDGE Forum.

Robotech: FirstGen TC / Edge Shell Launcher(ESL) Home page.

Old Post 03-21-05 21:45 #
Lobo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 18:31. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > XWE > Little Bug: Entry type

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.