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

Offline iq_132

  • Administrator
  • *****
  • Posts: 3568
  • Karma: +380/-0
  • What's a pac?
    • NeoSource
Re: IQ's neogeo Tools
« Reply #60 on: January 04, 2006, 07:04:15 AM »
Quote
These roms have been tested and work fine as input:

268-p1d.bin size 8388608 crc 16c063a9 sha1 5432869f830eed816ee5ed71c7fd39f749d15619

268-p1d.bin size 5242880 crc 5e8f307e sha1 49bcc5d082979ddd63994f36d3ae766d96f85ae9

268-p1d.bin size 8388608 crc 2ecc772d sha1 971db65d11aa98833c494fc2d7657cea702e4caa

268-p1d.bin size 5242880 crc 83270fef sha1 2f18c1a880b42e0faa6396c0fc90bb02bf4d24b1

If your rom isn't listed above, give it a try, it may work
(or not, you never know unless you try ;) ).



Make sure your p1 is named 268-p1d.bin, run ms5pcnv.exe,
and you should get these files:

rom ( name 268-p1cr.bin size 4194304 crc d0466792 sha1 880819933d997fab398f91061e9dbccb959ae8a1 )
rom ( name 268-p2cr.bin size 4194304 crc fbf6b61e sha1 9ec743d5988b5e3183f37f8edf45c72a8c0c893e )


 - IQ_132


PS. Thanks to Halrin for the original mslug5 Px decrypt routine :)


Offline iq_132

  • Administrator
  • *****
  • Posts: 3568
  • Karma: +380/-0
  • What's a pac?
    • NeoSource
Re: IQ's neogeo Tools
« Reply #61 on: January 04, 2006, 03:04:08 PM »
Quote
BootCEn -- Bootleg C Encryptor

The purpose of this tool is to encrypt and decrypt bootleg roms with
scrambled (protected) graphics.  It can deal with the type of scramble
used on:

   Lansquenet 2004
   King of Gladiator
   Samurai Shodown 5 (bl)

   Crouching Tiger, Hidden Dragon 2003
   Matrimelee (bl)
   SNK vs Capcom (bl)

   King of Fighters 2002 (bl)

This program only does one rom at a time, so it's best to use a .bat
to create the roms so that you don't have to convert them one-by-one.

Here's an example:

svcboot
----------------------------------

BootCEn 2 d svc-c1.bin svc-c1d.bin
BootCEn 2 d svc-c2.bin svc-c2d.bin
BootCEn 2 d svc-c3.bin svc-c3d.bin
BootCEn 2 d svc-c4.bin svc-c4d.bin
BootCEn 2 d svc-c5.bin svc-c5d.bin
BootCEn 2 d svc-c6.bin svc-c6d.bin
BootCEn 2 d svc-c7.bin svc-c7d.bin
BootCEn 2 d svc-c8.bin svc-c8d.bin


---------------------------------------------------------------------

If you want to know more commands for this tool, simply run it.
All available commands are listed. ;)

   -IQ

1.1 -- Thanks to Prof. Killjoy for pointing out a bug preventing use.
    - Also, fixed a bug with outputting if a file is not present.


Offline KaNyErO

  • Member
  • ***
  • Posts: 124
  • Karma: +4/-0
Re: IQ's neogeo Tools
« Reply #62 on: January 04, 2006, 05:15:38 PM »
Thanks iq, i would need a little tool.

It´s similar to your s descrambler tool, but you should be able to use the swap as parameter instead of a predefined table when you know the swap but not the protection, for example if i need a new swap 8 like this....

rom = BITSWAP8(rom, 0, 6, 5, 4, 3, 2, 1, 7)

the usage should be

"swap 8 0,6,5,4,3,2,1,7"

The first number should be the swap type, and the second separated by an space from the swap type and separated by , between them is the kind of moves that should be made.

This tool + bswap8 could make very easy to decrypt every new rom using the original + the encrypted, even if the swap was not programed in the tool like it was in S_decrypt

Thanks

Offline prof.killjoy

  • Newbies
  • *
  • Posts: 2
  • Karma: +0/-0
Re: IQ's neogeo Tools
« Reply #63 on: January 10, 2006, 12:06:55 AM »
IQ, there is a bug in BootCEn.

if (argc < 6)

should read

if (argc < 5)

and recompile, then it should work as expected.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3568
  • Karma: +380/-0
  • What's a pac?
    • NeoSource
Re: IQ's neogeo Tools
« Reply #64 on: January 10, 2006, 12:35:29 AM »
Ah thanks :) I wonder why I didn't notice that before????


Offline prof.killjoy

  • Newbies
  • *
  • Posts: 2
  • Karma: +0/-0
Re: IQ's neogeo Tools
« Reply #65 on: January 10, 2006, 01:07:40 AM »
Ah thanks :) I wonder why I didn't notice that before????

No problem :biggrin:
Is it possible to write a tool to deal with the protection of other roms i.e. Vs in lans2004 romset?

Offline iq_132

  • Administrator
  • *****
  • Posts: 3568
  • Karma: +380/-0
  • What's a pac?
    • NeoSource
Re: IQ's neogeo Tools
« Reply #66 on: January 10, 2006, 01:58:28 AM »
Quote
bitswap8 is a tool to bitswap files. It can only do bitswaps of 8 bits for now.
You can encrypt and decrypt with the same commands.


Here's an example of how to use it:

bitswap8 246-v1.bin lnsq-v1.bin 0 1 5 4 3 2 6 7

    input_file output_file

Enjoy.

   -IQ


Offline fernando2

  • Newbies
  • *
  • Posts: 6
  • Karma: +0/-0
