Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server > Flyff PServer Guides & Releases
You last visited: Today at 07:26

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Tut']Make a splash screen for flyff

Discussion on [Tut']Make a splash screen for flyff within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2010
Posts: 72
Received Thanks: 59
[Tut']Make a splash screen for flyff

Hallo,

I make my tut' in english for more people understands.


You want make this without GameGuard ?



Humm okey listen

Go to the (city XD ) : \8_Neuz\Neuz.cpp

after :
Code:
#include "ClientMsg.h"
add :
Code:
#ifdef __LOADER_SPLASH

#include "loadersplash.h" // Hey mon chou <3

SPLASHLOAD NeuzLoad;

#endif

Find:
Code:
void CNeuzApp::WaitLoading()

{

    OutputDebugString("WaitLoading start\n");
Add :
Code:
#ifdef __LOADER_SPLASH

    NeuzLoad.Load(m_hInstance,ID_PRELOADER);

    NeuzLoad.Active(); // like splash :p

#endif
Find after:
Code:
void CNeuzApp::BeginLoadThread()

{

    CResFile::ScanResource( "" );
Remplace By
Code:
void CNeuzApp::BeginLoadThread()

{

#ifdef __LOADER_SPLASH

ShowWindow( m_hWnd, SW_HIDE ); // Et hop tu te casse <3

#endif

CResFile::ScanResource( "" );

Find :
Code:
#ifdef    __PROF

    SetFrameSkip( FALSE );

#endif

    m_texQuestEmoticon.LoadScript( m_pd3dDevice, MakePath( DIR_ICON, "icon_QuestEmoticon.inc" ) );

    m_TexturePackPVP.LoadScript( m_pd3dDevice, MakePath( DIR_SFX, "CountFight.inc" ) );

#if __VER >= 15 // __BS_CHANGING_ENVIR

    TexturePool::Get()->Init( m_pd3dDevice );

#endif    //__BS_CHANGING_ENVIR
Add:
Code:
#ifdef __LOADER_SPLASH

    ShowWindow( m_hWnd, SW_SHOW ); // reviens mon pti coeur <3

    if(NeuzLoad.SHOW)

        NeuzLoad.exit(); // now c'est bon tu peu aller dormir :3

#endif
Now the neuz call the splash if you want custom the splash NOT TOUCH the neuz ...

Create loadersplash.h

Past in loadersplash.h

Code:
//////////////////////////////////////////////////////////////////////

//                                                                    //

// loadersplash.h , Affichage du splatch pour flyff                    //

//                                                                    //

//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FLYFF_SPLASH)

#define AFX_FLYFF_SPLASH

#if _MSC_VER > 1000

#pragma once

#endif // _MSC_VER > 1000

// bon sa devrais tourner , cherche pas je rox le boeuf bourée xD

#ifdef __LOADER_SPLASH

class SPLASHLOAD

{

public:

    void exit();

    void Active();

    void Load(HINSTANCE hInstance,int resid);

    BOOL SHOW;

    SPLASHLOAD();

    virtual ~SPLASHLOAD();

private:

    UINT TimerID;

    HWND hParentWindow;

    HWND hSplashWnd;

};

#endif

#endif // !defined(AFX_FLYFF_SPLASH)
Create loadersplash.cpp

past in loadersplash.cpp

Code:
//////////////////////////////////////////////////////////////////////

//                                                                    //

// loadersplash.cpp , Affichage du splatch pour flyff                //

//                                                                    //

//////////////////////////////////////////////////////////////////////

#include "stdafx.h"    // Prérequis

#include "windows.h"    // Vu que on Cheat par windows

#include "loadersplash.h"    // on appel notre .h

//////////////////////////////////////////////////////////////////////

// Construction/Destruction

//////////////////////////////////////////////////////////////////////

#ifdef __LOADER_SPLASH

SPLASHLOAD::SPLASHLOAD()

{

}

SPLASHLOAD::~SPLASHLOAD()

{

DestroyWindow(hSplashWnd);

}

void SPLASHLOAD::Load(HINSTANCE hInstance,int resid)

{

hSplashWnd=CreateWindowEx(WS_EX_CLIENTEDGE,"STATIC","Chargement en Cours",

    WS_POPUP|WS_DLGFRAME|SS_BITMAP,301,301,550,300,NULL,NULL,hInstance,NULL); // 550 = länge , 300 = breite , in german for german :p

SendMessage(hSplashWnd,STM_SETIMAGE,IMAGE_BITMAP,(LPARAM)LoadBitmap(hInstance,MAKEINTRESOURCE(resid)));

// on utilisera une fenetre avec du BMP en fond vu que je suis un gros faignant pour vous expliquer comment mettre une lib

this->SHOW = FALSE;

}

void SPLASHLOAD::Active()

{

  int x,y;

  int tx,ty;

  HDWP windefer;

  RECT rect;

  GetClientRect(hSplashWnd,&rect);

  x=rect.right;y=rect.bottom;

  POINT Ecran = {GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN)} ;

  // on prend la taille de l'ecran - la fenaitre pour centrer

  tx = ((Ecran.x/2)-(x/2)); // Taille de ecran divisée par 2 moins taille de image divisée par 2 =  center

  ty = ((Ecran.y/2)-(y/2));

  windefer=BeginDeferWindowPos(1);

  DeferWindowPos(windefer,hSplashWnd,HWND_NOTOPMOST,tx,ty,50,50,SWP_NOSIZE|SWP_SHOWWINDOW|SWP_NOZORDER);

  EndDeferWindowPos(windefer);

  ShowWindow(hSplashWnd,SW_SHOWNORMAL);

  UpdateWindow(hSplashWnd);

  this->SHOW = TRUE;

}

void SPLASHLOAD::exit()

{

  ShowWindow(hSplashWnd,SW_HIDE);

// si ta eu le courage de lire , c'est moi qui est pré-ecrit le discours de karles pour le cadeau :3 Oui moi :p

// Pourquoi sa te choque que moi , davedevils puis écrire des chose censée ?

  this->SHOW = FALSE;

}

#endif
Paste the cpp and h in /8_Neuz/

Now , Go to : \8_Neuz\Resource.h

find :
Quote:
#define IDM_TOGGLEALLHITS 40013
add:
Quote:
#define ID_PRELOADER 40020
Open with NOTPAD++ the file \8_Neuz\WinMain.rc

Find :
Quote:
IDI_MAIN_ICON ICON "Resource\\main_ico.ico"
add:
Quote:
ID_PRELOADER BITMAP "Resource\\Preloader.bmp"
Add your splash in : \8_Neuz\Resource\Preloader.bmp

(Splash for test : or )


go to \8_Neuz\VersionCommon.h

add :
Quote:
#define __LOADER_SPLASH // splash for neuz by davedevils /jtb1
In Neuz.sln in visual studio 2003 , right click

Add -> Add existing Item

add : loadersplash.cpp et loadersplash.h

Now Build and try

Now you have this :


Credit :
99% Dave devil's / jtb1
1% Gala-lab For flyff
Attached Files
File Type: rar Preloader.rar (282.7 KB, 541 views)
jtb1 is offline  
Thanks
9 Users
Old 04/23/2013, 16:45   #2
 
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
Tnx dude very nice release!
Rhyder` is offline  
Old 04/23/2013, 16:50   #3
 
elite*gold: 294
Join Date: Jun 2009
Posts: 407
Received Thanks: 587
Thanks for this release man! It is very nice :P
Avalion is offline  
Old 04/24/2013, 10:07   #4
 
elite*gold: 0
Join Date: Aug 2011
Posts: 61
Received Thanks: 3
HOW TO FIX THIS ONE??

tangia1426 is offline  
Old 04/24/2013, 12:45   #5
 
elite*gold: 0
Join Date: Sep 2010
Posts: 72
Received Thanks: 59
You read post ?

Quote:
In Neuz.sln in visual studio 2003 , right click

Add -> Add existing Item

add : loadersplash.cpp et loadersplash.h

Now Build and try
Read ALL word in post before post after it's a good idea for you
jtb1 is offline  
Old 04/26/2013, 05:04   #6
 
elite*gold: 0
Join Date: Nov 2009
Posts: 182
Received Thanks: 13
is there anyway that the picture can be in PNG format? so there can be transparent parts in the image ?
bhengot is offline  
Old 04/28/2013, 00:15   #7
 
elite*gold: 0
Join Date: Sep 2010
Posts: 72
Received Thanks: 59
You can make this with LIB
jtb1 is offline  
Old 04/28/2013, 03:53   #8
 
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
why is it .png are not allowed to use with this?
Rhyder` is offline  
Old 04/28/2013, 07:24   #9
 
xDillema's Avatar
 
elite*gold: 0
Join Date: Feb 2013
Posts: 6
Received Thanks: 3
Quote:
Originally Posted by jayjei14 View Post
why is it .png are not allowed to use with this?
hey master look at this code
here ---> ID_PRELOADER BITMAP "Resource\\Preloader.bmp" It read .bmp file if you want to change in .jpeg/png and what so ever it's up to you.
btw you said you are pro now but this time ?
xDillema is offline  
Old 05/14/2013, 20:20   #10
 
elite*gold: 30
Join Date: May 2013
Posts: 69
Received Thanks: 9
Das geht ja ganz schnell

Kann man das nicht verlängern? :-)
.Shikura is offline  
Old 05/14/2013, 22:07   #11
 
elite*gold: 0
Join Date: Apr 2009
Posts: 243
Received Thanks: 32
Ja einen langsameren PC kaufen? xD
Der ist halt solange da bis der Client geladen hat
Du kannst auch noch nach dem laden eine Zeit hinzufügen aber wo ist dann der Sinn?
lanzelord996 is offline  
Old 11/29/2014, 20:41   #12
 
Wezzy_Dev's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 248
Received Thanks: 28
how to change bmp to png??
Wezzy_Dev is offline  
Old 11/30/2014, 12:00   #13
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Quote:
Originally Posted by Wezzy_Dev View Post
how to change bmp to png??
D_PRELOADER BITMAP "Resource\\Preloader.bmp"

Change that to .png and it should work
raventh1984 is offline  
Old 04/02/2015, 08:11   #14
 
elite*gold: 0
Join Date: Apr 2014
Posts: 96
Received Thanks: 7
^ It will put an error i think? and BITMAP = bmp right? And can anyone give me an Idea so the splash screen wont put not responding and remove the box around the picture? it sucks :3
Wharsh is offline  
Old 04/07/2015, 21:15   #15
 
Jomex's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 24
Received Thanks: 16
what if I told you there is code ready and better than your in source already?
Jomex is offline  
Reply


Similar Threads Similar Threads
Changing the splash screen for client...
07/26/2012 - Dekaron Private Server - 3 Replies
Hey all. I just want to know how to change the splash screen and loading screen for the client? In Windows it's a .sys file. I'm just looking to know what the file name is I need to change. Thanks!
Zbot - sro_client cant get past splash screen
11/27/2011 - SRO Private Server - 0 Replies
Ugh my sro_client just shows the splash screen and won't go further... Any fixes for this? Loading Silkroad Data Client Connection Received Connecting To Silkroad Server Connected To Silkroad Server ! You Using Newer Silkroad version than Server Config file:
[ibot] when i try to "RELOG" im stuck at splash screen
03/23/2011 - Silkroad Online - 2 Replies
hey guys :P the picture and title probably explains it all :D any way in which you guys can help me? ^^ thx a lot :) much appreciated :rolleyes: Imageshack - splashscreenerror.png
MODIFIED SPLASH SCREEN
02/20/2011 - Grand Chase Hacks, Bots, Cheats & Exploits - 4 Replies
1. go to your gc directory 2. open GameGuard folder 3. use paint to open splash 4. delete the current picture of splash 5. you can now edit splash screen!!! 6. save to GameGuard folder 7. patch GC 8. W8 for the splash and tada!! modified splash screen
Splash-Screen von NC
12/08/2005 - General Gaming Discussion - 2 Replies
Da ich immer wieder davon höre, das sich Leute über die lästigen Splash-Screens von NC beschweren (Epi-Warnung am Anfang und ne Werbung am Ende), verrate ich jetzt hier für alle unwissenden, wie man die abstellen kann ;) Öffnet die Datei "neocron.ini" (befindet sich im gleichen Ordner wie die client.exe, also nicht im INI-Ordner suchen ^^) mit einem Texteditor und ändert NOSPLASH = "FALSE" NOEXTRO = "FALSE" in



All times are GMT +1. The time now is 07:26.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.