Removing "MZF Class"

Results 1 to 10 of 10
  1. #1
    Member RavenGamers is offline
    MemberRank
    Nov 2011 Join Date
    87Posts

    smile Removing "MZF Class"

    Hello ragezone users, I'm trying to make "Own Background Music" which that is realy cool and from my experience I need to remove the MZF(mrs) class? Here what i have done:
    ZSoundEngine.cpp
    Spoiler:

    *From:
    Code:
    bool ZSoundEngine::OpenMusic(int nBgmIndex, MZFileSystem* pfs)
    {
    	if( !m_bSoundEnable ) return false;
    	m_pfs=pfs;
    	if (nBgmIndex == BGMID_BATTLE) m_bBattleMusic = true;
    	else m_bBattleMusic = false;
    	char szFileName[256];
    	strcpy(szFileName, GetBGMFileName(nBgmIndex));
    	return OpenMusic(szFileName, pfs);
    }
    *To:
    Code:
    bool ZSoundEngine::OpenMusic1(int nBgmIndex)
    {
    	if( !m_bSoundEnable ) return false;
    //	m_pfs=pfs;
    	if (nBgmIndex == BGMID_BATTLE) m_bBattleMusic = true;
    	else m_bBattleMusic = false;
    	char szFileName[256];
    	strcpy(szFileName, GetBGMFileName(nBgmIndex));
    	return OpenMusic1(szFileName);
    }
    *And some other edits i changed from "OpenMusic" to "OpenMusic1"

    ZSoundEngine.h
    Spoiler:

    *From:
    Code:
    bool OpenMusic(int nBgmIndex,MZFileSystem* pfs);
    *To:
    Code:
    bool OpenMusic1(int nBgmIndex);

    So the problem is that there is no sound both BGM.mrs file or BGM as a folder. I'm requesting help to remove MZF Class or write me the right way.
    Last edited by RavenGamers; 20-03-12 at 06:02 PM.


  2. #2
    Account Upgraded | Title Enabled! ThunderZ is offline
    MemberRank
    Oct 2011 Join Date
    396Posts

    Re: Removing "MZF Class"

    your doing it wrong

    i cant tell you exactly how to do it but trust me you can use mzf the way it is just keep looking on how other files are opened.

  3. #3
    Die() Secured is offline
    MemberRank
    Sep 2011 Join Date
    /home/SDev/Location
    555Posts

    Re: Removing "MZF Class"

    why not just just change ogg to mp3 via the source and add your own music for search for the partial source released here a long time ago that allows users to add there own custom background users in a mp3 folder

  4. #4
    Member RavenGamers is offline
    MemberRank
    Nov 2011 Join Date
    87Posts

    Re: Removing "MZF Class"

    Quote Originally Posted by thunderz1337 View Post
    your doing it wrong
    i cant tell you exactly how to do it but trust me you can use mzf the way it is just keep looking on how other files are opened.
    Well, there is no other files are opened.
    Oh CUSTOM/CROSSHAIR, so I need to change "szFileName" to "szCustomFile" and just back the MZFileSystem?

    Quote Originally Posted by Secured View Post
    why not just just change ogg to mp3 via the source and add your own music for search for the partial source released here a long time ago that allows users to add there own custom background users in a mp3 folder
    The "MP3" thing already done but there is no source released here about this thing.

  5. #5
    Member iDelta is offline
    MemberRank
    Mar 2012 Join Date
    67Posts

    Re: Removing "MZF Class"

    Why not just go look at the map Interface or Model and go look how its there and do the same there? -.-
    Posted via Mobile Device

  6. #6
    Account Upgraded | Title Enabled! ThunderZ is offline
    MemberRank
    Oct 2011 Join Date
    396Posts

    Re: Removing "MZF Class"

    Quote Originally Posted by RavenGamers View Post

    Well, there is no other files are opened.
    Oh CUSTOM/CROSSHAIR, so I need to change "szFileName" to "szCustomFile" and just back the MZFileSystem?


    The "MP3" thing already done but there is no source released here about this thing.
    no but you can use the file system to open folders you just need to look in the correct places!

    but i mean i can tell you how to do it but i wont cause :P

    just tips!

    Anyways just keep looking in MZFile.
    Last edited by ThunderZ; 21-03-12 at 10:36 PM.

  7. #7
    Member RavenGamers is offline
    MemberRank
    Nov 2011 Join Date
    87Posts

    Re: Removing "MZF Class"

    Quote Originally Posted by thunderz1337 View Post
    no but you can use the file system to open folders you just need to look in the correct places!

    but i mean i can tell you how to do it but i wont cause :P

    just tips!

    Anyways just keep looking in MZFile.
    Hmm comeone, Atleast tell me "the thing" that i need to look for, hmm like: What file? more tips?

  8. #8
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Removing "MZF Class"

    get use of mzf's readmodes.

  9. #9
    Member RavenGamers is offline
    MemberRank
    Nov 2011 Join Date
    87Posts

    Re: Removing "MZF Class"

    Quote Originally Posted by Vusion View Post
    get use of mzf's readmodes.
    MZFileSystem.h
    class MZFileSystem{

    ?

  10. #10
    Account Upgraded | Title Enabled! ThunderZ is offline
    MemberRank
    Oct 2011 Join Date
    396Posts

    Re: Removing "MZF Class"

    Quote Originally Posted by RavenGamers View Post


    MZFileSystem.h
    class MZFileSystem{

    ?
    read modes

    nuffsaid like vusion said LOL
    Last edited by ThunderZ; 22-03-12 at 04:45 PM.



Advertisement