Author Topic: IQ's neogeo Tools  (Read 106585 times)

Offline KaNyErO

  • Member
  • ***
  • Posts: 142
  • Karma: +4/-0
IQ's neogeo Tools
« Reply #15 on: January 20, 2005, 10:03:50 AM »
thanks iq   ;)

btw..... how does it work?

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
IQ's neogeo Tools
« Reply #16 on: January 20, 2005, 05:34:37 PM »
lol, forgot instructions....
decrypt xxx-s1.bin x
the xxx-s1.bin can be any name and the x needs to be the decryption type.
You can check what types there are by looking at the included source.


Offline hotaru

  • Newbies
  • *
  • Posts: 17
  • Karma: +0/-0
  • lampyridae lunaticus
IQ's neogeo Tools
« Reply #17 on: January 25, 2005, 03:26:35 PM »
@iq_132 - p_dec.exe seems to alter the last 8mb of 269-p1.bin, though doesn't alter the 2nd and 3rd 8mb segments.  had i checked this earlier i'd've written it off as an error - thought it to be something more :o did playmore include the last 24mb of code in this rom as garbage or are these segments used in decryption?

thanks iq_132 :)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
IQ's neogeo Tools
« Reply #18 on: January 25, 2005, 03:53:02 PM »
The last 3 8mb chunks are just dummy data -- garbage.  They serve no purpose.


Offline Death Metal

  • Member
  • ***
  • Posts: 121
  • Karma: +3/-0
  • Crimson Blade
IQ's neogeo Tools
« Reply #19 on: March 25, 2005, 02:40:19 AM »
Hey IQ, I know this is very old, but I'd like to check something with you about encrypted/decrypted Vs.

We all know FBA produces internal decrypted V data from the encrypted V sets via pieces of code for each driver, from which you can get physical files using that "Save decrypted Vs" method (remember?). I've done this (extracted decrypted Vs) with all my games that use encrypted V ROMs, and then threw the encrypted ones away. However, I'd like to go back to using the official encrypted ROMs I had before, but, as it currently stands, I can't get the correct encrypted files out of the decrypted ROMs that were generated by FBA -- for example, I could use that v2v program to encrypt the ROMs I get, but the CRCs would not match the official encrypted files anymore (I've tested it).

Because of that, I'd like to know if there is a way to make an inversion of those decryption codes FBA uses. I mean, is it possible to create some code which would be the exact inversion of what it currently does, in order to encrypt V ROMs with their previously correct CRC (matching the latest Neo-Geo Logiqx dat) from the ROMs I currently have? I know I'm stupid, but I didn't think I'd want those ROMs back before I deleted them. :/

I'd be so greatful if you could help me in this. Thanks a lot.

EDIT: Oh, BTW, just to clarify, I only need to encrypt those newer PCM2 ROMs, since Metal Slug 4, Rage of the Dragons and Poochy & Nyaa have been taken care of already (with that other code that you posted here :)).

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
IQ's neogeo Tools
« Reply #20 on: May 06, 2005, 06:26:30 AM »
Quote


   What is neoconv?
 -----------------------------------------

    Neoconv is a tool to encrypt/decrypt V (sample) roms for Neo-Geo.
    It can process Neo-PCM2, 1999, SNK Corp. type encryption, and also
    Neo-PCM2, 2002, Playmore Corp. type encryption.



   How do I use it?
 -----------------------------------------

   If you have any questions, just run the program.  It will tell you
   what commands it supports.


   Who write this code? (Credits, please do not remove!)
 -----------------------------------------
   Most of the code for this program was written by IQ_132, but large,
   very important chunks of it were written by Fataku, Aquasync, Halrin,
   and the MAME Team.


Here ya go Death Metal


Offline Death Metal

  • Member
  • ***
  • Posts: 121
  • Karma: +3/-0
  • Crimson Blade
IQ's neogeo Tools
« Reply #21 on: May 06, 2005, 01:28:50 PM »
Thank you so much, IQ! Owe you a big one! :)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
IQ's neogeo Tools
« Reply #22 on: May 06, 2005, 03:21:28 PM »
Np :)

Quote
s1grab by iq_132

This program will "grab" 512k of "S" data from the end of decrypted C roms.
You MUST use DECRYPTED C roms.  

To use the program, unzip your last two C roms (usually xxx-c7d.rom and xxx-c8d.rom) to
the same directory as s1grab.exe and then from the command line, type this:

s1grab xxx-c7d.rom xxx-c8d.rom

