Staredit Network

Staredit Network -> Modding Chat -> DatEdit: new/old SC modding tool
Report, edit, etc...Posted by BroodKiller on 2006-07-20 at 11:51:27
Hmm...now I do not think it may be OS-related, because I tried it just now on an SP2 machine (a notebook to be precise) and it worked fine...damn. disgust.gif
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-07-20 at 12:19:31
Even though I never use the mpq thing, I tested it out just to see if I got similar results so I could help out.

My results where the same as Ermac, a simple access violation error that I could press okay on and get it to work.


I just did a test on a MPQ with only .dat files, and it gave the same results.
Report, edit, etc...Posted by TheNomad on 2006-07-20 at 12:54:27
QUOTE(BroodKiller @ Jul 20 2006, 06:31 PM)
TheNomad>Are you too getting this violation error with DatEd?
[right][snapback]527494[/snapback][/right]

sorry, been to the gym.
Yeah just got back and did a short test on StarDat and *poof* Access viol at 00000000.

XP PRO SP 2, P4 3.00 Ghz, 512 DDR, 800 Mhz FSB, and 400 GB of HD space tongue.gif

---

After fooling around and deleting the INI on restarting DatEd the INI gets rewritten and I get an error saying "Access violation at addy 04B4B0C in module DatEdit.exe, Read of addy 0000020C". But as reported with "Access violation at addy 00000000" I can work with DatEd as normal as if nothing ever happened O_o.

The error is caused by this line:
[Options]
StartEditor=-1

If the INI gets recreated forcefully it is reset to -1. Setting it to 0 fixes the INI bug.
I suggest you fix the default value for it wink.gif

As for the Access violation at 00000000, I am still working on seeing what might cause it.
Report, edit, etc...Posted by Ermac on 2006-07-20 at 13:17:58
QUOTE(TheNomad @ Jul 20 2006, 07:54 PM)
The error is caused by this line:
[Options]
StartEditor=-1
[right][snapback]527529[/snapback][/right]


Hmm, StartEditor is set to 0 at my file.. And changing it well just changes the Editor that is opened at start, and it isn't reset for me..
Report, edit, etc...Posted by TheNomad on 2006-07-20 at 13:21:16
QUOTE(Ermac @ Jul 20 2006, 08:17 PM)
Hmm, StartEditor is set to 0 at my file.. And changing it well just changes the Editor that is opened at start, and it isn't reset for me..
[right][snapback]527547[/snapback][/right]

Isn't it reset to -1 if you delete the INI (after closing DatEd of course) ?
Report, edit, etc...Posted by DiscipleOfAdun on 2006-07-20 at 13:26:55
I've got something even wierder. I tried disabling the entire OpenDialogCanClose function, but the files still loaded! BK, what's up with that? I know that routine controls all file loading...why are my files still loading after commenting every part of it out?
Report, edit, etc...Posted by Ermac on 2006-07-20 at 13:31:36
QUOTE(TheNomad @ Jul 20 2006, 08:20 PM)
Isn't it reset to -1 if you delete the INI (after closing DatEd of course) ?
[right][snapback]527555[/snapback][/right]


Oh yeah, now it's as you said tongue.gif
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-07-20 at 13:38:38
I updated the orders.dat list of unknowns file, this should make looking into it's unknowns easier

QUOTE
Unknown 2

Build Add-On
Train
Train Fighter
Shield Battery
Spawnling Larva
Spread Creep
Cloak, Decloak, Cloaking Nearby Units
Hallucination2

Unknown 3
Everything except:
turret guard
turret attack
nothing 2

Unknown 4
Stop
Guard, Player Guard, Turret Guard, Bunker Guard, Turret Guard, Guard Post
Attack1, Attack Tile, Tower Attack, Turret Attack
Hold Position
Hover
Nothing, Nothing1, Nothing2
Powerup1, Powerup2
Spider Mines
Drone Build Start, Drone Build
Infest Mine1, Infest Mine2, Infest Mine3
Build1, Build2, Build3, Build4
Repair1, Repair2
Train, Train Fighter
Rally Point1, Rally Point2
Zerg Birth
Morph1, Morph2
Build Self1, Zerg Build Self, Build Self2
Carrier, Carrier Ignore1, Carrier Stop, Carrier Attack1, Carrier Attack2, Carrier Ignore2, Carrier Fight
Reaver Attack1, Reaver Attack2
Strafe Unit1, Strafe Unit2
Return
Drone Land, Drone Lift Off, Lift Off
Larva
Spawning Larva
Pick Up1, Pick Up2, Pick Up3
Sap Unit, Sap Location
Teleport, Teleport to Location
Place Scanner, Scanner
Computer AI
Rescue Passive
Self Destructing
Medic Heal1
Fatal

