CV1000 bank extractor.

This is the main shmups forum. Chat about shmups in here - keep it on-topic please!
User avatar
THE
Posts: 403
Joined: Fri Aug 17, 2007 9:00 am
Location: Germany

Re: CV1000 bank extractor.

Post by THE »

BarfHappy wrote: Gosh THE, how do you know ?
I am in the process of purchasing the toolchain from Renesas xD It is a perfect match for CAVE platform, the SH7709s is a target for the toolchain (it is readily available as evaluation software).
Cool, can't wait to see some stuff.

The toolchain we use cost >3000 EUR, the Renesas is probably in this range too!? To much for homebrewing I guess. But GCC works fine for small stuff, the CPU has mad performance anyway. I don't think much optimizations will be needed.
The future is 2D
Aurel
Posts: 21
Joined: Wed May 02, 2012 12:18 pm

Re: CV1000 bank extractor.

Post by Aurel »

BarfHappy wrote:For the TGA: Yes there is a way to put back your very own tga files in there :) I did it for deathsmiles, worked like a charm. Making the proper tools will take a while though.
Nice, thanks! Can't wait to do that too :D
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

Yaouch, that would be too much for me for a single license...
I ll see the answer from them...

Anyway~ i uploaded a new version, i just put in the check for compression, now music, sound effects etc should extract. there are subtleties in the format (pointed out by a friend)... and i don t have the courage to explore each and every bin to see if i missed a file ^^; so that will do.

Ho and it will extract to a single EXT now, easier to navigate through

hoops bugfixed
note: the path of file is sometimes oddlydoodlyodd, in that cave put .. in it... and so you might find at the same level as EXT some games folders (rom for example in the japanese akai katana port)
Last edited by BarfHappy on Thu May 03, 2012 6:28 pm, edited 1 time in total.
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
User avatar
AntiFritz
Posts: 1630
Joined: Sun Apr 03, 2011 2:34 am
Location: Australia

Re: CV1000 bank extractor.

Post by AntiFritz »

I've uploaded all the (pal) dfk/ds and espgaluda 2 wallpapers in case anyone wants them.

http://imgur.com/a/AXrBj#0
RegalSin wrote:Rape is very shakey subject. It falls into the catergory of Womens right, Homosexaul rights, and Black rights.
User avatar
O. Van Bruce
Posts: 1623
Joined: Mon Jul 11, 2011 2:50 pm
Location: On an alternate dimension... filled with bullets and moon runes...

Re: CV1000 bank extractor.

Post by O. Van Bruce »

AntiFritz wrote:I've uploaded all the (pal) dfk/ds and espgaluda 2 wallpapers in case anyone wants them.

http://imgur.com/a/AXrBj#0
Image

Edit: Lol typo...
Last edited by O. Van Bruce on Thu May 03, 2012 11:34 am, edited 1 time in total.
User avatar
BPzeBanshee
Posts: 4859
Joined: Sun Feb 08, 2009 3:59 am

Re: CV1000 bank extractor.

Post by BPzeBanshee »

Damn I wish Imgur had a 'Download All' function.

Great stuff BarfHappy. This will be quite interesting to use for looking at graphical/audio stuff. Looking forward to your future ventures.
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

just a quick update ;) Support for mushihimesama futari xbox360 tilessets (not the WPs though).

http://www.sendspace.com/file/3ntc6k
Image
Last edited by BarfHappy on Thu May 03, 2012 6:48 pm, edited 1 time in total.
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
User avatar
SuperSoaker360
Posts: 746
Joined: Thu Jan 05, 2012 2:19 am

Re: CV1000 bank extractor.

Post by SuperSoaker360 »

AntiFritz wrote:I've uploaded all the (pal) dfk/ds and espgaluda 2 wallpapers in case anyone wants them.

