More Awesome Than You!
Welcome, Guest. Please login or register.
2024 November 23, 23:12:11

Login with username, password and session length
Search:     Advanced search
540287 Posts in 18067 Topics by 6545 Members
Latest Member: cincinancy
* Home Help Search Login Register
+  More Awesome Than You!
|-+  The Bowels of Trogdor
| |-+  The Small Intestines of Trogdor
| | |-+  Hack Diffing Tool! "Really Working This Time" Edition!
0 Members and 2 Chinese Bots are viewing this topic. « previous next »
Pages: [1] 2 THANKS THIS IS GREAT Print
Author Topic: Hack Diffing Tool! "Really Working This Time" Edition!  (Read 48398 times)
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Hack Diffing Tool! "Really Working This Time" Edition!
« on: 2006 March 01, 22:39:27 »
THANKS THIS IS GREAT

Ugly little command line tool for quick and easy scanning for immediate hack conflicts for new patches and expansions. If you can't understand the directions, this is too awesome for you.

UPDATE 03/06/06: "Really Working This Time" Edition!

hackdiff.zip

Hack Diffing Tool v0.2b
Made by: Flying Fish Systems (J. M. Pescado & Doctor Boris)

Special Thanks To:
Dizzy & disaSims2

Congratulations to: Draklixa!
In Memoriam: Dizzy

INSTRUCTIONS:
hackdiff -d OLDOBJECTSPACKAGE NEWOBJECTSPACKAGE > diff.txt
THEN:
    hackdiff -i diff.txt -f HACKFILEPACKAGE
OR
    dir/s/b *.package > hacks.txt
    hackdiff -i diff.txt -l hacks.txt
If you can't understand this, this tool is too awesome for you!

FEATURES:
Scans old and new objects.packages from patches or new xpacks for differences
in BHAV/BCON/OBJD/OBJf/TTAB/TTAs/STR and spits out an index, then reuses index
to scan hacks.

SIDE EFFECTS:
May cause computer damage, incontinence, explosion of user's head, coma, death,
and/or halitosis.

WARNING:
Do not open, crush, dispose of in fire, put in backwards, short-circuit, or mix
with non-awesome hacks - may explode, leak, or catch fire, resulting in injury
and/or death.
« Last Edit: 2007 March 31, 03:54:11 by J. M. Pescado » Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
twojeffs
Stupid Schlemiel
****
Posts: 1690



View Profile WWW
Re: Hack Diffing Tool!
« Reply #1 on: 2006 March 02, 02:27:40 »
THANKS THIS IS GREAT

Excellent. This will certainly speed up the process (and the utter tedium) of manually checking them all.

In the words of her Ingeness: Thank you, this is great! Smiley
Logged
syberspunk
Heretic
Terrible Twerp
****
Posts: 2365


ISTJ - what a crazy random happenstance


View Profile WWW
Re: Hack Diffing Tool!
« Reply #2 on: 2006 March 02, 09:18:50 »
THANKS THIS IS GREAT

Awesome! I was going to ask you if I could get a copy of the tool, but didn't t hink to check here. Yay! Grin

I'll try this out when I actually get my copy of OFB, hopefully later this week/soon.

Ste

PS. Anyone know if Crammyboy's still floatin around? And... whats with this

In Memoriam: Dizzy

Is there something you know that we don't? Has dizz officially gone AWOL or are they simply MIA? It did seem like dizz was losing interest. I'm hoping that dizz will resurface when OFB gets a wider distribution.

Ste
Logged

Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Hack Diffing Tool!
« Reply #3 on: 2006 March 02, 09:30:59 »
THANKS THIS IS GREAT

I hate EPs.
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Hack Diffing Tool!
« Reply #4 on: 2006 March 02, 10:29:12 »
THANKS THIS IS GREAT

Is there something you know that we don't? Has dizz officially gone AWOL or are they simply MIA? It did seem like dizz was losing interest. I'm hoping that dizz will resurface when OFB gets a wider distribution.
My reports indicate that Dizzy was found dead in his home late November or maybe December. The cause of death was not known at the time, but believed to be foul play.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Hack Diffing Tool!
« Reply #5 on: 2006 March 02, 10:31:43 »
THANKS THIS IS GREAT

Pescado what are you talking about?  No one knows why Dizzy has disappeared and he *didn't* seem to be losing interest, he was working on a project when he vanished.  Yes he could have got ill or died, but we don't know.  If you have suddenly found out something that the rest of us haven't been told yet then please tell us properly.
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Hack Diffing Tool!
« Reply #6 on: 2006 March 02, 10:36:44 »
THANKS THIS IS GREAT

