Thursday, February 10, 2011

Heart-Shaped Cinnamon Cookies قلوب بسكوت القرفة

Heart-Shaped Cinnamon Cookies قلوب بسكوت القرفة

Scroll down for English post
وصفة اليوم هي إحدى وصفات هذا الشهر من الوصفات الرومانسية، بسكويت القرفة هي إحدى وصفات كتاب أبلة نظيرة، تعتبر من أبسط طرق عمل البسكوت كما أن طعمها لذيذ وغنية بالفيتامينات، وهو عبارة عن بسكوت من طبقتين يتم ثقب الطبقة العلوية ويوضع بينهما حشو المربى ثم يزين بالسكر البودرة، يذكرني هذا النوع من البسكوت بأيام طفولتي عندما كانت والدتي تقوم بعمله خاصة في الأعياد، وكنا نتسلى بحشو البسكوت بالمربى ورشه بالسكر وبالطبع تذوق البعض (إن لم يكن الكثير)، كما أننا لم نكن نترك له فرصة البقاء لأسبوع كامل فأقصى مدة يمكن أن يتواجد بها هذا البسكويت في المنزل هي يومين. :) أحب طعمه جداً مع مربى الفراولة فالمزج بين طعمها وطعم القرفة رائع، أتمنى أن يعجبكم وستجدون أنه في غاية السهولة فلا يجب أن تكون/ي خبير/ة في الطبخ لتقوم/ي بعمله.
Click here for the recipe اضغط هنا للوصفة »

Saturday, February 5, 2011

Beginner's Guide to Face-fixing

Many of the steps in this tutorial are no longer necessary in SSF4AE. You can just copy over the donor's *.fce.ema file and overwrite the recipient's.

UPDATE (11/26/11): you can now use sloth86's MonkeyFix tool in conjunction with the replaced *.fce.ema to get fixed faces all the time, even through the cinematics.

If you've experimented with moveswapping across characters, you've certainly seen the horrible deformation that occurs to their faces, commonly known as "monkeyface."
This tutorial is going to show you how to swap movesets (we're actually swapping models, but it comes out to the same thing) without the monkeyface problem (except in cinematics, such as intro/outro and during ultras).

Background
Animations and movesets in Street Fighter 4 are stored in the ***.cmn.emz file. Specifically, facial animations are stored in the ***.fce.ema file, which is itself a component of the cmn.emz file. To transplant these face animations from one character alongside the moveset of another character, we're going to have to collect a few tools: piecemontee's Asset Explorer, Kensou's Tool and your favorite hex editor (I use the free and open source Frhed).

Getting Started
First, identify which characters we're going to mess with and backup their chara directories. I'll be using Chun Li's model (I'll refer to her as the 'donor') on Sagat's moveset (I'll refer to him as the 'receiver'), so I made copies of those files.
Next, run the donor's cos and col files through the Asset Explorer, along with both characters' cmn.emz files (in my case, CNL.cmn.emz and SGT.cmn.emz). This will decompress them and get them ready for modding.

Now, open the donor's cos and col files in a hex editor, scroll all the way down to the bottoms of the files and change the 3-letter character name references to match the receivers'. In my case, I changed the CNL instances to SGT (there will be 4 instances to change in the cos file and 2 in the col file). Then, rename the files to match (e.g., CNL_01.cos.emz to SGT_01.cos.emz and CNL_01_01.col.emz to SGT_01_01.col.emz).

At this point, you should copy those new donor model files over to the receiver's chara folder (in my case, the SGT directory) and make sure the game loads without crashing. If it loads ok, you should see some monkeyface. Good job, we're halfway there.

Extracting the CMN components
Now, open the receiver's cmn.emz file in the Asset Explorer. Click the 'plus' signs to expand the base file and the overall #EMB file, like this:
Then, left-click on the first section (#EMO (SGT.skl.emo)) to select it and then right-click on it and choose 'Raw dump...' Repeat this process for each section in the cmn.emz file except for the *.cam.ema file, which will crash the Asset Explorer if you select it. Unfortunately, we need that section, so we'll have to get it the hard way--via hex editor.

Isolating the cam.ema Component

Open the receiver's cmn.emz file in a hex editor and make your way down to the third section labeled '#EMA' (I find it easiest to search sequentially through the document for #EMA 3 times). It will be the last one in the file.
Now, write down where it starts, in my case x760e40.
Next, we need to find the end of that section, which is most easily accomplished by searching again, but this time for '#BAC.'
Now, select everything between that last #EMA (at the location we wrote down) and the beginning of #BAC
Copy it and paste it into a new file and save it with the appropriate name (in my case, SGT.cam.ema):
Ok, now that we have all of our receiver's cmn components extracted and isolated, we're ready to get our donor's face animation ready for transplantation.

Open the donor's cmn.emz file in the Asset Explorer and expand it just like we did with the receiver's cmn file earlier on. Left-click on the section labeled #EMA (***.fce.ema) and then right-click and select 'Raw dump...' just like before.

Now, we want to rename that file--in my case, CNL.fce.ema--to match the receiver's other files (you'll have to overwrite the receiver's original fce.ema file in the process, but we don't need it anyway, so no big deal). Alright, we're almost there. Time to rebuild the receiver's cmn file with the new face data using Kensou's Tool.

