Unable to load file Character file

mml129

New member
Hi, im new in the open bor world, im trying to learn the basics, and im starting to create my own first character.
Im trying to put a captain america of MVC2 in the Openbor that comes whit the neo edit pack.
I did a couple of sprites (walking,idle,get and attack) and i edit my capamerica.txt, then i load the character in models.txt, but the game logs says this:
What is the problem?
This link have the files of my char
https://drive.google.com/open?id=1DcX-RaV6YEldNRcgG9i66ffaVfj_5rmJ

Also, sorry for my ugly english, im from argentina. Thanks!

OpenBoR v3.0 Build 2397, Compile Date: Nov  4 2009

Game Selected: ./Paks/bor.pak

Initilize Video.............. 320x240 (Mode: 0, Depth: 8 Bit)
Loading menu.txt............. Done!
Loading fonts................ Done!
Timer init................... Done!
Initilize Sound..............
Failed to load: data/sounds/go.wav

Failed to load: data/sounds/block.wav

Loading sprites.............. Done!
Loading level order.......... Done!
Loading script settings...... Done!
Loading scripts.............. Done!
Loading models...............

Cacheing 'Flash'
Cacheing 'Kula'
Cacheing 'Max'
Cacheing 'Mandy'
Cacheing 'Mighty'
Cacheing 'Capamerica'
Cacheing 'Apple'
Cacheing 'Meat'
Cacheing '1up'
Cacheing 'Money'
Cacheing 'Gold'
Cacheing 'Time'
Cacheing 'Box'
Cacheing 'Crate'
Cacheing 'Trash'
Cacheing 'Table'
Cacheing 'Chair'
Cacheing 'Fence'
Cacheing 'Drum'
Cacheing 'Trolly'
Cacheing 'K''
Cacheing 'biker-K''
Cacheing 'Yashiro'
Cacheing 'Ralf'
Cacheing 'Shermie'
Cacheing 'Eiji'
Cacheing 'Joe'
Cacheing 'Yamazaki'
Cacheing 'Angel'
Cacheing 'Billy'
Cacheing 'Jhun'
Cacheing 'Mrbig'
Cacheing 'Robert'
Cacheing 'Heavy'
Cacheing 'K9999'
Cacheing 'Rugal'
Cacheing 'Ramon'
Cacheing 'Knife'
Cacheing 'Shot'
Cacheing 'Star'
Cacheing 'Steam'
Cacheing 'Steamer'
Cacheing 'Furnace'
Cacheing 'Crab'
Cacheing 'Lobster'

Loading 'Flash'
Loading 'Kula'
Loading 'Max'
Loading 'Mandy'
Loading 'Mighty'

********** An Error Occurred **********
*            Shutting Down            *

Total Ram: 3370921984 Bytes
Free  Ram: 3387707392 Bytes
Used  Ram: 4278181888 Bytes

Release level data........... Done!
Release graphics data........ Done!
Release game data............

Unloaded 'Mighty'
Unloaded 'Max'
Unloaded 'Mandy'
Unloaded 'Kula'
Unloaded 'Flash'
Unloaded 'Capamerica'

Release game data............ Done!
Release timer................ Done!
Release input hardware....... Done!
Release sound system......... Done!

**************** Done *****************

Unable to load file 'data/chars/capamerica'
load_cached_model #scriptbuf: 3937 bytes in 1 allocs
buffer_packfile: 1969 bytes in 1 allocs
Total Leaked Bytes 5906
 
Hi, I suggest you to update your OpenBor version. The version which comes with NeoEditPack is very very old (from 2009).

Please, download from here https://github.com/DCurrent/openbor
 
Bloodbane said:
Unable to load file 'data/chars/capamerica'

Looks like there's some typo somewhere

I'll examine cap's text to see what's wrong :)

[couple hours later]

Thanks so much! nows its almost working, i have another problem, the spirtes looks whit weird colors,  why is that? I made something wrong when i did the sprites?



Yep, just as I thought, there's typo here:

Code:
icon	data/chars/capamerica

Thanks so much! nows it almost working, i have one more problem, the colours of the sprites looks wierd, why is that? i made something bad when i was making the sprites?


https://drive.google.com/open?id=1_IV6w2CoApjZ98RhYlt_-WB2zr9ROT-F
 
Check if all the images are using the same palette.
By the date of your OpenBOR build, probly the character is still using REMAP instead of ALTERNATEPAL.
Use alternatepal, its way better.
 
mml129 said:
i have one more problem, the colours of the sprites looks wierd, why is that? i made something bad when i was making the sprites?

That's because the background color of Cap's sprites is not the first color of his palette
You need to change his palette so the background color is placed as first color of the palette
 
Hello! Sorry for the late response, I was traveling and I could not answer.
Well, I managed to put the color pink as the first color of the palette, but the other colors are still looking strange!
elShUyB.jpg