http://imgur.com/a/AXrBj#0
Really appreciate this, thanks!
1CC List | YouTube Channel | Twitter | RebKMG/KMG
RegalSin wrote:Wait a minute, everything else is better then an aerodactyle, with a man face on it.
User avatar
AntiFritz
Posts: 1630
Joined: Sun Apr 03, 2011 2:34 am
Location: Australia

Re: CV1000 bank extractor.

Post by AntiFritz »

O. Van Bruce wrote:
AntiFritz wrote:I've uploaded all the (pal) dfk/ds and espgaluda 2 wallpapers in case anyone wants them.

http://imgur.com/a/AXrBj#0
Snip

Edit: Lol typo...
Haha, that makes me smile
SuperSoaker360 wrote:
AntiFritz wrote:I've uploaded all the (pal) dfk/ds and espgaluda 2 wallpapers in case anyone wants them.

http://imgur.com/a/AXrBj#0
Really appreciate this, thanks!
No problem. I'd do it for more games but their the only ones i have.
RegalSin wrote:Rape is very shakey subject. It falls into the catergory of Womens right, Homosexaul rights, and Black rights.
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

Just so you know...

Image

doesn t work in MMP
http://www.sendspace.com/file/fgx7pe

... this is ongoing dev i won t help, and won t answer questions xD too busy.

cv1000ex, special version, outputs data to dat folder, and a list file
cvbuild, this tool builds the U2 in dat (rename the working file).
cvbuild must not be in dat folder but at the same level as the subfolder.
if you want to replace a sprite bank: find the corresponding TGA in the tga folder, modify, rotate 90 degrees clockwise (i am lazy), save as TGA 32bits. remove the raw file (the tool will see that the raw is missing but the tga is present and will compress to CAVE compressed format).
I only worked with deathsmiles.

You CANNOT move assets from game to game unless they were packed with the same compression (or you ll have to manipulate the list file xD). You can do the switch from TGA though, works like a charm.

known sideeffects:
- as of know, if you induce a page shift, (images compressed larger than before, and so the global number of pages larger than before), the system font location is deleted, but the rest should be working properly, the banks are all properly paged and setup -i took care that if you rebuild the original files you get PERFECT working u2-. I don t know if this is a decision to erase the insert coin when the game is tempered with ... this will eventually get figured out (or patched in the code)
- if the previous point is true, the clear screen is screwed as well (clear screen is a band of the font bank)
Last edited by BarfHappy on Tue May 08, 2012 8:14 pm, edited 4 times in total.
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
Aurel
Posts: 21
Joined: Wed May 02, 2012 12:18 pm

Re: CV1000 bank extractor.

Post by Aurel »

Very nice! Thank you very much !!!

I've just made a try and it works like a charm :D
Thanks again!
User avatar
Formless God
Posts: 671
Joined: Fri Mar 12, 2010 7:46 am

Re: CV1000 bank extractor.

Post by Formless God »

Wait, does this mean you already have access to SDOJ's sprites and stuff ?
RegalSin wrote:Then again sex is no diffrent then sticking a stick down some hole to make a female womenly or girl scream or make noise.
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

Formless God wrote:Wait, does this mean you already have access to SDOJ's sprites and stuff ?
Nope, even though i wish i had ! This will wait the ports -.-

I took the image off the sdoj homepage and did a portrait ;)
By the way, i have seen the bootup sequence of saidaioujou, and from that i know this is the same decompression library so my tool should be compatible with the arcade version of SDOJ at 90% sure :)
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
Aurel
Posts: 21
Joined: Wed May 02, 2012 12:18 pm

Re: CV1000 bank extractor.

Post by Aurel »

I found some bugs anyway :
- CV1000EX crashes with mushisam u2 file.
- The top of the sprites are delayed at the bottom of the tga files made by this CV1000EX version.
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

Aurel wrote:I found some bugs anyway :
- CV1000EX crashes with mushisam u2 file.
- The top of the sprites are delayed at the bottom of the tga files made by this CV1000EX version.
Thanks for pointing that out :) see, ongoing dev ! This is why there are so many seek anomalies xD
I ll make a pass to identify and post a new version.
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

