Jump to content

Photo

Retro HQ SD Cart Menu 1.4


105 replies to this topic

#1 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • 1,945 posts
  • Location:UK

Posted Sun May 29, 2016 10:22 AM

I've updated the menu again.

 

binary to copy into route of your SD (unzip first)

https://www.dropbox....enu1.4.zip?dl=0

 

LSD files go into the _PREVIEW folder, there's an example in that zip.  If you have a ROM file (.LNX, .LYX) that matches, it will show the text description and after a second show the screenshot of the game.

I think i've fixed the issue with the last rom played - seemed to be the fact the PIC was going into power save too quickly perhaps, just after it started to update that file.

 

It also supports .LYX files now.  I started looking at .O and .LNX files that have the BS93 header - need to spend more time on that later.  Fixed the odd bug that might have caused something to fail to load etc.

 

The .LSD format now supports a name or description of up to 20 characters. If you have an .LSD file for the game you have selected, the text will appear at the bottom of the screen.  This will make it easier to work out which ROM is which, but see below for the .LSD creation.  It's going to take ages I think, unless people want to help?

 

The source is here (It needs tidying and optimizing, it's just a quick WIP).

https://www.dropbox....1.4src.zip?dl=0

 

And the utility to create .LSD files is here (again a WIP, it needs the code from the sprite packer adding into it really), and it would be nice to convert from a 24 bit RGB image to something the Lynx can work with.  For now you need to create a 4bit (16 colour) bitmap of 160 x 102 for it work.  All the screenshots I've taken are in a couple of folders in the zip, I just need to work through each one, converting to 4bit first, then add a description, run it through the tool and then name the .LSD file.  Going to take ages unless someone wants to help sort those .LSD files?

 

https://www.dropbox....reator.zip?dl=0


Edited by GadgetUK, Sun May 29, 2016 10:25 AM.


#2 Guitari OFFLINE  

Guitari

    Stargunner

  • 1,718 posts
  • Location:Kent

Posted Sun May 29, 2016 12:10 PM

Works great! Do I actually need an lsd file in order to get the preview to work? I have none and navigating to the alien lsd file does nothing for me. Well looking forward to .o and .com as I appear to have loads of those files.

#3 Trew OFFLINE  

Trew

    Chopper Commander

  • 246 posts

Posted Sun May 29, 2016 12:19 PM

Wondering if we'll all need to create LSD files... or if we can save time and share the ones we make until there's a full set?



#4 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • Topic Starter
  • 1,945 posts
  • Location:UK

Posted Sun May 29, 2016 12:43 PM

I think what would be cool is if we could share them - that way we won't all have to spend ages creating them etc.  As an example, here's some of the ones I just created:-

 

https://www.dropbox....c/test.zip?dl=0

 

You don't navigate the .LDS file, you just copy them into your _PREVIEW folder on your SD card.  Then if the first part of the file name of your ROM matches the first part of the filename of the .LSD file, it should just show it when you hover over the ROM in the menu.

 

The tricky part is renaming all your ROM / .LSD files to match up.  If you've got similarly named files it can get confused.  For example I've got about 15 different versions of Alien, and they appear with ~1 ~2 ~3 etc in the name.  I had to basically take them off the card, then copy them back with short 8 character names before they would match up properly with my .LSD files.  The 8.3 naming thing is a pain even though I've added a 20 character name in the .LSD.  That just appears at the bottom of the screen once you get the LSD files working, so you can easily tell what file your over.

 

Worth renaming the ROMs and the .LSD files so they are less than 9 characters.  eg. batman, rather than Batman Returns (1990) etc.    Otherwise it tends to not join them up properly.   The only other way we could make this easier is by merging the ROM with the .LSD.

 

I've just noticed in testing that it runs a bit slow, and the palette goes screwy when navigating from a preview (just for a second).  I will see if I can fix that now and push an update out in a minute.


Edited by GadgetUK, Sun May 29, 2016 12:54 PM.


#5 fille1976 OFFLINE  

fille1976

    Star Raider

  • 79 posts

Posted Sun May 29, 2016 2:00 PM

good job gadget,next month i get my card,gona send my game gear and lynx to mcwill for the screens and recapping and lynx psu check.

after that i get them back,maybe my card arives then and i can begin testing,but have to wait till everything is finished.

but great job on the menu.



#6 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • Topic Starter
  • 1,945 posts
  • Location:UK

Posted Sun May 29, 2016 5:26 PM

I meant to post this in this thread:-

 

I've removed that text option from the bottom of the screen, it's too slow.  I tried using a seperate file which only contained the text and it slows navigation down.  The only way I can think we could show some additional text easily is to have a preloaded file with a line of text for each ROM etc, and I think that will be messy.  I believe its better as it is in this version below:-   

 

Binary: https://www.dropbox....enu1.5.zip?dl=0

Source: https://www.dropbox....1.5src.zip?dl=0

Utility to create .LSD files: https://www.dropbox....reator.zip?dl=0

 

I think if we concentrate on .o and the LNX files using BS93 headers next then that should be it - all should work I think.

 

EDIT: Also just done a quick mod (not in the version above) to select the lightest colour and darkest colour for the 'Programming...' message and its background.  That way it now always looks very clear.  Previously it was sometimes hard to read depending on the game selected.



#7 Guitari OFFLINE  

Guitari

    Stargunner

  • 1,718 posts
  • Location:Kent

Posted Mon May 30, 2016 12:22 AM

Just quickly before I forget, I had the slow navigation problem on 1.4 and had to reformat the card to get it going again. Fine now.

#8 sage OFFLINE  

sage

    Dragonstomper

  • 984 posts
  • Location:Germany

Posted Mon May 30, 2016 6:39 AM

 

It also supports .LYX files now.  I started looking at .O and .LNX files that have the BS93 header - need to spend more time on that later.  Fixed the odd bug that might have caused something to fail to load etc.

 

If you find a lnx file with a BS93 header, someone just renamed a .o file and hoped the emulator detects it correctly ...

 

thats as stupid as renaming rom dumps (aka .lyx) in .lnx or stripping the header of lnx files because "we want only whats on the rom" (no-intro roms)


Edited by sage, Mon May 30, 2016 6:40 AM.


#9 Jungsi OFFLINE  

Jungsi

    Star Raider

  • 60 posts
  • Location:Bavaria - Germany

Posted Tue May 31, 2016 11:09 AM

I've tried the Lynx SD Tool - it's working with Windows XP, but with Windows 10 64 bit it's not working - It's opening the black window, but then nothing more happens

Now I'am going to convert some of the files from the ZIP :-)



#10 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • Topic Starter
  • 1,945 posts
  • Location:UK

Posted Wed Jun 1, 2016 11:04 AM

I need to merge the code from the sprite packing utility into the C# .NET exe I wrote.  I will try and find some time at weekend if I can!



#11 SainT OFFLINE  

SainT

    Stargunner

  • 1,060 posts
  • Location:Gloucestershire, UK

Posted Wed Jun 1, 2016 12:55 PM

Version 1.6

 

I've gone with the existing object loader code (thanks to David Huseby and Karri Kaksonen), so the homebrew is written and booted as a standard cartridge, but patched from the menu. Binary and source attached.

 

I've changed the structure a bit, as I needed an extra file, so I now have a menu.bin and a folder called menu as well with a couple of files in. All of that needs to be copied to the root of the SD card.

 

Changes --

 

1) Booting of object files (homebrew)

