CollisionGC

Discuss emulation on the Gamecube here
karl_oz
Posts: 39
Joined: Thu Jun 07, 2012 7:39 pm

CollisionGC

Post by karl_oz » Sat Nov 03, 2012 11:16 am

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!
User avatar
liquitt
Posts: 1753
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: SMS Plus GX

Post by liquitt » Sat Nov 03, 2012 11:48 am

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!
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: SMS Plus GX

Post by megalomaniac » Sat Nov 03, 2012 5:45 pm

get out of here.....really!!!!!
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: SMS Plus GX

Post by megalomaniac » Sun Nov 04, 2012 9:30 am

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;
}
Attachments
coleco_mod.rar
(1.01 MiB) Downloaded 260 times
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: SMS Plus GX

Post by megalomaniac » Sun Nov 04, 2012 9:37 pm

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* )
Attachments
coleco_cube_dol.rar
dol
(370.64 KiB) Downloaded 256 times
coleco_mod.rar
source
(1.03 MiB) Downloaded 248 times
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
karl_oz
Posts: 39
Joined: Thu Jun 07, 2012 7:39 pm

Re: SMS Plus GX

Post by karl_oz » Sun Nov 04, 2012 10:38 pm

Savestate manager doesn't work anymore :(

Should I try and work on a new backdrop design? Is 640x480 the right resolution?
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: SMS Plus GX

Post by megalomaniac » Sun Nov 04, 2012 10:54 pm

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...
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
karl_oz
Posts: 39
Joined: Thu Jun 07, 2012 7:39 pm

Re: SMS Plus GX

Post by karl_oz » Sun Nov 04, 2012 11:45 pm

I will try something else, graphicwise. Tomorrow.
What about the name for this mod? Do you have anything in mind? "COLECO CUBE"?
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: SMS Plus GX

Post by megalomaniac » Mon Nov 05, 2012 12:44 am

didnt put much thought into the name...was just quick and simple to use coleco cube...
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
User avatar
infact
Posts: 347
Joined: Tue Mar 29, 2011 4:35 am
Location: Germany

Re: SMS Plus GX

Post by infact » Mon Nov 05, 2012 2:26 am

megalomaniac wrote:[...]infact *cough cough*
Image

okay... give me a minute :D
infact
Image Image
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: SMS Plus GX

Post by megalomaniac » Mon Nov 05, 2012 2:29 am

Maybe a simple "how to" also if you don't mind so I don't have to bug you for another zlib compressed file????
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
User avatar
infact
Posts: 347
Joined: Tue Mar 29, 2011 4:35 am
Location: Germany

Re: SMS Plus GX

Post by infact » Mon Nov 05, 2012 3:51 am

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.
infact
Image Image
karl_oz
Posts: 39
Joined: Thu Jun 07, 2012 7:39 pm

Re: ColecoCube

Post by karl_oz » Mon Nov 05, 2012 4:09 pm

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.
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: ColecoCube

Post by megalomaniac » Mon Nov 05, 2012 6:08 pm

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"
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: SMS Plus GX

Post by megalomaniac » Mon Nov 05, 2012 8:41 pm

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
Attachments
coleco_cube.rar
same as before, new simple backdrop
(247.01 KiB) Downloaded 188 times
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
karl_oz
Posts: 39
Joined: Thu Jun 07, 2012 7:39 pm

Re: ColecoCube

Post by karl_oz » Mon Nov 05, 2012 10:09 pm

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!
Attachments
cubevision_backdrop.png
(309.05 KiB) Not downloaded yet
cubevision_backdrop_BMP.zip
(334.75 KiB) Downloaded 166 times
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: ColecoCube

Post by megalomaniac » Mon Nov 05, 2012 11:04 pm

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...
Attachments
coleco_cube.rar
new backdrop
(462.54 KiB) Downloaded 186 times
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: ColecoCube

Post by megalomaniac » Mon Nov 05, 2012 11:36 pm

savestate and loadrecent working again...just waiting for new artwork
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
karl_oz
Posts: 39
Joined: Thu Jun 07, 2012 7:39 pm

Re: ColecoCube

Post by karl_oz » Tue Nov 06, 2012 12:14 am

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.
Attachments
cubevision_preview.png
(209.96 KiB) Not downloaded yet
cubevision_backdrop_02.zip
(242.9 KiB) Downloaded 159 times
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: ColecoCube

Post by megalomaniac » Tue Nov 06, 2012 1:42 am

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....
Attachments
coleco_cube.rar
(441.41 KiB) Downloaded 181 times
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
karl_oz
Posts: 39
Joined: Thu Jun 07, 2012 7:39 pm

Re: ColecoCube

Post by karl_oz » Tue Nov 06, 2012 10:18 am

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.
User avatar
liquitt
Posts: 1753
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ColecoCube

Post by liquitt » Tue Nov 06, 2012 11:38 am

concerning the name discussion:
cubevision could also be an intellivision emulator, hint hint

see what i did there?
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
karl_oz
Posts: 39
Joined: Thu Jun 07, 2012 7:39 pm

Re: ColecoCube

Post by karl_oz » Tue Nov 06, 2012 1:21 pm

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?
User avatar
liquitt
Posts: 1753
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ColecoCube

Post by liquitt » Tue Nov 06, 2012 2:37 pm

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.
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
karl_oz
Posts: 39
Joined: Thu Jun 07, 2012 7:39 pm

Re: ColecoCube

Post by karl_oz » Tue Nov 06, 2012 2:43 pm

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.
Post Reply