Aurel wrote:I found some bugs anyway :
- CV1000EX crashes with mushisam u2 file.
- The top of the sprites are delayed at the bottom of the tga files made by this CV1000EX version.
http://www.sendspace.com/file/y14r5x

should fix the delay problem. As for the crash, it s normal... well... because i lack checks. The U2 is malformed, i don t know if it s a bug of CAVE original packer, a bug in the flash programmer of a dump issue, but several of the finishing entries are not properly aligned one has been truncated messing up the followers of course. I will not reproduce that ^^ I don t think the tiles that are in there are used, and they would make the game to crash if it tried to access them. I ll try to extract them one day just to see what they are, perhaps some prototype s data which could be interesting :p
I have added some controls to prevent crashed for such overflows on type0.

I hope you will not encounter too much the missing system font, this is an annoying issue... but since i rewrote comp0 (the one of mushi), i have yet to suffer that... perhaps the game was over-sensible to an unnecessary block if there was one (even never used). Ah, i love that kind of things ^^ reminds me of the good old days to have the nose in assembly language
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
Aurel
Posts: 21
Joined: Wed May 02, 2012 12:18 pm

Re: CV1000 bank extractor.

Post by Aurel »

Again: many thanks for this tool!

Thank to your tool I have done an "original color hack" of Futari BL in a few minutes 8)

Image

Can't wait to spend more time on it :lol:
User avatar
emphatic
Posts: 7990
Joined: Mon Aug 18, 2008 3:47 pm
Location: Alingsås, Sweden
Contact:

Re: CV1000 bank extractor.

Post by emphatic »

Aurel wrote:Again: many thanks for this tool!

Thank to your tool I have done an "original color hack" of Futari BL in a few minutes 8)

Image

Can't wait to spend more time on it :lol:
Sweet! Only one rom is changed?
Image | My games - http://www.emphatic.se
RegalSin wrote:Street Fighters. We need to aviod them when we activate time accellerator.
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

emphatic wrote: Sweet! Only one rom is changed?
Yep all the graphics are in the u2 :)

The banks lists (loading lists), level maps, objects relations and animation properties are stored in the program rom with the game code, usually in compressed form, and decompressed at startup.
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
Aurel
Posts: 21
Joined: Wed May 02, 2012 12:18 pm

Re: CV1000 bank extractor.

Post by Aurel »

emphatic wrote:Sweet! Only one rom is changed?
just the u2 rom yes.

Thanks to BarfHappy it's really easy to do. :wink:

1/ extract fuariblk_u2 with CV1000EX (rename the dat folder) and do the same with futari15 u2 rom
2/ open bk00ee.tga bk0001.tga bk001b.tga bk0018.tga and bk0019.tga from futariblk_u2_tga folder
3/ turn them 90° CLW and save them (uncompressed) in the futari15 dat folder
4/ open futari15 bk00e3.tga file and complete it with the 2 missing sprites taken from futariblk bk00e3.tga file.
Turn it 90 CLW and save it in futari15 dat folder too.
5/ delete the 6 corresponding raw files in the futari15 dat folder, and make sure this folder is named "dat".
6/ run CVBUILD.exe

You will get a full "original color hack" u2 file for Futari BL 8)
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

Aurel wrote:...You will get a full "original color hack" u2 file for Futari BL 8)
My first cvbuild user, sob, i am happy :cry: :D

From now on, i am working on the level editor, it s easy to build maps but it will take some time to get a proper tool, command line won t cut it.

Have fun meanwhile :)
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
User avatar
BPzeBanshee
Posts: 4859
Joined: Sun Feb 08, 2009 3:59 am

Re: CV1000 bank extractor.

Post by BPzeBanshee »

Level editor? Are we talking placement of enemies or just the backgrounds in question?
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

BPzeBanshee wrote:Level editor? Are we talking placement of enemies or just the backgrounds in question?
Placement of enemies as well as backgrounds. ;)