Repacking A New File
Open up the directory for Kensou's Tool, then navigate to 'sf4' and then the 'emz' directory (you might have to create this directory if it doesn't already exist). Take your receiver's 6 original cmn component files that we raw-dumped, along with the renamed fac.ema file from our donor, and place them all in the aforementioned 'emz' directory:
Go back into the sf4 directory and launch sf4tool.exe:
In the big pane to the right with all of the directory structure, double-click on the folder labeled 'emz,' then click on the left-hand button below that pane. It should then populate the smaller, lower-left pane with a bunch of paths referencing our cmn component files:
These files need to be in exactly the same order as the ones in the original cmn.emz file (skl.emo, skl.emm, obj.ema, fce.ema, cam.ema, bac and bcm) but they won't be by default, so we'll need to click into that pane and do a little manual reordering. Everything should be in order except for the last two, so just copy/paste their paths into the right spots.
Once that's done, click the right-hand button to combine everything. It should pop up this window:
and you should have a shiny new file named 'newpack.emz' alongside your original cmn component files in the 'emz' directory. Now we're really in the home stretch.

Testing it Out
Rename your newpack.emz file to match the receiver's cmn file--in my case, SGT.cmn.emz.

Copy that file into your receiver's chara directory and overwrite the old one (you made sure to make a backup, right? Right??) and go test it out.

If you did everything correctly, you should have a perfectly normal face:
Congratulations!

Tuesday, February 1, 2011

Mudlord's HLSL Shaders for BSNES

I came across a set of HLSL pixel shaders from mudlord that were intended for use with snes9x, so I formatted them for use with bsnes and everything seems to work just fine. You can download the whole pack here.

Here are some screenshots from a couple of them:

1. Emboss
Looks pretty cool but gets old quickly.

2. Blur 2
There are 4 different blur settings. The first one actually looks pretty decent, but the rest are too intense for me.

3. Pixelator
Hmmm. Can't really see shit... Kinda like if your favorite SNES game came out on Atari first.

4. Toon
This one actually looks really cool. It makes everything look like Yoshi's Island :D

There are a number of others in the pack, including all of the blurs, another take on bloom, a toon shader without the black outlines and a couple that cover everything with a wave mask.

This pack gives D3D users a bit more freedom beyond the lone Sepia filter that comes with bsnes, and I hope to add more of these in the future. I'll post them here if/when I come across them.

UPDATE (2/2/11):
I fiddled around with some and came up with a couple more. They're essentially functioning just like mudlord's 'emboss' shader, but they maintain color:

1. color emboss bright
2. color emboss mild (this one requires that 'smooth video' be enabled to work properly; similar results to smooth video+mudlord's 'sharpen' shader)

Nutella and Strawberry Cake كيك النوتيلا والفراولة

Nutella and Strawberry Cake كيك النوتيلا والفراولة

Scroll down for English post
فبراير هو شهر الفالنتاين أو عيد الحب. الحب هو من أهم الأشياء في حياتنا، ليس فقط الحب بين الرجل والمرأة، لكن أيضاً حب العائلة، حب الأصدقاء، حبنا لبلدنا، حبنا للطبيعة وكل شيء جميل، هل يمكنكم تخيل الحياة بدون حب؟ ستكون سيئة للغاية أليس كذلك؟ هذه الوصفات التي سوف أقدمها لكم هذا الشهر ليست فقط ليوم واحد، ولكنها أيضاً لتقولوا من خلالها "أحبك" لمن تحبوا، طريقة بسيطة لتعبروا عن مدى تقديركم لهم..
وصفة اليوم هي كيك أو تورتة محشية، مغطاة بشوكولاتة نوتيلا وحبات الفراولة ، سأتحدث عن الكيك عامة والنصائح الخاصة بعمله في وقت لاحق، ولكن اليوم سأعطيكم اختياراً سهلاً وهو خليط الكيك الجاهز حتى تكون الطريقة بسيطة وسريعة عندما لا يكون لديكم وقت كافي لعمل الكيك من أوله. من منا لا يحب نوتيلا؟ ومن منا لا يحب الشوكولاتة خاصة مع الفراولة؟ هيا بنا إذن إلى الوصفة.

نصيحة الوصفة:
1- يمكن استخدام أي نوع محبب من صوص أو معجون أو كريمة الشوكولاتة
2- لعمل الكيك من خلال الخليط الجاهز يتم اتباع الخطوات الموجودة على العلبة الخاصة به خطوة بخطوة مع إضافة فقط ما هو مذكور على العلبة.
3- إذا تم وضع التورتة في الثلاجة يفضل استخدام الولاعة الخاصة بالطعام على سطحها لإعطاء الشوكولاتة مذاق أحلى (إذا توفرت) أو إخراجها من الثلاجة قبل التقديم بعدة دقائق.
So, it's Valentine's month. Love is one of the most important things in our life, not only love between a man and a women, but also the family love, the friends,our love to our country or nature and all beautiful things, can you imagine life without love? Really bad isn't it? These recipes that I will try to post here won't be only for Valentine's day, but also to say "I love you" to whom you love, a simple way to tell them how much you appreciate them.
Today's recipe is a stuffed cake, decorated with chocolate and strawberries, I will talk about cakes later and give you tips for making cakes, but today I will give you a simple choice (cake mix) to make it simply and quickly when you don't have time to make it from scratch. Who doesn't love Nutella? Who doesn't love chocolate especially with strawberry? Let's find out how to make it.
Tips:
1- You can use any type chocolate or chocolate cream your like.
2- For the cake mix, choose your favorite and follow the instructions and use the ingredients that are written on the package.
3- For better result if you don't serve the cake directly and keep it in the fridge, use a food torch on the cake to give the chocolate better taste (if available), or take the cake out of the fridge couple minutes before serving.

Click here for the recipe اضغط هنا للوصفة »

Cari Farmasi

Farmasi Di Kuala Lumpur dan Selangor Selangor / KL Area NO SHOPS NAMES ...