That's all the information I happen to have right now. I can dig around some more if you want.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Hack Diffing Tool!
« Reply #7 on: 2006 March 02, 10:39:51 »
THANKS THIS IS GREAT

Well, are you sure you're not just getting the chinese whispers version?  I've been asking around a lot, and telling people I haven't seen him anywhere since November and that I am worried.  Now it's possible that speculation has been sparked by this and you're getting the result.  Really I think what I am asking you to make clear is, are you getting some sound information from a source close to him, or are you just hearing distorted rumours finally coming full circle?
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Hack Diffing Tool!
« Reply #8 on: 2006 March 02, 10:42:33 »
THANKS THIS IS GREAT

I consider my sources to be reasonably sound: Their information has always been reliable unless they've been intentionally deceived by someone, so unless Dizzy has faked his own death, he's probably dead. The fact that this information fits established facts suggests that it is true.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Hack Diffing Tool!
« Reply #9 on: 2006 March 02, 10:51:27 »
THANKS THIS IS GREAT

Ok but bear in mind that none of his fellow contributors at VS knew recently.   I often take this sort of info with a pinch of salt, when I ask myself how such info would be made available.

For example, supposing I were to vanish tomorrow.  In my case, I have my own forums and Peter happens to be a co-admin.  He would probably eventually (when he felt calm enough to post messages) post something saying what had happened to me.

Now if it had happened a year ago, before Peter had joined the Sims community, I can't think how anyone would ever be able to find out why I was missing.   It's not like my ISP would divulge any details.

So in order for anyone to know what happened to Dizzy, one of the following would have to be true:
1) They knew his phone number or address, and someone else in his family replied with the information when they called
2) They knew his full real name and saw something in the newspapers
3) He had a family member or real life friend who was also in contact with the simming community and posted the news.

All the above you would have expected to be discovered earlier in the disappearance rather than later, and become hugely talked about in the community quite quickly.  Like when Jack Woods was involved in the hurricane.
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Hack Diffing Tool!
« Reply #10 on: 2006 March 02, 10:55:56 »
THANKS THIS IS GREAT

All the above you would have expected to be discovered earlier in the disappearance rather than later, and become hugely talked about in the community quite quickly.  Like when Jack Woods was involved in the hurricane.
Well, there is always the rather gruesome and distasteful autoerotic asphyxiation death, which certainly tends to go unmentioned.

And who is Jack Woods?
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Hack Diffing Tool!
« Reply #11 on: 2006 March 02, 11:00:23 »
THANKS THIS IS GREAT

If Dizzy was found dead my guess of cause would be something like a brain infection or tumour.  His last couple of days online he didn't seem to be as sharp as usual, and his last post was just weird.   Sometimes people pick a nickname that refers to a health condition they have.
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Hack Diffing Tool!
« Reply #12 on: 2006 March 02, 11:12:46 »
THANKS THIS IS GREAT

Duh!!!  Well back on topic I went to use this and was having some difficulty composing the command line.  I didn't know what to put for the path to the new Objects.package.   Well, after struggling with it for about 10 minutes, it dawned on me I don't have such a path as I DON'T HAVE THE EP YET!!

* Inge punches herself in the head
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Hack Diffing Tool!
« Reply #13 on: 2006 March 02, 11:44:37 »
THANKS THIS IS GREAT

* J. M. Pescado points and laughs.
Silly Inge.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
syberspunk
Heretic
Terrible Twerp
****
Posts: 2365


ISTJ - what a crazy random happenstance


View Profile WWW
Re: Hack Diffing Tool!
« Reply #14 on: 2006 March 02, 13:19:04 »
THANKS THIS IS GREAT

Oh my lord...

Can I just highlight the following:

If Dizzy was found dead my guess of cause would be something like a brain infection or tumour.  His last couple of days online he didn't seem to be as sharp as usual, and his last post was just weird.   Sometimes people pick a nickname that refers to a health condition they have.

Duh!!!  Well back on topic I went to use this and was having some difficulty composing the command line.  I didn't know what to put for the path to the new Objects.package.   Well, after struggling with it for about 10 minutes, it dawned on me I don't have such a path as I DON'T HAVE THE EP YET!!

* Inge punches herself in the head


Hrm... I hope this isn't a sign of anything. I'm afraid stupid is a "health condition" and it seems to be contagious. As in <- I'm with and my apologies if you might have caught it from me. Grin

Wow... I would have thought that only I might be capable of doing something like that. Only... maybe I would cover it up with a little white lie and say I had difficulty testing it out on the NL object.package and an older one, like say from Uni or something. Wink

