Page 1 of 3

CollisionGC

Posted: Sat Nov 03, 2012 11:16 am
by karl_oz
I'd like to point out, that while this emulator isn't uptdated anymore (since SMS emulation has moved to Genesis Plus GX), the latest build (.r64) is indeed a very good COLECOVISION emulator! And thus adds another quality system the GameCube emu library :)

In case you're having trouble setting it up correctly, here's how it works:
1. Download r64 (http://code.google.com/p/smsplus-gx/downloads/list) and put it in the root of your SD card
2. Create a directory called '/smsplus/roms' and place your Colecovision roms in there
3. Put the Colecovision BIOS renamed to 'BIOS.col' in '/smsplus'
4. Fire it up and navigate to Emulator Options >> System Options >> Console: switch the setting from 'AUTO' to 'COLECO'
5. You're done

The Side/Action Buttons of the Colecovision controller are mapped to A and B.
In order to use the Keypad Buttons, use the R-Trigger to change current numeric value (from 0 to 9, #, *) and the L-Trigger to select the current value.


Hint:
For a more focussed / less distracting rom selection, you can leave out the file extensions of your roms. It should work just fine!

Re: SMS Plus GX

Posted: Sat Nov 03, 2012 11:48 am
by liquitt
karl_oz wrote:I'd like to point out, that while this emulator isn't uptdated anymore (since SMS emulation has moved to Genesis Plus GX), the latest build (.r64) is indeed a very good COLECOVISION emulator! And thus adds another quality system the GameCube emu library :)

In case you're having trouble setting it up correctly, here's how it works:
1. Download r64 (http://code.google.com/p/smsplus-gx/downloads/list) and put it in the root of your SD card
2. Create a directory called '/smsplus/roms' and place your Colecovision roms in there
3. Put the Colecovision BIOS renamed to 'BIOS.col' in '/smsplus'
4. Fire it up and navigate to Emulator Options >> System Options >> Console: switch the setting from 'AUTO' to 'COLECO'
5. You're done

The Side/Action Buttons of the Colecovision controller are mapped to A and B.
In order to use the Keypad Buttons, use the R-Trigger to change current numeric value (from 0 to 9, #, *) and the L-Trigger to select the current value.


Hint:
For a more focussed / less distracting rom selection, you can leave out the file extensions of your roms. It should work just fine!
cool - thanks for that!

Re: SMS Plus GX

Posted: Sat Nov 03, 2012 5:45 pm
by megalomaniac
get out of here.....really!!!!!

Re: SMS Plus GX

Posted: Sun Nov 04, 2012 9:30 am
by megalomaniac
attempt to update and compile with latest libogc...could use some help
ive tried a lot of ways to assign a length to the file with no success....
anyone have some ideas??

everything else appears to be functional other than this part....(i hope)
also made changes so that coleco is the default bios type and /coleco the default directory
../coleco/BIOS.col
../coleco/roms




coleco_mod/source/ngc/fileio/file_fat.c

Code: Select all

/***************************************************************************
 * FAT_ParseDirectory
 *
 * List files into one FAT directory
 ***************************************************************************/ 
int FAT_ParseDirectory()
{
  int nbfiles = 1;
  char filename[MAXPATHLEN];
  
  /* open directory */
  DIR *dir = opendir(fatdir);
  if (dir == NULL)
  {
    sprintf(filename, "Error opening %s", fatdir);
    WaitPrompt (filename);
    return 0;
  }

  struct stat filestat;
  struct dirent *entry = readdir(dir);  
  
//  stat(filename, &filestat)
//  stat(filelist[nbfiles].filename, &filestat)

  /* list entries */
  while ((entry != NULL)&& (nbfiles < MAXFILES))
//  while ((entry != NULL)&& (nbfiles < MAXFILES) && (stat(filename, &filestat) ))
//  while ((entry != NULL)&& (nbfiles < MAXFILES) && (stat(filename, &filestat) != 0 ))
//  while ((entry != NULL)&& (nbfiles < MAXFILES) && (stat(filelist[nbfiles].filename, &filestat) ))

  {
    /* filter entries */
    if (entry->d_name[0] != '.')
    {
      memset(&filelist[nbfiles], 0, sizeof (FILEENTRIES));
      sprintf(filelist[nbfiles].filename,"%s",entry->d_name);
//    stat(filename, &filestat)
//    stat(filelist[nbfiles].filename, &filestat)
      filelist[nbfiles].length = filestat.st_size;
      if (entry->d_type == DT_DIR) { filelist[nbfiles].flags = 1; }
      nbfiles++;
    }

    /* next entry */
    entry = readdir(dir);
  }

  /* close directory */
  closedir(dir);

  /* Sort the file list */
  qsort(filelist, nbfiles, sizeof(FILEENTRIES), FileSortCallback);

  return nbfiles;
}

Re: SMS Plus GX

Posted: Sun Nov 04, 2012 9:37 pm
by megalomaniac
need testers to find bugs...also please test compatibility with SDHC (only 2gb available for me...64gb is dedicated to wkf isos)


compiled and now works...Load roms from SD....DVD not tested..."Load Recent" option is currently broken....
as before coleco bios is the selected default just add bios and roms
/coleco/BIOS.col
/coleco/roms/rom.col

note:
most of changes involved in smsplus/coleco to compile with latest libogc also apply to hugo-gx...
so as soon as the bugs are worked out on this coleco project, hugo can be updated also...


Code: Select all

todo:
fix the full pathname display window
fix load history (should be fixed by fixing full pathname)
add new colecovision backdrop ( zlib compression anyone?? infact *cough cough* )

Re: SMS Plus GX

Posted: Sun Nov 04, 2012 10:38 pm
by karl_oz
Savestate manager doesn't work anymore :(

Should I try and work on a new backdrop design? Is 640x480 the right resolution?

Re: SMS Plus GX

Posted: Sun Nov 04, 2012 10:54 pm
by megalomaniac
i have a generic backdrop in there if you want to play with that...im just not sure how to zlib it else i would have added it already for now...

yea and savestate broken makes sense too....

i had to monkey around with the code i posted earlier to set a length to the files else they wouldnt load...
instead of: sprintf(filelist[nbfiles].filename,"%s", entry->d_name);
i had to do: sprintf(filelist[nbfiles].filename,"%s%s",fatdir, entry->d_name);

by using the full pathname (fatdir) it broke load recent...
it can be fixed, just didnt wanna have to unless there was a better was to address the code above first instead of doing more monkeying around
...and now the same for savestate manager too...


if the length can be assigned in a way to where the short path can be used, then everything else will be fixed on its own...

Re: SMS Plus GX

Posted: Sun Nov 04, 2012 11:45 pm
by karl_oz
I will try something else, graphicwise. Tomorrow.
What about the name for this mod? Do you have anything in mind? "COLECO CUBE"?

Re: SMS Plus GX

Posted: Mon Nov 05, 2012 12:44 am
by megalomaniac
didnt put much thought into the name...was just quick and simple to use coleco cube...

Re: SMS Plus GX

Posted: Mon Nov 05, 2012 2:26 am
by infact
megalomaniac wrote:[...]infact *cough cough*
Image

okay... give me a minute :D

Re: SMS Plus GX

Posted: Mon Nov 05, 2012 2:29 am
by megalomaniac
Maybe a simple "how to" also if you don't mind so I don't have to bug you for another zlib compressed file????

Re: SMS Plus GX

Posted: Mon Nov 05, 2012 3:51 am
by infact
Well I meant to look into the path issue as well, but here is at least a converter.

This should work as expected...it is basically http://wiibrew.org/wiki/BmpToZlibGC with minor modification.

http://pastie.org/private/qaxzg7kftcong0rnif1gw -> save raw as bmp2zh.c

Code: Select all

gcc -o bmp2zh bmp2zh.c -lz
bmp2zh your.bmp
Unrelated sidenote: maybe a mod should move the last few posts about colecovision in an own thread to keep this thread for SMS Plus GX.

Re: ColecoCube

Posted: Mon Nov 05, 2012 4:09 pm
by karl_oz
I'm starting to tend to "CubeVision" as the better/more suitable title for this emulator.
What do you guys think? Let me know, before I choose the wrong approach for the new backdrop image and logo.

Re: ColecoCube

Posted: Mon Nov 05, 2012 6:08 pm
by megalomaniac
Honestly, in not to concerned about a name or fancy look, IMO, there is a lot of work to be done on it to make it it's own branch...
Until then, it's still SMS plus and doesn't deserve an "official title" or "official theme"

Re: SMS Plus GX

Posted: Mon Nov 05, 2012 8:41 pm
by megalomaniac
infact wrote:Well I meant to look into the path issue as well, but here is at least a converter.

This should work as expected...it is basically http://wiibrew.org/wiki/BmpToZlibGC with minor modification.

http://pastie.org/private/qaxzg7kftcong0rnif1gw -> save raw as bmp2zh.c

Code: Select all

gcc -o bmp2zh bmp2zh.c -lz
bmp2zh your.bmp
Unrelated sidenote: maybe a mod should move the last few posts about colecovision in an own thread to keep this thread for SMS Plus GX.

thanks...worked like a charm...
that compile warning threw me off because ive never needed to use multilib before so i wasnt sure if it was hurting the build...

here is a new version with a simple backdrop....
something better can be added later once its all fixed up


any feedback yet from anyone who tested an SDHC card??


Image


edit: added snapshot

Re: ColecoCube

Posted: Mon Nov 05, 2012 10:09 pm
by karl_oz
I get your point concerning all the work that has to be done. But hey, I only try to contribute the little that I can.
Anyway, I've already finished what I had in mind for the backdrop. Feel free to use it or ask me for changes, whenever you're done. Thanks for the good work so far!

Re: ColecoCube

Posted: Mon Nov 05, 2012 11:04 pm
by megalomaniac
that looks great...nice design
attached new build...

here is some feedback i noticed....
(of course) composite video signal really hurts look of this backdrop with all the "white" looking blended and washed out...
(of course) component video signal really makes this backdrop look impressive with sharp "white" detail...
both views compared at 480i


now here is one problem on both views....
the grey background fades too dark for compression....(not as noticeable in composite, but it really hurts in component)
now if it was all one color grey like that of the top left area, im sure it would look much better...

Re: ColecoCube

Posted: Mon Nov 05, 2012 11:36 pm
by megalomaniac
savestate and loadrecent working again...just waiting for new artwork

Re: ColecoCube

Posted: Tue Nov 06, 2012 12:14 am
by karl_oz
And here it comes.
You were right: on the TV it was just too dark. Still I like the color gradient, so I kept it. Everything is a little brighter in this one though.
Hope it'll work.

Re: ColecoCube

Posted: Tue Nov 06, 2012 1:42 am
by megalomaniac
better but the gradient makes color inconsistencies within the center black box....
and these inconsistencies are even worse with component....


im not sure if you have a component cable to test with....

Re: ColecoCube

Posted: Tue Nov 06, 2012 10:18 am
by karl_oz
No, I only have a composite cable...
I'm afraid, I don't quite get which inconsistencies you're talking about. Does it still have to be lighter? Or is the gradient itself causing the problem?
To me it looked just fine and as expected on the TV.

Another issue: What about the nagscreen (the one about "devkit" or something)? I didn't have a problem with pushing the A button once the emulator loads. But now it just pops up for half a second and is instantly replaced by the menu screen, which I find somewhat distracting.

Re: ColecoCube

Posted: Tue Nov 06, 2012 11:38 am
by liquitt
concerning the name discussion:
cubevision could also be an intellivision emulator, hint hint

see what i did there?

Re: ColecoCube

Posted: Tue Nov 06, 2012 1:21 pm
by karl_oz
Yeah, you're right.
So, what else then? Any ideas?

ColeCube?
ColeCubeVision?
coleGCovision?
colecovisioNGC?
clcvsn?
CubeCV?
collateral?
CoVi plus?
collision?

Gimme something that doesn't sound/look to awkward.


Edit: Hmmm. Actually the last one - 'collision' - feels kinda okay. Thoughts?

Re: ColecoCube

Posted: Tue Nov 06, 2012 2:37 pm
by liquitt
Colecosupermegaawesomevisiongamecubenintendoemulator

dude, are you serious? chill out, it's just a name for an emulator, not like we're voting for a new president here (no pun intended).

give it a leather look and call it LeatherCube. done.

Re: ColecoCube

Posted: Tue Nov 06, 2012 2:43 pm
by karl_oz
Hey, I was just brainstorming while typing... ;)
Of course this not biggest deal in history.
Still, the baby deserves a name sometime. And I wanna wrap up the backdrop thingy soon. So.