NEO4ALL for GDEMU

Moderators: VasiliyRS, deluxux

MoeFoh
core
Posts: 115

Re: NEO4ALL for GDEMU

Post#31 » Wed Apr 07, 2021 4:27 pm

I've made a few titles in all their glorious BGM that work under NEO4GDEMU.

Metal Slug for NEO4GDEMU.7z (517.8MB)
https://mega.nz/file/ZVAkFTYS#QT0vZmpto ... ffKfSqUKX8

Metal Slug 2 for NEO4GDEMU.7z (378.3MB)
https://mega.nz/file/lQ5S2b7a#Axgm5Qy-A ... RLVNq1CWrU

King of Fighters '98 for NEO4GDEMU.7z (512.2MB)
https://mega.nz/file/NEBnhAhQ#iOukZbSX8 ... JHIjHT438c

Last Hope for NEO4GDEMU.7z (160.4MB)
https://mega.nz/file/ddBSxTLK#YoBLK88H1 ... p53CF4lm1A

Neo Turf Masters for NEO4GDEMU.7z (280.6MB)
https://mega.nz/file/AIoxQYjQ#WpFhVcG3c ... EF-3cB169o

Bust-a-Move for NEO4GDEMU.7z (1.3MB)
https://mega.nz/file/NVh1HYpA#Mogen5Xpz ... 2PVUQmWVXk

If you have made any titles that work, let me know.

Summary:
-Working Titles:
Metal Slug
Metal Slug 2
King of Fighters '98
Last Hope
Neo Turf Masters
Bust-a-Move

-NON-Working Titles:
2020 Super Baseball
Aero Fighters 3
Art of Fighting
Baseball Stars 2
Bang Bang Busters
Fatal Fury - The Battle of Fury
King of Fighters '94
League Bowling
Super Sidekicks
Viewpoint

I've yet to see a working title that has "MACTOPIX" in the .IMG file. MACTOPIX is the pre-mastering software. "NON-Working" means it does not show up when 'Select Game' is clicked from NEO4GDEMU.
Last edited by MoeFoh on Sun Apr 11, 2021 11:56 pm, edited 10 times in total.

ilyas
noob
Posts: 1

Re: NEO4ALL for GDEMU

Post#32 » Thu Apr 08, 2021 6:49 am

MoeFoh wrote:I've made a few titles in all their glorious BGM that work under NEO4GDEMU.

Metal Slug for NEO4GDEMU.7z (517.8MB)
https://mega.nz/file/ZVAkFTYS#QT0vZmpto ... ffKfSqUKX8

Metal Slug 2 for NEO4GDEMU.7z (378.3MB)
https://mega.nz/file/lQ5S2b7a#Axgm5Qy-A ... RLVNq1CWrU

Great! I miss them for my collection, now I only miss the Art of Fighting titles. I also miss Fatal Fury 1 and Fatal Fury 2, I would like to make them myself but I have some difficulties.

zerodark
noob
Posts: 2
Contact:

Re: NEO4ALL for GDEMU

Post#33 » Thu Apr 08, 2021 11:58 am

Thanks for sharing!

MoeFoh
core
Posts: 115

Re: NEO4ALL for GDEMU

Post#34 » Thu Apr 08, 2021 1:54 pm

ilyas wrote:
MoeFoh wrote:I've made a few titles in all their glorious BGM that work under NEO4GDEMU.

Metal Slug for NEO4GDEMU.7z (517.8MB)
https://mega.nz/file/ZVAkFTYS#QT0vZmpto ... ffKfSqUKX8

Metal Slug 2 for NEO4GDEMU.7z (378.3MB)
https://mega.nz/file/lQ5S2b7a#Axgm5Qy-A ... RLVNq1CWrU

Great! I miss them for my collection, now I only miss the Art of Fighting titles. I also miss Fatal Fury 1 and Fatal Fury 2, I would like to make them myself but I have some difficulties.


Only certain titles are working. I PM'd megavolt85 yesterday, hopefully he has time to take a look at the code.

