Friday, May 13, 2011

On Decompilers and Obfuscators

The guys at Minecraft Coders Pack have done a great job at lowering the entry barrier for Minecraft modders. Really.

Decompiling Java programs and recompiling them again has never been a real problem. However Minecraft is also obfuscated so that all class and method names are replaced with short meaningless labels.

Most obfuscators deliberately try to generate code which while still functionally identical to the original is as confusing as possible for a decompiler. This includes generating bytecode which can not be produced by a Java compiler or adding dead code with illegal functionality in hopes of disorienting the decompiler and forcing it to give up.

The decompiler used by MCP suffers from all this and is in fact not able to correctly decompile all the bytecode. However MCP uses a set of patches to help the decompiler where it has given up. These patches are updated manually for every Minecraft release.

Where MCP really has succeeded is at the returning of the meaning of the decompiled code. The MCP community has reverse engineered almost all of the Minecraft source and while some places are not quite right and one or two are totally wrong the final result is quite comprehensible.

MCP also includes the tools needed to recompile and reobfuscate the changed source so that the final result is compatible to the original Minecraft bytecode.

On IRC #mcp on irc.esper.net there is even a bot which can report the current deobfuscation mapping and accept names for the missing entries.

One just can not wish for more.

In the beginning was the Fog

Minecraft has always looked foggy, even on Normal and Far render distances. And this has always annoyed me a little.

The fog was robbing the vibrant colors of the valleys and mountains and turning them into washed-out background panes. Switching the render distance was also changing the fog density which was breaking the illusion of seeing a natural world.

Being a Java programmer since ever, I naturally came to the question "How hard could it be?".

This is how OptiFog was created.

Thursday, November 11, 2010

Property Investment Cooperation

Property Investment Investment in the lives of a very, very rarely is the loss of investment property ( land and / or buildings ) , but to invest in the property needed a lot of fund aka big , and very few people who have such a large fund , originated from this state , We " investment property " Air initiative is jointly held property investment . how Pun value. at least Rp . 1.000.000 , - ( One Million ) has been able to invest in property . Property Investment in this , your funds will be invested in the purchase of land and / or buildings or even not rule out the possibility for the development of which the value will be 2 ( two ) times the fold after less than 6 ( six ) years , so anything with your money , your funds will be 2 ( two ) times after we manage. Address Is : Jl . Raya No. pumpkin . 86 Housing - Tangerang Banten - 15138 If interested , phone ALDO 085-7171-67776 TERMS OF INVESTMENT PROPERTY 1 . Property investment is an investment ( capital investment ) in the field of land and / or buildings ; 2 . Capital investment ( investor ) is the person or legal entity who invest in business to be managed with the aim of getting the results according to the agreement ; 3 . Manager is a person or group of people working to manage investor funds in order to obtain results in accordance with the agreement ; 4 . Minimum funding that can be invested is Rp . 1.000.000 , - ( One Million ) , no maximum limit ; 5 . Investor funds would be returned intact at the end of the year to 6 ( six ) coupled with the results ( gain ) on investments amounted to 100 % ( One Hundred Percent ) of the value of the investment ; 6 . Investors can opt for the business with legalize / register the agreement through the notary offices with the cost fully borne by the Investors ; 7 . Each Investor each year made ​​a profit of : End of Year One , Lucky for 6 ( six ) percent of the total investment value ; End of Year Two , Lucky by 7 ( seven ) percent of the total investment value ; End of Year Three , Lucky for 9 ( nine ) percent of the total investment value ; The end of the Fourth Year , Lucky is 12 ( Twelve ) per cent of the total investment value ; End of Year Fifth , Lucky at 17 ( Tujuhelas ) percent of the total investment value ; Six Years End , Lucky was 23.50 ( Twenty-three Koma Five ) percent of the total value of investments ; Decision / withdrawal of investments and profits before the expiry of 6 ( six ) years cut by 50 ( Thirty five ) percent of the total value of benefits . 8 . Decision / withdrawal of funds before the expiration of 6 ( Six ) years must be through a written letter and can be availed in a maximum period of 1 ( one ) month since the letter and Copy of evidence submitted investments ; 9 . Capital Aseli planting evidence submitted padasaat no disbursement plus keutungan investor , signed a Letter of Decision Investors Investment Funds and profits ; 10 . Others are not listed in this provision will be made additions and improvements for the benefit of both parties ( management and investors )

Monday, July 12, 2010

Uganda News

Uganda News : American killed in Uganda bombing

uganda news
An American national was killed in a twin bomb explosions which also killed more than 30 others in Kampala, Uganda’s capital, on Sunday night, the U.S. embassy said.
“At this time we can confirm that one American has been killed,” said an embassy official.
Hundreds of local people were watching the World Cup final at the Kyadondo Rugby Club as the first blast occurred shortly after 11 pm local time (2000 GMT). The second blast was reported at an Ethiopian restaurant.

Saturday, July 10, 2010

dream 15

Cavalcante rediscovers winning ways at Dream 15

Gesias Cavalcante got back on the winning track at Katsunori Kikuno's expense.
Two of three judges favored Cavalcante (15-3-1) over Kikuno (13-2-2) today at Dream 15 in Saitama, Japan. Cavalcante recorded his first victory since September 2007.
Cavalcante hadn't fought for more than 13 months after a loss to Tatsuya Kawajiri in May of last year. For the first several minutes he appeared to hesitate against Kikuno's mixture of strikes from Kyokushin karate, an unusual style in mixed martial arts.
But Cavalcante took down Kikuno multiple times in the opening round, and he spent most of the second stanza smothering Kikuno on the mat. Cavalcante took his back in the last two-and-a-half minutes and stayed there almost until the end, although Kikuno regained his feet just before the bell.
Kikuno has lost two of his last three fights, with the defeats coming against men with the wrestling and grappling to bring him to the mat and avoid his karate attack.
Today's result marks a strong return for Cavalcante after suffering through injuries over the last two years. He had a wrap around one of his knees for today's bout.