How to properly make a splash screen (fixed the broken links to images)

Discussion in 'Tutorials Archive' started by Sonic master, Feb 12, 2012.

Thread Status:
Not open for further replies.
  1. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
     

    Attached Files:

    Last edited by a moderator: Jun 23, 2012
  2. DarkLeach

    DarkLeach Well-Known Member Member

    Joined:
    Jul 3, 2011
    Messages:
    193
    Location:
    In the middle of desert heat
    I've been wanting to make a splash screen, but I use the 2005 Hivebrain Disassembly so I can't use this tutorial, could you make one for the 2005 Hivebrain Disassembly? :)
     
  3. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
    Sure thing It will take a few minutes but I can do it. I will just edit my first post.


    EDIT:done tested and works for both svn and hivebrain
     
    Last edited by a moderator: Feb 12, 2012
  4. DarkLeach

    DarkLeach Well-Known Member Member

    Joined:
    Jul 3, 2011
    Messages:
    193
    Location:
    In the middle of desert heat
    I did everything and it's not working, the game doesn't crash however none of my graphics show up. What did I do wrong? :)


    What did I do wrong.zip
     

    Attached Files:

  5. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
    Good news I figured out the solution and it is an extremely easy fix and no you did nothing wrong at all


    The program you used put the pallete at the last line instead of the first (adobe photoshop does this)


    So when you convert your image do



    Code:
    genitile splash.pcx -tileset -mappal 0 -pal 15 -map
    
    pause
    
    
    that means it will use colors 240-256 which is were the colors in the image are stored so I got the pcx you provided to convert properly


    I am glad that you told me about this or else alot of people would be stuck with blank screens


    /monthly_02_2012/post-1103-0-40932600-1329087841_thumb.png


    Edit: I fixed my post to include the correction thank you for find this.
     

    Attached Files:

    Last edited by a moderator: Feb 12, 2012
  6. DarkLeach

    DarkLeach Well-Known Member Member

    Joined:
    Jul 3, 2011
    Messages:
    193
    Location:
    In the middle of desert heat
    You're welcome! This is a great guide for making a splash screen, but I have another issue.


    It works as expected:


    /monthly_02_2012/post-1593-0-76593800-1329089678_thumb.png


    However here's what happens AFTER I press the Start Button:


    /monthly_02_2012/post-1593-0-11244000-1329089739_thumb.png


    This probably happens because the mappings are going a little bit too far and in my case, graphics are actually using those tiles, this effect may be worse for others, but could you possibly fix this?
     

    Attached Files:

    Last edited by a moderator: Feb 12, 2012
  7. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
    Ok I found one:


    After




    theloop:


    bsr.w ReadJoypads


    andi.b #$80,($FFFFF605).w ; is Start button pressed?


    beq.s theloop ; if not, branch



    add





    jsr ClearScreen



    It worked for me


    Edit:Up dated tutorial to include that
     
    Last edited by a moderator: Feb 12, 2012
  8. DarkLeach

    DarkLeach Well-Known Member Member

    Joined:
    Jul 3, 2011
    Messages:
    193
    Location:
    In the middle of desert heat
    Alright, it works flawlessly now. Thanks Sonic master! While not required but will make it look a little bit nicer is that you could make it fade after you hit enter instead of just Immediately disappearing. But it works! Good job! I hope this means that we'll get cool splash screens in hacks now! Just in case if anyone was wondering, that splash screen for my hack isn't final. Also Sonic master, some of your pictures don't show up for me. I still got it to work though.
     
  9. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
    Could you please give me the link so that I can fix it please.
     
  10. DarkLeach

    DarkLeach Well-Known Member Member

    Joined:
    Jul 3, 2011
    Messages:
    193
    Location:
    In the middle of desert heat
    The Second picture after this line doesn't show up:



    Code:
    [FONT=helvetica][COLOR=#282828]After you have all thought programs open up the image you want to display I will be using the image I took with a 400m f6.3 telephoto lens (the exif data lies) Click the thumbnail image to download full size[/COLOR][/FONT]





    The 1st picture after this line doesn't show up:



    Code:
    [FONT=helvetica][COLOR=#282828]So launch ximagic[/COLOR][/FONT][FONT=helvetica][COLOR=#282828]
    [/COLOR][/FONT]
    [/FONT][/COLOR]



    [font=helvetica, arial, sans-serif]The picture after this line doesn't show up:[/FONT]

    [font=helvetica, arial, sans-serif]
    Code:
    [/COLOR][/FONT][FONT=helvetica][COLOR=#282828]Now I need to reduce it to genesis colors again this time without dithering[/COLOR][/FONT][FONT=helvetica][COLOR=#282828]



    [/FONT]




    [font=helvetica, arial, sans-serif]The 1st picture after this line doesn't show up:[/FONT]

    [font=helvetica, arial, sans-serif]
    Code:
    [/COLOR][/FONT][FONT=helvetica][COLOR=#282828]Ok it said 16 colors so now jasc still thinks it is a 24bit image so I need to reduce it to a 8bit image (this will not affect the colors)[/COLOR][/FONT][FONT=helvetica][COLOR=#282828]



    [/FONT]




    [font=helvetica, arial, sans-serif]The picture after this line doesn't show up either:[/FONT]

    [font=helvetica, arial, sans-serif]
    Code:
    [/COLOR][/FONT][FONT=helvetica][COLOR=#282828]To compress the tile map I will be using kens sharp So select enigma and select the input and output[/COLOR][/FONT][FONT=helvetica][COLOR=#282828]



    [/FONT]




    [font=helvetica, arial, sans-serif]And lastly the picture after this line doesn't show up:[/FONT]

    [font=helvetica, arial, sans-serif]
    Code:
    [/COLOR][/FONT][FONT=helvetica][COLOR=#282828]And now you should have a beautiful splash screen:[/COLOR][/FONT][FONT=helvetica][COLOR=#282828]


    [/FONT]






    [font="helvetica, arial, sans-serif"]Every time I refresh the page those same pictures don't load. Hope that helped.[/FONT]

    [/CODE]
     
  11. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
    After you have all thought programs open up the image you want to display I will be using the image I took with a 400m f6.3 telephoto lens (the exif data lies) Click the thumbnail image to download full size


    That is an ssrg attachment


    Are you able to acces imageshack.com tinypic.com and postimage.org


    I tried to post different images on different host so that if one goes down some will still be able and also I made sure I kept all the images on my computer.
     
  12. redhotsonic

    redhotsonic Also known as RHS Member

    Joined:
    Aug 10, 2007
    Messages:
    2,969
    Location:
    England
    Stupid question, I guess this is Sonic 1 only and not for Sonic 2?
     
  13. vladikcomper

    vladikcomper Well-Known Member Member

    Joined:
    Dec 2, 2009
    Messages:
    415
    This guide is just amazing. Very impressive stuff!


    Thank you for bringing up some good new tools I didn't hear before. Actually, this part really gets me annoying, as I tend to use outdated tools along with outdated methods. Damn, I was about to write some of tools you mentioned, because I just didn't know of their existence. Silly me. (And eventually, I did some =P)


    The method you describe looks clear and professional. I might try it for my stuff, so thanks again for telling such a great method =)

    Yeah, the code is sure adoptable. Because, it's the same system, similar engines and routines presented in them.


    However, due to total differences between games' codes (and disassemblies), another guide should be written.
     
  14. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
    Speaking of sonic 2 support I seem to be having some trouble porting it as I have never hacked sonic 2 before here is the code I came up with so far




    lea ($FF0000).l,a1


    ;lea (tree_map).l,a0 ; load mappings for Japanese credits


    lea (tree_map).l,a0


    move.w #1,d0


    bsr.w EniDec


    lea ($FF0000).l,a1


    move.l #$40000003,d0


    moveq #$27,d1


    moveq #$1B,d2


    bsr.w ShowVDPGraphics


    lea (tree_tile).l,a0


    lea ($FF0000).l,a1


    jsr aplib_decrunch


    ;dma68kToVDP macro source,dest,length,type


    ;move #$2300,sr


    dma68kToVDP $FF0000,34816,32,VRAM


    dma68kToVDP tree_pal,32,0,CRAM


    theloop:


    bsr.w ReadJoypads


    andi.b #$80,($FFFFF605).w ; is Start button pressed?


    beq.s theloop ; if not, branch
     
  15. ProfessorRenderer

    ProfessorRenderer Certified Bear Scientist Member

    Joined:
    Sep 28, 2011
    Messages:
    102
    Location:
    Willoughby, Ohio
    Just a question, I'm using Paint.NET for my work, but now i need a optimizer plugin for the program. Where can I find one?
     
  16. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
    ximagic works for paint.net

     
  17. ProfessorRenderer

    ProfessorRenderer Certified Bear Scientist Member

    Joined:
    Sep 28, 2011
    Messages:
    102
    Location:
    Willoughby, Ohio
    Nononono, I mean an Octree Optimizer. Not the quantizer. That's what I meant.
     
  18. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
    Just try saving it as an 8bit pcx you can reduse colors on it right?
     
  19. ProfessorRenderer

    ProfessorRenderer Certified Bear Scientist Member

    Joined:
    Sep 28, 2011
    Messages:
    102
    Location:
    Willoughby, Ohio
    I have a plugin but what dithering number should I use or transparency threshold number? or just plain out 8-bit pcx?
     
  20. Sonic master

    Sonic master Well-Known Member Member

    Joined:
    Mar 27, 2010
    Messages:
    303
    just save it as a 256 color (8bit) pcx file.
     
Thread Status:
Not open for further replies.