1. Hello Guest! Did you know that we're also on Discord? You can join us here: https://discord.gg/vxqdaG4.
    Dismiss Notice

[Beta-Tutorial] Custom Effect

Discussion in 'Custom DLC' started by 'spring onion' Hachune, Apr 22, 2019.

  1. 'spring onion' Hachune

    'spring onion' Hachune My weakness are the songs over 8☆

    Joined:
    Oct 25, 2018
    Messages:
    62
    Likes Received:
    22
    Trophy Points:
    145
    Gender:
    Female
    Location:
    Argentina
    Home Page:
    https://www.youtube.com/channel/UCSPDEmMokrof5CK8EIglIxA
    Hello!, finally after a vacation I bring you the tutorial about how to make custom effects (≧∇≦)/
    I'm sorry for my broken english, I hope you can understand me xD
    The first thing I did was find out how the .EDAT files of the DIVA Room Themes work.
    (To notice it better it is advisable to see it with 24 columns.)
    [​IMG]

    Well, this is the structure of the .EDAT files:
    [​IMG]
    A- ID: According to the number will be the order of each file.
    B- Name order: If these are exchanged, the names of the files also will be exchanged.
    C- File size: Indicates the file size in bytes in hexadecimal system.
    D- Offset: Indicates when each file begins.

    Now that we know this, it's time to edit the .EDAT file, specifically two parts which are: 01_name.txt and 07_room_shf00.igb.
    First of all we'll modify 07_room_shf00.igb which is the file that contains the effect.
    In this case 07_room_shf00.igb is equivalent to "BC 81" which is equal to 48257 bytes (which equals to 47,126 kilobytes), the file that we want to replace it weighs 87.3 KB (which is equal to 89,448 bytes), since the file it's much larger than that of .EDAT, what we should do is modify the highlighted part in blue that represents the size of 07_room_shf00.igb with the size of the file with which we want to replace it (remember that it has to be in hexadecimal system).
    [​IMG]
    [​IMG]

    Now it's time to modify 01_name.txt. This is the file that contains the name of the effect, here the file is equivalent to "13" which is equal to 19 bytes that at the same time is equal to the number of characters used in the name.
    [​IMG]
    I will name the effect "Test Effect" that contains 11 characters (spaces and commas also count) that is equal to "B" in hexadecimal system.
    [​IMG]

    The next step is open AFS2EXT For 2nd-2nd #/Extend to rewrite the files that we want to replace, in this case 01_name.txt and 07_room_shf00.igb.
    [​IMG]

    Once we replace both files we only have the last step that is to modify 00_attest.txt, this is the file that contains the letter and the slot of the file, to the letter we will replace it with a "L" and the slot for which that you want.
    [​IMG]

    And once this is done we only need to import the data:
    [​IMG]
    [​IMG]
    [​IMG]

    PS: It should be noted that this is a beta tutorial on how to create Custom Effects, there are still several problems to be solved. For some reason some effects look smaller than they should, I'm still working on solving that.
     
  2. Kasumi

    Kasumi SAFE here, SAFE there, SAFE everywhere, AAAAAAAA

    Joined:
    Jun 4, 2018
    Messages:
    88
    Likes Received:
    17
    Trophy Points:
    145
    Gender:
    Male
    I'm thinking since now that you've discovered this, we can abuse this method to make Custom DLC Songs without the stupid file size limit and corruption it can get if you make it too small. Anyways, great tutorial! (≧∇≦)
     
    Sakura Sumisu likes this.
  3. Sakura Sumisu

    Sakura Sumisu It's Because I Enjoy Life!

    Joined:
    Aug 14, 2018
    Messages:
    35
    Likes Received:
    3
    Trophy Points:
    125
    Gender:
    Female
    Occupation:
    trying to get a job
    Location:
    Mountain Home, Idaho, USA
    Home Page:
    https://www.youtube.com/channel/UC0QG_Ep4Km5o7sNWjYjKBHw
    #3 Sakura Sumisu, Apr 30, 2019
    Last edited: May 1, 2019
    I'm all for what Kasumi says here. But I still like that this is to get other effects. So yeah, thanks for the helpful tutorial ^__~
     
    Kasumi likes this.
  4. 'spring onion' Hachune

    'spring onion' Hachune My weakness are the songs over 8☆

    Joined:
    Oct 25, 2018
    Messages:
    62
    Likes Received:
    22
    Trophy Points:
    145
    Gender:
    Female
    Location:
    Argentina
    Home Page:
    https://www.youtube.com/channel/UCSPDEmMokrof5CK8EIglIxA
    The problem with this is that when you change the size of the file you also have to change the offset that is where each file starts which is a bit complicated to do manually but I think that to do this you will need a hexadecimal calculator, unfortunately there is still no program to create DLC Songs I would like to create it but my programming skills are not very good xD
     
    Kasumi likes this.
  5. Sakura Sumisu

    Sakura Sumisu It's Because I Enjoy Life!

    Joined:
    Aug 14, 2018
    Messages:
    35
    Likes Received:
    3
    Trophy Points:
    125
    Gender:
    Female
    Occupation:
    trying to get a job
    Location:
    Mountain Home, Idaho, USA
    Home Page:
    https://www.youtube.com/channel/UC0QG_Ep4Km5o7sNWjYjKBHw
    I know right, how complicated and confusing this whole hex thing can be @[email protected] Not long ago I got into looking at this stuff on romhacking.com. And I understand the math part, it's simply the whole chart thing when we look at a file like the images above here. Like because of the nonsense code, how do we know where to go to on the file for whatever we're doing? That's why even though I'm a newbie with this hex stuff, it's still like how do we learn to do this? So yeah, wish someone would help out and make a program to create DLC Songs like how there's a program for modules. And here's what I posted on romhacking http://www.romhacking.net/forum/index.php?topic=28308.0
     
  6. Kasumi

    Kasumi SAFE here, SAFE there, SAFE everywhere, AAAAAAAA

    Joined:
    Jun 4, 2018
    Messages:
    88
    Likes Received:
    17
    Trophy Points:
    145
    Gender:
    Male
    Good luck with english lyrics. Only 40 characters per lyric line is allowed or the game will crash on a PSP definitely, or sometimes it will bug up in an emulator/crash up as well.
     
  7. Sakura Sumisu

    Sakura Sumisu It's Because I Enjoy Life!

    Joined:
    Aug 14, 2018
    Messages:
    35
    Likes Received:
    3
    Trophy Points:
    125
    Gender:
    Female
    Occupation:
    trying to get a job
    Location:
    Mountain Home, Idaho, USA
    Home Page:
    https://www.youtube.com/channel/UC0QG_Ep4Km5o7sNWjYjKBHw
    Yeah, I'm aware of that and you told me that once before about the lyrics. But thanks for the info and wishing me luck :)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice