IA/VT -colorful- Add new songs + osu converter

Discussion in 'PS Vita - Hacking & Homebrew' started by MrComputerRevo, Oct 13, 2016.

  1. MrComputerRevo
    OP

    MrComputerRevo Advanced Member

    Newcomer
    77
    92
    May 13, 2013
    Hello everyone. Here I have slapped together an application that will convert and manage all the necessary files to create a IA/VT song mod. I also made a simple converter that will convert beatmaps from osu! into IA/VT format. This application uses at9tool and Scaleform Video Converter to convert audio and video, but you'll have to find those yourself as it's illegal to post links to that software here I think.

    HOW TO USE:
    1) Prepare your video and image files. The video has to include the audio track and preferably be 960x544 resolution. The image that will be used in the menu has to be in PNG format and 512x256 resolution. Additionally you can prepare separate menu audio preview file in WAVE format.
    2) Launch IAVT_Mod_Tool. If it's your first time launching please set the path to at9tool and Scaleform Converter. Also make sure you have Videolan x264 encoder named x264.exe and ffmpeg.exe in the "tools" directory. (Downloads:
    32-bit: http://download.videolan.org/pub/x264/binaries/win32/x264-r2705-3f5ed56.exe
    https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-3.1.4-win32-static.zip
    64-bit: http://download.videolan.org/pub/x264/binaries/win64/x264-r2705-3f5ed56.exe
    https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-3.1.4-win64-static.zip )
    3) Fill in all the fields. If you have already installed IA/VT mods before, check the "Download song_list_param.csv from FTP" checkbox and input your Vita IP address (make sure you have FTP running).
    4) Press the convert button. After the conversion is done copy the contents of the specified folder to your Vita at ux0:/app/PCSG00355/ overwriting any files asked. This will give you a "clean" song. There will be no notes to press. In order to add that use osu converter.

    HOW TO USE osu_converter:
    1) Prepare .osu files of the beatmap you want.
    2) Launch IAVT_osu_converter.exe from command line with parameters: osu_file.osu output.txt <offset>.
    3) Rename the output file into "MXXX_DY_MID.txt" where XXX is the ID of the song (you can go to /outputfolder/resource/common/songs/ and see it there), Y - difficulty (1 - easy, 2 - medium, 3 - hard).
    4) Place the output files in /outputfolder/resource/common/songs/ and transfer everything to Vita.

    The first time you boot the game after this the mod song is going to show up as locked, you need to play some other song once to unlock it.

    This is my first time ever releasing something, so I would appreciate constructive criticism rather than just shouting "IT'S ALL HORRIBLE!", thank you.

    Video tutorial:

    Video tutorial on how to make your beatmaps more awesome by adding curves and different tracks.


    Credits:
    @Nagato - for providing texture conversion tool
    osu-parser - https://github.com/nojhamster/osu-parser
    x264 - http://www.videolan.org/developers/x264.html
    ffmpeg - https://www.ffmpeg.org/

    DOWNLOADS:
    IAVT_Mod_Tool - https://goo.gl/Ee6xnt (10/19/2016 UPDATE Fixed some more problems and enabled output from ffmpeg)
    IAVT_osu_converter - https://goo.gl/5BDKfh (10/19/2016 UPDATE Added arrows and made insane osu! beatmaps a bit more playable on IA/VT)
     
    Last edited by MrComputerRevo, Oct 22, 2016


  2. djricekcn

    djricekcn GBAtemp Advanced Fan

    Member
    959
    36
    May 29, 2009
    United States
    can this replace songs? just can't beat this damn song in one of the challanges =-=
     
  3. MrComputerRevo
    OP

    MrComputerRevo Advanced Member

    Newcomer
    77
    92
    May 13, 2013
    If you want to replace with your own, then yeah, but you have to replace the ID of the song with the one you want to replace in all files. If you want to replace something with already existing song, it's the same. just copy the files of that song and change IDs everywhere.
     
  4. kftX

    kftX Member

    Newcomer
    48
    13
    Aug 13, 2016
    This is amazing. The fact we can ADD songs and not replace them and enjoy both vanilla and modded is great. Can't thank you enough.
     
  5. Maxuk

    Maxuk Member

    Newcomer
    13
    0
    Sep 19, 2016
    Cote d'Ivoire
    OMG THANKS. Now I`m goin to work on some songs
     
  6. Maxuk

    Maxuk Member

    Newcomer
    13
    0
    Sep 19, 2016
    Cote d'Ivoire
    You don't say that the version needed for the scaleform videoencoder is the 4.0, the olders don't work for a diference in the video convertion
     
  7. MrComputerRevo
    OP

    MrComputerRevo Advanced Member

    Newcomer
    77
    92
    May 13, 2013
    Huh, the only version I could find was 4.0 so I thought that's the only one floating around. Are you sure the older one doesn't work? I'm only using it to mux video and audio into .usm, so conversion stuff shouldn't matter.
     
  8. Maxuk

    Maxuk Member

    Newcomer
    13
    0
    Sep 19, 2016
    Cote d'Ivoire
    I'm not completely sure, but when I extract a usm file in the version 3.7, the codec used in the video has a diference.
    And I have a question, the video used in the tool has to have more than 30 FPS for work? I`m having a error with a video
     
  9. MrComputerRevo
    OP

    MrComputerRevo Advanced Member

    Newcomer
    77
    92
    May 13, 2013
    Any Scaleform VideoEncoder should work. 30FPS is needed because IA/VT ties in to it, and you will have timing issues if it's more or less, but technically any video should work, it will just be weird looking because when encoding to h264 I convert everything to 29.97FPS. Please post the error you are having.
     
    Last edited by MrComputerRevo, Oct 15, 2016
  10. Maxuk

    Maxuk Member

    Newcomer
    13
    0
    Sep 19, 2016
    Cote d'Ivoire
    Maybe if the video have a less framerate than 29.97, a error appears. The x264 part fail for a Fps=29.47, and after a time, the Mod Toolc crash
     
  11. MrComputerRevo
    OP

    MrComputerRevo Advanced Member

    Newcomer
    77
    92
    May 13, 2013
    Can you send me the video you are trying with? Also the scaleform converter you are trying with in PM
     
  12. Maxuk

    Maxuk Member

    Newcomer
    13
    0
    Sep 19, 2016
    Cote d'Ivoire
    I'm new on gbatemp and I'm stupid. I don't know how to send a PM
     
  13. Nagato

    Nagato GBAtemp Advanced Fan

    Member
    531
    514
    Jul 15, 2011
    United States
    If anyone is interested, I was working on an editor while @MrComputerRevo was making these tools as well. I never completed it, and I'm kinda lacking motivation and time to finish it, but you can play around with it here if you want.

    So far it's more of a viewer than an editor though. So far it can only really display the movement of the circle and tracks and points.
    What doesn't work:
    - Bezier curves
    - Notes
    - Climax mode stuff
    - Other stuff I can't think of now

    Online: https://solaris573.github.io/iavt_colorful_editor
    Source code: https://github.com/solaris573/iavt_colorful_editor (MUST BE RUN ON A REAL SERVER TO WORK! You can't run this in your browser directly!)

    It'll at the very least be helpful for trying to figure out roughly what values to put for the circle positioning and rotation and scaling, and trying to design linear curve paths, and also for moving the track lanes and such.

    If anyone is interested in picking up where I left off, please feel free to submit pull requests! I will probably mess around with it some more once I finish some stuff for school. In particular, if someone is good with graphics programming and can figure out the bezier curve (it seems to be quadratic bezier curves) then that'd help out a lot!
     
    Last edited by Nagato, Oct 15, 2016
  14. Bubblegum39

    Bubblegum39 Newbie

    Newcomer
    6
    0
    Oct 15, 2016
    I think the work behind this tool is great and all, but I'm having some problems getting my custom song to display in the game. It doesn't show up at all... I copied the resource folder to the app folder on my vita after the tool had finished but for some reason, it hadn't shown up. I've tried multiple times but it still doesn't seem to show.

    Could you please help me if you know what's wrong? :)
     
  15. MrComputerRevo
    OP

    MrComputerRevo Advanced Member

    Newcomer
    77
    92
    May 13, 2013
    Did you play some other song at least once? The song should show up at the end of the list.
     
  16. Bubblegum39

    Bubblegum39 Newbie

    Newcomer
    6
    0
    Oct 15, 2016
    Unfortunately no, this is my first time using the tool and I haven't had successful results yet.
     
  17. MrComputerRevo
    OP

    MrComputerRevo Advanced Member

    Newcomer
    77
    92
    May 13, 2013
    No, I mean for your custom song to show up as unlocked after installing it you need to play some official song once for your custom to unlock.
     
  18. Bubblegum39

    Bubblegum39 Newbie

    Newcomer
    6
    0
    Oct 15, 2016
    Sorry, yes I have before and after applying the mod. Nothing seems to have worked.
     
  19. MrComputerRevo
    OP

    MrComputerRevo Advanced Member

    Newcomer
    77
    92
    May 13, 2013
    Just making sure, you copied to ux0:/app/PCSG00355/ right? And you don't have a physical version of the game?
     
  20. Bubblegum39

    Bubblegum39 Newbie

    Newcomer
    6
    0
    Oct 15, 2016
    No, I have it installed to app under that path. I've made sure and even tried deleting files that were being overwritten in case they weren't uploading right. Strange that this hasn't happened before...