Ste
Logged

Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Hack Diffing Tool!
« Reply #15 on: 2006 March 02, 13:38:39 »
THANKS THIS IS GREAT

Well,  Wink none of us is immortal.
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Hack Diffing Tool!
« Reply #16 on: 2006 March 02, 14:12:26 »
THANKS THIS IS GREAT

Well,  Wink none of us is immortal.
Yes, but if you kill me, I'll come back from the dead and get you.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
syberspunk
Heretic
Terrible Twerp
****
Posts: 2365


ISTJ - what a crazy random happenstance


View Profile WWW
Re: Hack Diffing Tool!
« Reply #17 on: 2006 March 02, 21:59:14 »
THANKS THIS IS GREAT

Necromancy is bad, m'kay... Wink

Ste
Logged

dizzy
Souped!
*
Posts: 1572


unplugged


View Profile
Re: Hack Diffing Tool! "Really Working This Time" Edition!
« Reply #18 on: 2006 July 27, 08:22:32 »
THANKS THIS IS GREAT

What? No source code?
Logged

J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Hack Diffing Tool! "Really Working This Time" Edition!
« Reply #19 on: 2006 July 27, 09:43:25 »
THANKS THIS IS GREAT

What? No source code?
If you reaaaally want it. Lemme go find where I stuffed it and I'll get back to you. I warn you, though. What I do to sourcecode is not as pretty as what happens to sims code.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
dizzy
Souped!
*
Posts: 1572


unplugged


View Profile
Re: Hack Diffing Tool! "Really Working This Time" Edition!
« Reply #20 on: 2006 July 28, 02:26:22 »
THANKS THIS IS GREAT

Oh, okay. Well, then never mind.  Grin
Logged

J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Hack Diffing Tool! "Really Working This Time" Edition!
« Reply #21 on: 2006 July 28, 03:11:43 »
THANKS THIS IS GREAT

Oh, okay. Well, then never mind.  Grin
Heh, yeah, in contrast with my Sims code, my C sourcecodes are known for being illegible masses of cryptically indecipherable gibberish.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Hack Diffing Tool! "Really Working This Time" Edition!
« Reply #22 on: 2008 May 26, 08:42:23 »
THANKS THIS IS GREAT

I am not going to say thank you, even though I was impressed with this tool, because I don't want my post deleted.  However, I finally forced myself to deal with the commandline input (I cheated and made a series of three batchfiles called FirstBit, NextBit, and LastBit).   After I got past that hurdle, the thing spoke to me in a quite friendly way "Hello my dear, you might like to have a look at this BHAV in that file".  So it was not an altogether unpleasant experience.   

It didn't however work out that some of them I had already updated or hadn't even made before FT came out.   Is it possible to make the app do something intelligent with comparing last modified date of the hack with the time of creation of the directory containing objects.package?  Or probably simpler, allow a date to be passed on the commandline so you can tell it you only want to know about hacks that have not been modified since that date?
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Hack Diffing Tool! "Really Working This Time" Edition!
« Reply #23 on: 2008 May 26, 20:39:21 »
THANKS THIS IS GREAT

It didn't however work out that some of them I had already updated or hadn't even made before FT came out.   Is it possible to make the app do something intelligent with comparing last modified date of the hack with the time of creation of the directory containing objects.package?  Or probably simpler, allow a date to be passed on the commandline so you can tell it you only want to know about hacks that have not been modified since that date?
The BHAV scanner is intentionally agnostic and does not read any of the data, so that it won't vomit if EAxis introduces an unknown format. Also, it doesn't do file dates because I don't know offhand how to retrieve those, and also because file dates are frequently misleading due to time zone issues. Besides, you couldn't possibly have updated something for FT *BEFORE* FT came out. I tend to mark updates by annotating directly onto the output file, putting a mark on the line of each BHAV as I examine or update it to indicate what I did to it in brief.

Finally, I often misuse this tool to search for a specifically modified BHAV. If, for instance, I don't know if a specific one of my 200+ hacks has modified a BHAV already or not, I can manually create a diff file by entering B <GROUP> <INSTANCE> and then scan my directories, and it will then find out if I have modified this BHAV in a hack already so I don't create a conflicting hack.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Hack Diffing Tool! "Really Working This Time" Edition!
« Reply #24 on: 2008 May 29, 20:39:07 »
THANKS THIS IS GREAT

If I have renamed some of the files to .xackage or something so they won't load into the game, can hackdiff still open them using a pattern of \MyHacks\*.?ackage
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
Pages: [1] 2 Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.11 seconds with 20 queries.