This thing with the paddles is driving me crazy.

Thanks for your answers, and sorry for the inconvenience.
 
Hi! of course, here it is!
I have some news,  i do realize that the gif images all hace the same palette, but just for try, i change the GIF animetions to the originals PNG that comes out of the mugen char, i check that the transparent color is the first, all was ok and then....
RiPUkJU.png


Yeah... still broken, fuck my life.
Code:
name	Capamerica
health	100
speed	10
type	player
shadow	3

icon	data/chars/capamerica/icon.gif
diesound data/sounds/die1.wav

remap	data/chars/capamerica/idle1.gif data/chars/capamerica/alt.gif




anim idle
	loop	1
	delay	10
	offset	23 103
	bbox	14 6 22 97
	frame	data/chars/capamerica/idle1.gif
	frame	data/chars/capamerica/idle2.gif
	frame	data/chars/capamerica/idle2.gif
	frame	data/chars/capamerica/idle3.gif
	frame	data/chars/capamerica/idle4.gif
	frame	data/chars/capamerica/idle5.gif
	frame	data/chars/capamerica/idle6.gif
	frame	data/chars/capamerica/idle7.gif
	frame	data/chars/capamerica/idle8.gif
	frame	data/chars/capamerica/idle9.gif
	frame	data/chars/capamerica/idle10.gif
	frame	data/chars/capamerica/idle11.gif

anim walk
	loop	1
	delay	3
	offset	26 104
	bbox	19 3 15 101
	frame	data/chars/capamerica/walk0.gif
	frame	data/chars/capamerica/walk1.gif	
	frame	data/chars/capamerica/walk2.gif
	frame	data/chars/capamerica/walk3.gif
	frame	data/chars/capamerica/walk4.gif
	frame	data/chars/capamerica/walk5.gif
	frame	data/chars/capamerica/walk6.gif
	frame	data/chars/capamerica/walk7.gif
	frame	data/chars/capamerica/walk8.gif
	frame	data/chars/capamerica/walk9.gif
	frame	data/chars/capamerica/walk10.gif
	frame	data/chars/capamerica/walk11.gif

anim get
	loop	0
	delay	5
	offset	41 95
	frame	data/chars/capamerica/get000.gif
	frame	data/chars/capamerica/get001.gif
	delay	30
	frame	data/chars/capamerica/get002.gif
	delay	5

anim attack1
	loop	0
	delay	4
	bbox	15 0 19 99
	offset	23 101
	frame	data/chars/capamerica/attack1.gif
	bbox	24 5 19 94
	move	10
	offset	33 101
	frame	data/chars/capamerica/attack2.gif
	attack	59 19 39 16 5
	bbox	41 7 16 92
	move	10
	offset	43 101
	frame	data/chars/capamerica/attack3.gif
	move	0
	frame	data/chars/capamerica/attack4.gif
	attack	0 0 0 0 0
	bbox	35 5 19 94
	offset	33 101
	move	-10
	delay	2
	frame	data/chars/capamerica/attack5.gif



anim jump
	loop	1
	offset	13 26
	delay	3
	attack	1 1 26 26 15 1
	frame	data/chars/capamerica/attack1.gif
	

anim grab
	loop	0
	offset	4 35
	bbox	2 2 26 30
	delay	1000
	frame	data/chars/capamerica/attack1.gif


anim throw
	loop	0
	offset	16 28
	delay	40
	frame	data/chars/capamerica/attack1.gif


anim pain
	loop	0
	offset	23 28
	bbox	7 4 31 24
	delay	1
	frame	data/chars/capamerica/attack1.gif


anim fall
	loop	0
	offset	23 28
	attack	7 4 31 24 15 1
	delay	1
	frame	data/chars/capamerica/attack1.gif


anim rise
	loop	0
	offset	23 28
	delay	1
	frame	data/chars/capamerica/attack1.gif


anim land
	loop	0
	offset	14 36
	delay	25
	bbox	6 2 20 34
		frame	data/chars/capamerica/attack1.gif
 
If you are using adobe photoshop go to IMAGE at the top tab then MODE then COLOUR TABLE, you'll see the first colour in the palette of colours represents the transparency of the gif/png you are using for your animations, you must make sure all your gif/png have the same pallet applied so the engine can make sense of all the colours you are using,  remember the first colour is transparent in game so if that colour is used for captain Americas boots it'll display incorrectly. In the colour table/palette you can move colours around swap colours if you have to, remember to save the palette as an .act file you can then apply that .act to EVERY gif/png if needs be.

[attachment deleted by admin]
 
The two palettes are not compatible between Openbor  Mugen.  You need a to make a new palette and apply it to all of your sprites so they display correctly in Openbor

[attachment deleted by admin]
 
Back
Top Bottom