Dreamcast file uploading (figured out with help)

Discussion in 'Sega Dreamcast Development and Research' started by Mrneo240, Dec 15, 2018.

  1. Mrneo240

    Mrneo240 Gutsy Member

    Joined:
    Sep 15, 2017
    Messages:
    482
    Likes Received:
    585
    Over discord tonight r0r0 and I figured out how to correctly set stuff up in order to upload from a dreamcast and spit out VMI/VMS combo in a webserver.

    This isn't anything new, but both of our programs we'l be open source and public.

    His is written in node js and mine in php.

    Along with that, yesterday I figured out how to read pso screenshots from a vmu file and then for extra fun, how to reencode. So that code will be public as well.

    The whole goal is to keep this information public, free and accessible.

    Maybe poor taste, but here's an example I put up on blueswirl as a PSO screenshot

    ouvgYPI.png
     
    darcagn, Traace, LuizNai and 9 others like this.
  2. wombat

    wombat SEGA!

    Joined:
    Mar 14, 2004
    Messages:
    2,673
    Likes Received:
    321
  3. TerdFerguson

    TerdFerguson ls ~/

    Joined:
    Apr 27, 2015
    Messages:
    665
    Likes Received:
    353
    does redownloading the VMI work? i found some old code from around 2002 that can upload, but when you attempt to redownload the browser rejects the VMI. this has been a big problem for me
     
  4. Mrneo240

    Mrneo240 Gutsy Member

    Joined:
    Sep 15, 2017
    Messages:
    482
    Likes Received:
    585
    Shouldn't be an issue. I can check
     
  5. TerdFerguson

    TerdFerguson ls ~/

    Joined:
    Apr 27, 2015
    Messages:
    665
    Likes Received:
    353
    also the different browsers (passport vs dreamkey vs planetweb) are picky about what VMI files they like. for example you can't download SA2 DLC from planetweb (rejects VMI) but on dreamkey (the browser on SA2) will allow downloading

    we had a problem with SA1 where the US version is planetweb but PAL is dreamkey, and it took jial (a member of the dreampipe team) a bunch of work to make both function. though i'm not sure what he did
     
  6. Mrneo240

    Mrneo240 Gutsy Member

    Joined:
    Sep 15, 2017
    Messages:
    482
    Likes Received:
    585
    Ok yup stuck on that part.

    I click a link to the vmi and it loads then nothing happens.
     
    TerdFerguson likes this.
  7. Mrneo240

    Mrneo240 Gutsy Member

    Joined:
    Sep 15, 2017
    Messages:
    482
    Likes Received:
    585
    Ok so after a brief moment where my entire harddrive was wiped, and then i had to rewrite it all from pieces i could remember, it is finally here!

    But yes now there is a completely FREE and Open Source way to do this that should be able to live on for as long as the internet.
    Current Features:
    • Upload VMU Saves from at least 2 DC Browsers (PlanetWeb 3 and DreamKey 2)
    • Download VMU Saves to at least 2 DC Browsers (PlanetWeb 3 and DreamKey 2)
    • Generates even more correct VMI to go along with a VMS file
    • Decodes/Encodes PSO Screenshots saved from the dreamcast
    • Will Generate a correct Icondata.vms for use on the console
    • Reads VMI Files and can dump the info contained

    https://github.com/mrneo240/NeoDC-Icondata-Tool/tree/master/vmu

    so the code lives there at the moment, and is in desperate need of cleanup and comments. After losing all of it multiple times though, i figure it should at least be thrown up on github for now.

    imgpsh_mobile_save_anim.jpg working upload from DreamKey 2.0

    20181222_145710.jpg working upload from PlanetWeb 3.0

    20181222_145822.jpg Working download of saved games from PlanetWeb 3.0
     
    Rocky5, TerdFerguson, darcagn and 6 others like this.
  8. Mrneo240

    Mrneo240 Gutsy Member

    Joined:
    Sep 15, 2017
    Messages:
    482
    Likes Received:
    585
    Better site and such coming at some point. I just don't have time, enrolled in college again to go for another degree then masters
     
    Last edited: Jan 20, 2019
    LuizNai likes this.

Share This Page