Ferrari F355 Challenge/w Anamorphic widescreen & 3rd person rear camera mod

Moderators: pcwzrd13, deluxux, VasiliyRS

User avatar
Ro Magnus Larsson
Vagabond
Posts: 793

Re: Ferrari F355 Challenge/w Anamorphic widescreen & 3rd person rear camera mod

Post#21 » Wed Jan 06, 2021 9:45 pm

Hi: is it working on Dreamshell ?
Ro Magnus
Argentina.-

User avatar
Roareye
Rank 9
Posts: 929
Contact:

Re: Ferrari F355 Challenge/w Anamorphic widescreen & 3rd person rear camera mod

Post#22 » Wed Jan 06, 2021 9:55 pm

Ro Magnus Larsson wrote:Hi: is it working on Dreamshell ?

Probably not as the first 256 bytes have unprintable characters. I don't really know what that means though.

User avatar
megavolt85
Developer
Posts: 1782

Re: Ferrari F355 Challenge/w Anamorphic widescreen & 3rd person rear camera mod

Post#23 » Wed Jan 06, 2021 11:06 pm

Roareye wrote:Probably not as the first 256 bytes have unprintable characters.

this problem only applies to GDEMU_SD

User avatar
fafadou
Gold Lion
Posts: 1650

Re: Ferrari F355 Challenge/w Anamorphic widescreen & 3rd person rear camera mod

Post#24 » Thu Jan 07, 2021 2:45 am

Take my gdi version with dreamshell.
Optimise and run it with same config as dragoncity list but loader 8 (0.7.x).

optimaltravel
noob
Posts: 2

Re: Ferrari F355 Challenge/w Anamorphic widescreen & 3rd person rear camera mod

Post#25 » Tue Jan 26, 2021 1:29 am

Roareye wrote:
megavolt85 wrote:GDEMU_SD crash if first 256 bytes of IP.BIN have not printable symbols
all not printable symbols need replace to space (0x20 in hex)

Is someone able to do this and re-upload? I don't know what counts as a "not printable symbol", and opening the file in Notepad just brings up a load of gibberish. I would assume the problem is the up arrows and yen symbols, but there are so many other odd symbols in there that I wouldn't know where to begin.

The first 256 characters inside IP.BIN are as follows;
SEGA SEGAKATANA SEGA ENTERPRISES598F GD-ROM1/1 E 0799A10 T8118D 50V1.00120001003 1ST_READ.BIN SEGA LC-T-81 F355 CHALLENGE

Which symbol is GDEMU_SD not able to understand?


By non-printable characters he is referring to the IP.BIN file in a hex editor. I have no idea how he knows that the first 256 bytes of the IP.BIN file has non-printable symbols unless he checked or guessed. If he checked idk why he didn't edit the IP.BIN file in a hex editor after going through the process of checking in one, and if he guessed idk how he thought of something that specific unless this was a common problem. The GDemu is much more common and used compared to Dreamshell, so it is a possibility.

I've run into two majors issues trying to do this myself, the Wizard for IP.BIN builder has vanished off the face off the face of the internet. So I couldn't just make a new IP.BIN file. Editing the current IP.BIN file in a hex editor is what I'm trying to do now, not looking good, pretty inexperienced with hex editors.

User avatar
megavolt85
Developer
Posts: 1782

Re: Ferrari F355 Challenge/w Anamorphic widescreen & 3rd person rear camera mod

Post#26 » Tue Jan 26, 2021 9:16 am

two errors, the first in the IP.BIN 4 Win program, which adds garbage to IP.BIN, the second problem in the GDEMU_SD program, it does not check the contents of IP.BIN

here is the simplest example that will solve this problem

Code: Select all

#include <ctype.h>
#include <stdio.h>

int main(int argc, char **argv)
{
   FILE *fp;
   unsigned char buf[256];
   int i, fix = 0;
   
   if (!(fp = fopen("IP.BIN", "r+b")))
   {
      return -1;
   }
   
   fread((void *) buf, 1, 256, fp);
   
   for (i = 0; i < 256; i++)
   {
      if(!isprint((int) buf[i]))
      {
         fix = 1;
         buf[i] = 0x20;
      }
   }
   
   if (fix)
   {
      fseek(fp, 0, SEEK_SET);
      fwrite((void *) buf, 1, 256, fp);
   }
   
   fclose(fp);
   
   return 0;
}

optimaltravel
noob
Posts: 2

Re: Ferrari F355 Challenge/w Anamorphic widescreen & 3rd person rear camera mod

Post#27 » Fri Jan 29, 2021 3:34 pm

megavolt85 wrote:two errors, the first in the IP.BIN 4 Win program, which adds garbage to IP.BIN, the second problem in the GDEMU_SD program, it does not check the contents of IP.BIN

here is the simplest example that will solve this problem

Code: Select all

#include <ctype.h>
#include <stdio.h>

int main(int argc, char **argv)
{
   FILE *fp;
   unsigned char buf[256];
   int i, fix = 0;
   
   if (!(fp = fopen("IP.BIN", "r+b")))
   {
      return -1;
   }
   
   fread((void *) buf, 1, 256, fp);
   
   for (i = 0; i < 256; i++)
   {
      if(!isprint((int) buf[i]))
      {
         fix = 1;
         buf[i] = 0x20;
      }
   }
   
   if (fix)
   {
      fseek(fp, 0, SEEK_SET);
      fwrite((void *) buf, 1, 256, fp);
   }
   
   fclose(fp);
   
   return 0;
}


sorry I reread my original reply to the other poster and it sounded WAY more snippy than I intended. Will see if I can do this but probably wont be apt at this.

Crashnet2000
shadow
Posts: 8

Re: Ferrari F355 Challenge/w Anamorphic widescreen & 3rd person rear camera mod

Post#28 » Thu Feb 04, 2021 12:44 pm

Awesome :D

User avatar
Ro Magnus Larsson
Vagabond
Posts: 793

Re: Ferrari F355 Challenge/w Anamorphic widescreen & 3rd person rear camera mod

Post#29 » Thu Feb 11, 2021 1:27 pm

1st Presets for Dreamshell ?
2nd It works with IP.BIN or without it ? the three tracks are BIN files...
3rd you did it only for Dreamcast PAL version ?
Ro Magnus
Argentina.-

User avatar
fafadou
Gold Lion
Posts: 1650

Re: Ferrari F355 Challenge/w Anamorphic widescreen & 3rd person rear camera mod

Post#30 » Thu Feb 11, 2021 4:06 pm

Use 0.7.x B1 loader, optimise the gdi.

  • Similar Topics
    Replies
    Views
    Last post

Return to “Modifications”

Who is online

Users browsing this forum: No registered users