Re: IQ's neogeo Tools
« Reply #67 on: January 12, 2006, 08:41:20 AM »
These are IQ's codes in use .

Code: [Select]
/* Rom decrypt codes */
static void save_dec_p(void)
{
FILE* PROM = fopen("xxx_p_bin", "wb");
if (PROM) {
fwrite(memory_region(REGION_CPU1), 1, memory_region_length(REGION_CPU1), PROM);
fclose(PROM);
}
}

static void save_dec_s(void)
{
FILE* SROM = fopen("xxx_s_bin", "wb");
if (SROM) {
fwrite(memory_region(REGION_GFX1), 1, memory_region_length(REGION_GFX1), SROM);
fclose(SROM);
}
}

static void save_dec_vs(void)
{
FILE* V1ROM = fopen("xxx_v1d.bin", "wb");
if (V1ROM) {
fwrite(memory_region(REGION_SOUND1), 1, 0x800000, V1ROM);
fclose(V1ROM);
}
FILE* V2ROM = fopen("xxx_v2d.bin", "wb");
if (V2ROM) {
fwrite(memory_region(REGION_SOUND1)+0x800000, 1, 0x800000, V2ROM);
fclose(V2ROM);
}
}

this code goes on neogeo.c? i don`t understand how to use it someone could explain how it works please?

thanks for your help

Offline FerchogtX

  • FBA Dev
  • ******
  • Posts: 374
  • Karma: +7/-0
  • FB Alpha Team ;)
    • FB Alpha Plus! Web Site
Re: IQ's neogeo Tools
« Reply #68 on: February 15, 2006, 11:45:35 AM »
add that at the end of your codes in desired driver init... maybe there's another place to add that... maybe in the MACHINE DRIVER START function
See ya!!!! :biggrin:

Good and evil co-exist because of the balance, lies are not part of it...

FB Alpha Plus! site infos updated, see the latest info clicking on my profile link...

Offline dante999

  • Newbies
  • *
  • Posts: 3
  • Karma: +0/-0
Re: IQ's neogeo Tools
« Reply #69 on: January 30, 2007, 11:51:54 PM »
Hi iq_132
do you have a 'SVC P rom encrypt' tool?
i found 'p_dec'... so i want to encrypt tool
thanks your help!
 
« Last Edit: February 06, 2007, 07:45:30 AM by dante999 »

Offline LastResort

  • Newbies
  • *
  • Posts: 1
  • Karma: +0/-0
Re: IQ's neogeo Tools
« Reply #70 on: March 11, 2007, 03:08:48 AM »
Yep, ngcd only can load 4 mb of sprites at the same time, because ngcd only hast 4 mb of ram for that pourpose. even if it were possible, Hacking a Program rom to make diferent loads may be a pain in the ass :S.

Im still waiting someone that understand to fix the final romance 2 conversion that was released a long time ago , the program rom must be modified to avoid it hang , i think there could be some calls to bios or cd that do that. Anyone could help  :confused: :confused: :confused:

Can anyone post the website to download the fr2 roms, or post them. I'll take a look at what's wrong with them.

Thanks


Offline KaNyErO

  • Member
  • ***
  • Posts: 124
  • Karma: +4/-0
Re: IQ's neogeo Tools
« Reply #71 on: March 11, 2007, 08:30:42 AM »
thanks but final romance 2 is fully playable long time ago :)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3568
  • Karma: +380/-0
  • What's a pac?
    • NeoSource
Re: IQ's neogeo Tools
« Reply #72 on: April 14, 2007, 10:04:21 PM »
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.

   The games supported are:

      Metal Slug 4         (SNK Type)
      Rage of the Dragons      (SNK Type)
      King of Fighters 2002, The   (Playmore type)
      Matrimelee         (Playmore type)
      Pochi and Nyaa         (SNK Type)
      Metal Slug 5         (Playmore type)
      SNK vs Capcom: Chaos      (Playmore type)
      Samurai Shodown 5      (Playmore type)
      King of Fighters 2003, The   (Playmore type)
      Samurai Shodown 5 Special   (Playmore type)


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

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


   Who wrote this program?
 -----------------------------------------

    Most of the code for this program was written by IQ_132, but large,
    very important chunks of it were written by or based on code by
    Fataku, Aquasync, Halrin, and El Semi.


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

    2.0
   Complete rewrite
   Code is much shorter and cleaner
   Decrypt/Encrypt for PCM2 Version 2 (Playmore, 2002) unified and shortened
   Decrypt/Encrypt for PCM2 Version 1 (SNK, 1999) shortened and uses less ram
   Added about section in info
   Changed some descriptions of options in the commands info

Please not that for the end user there is no real difference between this and version 1.0.  I was just very unhappy with how the code was/is and wanted to clean it up a bit.


Offline CaptainCPS

  • FBA Dev
  • ******
  • Posts: 1513
  • Karma: +126/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: IQ's neogeo Tools
« Reply #73 on: April 15, 2007, 01:01:45 AM »
Nice IQ  :wink: ^^, ...I was looking at it , and like those crazy ideas that come sometimes to my mind, well...I was thinking that maybe I can make a Win32 GUI version of it in the future for you  :smilie:

I will talk to you about this on MSN later when I get the chance to connect  :wink:

SeeYaa!
 :biggrin:


Offline DsNo

  • Jr. Member
  • **
  • Posts: 53
  • Karma: +8/-0
  • Junior Member
Re: IQ's neogeo Tools
« Reply #74 on: November 03, 2007, 11:11:19 PM »
Use SMA, programming which converts P ROMs of the games which chipsets will be possible?
(ex.. Garou, Mslug3, Kof99, Kof2000)

Encrypt -> Decrypt P Roms
Decrypt -> Encrypt P Roms