Please note that your file names may be different and also note that some S1 roms may require some decryption code or other processing.


Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: IQ's neogeo Tools
« Reply #23 on: May 25, 2005, 04:29:47 AM »
Quote

   What is ptcrt?
 -----------------------------------------

    ptcrt is a tool that can batch output patch code for roms.  This is
    useful if you have a rom you know is bad, but it is the best un-hacked
    one known.  You can compare that rom with a fixed version and use
    the patches created to fix the rom "on-the-fly"



   How do I use it?
 -----------------------------------------

    If you have any questions, just run the program.  It will tell you
    what commands it supports.


   
   How about an example?
 -----------------------------------------

 Sure:

    To compare the p1 from kof2002 to kf2k2pls and get patches for fba (new):

        ptcrt F 265-p1.bin 265-p1p.bin

    To compare the p1 from kof2002 to kf2k2pls and get patches for MAME:

        ptcrt M 265-p1.bin 265-p1p.bin


   Who wrote this code? (Credits, please do not remove!)
 -----------------------------------------

    This code was written entirely by me, IQ_132
        http://neosource.1emu.net


Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: IQ's neogeo Tools
« Reply #24 on: May 25, 2005, 05:32:05 AM »
Quote

   What is bswap8?
 -----------------------------------------

    bswap is a tool that can compare a file encrypted with a bitswap8 with a
    decrypted version of it and tell you what to use for the bitswap.



   How do I use it?
 -----------------------------------------

    If you have any questions, just run the program.  It will tell you
    what commands it supports.


   
   How about an example?
 -----------------------------------------

 Sure:

    To compare an encrypted version of the svcplus s1 rom to the decrypted version:

        bswap8 svc-s1pd.bin svc-s1p.bin


   Who wrote this code? (Credits, please do not remove!)
 -----------------------------------------

    Most of this code was written by iq_132 (me)
        http://neosource.1emu.net/

    A small, but very vital, piece comes from the FBA (Final Burn Alpha) source
   http://fba.emuunlim.com/


THIS VERSION IS OUTDATED! CHECK BELOW FOR A NEWER ONE!


Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: IQ's neogeo Tools
« Reply #25 on: May 29, 2005, 06:14:05 AM »
Filling a request from Neo ;)

Quote
Make sure your SVC Chaos (home) P roms are named - 269-p1a.bin and 269-p2a.bin

Note that this program can only reproduce the first half of the svc p1 rom.
The second half is filled with ramdom(?) data.


Offline neo04

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +1/-0
Re: IQ's neogeo Tools
« Reply #26 on: May 29, 2005, 08:34:17 AM »
thank you very much iq!  :biggrin:

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: IQ's neogeo Tools
« Reply #27 on: May 29, 2005, 09:35:46 PM »
Quote
   What is bswap8?
 -----------------------------------------

       bswap is a tool that can compare a file encrypted with a bitswap8 with
    a decrypted version of it and tell you what to use for the bitswap.
       You may not have to use a decrypted rom that is completely the same as
    The file you are comparing.  Different versions of files may be similar
    enought to give you correct results. (bswap8 now has the ability to give
    you the best fitting bitswap if no bitswap is a perfect match).



   How do I use it?
 -----------------------------------------

    If you have any questions, just run the program.  It will tell you
    what commands it supports.


   
   How about an example?
 -----------------------------------------

 Sure:

    To compare an encrypted version of the kof2002 "Super" s1 rom to kof2002 (265-s1d.bin) version:

        bswap8 265-s1sp.bin 265-s1d.bin

    It will also work with this:

   bswap8 265-s1d.bin 265-s1sp.bin



   Who wrote this code? (Credits, please do not remove!)
 -----------------------------------------

    Most of this code was written by iq_132 (me)
        http://neosource.1emu.net/

    A small, but very vital, piece comes from the FBA (Final Burn Alpha) source
   http://fba.emuunlim.com/



   Changelog
 -----------------------------------------


    1.0.1

   - Now gives a "best match" bitswap if no perfect one is found.
    - If a file isn't bitswapped, but is only a few bytes different, a
          diff log is created.

    1.0.0

   - Everything


I've updated the bswap8 from above. ;)


Offline robber804

  • Newbies
  • *
  • Posts: 40
  • Karma: +0/-0
  • Relentless Bastard
Re: IQ's neogeo Tools
« Reply #28 on: June 10, 2005, 12:01:53 AM »
Here's my source for the neopcm2 program.  Feel free to use it in any way you wish.

Thanks for the tool, without this baby the mslug5 V rom fix would not have been possible.
-robber804

Offline hotaru

  • Newbies
  • *
  • Posts: 17
  • Karma: +0/-0
  • lampyridae lunaticus
Re: IQ's neogeo Tools
« Reply #29 on: June 10, 2005, 12:17:01 AM »
@iq_132- also wish to pay my respects :D