The Hazardous Realm
The Hazardous Realm
READ ONLY MODE

The forum is now in read-only mode! It's only kept around for informative purposes and to prevent deadlinks!
Use e-mail to contact me instead. Any announcements would be made on my twitter account and any discussions would use some public platform instead.

ATDeditor1.2 trouble

All topics related to the game 'Die by the Sword' and it's add-on 'Limb from Limb' go into this board!

ATDeditor1.2 trouble

by Cpk » 04 Sep 2007 12:53

The problem is that ATDeditor degrades extracted files on my PC. When I extract all files of an ATD (for example, the_hero.atd) and I don't edit any of them and I make them an ATD again, the new ATD will crashed DbtS. I don't know what it won't run but I have to assume ATDeditor has some problem for that. The pictures below are corrupt the_hero extracted, some are okay and some are bad.

Ftorso.jpg
Image

Flegs.jpg
Image

BLarm.jpg
Image

headside.jpg
Image

Also, extracted WAVs are damaged and are noise itself. It doesn't matter that I change the compatibility of ATDeditor, the result is the same.
The strange thing is that TGAs of Hazard's Knight is comparatively less damaged to extract and few TGAs look bad. WAVs of them have also less noise, though it can't be heard as normal sound.

Is there anyone who has the same trouble or knows the solution?


My PC:
WindowsXP Home SP1
Athlon64 3000+ 1.8GHz
Mem 1G
GeforceFX5200

About DbtS:
DbtS and LFL are installed
zeckensack's Glide wrapper are installed

--------------------------------------------------------------------------------
The below text is Youtube log about this between DarkFox and me
--------------------------------------------------------------------------------
* read down to up
* http://youtube.com/watch?v=tRdCyY5__iU

ShinDarkfox
Hmmmm... I don't have this problem while modding my own version of the Mantis, the only problem was custom textures. But trying to solve the problem here will flood the comments box too much. Should try a different area for this so I can find out exactly what is going on with yours.

cpkppp
GIMP can save TGAs without RLE compression as you say. But ATDEditor still has trouble when unpack and repack. If I extract an ATD, for instance orc.atd, and re-ATD the files without any of editing, the new orc.atd crashes DBTS. :<

ShinDarkfox
GIMP you have to uncheck RLE or something like that to make it work. RLE is a common compression as I recall.

cpkppp
I've tried some free image editors(Photoshop Element, GIMP, PC Image Editor, PictBearSE) but all of them seems to compress TGAs from the looking. Also it looks the same with WinXP's image viewer. Do you know any freeware that can handle TGAs as raw?

ShinDarkfox
TGA files should extract correctly but when editing these TGAs some image editors will compress it which crashes DBtS, it shouldn't crash if you haven't edited the TGAs or have found a way not to compress them.

cpkppp
As you say, ATDEditor seems to have some problem. At least it makes tga files be damaged when extracting. Some of images look streched and are dislocated. If it makes the files as atd again and put the atd in data folder(in this case, the_hero is used), DbtS crashes. Is there any way to do it accurately? um.

ShinDarkfox
One thing to keep in mind is that some programs like to compress TGA images. Beware of this as it'll crash DBtS.

cpkppp
Thanks alot! It works and I can see the raw files now. There's many files with unknown extensions after unpacking. I read the documents on "Kobolds are Cute" on Webarchive and will try to change Enric's skin first because other modding is hard without needful text. "Hacked to Bits" seems to have infomation about editing characters but Webarchive haven't got the site.

ShinDarkfox
I'll send you a link to download it, what it does is that it can open ATD files which contains all character data, extract all data from there for easy viewing. From there you learn by looking at how things are set up. You can also make a new ATD archive with ATD Editor. Making a character is not as hard as it may seem.
Cpk
User
 
Posts: 29
Joined: 28 Jun 2007 17:10

by Darkfox » 05 Sep 2007 03:30