Just so you know,no problem validating my custom made roms within emulators
Image

I ll post the U4 program rom extractor/compiler tonight, i am within a network where filesharing of archives is blocked

edit: oh and for the courageous, they ll be able to make new game code since everything is decrypted, no need to dump from within emu and reinject from within the emu
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
User avatar
BPzeBanshee
Posts: 4859
Joined: Sun Feb 08, 2009 3:59 am

Re: CV1000 bank extractor.

Post by BPzeBanshee »

Excellent! Too bad I have no idea how to actually code anything outside GML otherwise I'd take a shot at this. :D
User avatar
trap15
Posts: 7835
Joined: Mon Aug 31, 2009 4:13 am
Location: 東京都杉並区
Contact:

Re: CV1000 bank extractor.

Post by trap15 »

BarfHappy wrote:edit: oh and for the courageous, they ll be able to make new game code since everything is decrypted, no need to dump from within emu and reinject from within the emu
Aha, so they still don't do any checksumming. How lazy :|
@trap0xf | daifukkat.su/blog | scores | FIRE LANCER
<S.Yagawa> I like the challenge of "doing the impossible" with older hardware, and pushing it as far as it can go.
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

trap15 wrote:
BarfHappy wrote:edit: oh and for the courageous, they ll be able to make new game code since everything is decrypted, no need to dump from within emu and reinject from within the emu
Aha, so they still don't do any checksumming. How lazy :|
Yep, the only control is a thorough check that every compressed piece can be decompressed, but since i am fully compliant with the compressor specs, it works xD

I am happy there is no checksum, saves me hacking time.
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
User avatar
THE
Posts: 403
Joined: Fri Aug 17, 2007 9:00 am
Location: Germany

Re: CV1000 bank extractor.

Post by THE »

:shock: I better get a few hundred Ibara PCB on stock :arrow:
The future is 2D
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

There we go:

http://www.sendspace.com/file/52jq89

Inside you will find:
CVU4ex : use it by drag-dropping a u4 on it or typing CVU4ex u4filename
it will extract the U4 data in u4dat folder (the raw bootcode, which you should NOT modify) and the decrypted/decompressed game code and data in u4.dec (which you can modify, but beware of crashes if you do things without knowing !)

CVU4build: just run it, place at the same level as the u4dat folder not inside it. This will create a workbuild of U4 rom which you can rename and play :p

I could have kept encrypted the copyrights section of the rom, so make me proud and don t do stupid things ><

There is no need for the tool for mushihime, mushitama and ibara (however ibara kuro is protected/compressed and you ll need the tool).

have fun!
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
User avatar
BarfHappy
Posts: 160
Joined: Fri Jan 14, 2011 11:20 pm
Location: In a CAVE

Re: CV1000 bank extractor.

Post by BarfHappy »

Good news, altering the loading sequence and the levels playlist is wonderfully accepted by the game :)
So, there is nothing preventing me from doing a level editor xD However, i cannot add tilesets to the loading lists (fixed size by level, would screw up everything to shift the whole rom), so forget about having a bosses rondo in level 1 ...

Image
st5ex0boss/st5ex0boss.cpp, st5ex0boss/st5ex0b_appear.cpp, st5ex0boss/st5ex0b_disp.cpp, st5ex0boss/st5ex0b_move.cpp, st5ex0boss/st5ex0b_anime.cpp, st5ex0boss/st5ex0b_check.cpp

And there shall be TTLB... <3 Muwohohoho
User avatar
AntiFritz
Posts: 1630
Joined: Sun Apr 03, 2011 2:34 am
Location: Australia

Re: CV1000 bank extractor.

Post by AntiFritz »

Awesome work.

Wonder if something like danmakufu is possible, but using the cave engine instead...
RegalSin wrote:Rape is very shakey subject. It falls into the catergory of Womens right, Homosexaul rights, and Black rights.
Post Reply