I'll look and see if any AOF or FF titles can be converted.

User avatar
megavolt85
Developer
Posts: 1054

Re: NEO4ALL for GDEMU

Post#35 » Thu Apr 08, 2021 3:41 pm

I'll leave it here in case someone wants to make a native application for windows

Code: Select all

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <stdarg.h>
#include <stdint.h>
#include <sys/stat.h>

static char text_buffer[2048];
static char buf[256];
static char header[8] = { 0x01, 0x43, 0x44, 0x30, 0x30, 0x31, 0x01, 0x00 };
static char check_str[32] = "APPLE COMPUTER, INC., TYPE: 0002";

void usage(char *text)
{
   printf ("Usage\n"
         "\t%s disk_image.img text_file.txt\n\tMaximal len 32 chars\n", text);
}

int main(int argc, char *argv[])
{
   if (argc < 2)
   {
      usage(argv[0]);
      return -1;
   }
   
   int i, img, txt;
   
   img = txt = 0;
   
   for (i = 1; i < argc; i++)
   {
      if ( !img && !strncasecmp(&argv[i][strlen(argv[i])-4], ".img", 4) )
      {
         img = i;
      }
      else if ( !txt && !strncasecmp(&argv[i][strlen(argv[i])-4], ".txt", 4) )
      {
         txt = i;
      }
   }
   
   if (!img)
   {
      printf("ERROR need IMG\n");
      return -1;
   }
   
   if (!txt)
   {
      printf("ERROR need TXT\n");
      return -1;
   }
   
   FILE *f, *fi;
   struct stat st;
   uint8_t *buf;
   
   if (!(f = fopen(argv[img], "r+b")))
   {
      printf("Can't open %s\n", argv[img]);
      return -1;
   }
   
   if (txt)
   {
      stat(argv[txt], &st);
      
      if (st.st_size > 2048)
      {
         printf("ERROR: very big text file\n");
         goto ret_err;
      }
      
      if (!(fi = fopen(argv[txt], "rb")))
      {
         printf("ERROR: can't open %s\n", argv[txt]);
         goto ret_err;
      }
      
      fread(text_buffer, 1, st.st_size, fi);
      fclose(fi);
      
      fseek(f, 16, SEEK_SET);
      fwrite(text_buffer, 1, st.st_size, f);
      
      fseek(f, 0x9310, SEEK_SET);
      fread(buf, 1, 8, f);
      
      if (!memcmp(buf, header, 8))
      {
         fread(buf, 1, 32, f);
         
         if (strncmp(buf, check_str, 32))
         {
            fseek(f, 0x9318, SEEK_SET);
            fwrite(check_str, 1, 32, f);
         }
      }
      else
      {
         printf("WARNING: not standart image, send megavolt85 for analize\n");
      }
   }
   
   printf("All done\n");
ret_err:
   
   fclose(f);
   
   return 0;
}

MoeFoh
core
Posts: 115

Re: NEO4ALL for GDEMU

Post#36 » Thu Apr 08, 2021 11:58 pm

What I found out:

1. With IMG_insert.exe, there should be no spaces in either filename. Megavolt85 just posted the source code. There could be an issue with Windows 10 when running this program. A recent update to Windows 10 broke BootDreams.

2. Name of title not showing up after selecting 'Select Game' issue.
If "MACTOPIX" is in the .IMG then this happens. MACTOPIX is the pre-mastering software. Not sure why and I have no solution. Maybe there is something weird about the file system on the CD.
Last edited by MoeFoh on Sun Apr 11, 2021 7:20 pm, edited 3 times in total.


User avatar
Anas4fire
dark night
Posts: 54

Re: NEO4ALL for GDEMU

Post#38 » Fri Apr 09, 2021 5:07 pm

Ian Micheal wrote:Bootdreams was fixed https://github.com/TItanGuy99/BootDreams btw

Thanks!

  • Similar Topics
    Replies
    Views
    Last post

Return to “Emulation”

Who is online

Users browsing this forum: No registered users