Something screwy is happening here. You say this messiness happens when you extract them? Or extract them and then recompile into an ATD?
Darkfox
User
 
Posts: 10
Joined: 25 Aug 2007 02:08

by Cpk » 05 Sep 2007 12:18

>Something screwy is happening here. You say this messiness happens when you extract them?

Yes, many raw files break by extracting.

>Or extract them and then recompile into an ATD?

Yes, the ATD isn't okay and causes crash.



Many extracted files(atleast tga, bmp and wav) are damaged like the pics in this topic. Then a recompiled ATD made by all of the extracted files won't let DbtS run.

There seems something bad when it extracts files, atleast. I don't have my own files without any problem to make an ATD and I have to use the badly extracted files to test the function of compile. So I can't confirm that ATDeditor has no problem when it compile.

Now I guess the ATDeditor.zip is broken through transfering somehow, will you DL and check it on your system?
Cpk
User
 
Posts: 29
Joined: 28 Jun 2007 17:10

by Darkfox » 15 Sep 2007 23:00

Hmmmmmm... tough call. I've had no trouble with the Mantis other than video editors wanting to compress TGA textures. Although I've only worked with the Mantis.
Darkfox
User
 
Posts: 10
Joined: 25 Aug 2007 02:08

by Cpk » 24 Sep 2007 09:58

I've checked to extract mantis.atd and it is bad, too. If it goes well I could edit and play att files at the start.
Cpk
User
 
Posts: 29
Joined: 28 Jun 2007 17:10

by Hazard » 25 Sep 2007 23:05

I've uploaded the current (untested) build of my own ATD packer. You may try if this produces better results. You'll need to have the .Net Framework 2.0 installed to run this tool.

Download it HERE!
Hazard
Hazardous Code Monkey
 
Posts: 187
Joined: 05 Jan 2006 19:49

by Cpk » 26 Sep 2007 18:39

Thanks and nice job, Hazard! ATDpack can extract files without problem. All of images and WAVs are okay and now I can see the raw files. The file size of the original ATD is the same to the file size of the folder that has the extracted files.

But there seems some trouble, I have packed the extracted files again into an ATD. In this case, the_hero.atd and orc.atd have been made. Then I started windie.exe, and an error occured and it crashed. DbtS never boot after that. Also, winmedit.exe doesn't start. Reboot doesn't work. The logs are below.

AppName: windie.exe AppVer: 0.0.0.0 ModName: windie.exe
ModVer: 0.0.0.0 Offset: 0011e57e

AppName: winmedit.exe AppVer: 0.0.0.0 ModName: winmedit.exe
ModVer: 0.0.0.0 Offset: 0010192e


Well, I have removed the pucked ATDs and windie.exe and have replaced the_hero.atd, orc.atd and windie.exe from LFL disc. But it crashes.

.Net Framework 2.0 is installed. I will re-install DbtS and LFL tomorrow and test it more.
Cpk
User
 
Posts: 29
Joined: 28 Jun 2007 17:10

by Cpk » 27 Sep 2007 12:03

I have re-installed DbtS and LFL. I used ATDpack to unpack orc.atd then I renamed the original orc.atd to avoid overwriting. I packed the orc folder into orc.atd and started the game, it worked well! Also, the game works with ATD that has ATT file modified.

I don't know what was wrong, anyways ATDpack is okay. GJ!
Cpk
User
 
Posts: 29
Joined: 28 Jun 2007 17:10

by Hazard » 27 Sep 2007 12:19

Thanks for your feedback. I'm glad it works now. I don't know what may have caused the problems in your first try.
Hazard
Hazardous Code Monkey
 
Posts: 187
Joined: 05 Jan 2006 19:49

by Darkfox » 30 Sep 2007 20:49

Good to hear you got it working now CPK! I think I'll try out Hazard's tool as well.
Darkfox
User
 
Posts: 10
Joined: 25 Aug 2007 02:08


Return to 'Die by the Sword' Fan and Modding Community



cron