Unknown 5
Stop
Guard, Player Guard, Turret Guard, Bunker Guard, Guard Post
Attack1, Turret Attack
Nothing1, Nothing2
Computer AI
Rescue Passive
Self Destructing, Fatal

Unknown 7
Everything except:
stop
guard, player guard, Guard Post
ignore, Carrier Ignore, Carrier Ignore2
Nothing1, Nothing2
Carrier
Recharge Shields2, Shield Battery
CTF COP Init, CTF COP1, CTF COP2
Computer AI
Rescue Passive
Neutral
Computer Return
Self Destructing
Critter
Hidden Gun
Open Door, Close Door
Hide Trap, Reveal Trap
Enable Doodad, Disable Doodad
Warp In
Heal Move, Medic Heal2

Unknown 8
Stop, Reaver Stop, Carrier Stop
Guard, Player Guard, Hold Position, Reaver Hold, Hold Position1, Hold Position2, Hold Position3, Medic Hold Position
Ignore, Carrier Ignore1, Carrier Ignore2
Attack1, Attack2, Attack Unit, Attack Fixed Range, Attack Tile, Attack Move, Turret Attack, Carrier Attack1,
Carrier Attack2, Carrier Fight, Reaver Attack1, Reaver Attack2, Reaver Fight
Hover
Stay In Range
Repair1, Repair2
Enter Nydas Canal
Follow
Carrier, Reaver
Recharge Shields1
Return, Harvest1, Harvest2, Harvest Gas1, Return Gas, Harvest Minerals1, Return Minerals
Enter Transport
Pickup2
Move Unload
Right Click Action
Sap Unit, Sap Location
Patrol
Medic, Medic Heal1, Heal Move, Medic Heal2

Unknown 9
Build4
Repair1, Repair2
Enter Nydas Canal
Harvest Gas2, Harvest Gas3, Harvest Minerals2, Harvest Minerals3, Harvest3, Harvest4
Medic Heal1

Unknown 10
Everything Except:
Attack Tile
Rally Point2
Dark Swarm, Cast Parasite, Consume, Ensnare, Spawn Broodlings, Stasis Field, Hallucination1, Restoration,
Psionic Storm, Irradiate, Plague, EMP Shockwave, Cast Disruption Web, Cast Mind Control, Cast Feedback,
Cast Optical Flare, Nuke Wait, Nuke Train, Nuke Launch, Nuke Paint, Nuke Unit, Nuke Ground, Nuke Track
Teleport to Location
Place Scanner

Unknown 11
Guard, Player Guard, Turret Guard, Guard Post
Reaver Stop, Carrier Stop
Carrier
Pick Up1, Pick Up3
Patrol
Computer AI
Neutral
Critter
Report, edit, etc...Posted by TheNomad on 2006-07-20 at 13:54:14
QUOTE(DiscipleOfAdun @ Jul 20 2006, 08:26 PM)
I've got something even wierder.  I tried disabling the entire OpenDialogCanClose function, but the files still loaded!  BK, what's up with that?  I know that routine controls all file loading...why are my files still loading after commenting every part of it out?
[right][snapback]527564[/snapback][/right]


Hmm the file loading sure is weird. First it locks the mpq, then after you press OK on the dat list it releases it, but the temp files are never locked... they are used just to load and that's it (which makes me wonder why they get deleted only after closing DatEd or opening a new DAT file...)

QUOTE(Ermac @ Jul 20 2006, 08:31 PM)
Oh yeah, now it's as you said tongue.gif
[right][snapback]527571[/snapback][/right]


