Eureka... I think?

Eureka... I think?

Re: Eureka... I think? Posted by Campaignjunkie on Mon Sep 1st 2003 at 5:26am
Campaignjunkie
1309 posts
Posted 2003-09-01 5:26am
1309 posts 329 snarkmarks Registered: Feb 12th 2002 Occupation: Student Location: West Coast, USA
Well I was converting the text strings in Someplace Else to a format compatible for the game_text entity. An odd bug with Hammer at the moment is that if you put in more than 127 characters in the "Message Text" field, Hammer will crash.

The text in Someplace Else was much longer than 127 characters, so I opened the .map file and pasted it more than 127 characters and compiled like normal, and it played like normal. But Hammer would always instantly crash when attempting to open .map.

So, technically reverse engineering is impossible unless:
  • The bug is fixed in Hammer
  • The map is opened in QuArK (but people who decompile aren't likely to use QuArK anyway)
  • The decompiler-person actually goes into the .map file and finds the "Over 127 character" thing and deletes it. But like I said, if they decompile, they're not likely to know what to look for anyway, much less know about this bug.
So, they still can decompile the map, they'll just never really know how to open it. But I doubt anyone is really THAT protective of their work. :razz:
Re: Eureka... I think? Posted by Cassius on Mon Sep 1st 2003 at 5:28am
Cassius
1989 posts
Posted 2003-09-01 5:28am
Cassius
member
1989 posts 238 snarkmarks Registered: Aug 24th 2001
You can't decompile a map with textures imbedded in it last time I checked.
Re: Eureka... I think? Posted by Wild Card on Mon Sep 1st 2003 at 5:30am
Wild Card
2321 posts
Posted 2003-09-01 5:30am
2321 posts 391 snarkmarks Registered: May 20th 2002 Occupation: IT Consultant Location: Ontario, Canada
I couldnt do it last time I tried.
Re: Eureka... I think? Posted by Campaignjunkie on Mon Sep 1st 2003 at 5:33am
Campaignjunkie
1309 posts
Posted 2003-09-01 5:33am
1309 posts 329 snarkmarks Registered: Feb 12th 2002 Occupation: Student Location: West Coast, USA
Hmm? I was under the impression that embedding textures in it didn't protect the map, and there was some tool to get past that. Oh well.
Re: Eureka... I think? Posted by gimpinthesink on Mon Sep 1st 2003 at 5:35am
gimpinthesink
662 posts
Posted 2003-09-01 5:35am
662 posts 176 snarkmarks Registered: Apr 21st 2002 Occupation: student Location: Forest Town, Notts
you can extract the textures that are embeded but I couldn't decompile a map with embeded textures in it
Re: Eureka... I think? Posted by Campaignjunkie on Mon Sep 1st 2003 at 5:38am
Campaignjunkie
1309 posts
Posted 2003-09-01 5:38am
1309 posts 329 snarkmarks Registered: Feb 12th 2002 Occupation: Student Location: West Coast, USA
Bah. Fine then, this is just a little note for anyone who doesn't feel like embedding textures and inflating the filesize for 56kers and such... :smile:
Re: Eureka... I think? Posted by Gorbachev on Mon Sep 1st 2003 at 6:31am
Gorbachev
1569 posts
Posted 2003-09-01 6:31am
1569 posts 264 snarkmarks Registered: Dec 1st 2002 Location: Vancouver, BC, Canada
Either way, you'd still need the textures in your map that you're using. Unless they are mod standard I find it's better to have just a .bsp and not a .bsp and a .wad or more...why make it tougher than necessary?
Re: Eureka... I think? Posted by Cash Car Star on Mon Sep 1st 2003 at 6:42am
Cash Car Star
1260 posts
Posted 2003-09-01 6:42am
1260 posts 345 snarkmarks Registered: Apr 7th 2002 Occupation: post-student Location: Connecticut (sigh)
I think Cagey's compile tools can screw up decompilers as well.
Re: Eureka... I think? Posted by Gollum on Mon Sep 1st 2003 at 7:33am
Gollum
1268 posts
Posted 2003-09-01 7:33am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
[size=13][color=white]So, they still can decompile the map, they'll just never really know how to open it. But I doubt anyone is really THAT protective of their work. :razz:
[/color][/size]

I am. I don't want people altering my map for HLDM, since to do so would completely spoil it. I already have cunning booby traps hidden in the map to effect this, but a bit more protection can't harm.

Dammit, why doesn't BBcode work?
Re: Eureka... I think? Posted by GreenDragon on Mon Sep 1st 2003 at 9:28am
GreenDragon
132 posts
Posted 2003-09-01 9:28am
132 posts 23 snarkmarks Registered: Nov 24th 2002 Occupation: Drunken Idiot Location: Bc, Canada, eh?
NICE! I will be trying this as my map ,westminster, a rp map and as jinx has helped pointed out to me, its full of n00bs wanting to decompile/get ahold of my .map.  So hopefully they wont have enough brains to figure this one out :D

Thankies!
Re: Eureka... I think? Posted by Gollum on Mon Sep 1st 2003 at 9:41am
Gollum
1268 posts
Posted 2003-09-01 9:41am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
I just got caught by my own booby traps (!)

Turns out to be a useful (if unorthodox) way of debugging my new code :lol:

(Fixed now)
Re: Eureka... I think? Posted by Orpheus on Mon Sep 1st 2003 at 10:26am
Orpheus
13860 posts
Posted 2003-09-01 10:26am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Gollum said:
Dammit, why doesn't BBcode work?
mine does every time when i quote.. i only seem to have issues with the smileys at present..

dont use netscape.. it wont work...

for the record.. hit the quote button, then remove the portions you dont want..
Re: Eureka... I think? Posted by Leperous on Mon Sep 1st 2003 at 11:01am
Leperous
3382 posts
Posted 2003-09-01 11:01am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
It's just [quote] code which doesn't work. That, and [line] :)
Re: Eureka... I think? Posted by Dietz on Tue Sep 2nd 2003 at 12:51am
Dietz
101 posts
Posted 2003-09-02 12:51am
Dietz
member
101 posts 50 snarkmarks Registered: Mar 15th 2002 Location: Texas
Or... you can do an -entonly compile... When someone tries to decompile, all they get is the entities.
Re: Eureka... I think? Posted by mazemaster on Tue Sep 2nd 2003 at 5:06am
mazemaster
890 posts
Posted 2003-09-02 5:06am
890 posts 438 snarkmarks Registered: Feb 12th 2002
its -onlyents , and it wont stop a decompile.
Re: Eureka... I think? Posted by Cassius on Tue Sep 2nd 2003 at 5:26am
Cassius
1989 posts
Posted 2003-09-02 5:26am
Cassius
member
1989 posts 238 snarkmarks Registered: Aug 24th 2001
GreenDragon said:
NICE! I will be trying this as my map ,westminster, a rp map and as jinx has helped pointed out to me, its full of n00bs wanting to decompile/get ahold of my .map.  So hopefully they wont have enough brains to figure this one out :biggrin:

Thankies!
You made Westminster?

/me bows
Re: Eureka... I think? Posted by blu_chze on Tue Sep 2nd 2003 at 7:30am
blu_chze
112 posts
Posted 2003-09-02 7:30am
blu_chze
member
112 posts 61 snarkmarks Registered: Sep 2nd 2003 Occupation: Student Location: Perth, West Australia
will this bug be present in the Hammer/Worldcraft Valve used to make HL2? it would be interesting to see what people would do if it were left in ... :biggrin: