![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Deal or No Deal (US Homebrew Version) within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Here's my second go at homebrew and for the first time in this area not GTA related for a change... ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() ![]() Developer
|
Here's my second go at homebrew and for the first time in this area not GTA related for a change...
![]() ![]() Download it here... http://www.cheatsync.net/dealnodeal.zip Works with FW2.0, 2.01, 2.5 and 2.6 with eLoader and obvioulsy FW1.5 and below... Code:
DEAL OR NO DEAL Written for the PSP by ADePSP 2006 OVERVIEW ======== OK, I know there are already quite a few versions of Deal or No Deal out there but I could only find a LUA English version for the PSP and that version didn't really do it for me (no offense whoever made it as it has some really nice features)... I want to win a million be it in dollas or whatever and I also wanted a version with the graphical quality of the homebrew Millionaire game... Anyway, I decided to make my own in the true spirit of homebrew by pinching all the ideas I liked from the other available versions on the web... I'm really pleased with the result... This version has quality graphics and non stop atmospheric background music for almost every action or moment in the game... Both of which make it a really nice handheld gameshow experience... For anyone who hasn't heard of this game here is a quick run through, There are 26 suitcases that contain various amounts of money... You pick one and then open various others revealing what you could have won until the banker phones up and tries to tempt you out of what "might" be in your suitcase with a cash offer... You can choose to accept that or carry on opening cases until you are offered another deal... If you get to the last case then you can choose to keep yours or swap and get the cash in the remaining suitcase instead... The idea is to walk away with the most money you can (obviously)... If you like my version then great and if not, meh, I made it for myself anyway... :D INSTALLATION ============ Simply copy the two folders provided, __SCE__dealnodeal %__SCE__dealnodeal to your PSP memory stick's PSP\GAME folder, <PSP_DRIVE>:\PSP\GAME\__SCE__dealnodeal <PSP_DRIVE>:\PSP\GAME\%__SCE__dealnodeal CONTROLS ======== START Start the game D-Pad Move between suitcases X Select a suitcase / Skip sound effect Left Shoulder "NO DEAL" or "NO SWAP" Right Shoulder "DEAL" or "SWAP" Hold Triangle Show Highscores Last edited by ADePSP; 08-23-2006 at 01:50 PM.. |
|
|
|
|
|
#2 |
![]() ![]() sceKernelExitGame();
|
Cool, yeah the dev of the other game is one of my friends, his name is darkshadow88
Good job on this release!
__________________
|
|
|
|
|
|
#3 | |
![]() ![]() Developer
|
Quote:
|
|
|
|
|
|
|
#4 |
![]() ![]() sceKernelExitGame();
|
I'll ask him when I get a chance.But why don't you just look at his source code? Also It might be awhile before I talk to him as he leaves for college in a day or so...
__________________
|
|
|
|
|
|
#5 |
![]() ![]() <img src="images/smilies/psp.gif" border="0" alt="" title="" cl***="inlineimg" /> <img src="images/smilies/Punk.gif" border="0" alt="" title="" cl***=&
|
i didnt like the banker offer in the other one to much,, to low for me,, but ill test this one out
i miss the show, thanks also, since it was in lua, the source code is thee
__________________
|
|
|
|
|
|
#6 | |
![]() ![]() Developer
|
Quote:
Try playing it against the people next to you... That's what I was working at with this game (pass it around )...I just wanted this to be something you'd play, in a car on you're way somwhere, or on a plane etc... I thought the Millionaire game was perfect PSP homebrew and just wanted this game too... These game show homebrews aren't too tricky... anyone want to help me make Family Fortunes...? ![]() ADePSP |
|
|
|
|
|
|
#8 |
|
cool release. i watch this on tv sometimes. i would love it though if someone could code that card game. i think its called joker's wild
__________________
98% of people post their PSP firmware, games, and accessories in their signature. Put this in your sig if you don't give a crap about them. **i want premium but i have no money. who wants to make me a premium member? |
|
|
|
|
|
|
#9 |
|
Join Date: Aug 2006
Location: Odessa,FL, USA, Earth, Sun Solar System, Milky Way Galaxy
Posts: 5
Trader Feedback: 0
|
Oo rah! The final release is out...I guess I should update, as this one looks nicer than the one I still have
It looks neater than before :PI wish you luck in front page, perhaps even Dev status
|
|
|
|
|
|
#13 |
![]() ![]() ...in a dream...
|
If only it could somehow deconstruct a piece of cotton's atoms and reconstruct them into a dollar... But what do i know?
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#14 |
![]() ![]() Cool Developer
|
If your bored enough, you could make the banker offer simply an average of all the important values, ( Where you give the higher values a bigger rank. )
IE. if 100,000 and 1,000,000 were left, you could simply put it in a 5:6 ratio of importance, and say 500,000 + 6,000,000 = 6,500,000 divided by 11 = 590,909 This value is based on the fact that 1 million is a sensational figure, and can have influence in the "average" ( A biased influence. ) Do you think the "banker" in the real game is computer calculated?
__________________
Hmm... |
|
|
|
|
|
#15 | |
![]() ![]() Developer
|
Quote:
|
|
|
|
|
|
|
#16 |
![]() ![]() <img src="images/smilies/psp.gif" border="0" alt="" title="" cl***="inlineimg" /> <img src="images/smilies/Punk.gif" border="0" alt="" title="" cl***=&
|
i remember the banker offered a motocycle once (in tv version)
id like to see the gold money things on the side, rather then text,, besides that,, its awsome i havent got 1,000,000 on this version yet,, but on the other version i had the .01 and 1,000,000 left,,, and i said no deal, and won the million (the offer was 500,000)
__________________
|
|
|
|
|
|
#17 | |
![]() ![]() Developer
|
Quote:
|
|
|
|
|
|
|
#18 | |
![]() |
Quote:
|
|
|
|
|
|
|
#20 | |
![]() ![]() Developer
|
Quote:
EDIT: Does anyone know if this works with eLoader...? I know, I made it but can't get eLoader to work with my Devhook to check... |
|
|
|
|
|
|
#21 | |
![]() ![]() Developer
|
Quote:
__________________
|
|
|
|
|
|
|
#23 | |
![]() |
Some info can be found on Wikipedia
http://en.wikipedia.org/wiki/Deal_or_No_Deal http://en.wikipedia.org/wiki/Deal_or...S_game_show%29 You can also Google for more info "Deal or no Deal" Formula Here http://nslog.com/archives/2005/12/20..._algorithm.php someone figured out the sliding factors as Quote:
http://www.experts-exchange.com/Misc..._21671115.html Here's an online version at NBC, perhaps you can get some inspiration from their code? http://www.nbc.com/Deal_or_No_Deal/game/ I've played this game more on the PSP than I watched it on TV though, as it's a fun game to play. |
|
|
|
|
|
|
#24 |
![]() ![]() Developer
|
Interesting and heres my formula function for the banker offer... Check the // commented out earlier versions... University degrees my arse, I had to come up with the best one...
Code:
double getBankerOffer(void) {
double totalAmount = 0;
int totalOpen = 0;
int i;
double a = 0; // average
int b = 0; // number of low cases
int c = 0; // number of high cases
int t = 0; // total number of cases
int d = currentRound + 1; // round you are on
// random number between 0.9 and 1.1
double r = get_random(0,2000);
r = (r+9000) / 10000;
for (i=0; i<26; i++) {
if (suitcases[i].open == 0) {
totalAmount+=suitcases[i].amount;
totalOpen++;
if (suitcases[i].amount < amounts[8]) {
b++;
} else {
c++;
}
}
}
a = totalAmount / totalOpen;
t = (b + c);
//if (b<1) b = 1;
//if (c<1) c = 1;
if (b>c) b = c;
double offer;
//offer = ( (0.5 * a) + (0.25 * a * (c/b)) * (((d-1) * 0.1) + 0.3) ) * r;
//offer = ( (0.3 * a) + (0.25 * a * (c/t - b/t)) * (((d-1) * 0.3) + 0.3) ) * r;
if (c > 0) {
offer = ( (0.2 * a) + (0.6 * a * (c/t - b/t)) + (0.15 * a * ((d-1) * 0.125)) ) * r;
} else {
offer = ( (0.8 * a) + (0.15 * a * ((d-1) * 0.125)) ) * r;
}
/*
fillScreenRect(RGB(0, 0, 0), 0, 0, 480, 272);
char buffer[200];
set_font_size(8);
set_font_angle(0.0);
set_font_color(0xffffffff);
sprintf(buffer,"a=%f, b=%d, c=%d, d=%d, r=%f",a,b,c,d,r);
text_to_screen(buffer, 100, 150);
sprintf(buffer,"offer=%f",offer);
text_to_screen(buffer, 100, 170);
flipScreen();
waitForButtonPress();
*/
return offer;
}
For anyone who wants to improve on it, change it, mess with it or just use bits of it in their game here is all the source code (You have my blessing to do what the hell you want with it)... http://www.cheatsync.net/PPMG/dealnodeal.rar My big thing is we should all help each other out a little more... Don't let Sony win, make then give in to homebrew... ![]() ADePSP |
|
|
|
|
|
#26 |
![]() Has a dollar
|
sweet my gf is going to love this, thanks
also i do think that the banker's "bids" are influenced by a percentage, but it all comes down to whether he trusts that %(i'm lazy i know) this is nice, keep it up p.s. (any thoughts about cash cab? even though they cna't boot you out or anything)hmmm, nvm, it wouldn't be too fun
__________________
[CENTER][CENTER][URL="http://forums.qj.net/userpage.php?do=main&userid=28343"][IMG]http://img97.imageshack.us/img97/5762/untitled1lw5if9.png[/IMG][/URL][FONT=Comic Sans MS][COLOR=#bb0000][B] Computer games don't affect kids, I mean if pac man affected us as kids, we'd all be running around in darkened rooms, munching pills and listening to repetitive music[/B][/COLOR][/FONT] [/CENTER] [COLOR=DarkRed][B][SIZE=2][COLOR=#bb0000] [/COLOR][/SIZE][COLOR=#bb0000][SIZE=2][FONT=Comic Sans MS] Maintain thy airspeed, lest the ground rise up and smite thee.[/FONT][/SIZE][/COLOR][/B][/COLOR] [/CENTER] |
|
|
|
|
|
#28 |
|
I hae downloaded this game. However when i try to run it on my FW1.5, it satrts up the PSP load screen intro thing, then says this game could not start ...blah blah blah.
I too ka look inside the two folders and realized that there is only one folder containing an EBOOT.PBP file and that folder is the one for the loading purpose only not the gmae itself. Which is the eboot from the DATA.PSP file Edit: Wait never mind, the file that PSPupdates dowload page is host is incorrect, your likn aboe worked perfectly. Thanks |
|
|
|
|
|
|
#29 | |
|
Quote:
Can you help me please, i can't make boot.PBP with your program. see picture : ![]() If i modify the text to main.c, its no good. it make a mistake. Sorry for my english, i m a french... ![]() thanks kayle |
||
|
|
|
|
|
#30 | |
![]() ![]() Developer
|
Quote:
Code:
svn checkout svn://svn.pspdev.org/psp/trunk/zlib cd zlib make make install cd .. svn checkout svn://svn.pspdev.org/psp/trunk/libpng cd libpng make make install cd .. svn checkout svn://svn.ps2dev.org/psp/trunk/libmad cd libmad make cp -Rf ./include /usr/local/pspdev/psp/ cp -Rf ./lib/libmad.a /usr/local/pspdev/psp/lib cd .. svn co svn://svn.ps2dev.org/psp/trunk/freetype cd freetype sh autogen.sh LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \ ./configure --host psp --prefix=$(psp-config --psp-prefix) make make install mv /usr/local/pspdev/psp/include/freetype2/freetype \ /usr/local/pspdev/psp/include/freetype cd .. Please post the French version when you have done it... I'd be interested to see it and might include it with my download (giving you credit of course)... EDIT: If you have PhotoShop you could even edit the controls.psd and other .psd files in the source root folder and translate all the text and then save them as .png files in the gfx folder... ![]() ADe Last edited by ADePSP; 08-30-2006 at 09:05 AM.. |
|
|
|
|
![]() |
| Tags |
| deal , homebrew , version |
| Thread Tools | |
|
|