happy.gif
Report, edit, etc...Posted by Doodle77(MM) on 2006-07-20 at 13:56:34
QUOTE(BroodKiller @ Jul 20 2006, 08:13 AM)
Strange...works fine for me. Anyone has also encountered this error?
This probably means that the file is being accessed by some other application, but it may also mean that DatEd has problems with allocating a file buffer...tested on other MPQs as well?
[right][snapback]527422[/snapback][/right]

Happens for me on Broodat.mpq :>.<:
And why is the energy cost for techs called Mana. Were not playing Warcraft III here...
QUOTE(Annoyed(start))
First of the "Annoyed" sounds - played when you click multiple times on the same unit.  0=No sound, substract 1 to get the target sfxdata.dat entry. [pointer to sfxdata.dat]

In fact, they all say substract...
Report, edit, etc...Posted by TheNomad on 2006-07-20 at 14:08:36
QUOTE(Doodle77(MM) @ Jul 20 2006, 08:56 PM)
And why is the energy cost for techs called Mana. Were not playing Warcraft III here...

Yeah I was thinking that too, but it is for simplicity sake I think... most are used to saying mana tongue.gif

QUOTE(Doodle77(MM) @ Jul 20 2006, 08:56 PM)
In fact, they all say substract...
[right][snapback]527595[/snapback][/right]


What do you mean ? That the index applies to all lists ?

Oh and Broody, SFmpq.dll says it's version 1.0.8.1, when in fact it's a renamed 1.0.7.4 smile.gif

I have 1.0.8.1 if you want it though (although there is no need as 1.0.7.4 works just fine for SC)

Another (useless) bug: in the weapons tab, the IRRADIATE icon is actually the EMP icon.
Report, edit, etc...Posted by BroodKiller on 2006-07-20 at 15:03:45
#####DATEDIT v1.1c FIX-UP#####

Hokay, I think it's ok now...and don't ask what was that, simply don't ask...

Program: here
Source: here

-Broody
Report, edit, etc...Posted by TheNomad on 2006-07-20 at 15:36:21
Well apart from the previous comments/questions I posted, there is a semi-bug. The INI you gave us has your paths. Jakobs makes me think of the Kraft-Jacobs-Suchard company smile.gif

Apart from that, I don't get a violation anymore biggrin.gif
Report, edit, etc...Posted by Ermac on 2006-07-20 at 15:52:44
QUOTE(BroodKiller @ Jul 20 2006, 10:03 PM)
#####DATEDIT v1.1c FIX-UP#####

Hokay, I think it's ok now...and don't ask what was that, simply don't ask...

Program: here
Source: here

-Broody
[right][snapback]527661[/snapback][/right]


Umm, where's the splash screen? I bet i should've pasted this on 1.1b....

QUOTE(TheNomad @ Jul 20 2006, 10:35 PM)
Well apart from the previous comments/questions I posted, there is a semi-bug. The INI you gave us has your paths.
[right][snapback]527676[/snapback][/right]


Yep that too, so it gives a bunch of errors for not finding files.
And isn't this the 13 release if we count the letters as a release too? That would explain the Chaos wink.gif
Report, edit, etc...Posted by DiscipleOfAdun on 2006-07-20 at 17:12:49
QUOTE(Ermac @ Jul 20 2006, 01:52 PM)
Umm, where's the splash screen? I bet i should've pasted this on 1.1b....


Umm, check the options. I'm guessing that BK's testing, he disabled some stuff in his ini file...which is what we ended up with. The screen is there.

BK, you mind telling me what was up?
Report, edit, etc...Posted by Kookster on 2006-07-20 at 17:42:06
DatEdit.ini issues:



[Options]
ConfirmOnExit=0
UseBackwardReporting=1
--------------------------------ShowUnitSizePreview=0
StartEditor=0
ShowHints=1
--------------------------------ShowSplash=0
Window=0

[UserSize]
UserWidth=747
UserHeight=571