2) Holding down A during boot auto-boots the last selected ROM

3) Folders and files with the hidden or system attribute set are hidden in the menu

4) The "menu" folder is also hidden

 

It would probably make sense to move the preview folder under menu as well, although I've not done that yet.

 

See how people get on with this version. :)

 

Attached File  GameMenuBin.zip   7.8KB   204 downloads

Attached File  GameMenuSrc.zip   12.53KB   193 downloads



#12 Guitari OFFLINE  

Guitari

    Stargunner

  • 1,718 posts
  • Location:Kent

Posted Wed Jun 1, 2016 2:22 PM

This is awesome, thanks Saint. I can now see and load my .o and .lnx files. (how about .com?) there's some great little homebrew games and demos out there. Be great if we can get a definitive list of them. I also think it's time to kindly ask Albert to pin these sd card topics.

#13 SainT OFFLINE  

SainT

    Stargunner

  • 1,060 posts
  • Location:Gloucestershire, UK

Posted Wed Jun 1, 2016 2:26 PM

This is awesome, thanks Saint. I can now see and load my .o and .lnx files. (how about .com?) there's some great little homebrew games and demos out there. Be great if we can get a definitive list of them. I also think it's time to kindly ask Albert to pin these sd card topics.

 

I couldn't see any actual .com files to test -- the only .com I could find was actually just a .o file renamed. :)

 

Adding support for the .com should be very easy though, as it will just be rearranging the object loader for the different header.

 

Yep, I think getting a support topic pinned for the LynxSD is probably a good idea. I'm going to keep shipping them... :D



#14 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • Topic Starter
  • 1,945 posts
  • Location:UK

Posted Wed Jun 1, 2016 2:28 PM

Version 1.6

 

I've gone with the existing object loader code (thanks to David Huseby and Karri Kaksonen), so the homebrew is written and booted as a standard cartridge, but patched from the menu. Binary and source attached.

 

I've changed the structure a bit, as I needed an extra file, so I now have a menu.bin and a folder called menu as well with a couple of files in. All of that needs to be copied to the root of the SD card.

 

Changes --

 

1) Booting of object files (homebrew)

2) Holding down A during boot auto-boots the last selected ROM

3) Folders and files with the hidden or system attribute set are hidden in the menu

4) The "menu" folder is also hidden

 

It would probably make sense to move the preview folder under menu as well, although I've not done that yet.

 

See how people get on with this version. :)

 

attachicon.gifGameMenuBin.zip