[Sorting]
Units Editor=3
Weapons Editor=3
Upgrades Editor=3
Techs Editor=3
[Last Opened]
--------------------------------Folder=C:\Jakobs\Kod
--------------------------------[TBLs]
--------------------------------Stat_txt=C:\Jakobs\Kod\DatEdit\default\stat_txt.tbl
--------------------------------Images=C:\Jakobs\Kod\DatEdit\default\images.tbl
--------------------------------Portdata=C:\Jakobs\Kod\DatEdit\default\portdata.tbl
--------------------------------Sfxdata=C:\Jakobs\Kod\DatEdit\default\sfxdata.tbl
--------------------------------Mapdata=C:\Jakobs\Kod\DatEdit\default\mapdata.tbl
--------------------------------[Icons]
--------------------------------File=C:\Jakobs\Kod\DatEdit\default\cmdicons.grp
--------------------------------[Recently Used]
--------------------------------History Items=7
--------------------------------File1=C:\Jakobs\Kod\flingt.mpq
--------------------------------File2=C:\Jakobs\Kod\adfsg.mpq
--------------------------------File3=C:\Jakobs\Gam\Starcraft\StarDat.mpq
--------------------------------File4=C:\Jakobs\Kod\weapons.dat
--------------------------------File5=C:\Jakobs\Kod\test-Icons.mpq
--------------------------------File6=C:\Jakobs\Gam\Starcraft\Patch_rt.mpq
--------------------------------File7=C:\Jakobs\Kod\test-DAT.mpq
--------------------------------7=C:\Jakobs\Kod\test-DAT.mpq

To those who dont know how to fix this go to the folder where StarEdit is open the file StarEdit.ini with notepad then change:

ShowUnitSizePreview=0
ShowSplash=0
to
ShowUnitSizePreview=1
ShowSplash=1

and delete everything after:

[Last Opened]


O and BK thanks ALOT for Opened directory history that is so useful to me

ADDITION:
Hah i should of read DiscipleOfAdun's post forgot BK put in options

QUOTE
Umm, check the options. I'm guessing that BK's testing, he disabled some stuff in his ini file...which is what we ended up with. The screen is there.
Report, edit, etc...Posted by TheNomad on 2006-07-20 at 19:39:33
Thanks for the credits Broody.
BTW Please specify in the hints that Non Location triggers will always have one exception: "Create At". Even though a unit will NOT have Locational triggers enabled, it will still be able to be created at a location, just like I told you in the PM. Weird, I know.
Report, edit, etc...Posted by BroodKiller on 2006-07-21 at 05:08:48
Heh, you haven't probably noticed it yet, but although v1.1c has solved the Access Violation problem, it has caused another problem to appear, hence:

#####DATEDIT V1.1D FIXUP#####

Program: here
Source: here

And I'm pretty sure everything is OK by now smile.gif

And DoA is right: I was in a hurry to put it up and I forgot to clean up the INI data. And yeah, it's probably the magics of 13 behind it all...tongue.gif
Report, edit, etc...Posted by TheNomad on 2006-07-21 at 05:55:15
He means the source can be found here not there smile.gif
Report, edit, etc...Posted by Ermac on 2006-07-21 at 06:02:00
Yay it seems like everything works now, good work smile.gif
Report, edit, etc...Posted by TheNomad on 2006-07-21 at 06:06:25
What bug were you talking about BK ?
Report, edit, etc...Posted by BroodKiller on 2006-07-21 at 06:10:43
Fixed the link
THe bug is gone, so there is no need to speak about it. I only hope that I'll be able to sleep well tonight..tongue.gif
Damn...I leave for 2 months on monday, gonna miss this place... cool1.gif
Report, edit, etc...Posted by TheNomad on 2006-07-21 at 06:42:42
QUOTE(BroodKiller @ Jul 21 2006, 01:10 PM)
Fixed the link
THe bug is gone, so there is no need to speak about it. I only hope that I'll be able to sleep well tonight..tongue.gif
Damn...I leave for 2 months on monday, gonna miss this place... cool1.gif
[right][snapback]528007[/snapback][/right]


lol... gonna miss you and your quick releases too smile.gif
have fun!

who knows, hopefully i might give DoA some homework to give you some stuff to give DatEd to give to the rest so they can worship us happy.gif

I think I found an Unknown in Orders.dat
Report, edit, etc...Posted by BroodKiller on 2006-07-21 at 06:55:14
Fire it away, there's no time Toulouse biggrin.gif
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-07-21 at 12:20:59
Don't worry about leaving us for a little while, last time you left we only solved 3 unknowns, so nothing bad will happen tongue.gif

I still havn't gotten the latest version yet, I'm going to wait for a few days to make sure there's no bugs reported
Next Page (25)