attachicon.gifGameMenuSrc.zip

Well done =D  I would say that's sorted it!  All ROMs I've tested now work!  So I think that's all now!  I've just updated my source to allow .com files, but they are just .o files where someone called them a .com instead - and I've only got 1 example of that which can easily just be renamed.  Trully awesome job!!!



#15 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • Topic Starter
  • 1,945 posts
  • Location:UK

Posted Wed Jun 1, 2016 2:29 PM

This is awesome, thanks Saint. I can now see and load my .o and .lnx files. (how about .com?) there's some great little homebrew games and demos out there. Be great if we can get a definitive list of them. I also think it's time to kindly ask Albert to pin these sd card topics.

Just rename the .com to .o - it's far easier, but a later version will allow .com files (its essentially a badly named .o file).



#16 Guitari OFFLINE  

Guitari

    Stargunner

  • 1,718 posts
  • Location:Kent

Posted Wed Jun 1, 2016 2:31 PM

Ah right I'll have to look closely again at that list of home brews to see if there were any individual .Coms

#17 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • Topic Starter
  • 1,945 posts
  • Location:UK

Posted Wed Jun 1, 2016 3:25 PM

Preview files for A to H here.  I am sure there will be a few missing, let me know if there's a ROM you have in that range which still needs an image:-

 

https://www.dropbox....ew a-h.zip?dl=0

 

In order to get these to display, copy them into the _preview folder.  You will either need to rename your ROMs to match, or rename the .LSD files to match your ROMs.

 

I will try and get another chunk done tomorrow.   I will update the menu again when I get time - to move the _preview folder into the menu folder as SainT suggested.



#18 Greg2600 OFFLINE  

Greg2600

    River Patroller

  • 3,122 posts
  • Location:NJ

Posted Wed Jun 1, 2016 5:11 PM

Don't have the flash card yet, can we get a screen shot?



#19 vectrexroli ONLINE  

vectrexroli

    Moonsweeper

  • 490 posts

Posted Thu Jun 2, 2016 10:15 AM

Thanks for the updates guys! Preview working great and you also can hide all the system files and folders from the menu. :D :thumbsup:



#20 SainT OFFLINE  

SainT

    Stargunner

  • 1,060 posts
  • Location:Gloucestershire, UK

Posted Thu Jun 2, 2016 2:16 PM

Don't have the flash card yet, can we get a screen shot?

 

Check out Gadget's video to see what it's like:

 

 

1.6 looks the same, it just adds the ability to boot homebrews etc...



#21 Guitari OFFLINE  

Guitari

    Stargunner

  • 1,718 posts
  • Location:Kent

Posted Thu Jun 2, 2016 4:08 PM

Preview files for A to H here.  I am sure there will be a few missing, let me know if there's a ROM you have in that range which still needs an image:-
 
https://www.dropbox....ew a-h.zip?dl=0
 
In order to get these to display, copy them into the _preview folder.  You will either need to rename your ROMs to match, or rename the .LSD files to match your ROMs.
 
I will try and get another chunk done tomorrow.   I will update the menu again when I get time - to move the _preview folder into the menu folder as SainT suggested.


Awesome work yet again gadget, can't wait to get this little lot in place :)

#22 travistouchdown OFFLINE  

travistouchdown

    River Patroller

  • 4,536 posts
  • Do the math!
  • Location:Burlington, Vermont

Posted Fri Jun 3, 2016 11:58 AM

I just got mine in the mail today, do I need to update or will it have this latest software?  THNX



#23 SainT OFFLINE  

SainT

    Stargunner

  • 1,060 posts
  • Location:Gloucestershire, UK

Posted Fri Jun 3, 2016 12:39 PM

If it doesnt say Version 1.6, then its worth updating. Yours will be the original version I believe!



#24 travistouchdown OFFLINE  

travistouchdown

    River Patroller

  • 4,536 posts
  • Do the math!
  • Location:Burlington, Vermont

Posted Fri Jun 3, 2016 1:12 PM

If it doesnt say Version 1.6, then its worth updating. Yours will be the original version I believe!

 

Okay cool, so unzip both of the above files, and just slap everything onto the Lynx MiniSD card?

 

Do I need to delete to original menu program?

 

Thusly:

Attached Thumbnails

  • Capture.JPG

Edited by travistouchdown, Fri Jun 3, 2016 1:14 PM.


#25 SainT OFFLINE  

SainT

    Stargunner

  • 1,060 posts
  • Location:Gloucestershire, UK

Posted Fri Jun 3, 2016 1:20 PM

You don't have to explicitly delete, no, as copying over the new files will replace the old.

Oh, and one more thing -- Guitari mentioned that his card was reading / writing slowly and reformatting fixed this for him. I had the same issue. I found reformatting to FAT instead of FAT32 solved it for me.

Be careful when formatting that you format to FAT or FAT32 though, and the LynxSD does not accept any other file systems! :)

Edited by SainT, Fri Jun 3, 2016 1:26 PM.





0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users