PDA

View Full Version : Help: Anyone know how to compile romcnv for mvspsp ?



myers112
December 31st, 2006, 13:49
Can anybody help me compile romcnv for mvspsp from the source code ? I've been working on this for 2 days now but can't seem to do it. I know how to compile the actual mvspsp emu but not the convertor. Basicly i've added a rom thats not supported but it needs to be added to the convertor which i've done but cannot compile it as there doesn't seem to be a make file.

splodger15
December 31st, 2006, 14:25
Do you have cygwin setup properly

myers112
December 31st, 2006, 14:40
I have pspdev set up, i can compile the emulator no problem using the makefile, but there doesn't seem to be a make file in the romcnv source only this :


#---------------------------------------------------------------------
# ƒvƒƒOƒ‰ƒ€’
#---------------------------------------------------------------------

LITTLE_ENDIAN=1 # big endian‚‹@Ž‚‚‚‚̍s‚ƒRƒƒ“ƒgƒAƒEƒg‚‚‚‚

AR = @lib
CC = @cl
LD = @link

RM = @del
RMDIR = rd /S /Q
MD = md

#---------------------------------------------------------------------
# Žsƒtƒ@ƒCƒ‹Šg’Žq
#---------------------------------------------------------------------

EXE = .exe

#---------------------------------------------------------------------
# ƒIƒuƒWƒFƒNƒgƒtƒ@ƒCƒ‹—pƒfƒBƒŒƒNƒgƒŠ
#---------------------------------------------------------------------

OBJ = obj

#---------------------------------------------------------------------
# ƒ^[ƒQƒbƒgƒtƒ@ƒCƒ‹–
#---------------------------------------------------------------------

TARGET = romcnv_mvs$(EXE)

#---------------------------------------------------------------------
# ƒRƒ“ƒpƒCƒ‰’‹`
#---------------------------------------------------------------------

CDEFS = \
-DWINVER=0x0400 \
-D_WIN32_WINNT=0x0500 \
-DWIN32 \
-D_WINDOWS \
-DINLINE='static __inline' \
-Dinline=__inline \
-D__inline__=__inline \
/Isrc /Isrc/neogeo /Isrc/zlib

ifdef LITTLE_ENDIAN
CDEFS += -DLSB_FIRST=1
endif

CFLAGS = /nologo /W2 /GB /Ox /GA /GX /MT

#---------------------------------------------------------------------
# ƒŠƒ“ƒJƒtƒ‰ƒO
#---------------------------------------------------------------------

LDFLAGS = /nologo /machine:x86 /subsystem:console /release /incremental:no

#---------------------------------------------------------------------
# ƒIƒuƒWƒFƒNƒgƒtƒ@ƒCƒ‹/ƒfƒBƒŒƒNƒgƒŠ’
#---------------------------------------------------------------------

OBJDIRS = \
$(OBJ) \
$(OBJ)/neogeo \
$(OBJ)/zlib \

OBJS = \
$(OBJ)/neogeo/romcnv.o \
$(OBJ)/neogeo/neocrypt.o \
$(OBJ)/unzip.o \
$(OBJ)/zfile.o

#---------------------------------------------------------------------
# ƒ‰ƒCƒuƒ‰ƒŠ’
#---------------------------------------------------------------------

LIBS = \
comdlg32.lib \
src/zip32j.lib \

#---------------------------------------------------------------------
# make
#---------------------------------------------------------------------

all: maketree $(TARGET)

include src/zlib/zlib.mak

$(TARGET): $(OBJS) $(OSOBJS)
@echo Linking $@...
$(LD) $(LDFLAGS) $(OBJS) $(OSOBJS) $(LIBS) /out:$@
$(COMPRESS)

#---------------------------------------------------------------------
# ƒRƒ“ƒpƒCƒ‹‚ƒ‹[ƒ‹’
#---------------------------------------------------------------------

$(OBJ)/%.o: src/%.c
@echo Compiling $<...
$(CC) $(CDEFS) $(INCLUDES) $(DEBUGDEF) $(CFLAGS) /c $< /Fo$@

mkdir:
@echo make mkdir is no longer necessary, just type make

$(sort $(OBJDIRS)):
$(MD) $(subst /,\,$@)

maketree2:
@echo Making object tree...

clean:
$(RM) /Q $(OBJ)

maketree: maketree2 $(sort $(OBJDIRS))


but if i change that into a makefile and type make i get the error:

make: cl: Command not found
make: *** [obj/neogeo/romcnv.o] Error127

So i'm assuming this isn't the right make file ? I'm very new to all this by the way.

splodger15
December 31st, 2006, 14:51
Is that the whole source code

myers112
December 31st, 2006, 14:56
Here is the emu source and also the romcvn part inside it, see if you can see where i'm going wrong.

http://www.sendspace.com/file/jv01hg

splodger15
December 31st, 2006, 15:17
I just got a whole load of errors

myers112
December 31st, 2006, 15:22
I'm doomed never to be able to play hacked rom sets on this emu :( one thing though, how do you change the title/main image that appears on the mvspsp when booted up on the psp ? It says mvspsp 1.64 (final) by NJ, thats what i want to change, is it in this part ?


/************************************************** *************************

icon_l.c

Large icon data.

************************************************** *************************/

#include "psp/psp.h"

#define NUM_FONTS 0x07

/*------------------------------------------------------
gryph data
-----------------------------------------------------*/

static const u8 ALIGN_DATA icon_l[] = {
0x00,0x00,0x21,0x12,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x71,0xcb,0xbc,0x06,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x30,0xec,0xdd,0xed,0xae,0x01,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x40,0xa8,0xdc,0xde,0xed,0x0a,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x31,0xc6,0xde,0x4e,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x60,0xde,0x9e,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x10,0xed,0xbe,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x20,0xed,0xde,0x06,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x98,0x36,0x01,0xc2,0xee,0xee,0xbf,0x05,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0xe5,0xde,0xac,0xec,0xee,0xee,0xfe,0xaf,0x03,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x90,0xde,0xee,0xee,0xee,0xee,0xee,0xfe,0x8e,0x02, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0xd8,0xee,0xfe,0xcd,0xef,0xee,0xee,0xfe,0x7d, 0x01,0x52,0x56,0x03,0x00,0x00,
0x00,0x30,0x98,0x79,0x02,0xd7,0xef,0xee,0xee,0xfe, 0x9c,0xed,0xee,0x9d,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x20,0xe9,0xef,0xee,0xee, 0xee,0xde,0xdd,0xed,0x1b,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x30,0xea,0xef,0xee, 0xee,0xed,0xdd,0xee,0x9e,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x50,0xfc,0xee, 0xee,0x9e,0x31,0x86,0xca,0x03,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0xed, 0xee,0x09,0x00,0x00,0x10,0x02,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe6, 0xee,0x05,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe4, 0xee,0x0a,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc1, 0xde,0x5d,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60, 0xde,0xdd,0xac,0x68,0x04,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xe8,0xdd,0xdd,0xee,0x1a,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x60,0xdc,0xdd,0x7c,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x41,0x56,0x02,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x67,0x01,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xfb,0x2c,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x30,0x9e,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0xd8,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xd7,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xd7,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0xe8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x74,0x46,0x01,0x00,0x00,
0x74,0x00,0x00,0x20,0x64,0x68,0x01,0x00,0x00,0xa0, 0xfe,0xef,0xde,0x9b,0x99,0x99,
0x99,0xca,0xed,0xfe,0xff,0x2c,0x00,0x00,0xf8,0xfe, 0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xef,0xae,0xd8,0x9f,0x00,0x10,0xed,0xae,0x55, 0xfa,0xff,0xff,0xff,0xff,0xef,
0xfc,0x0b,0x70,0xee,0x03,0x50,0xee,0x09,0x33,0x80, 0xff,0xff,0xcf,0xfe,0x5f,0x60,
0x0b,0x60,0xee,0x09,0xa0,0xde,0x51,0xff,0x07,0xfd, 0xef,0x56,0xfe,0x0e,0x00,0x9e,
0xc7,0xed,0x1c,0xd1,0xce,0xa0,0xff,0x0b,0xfb,0xdf, 0xfb,0xff,0x8f,0x82,0xff,0x3d,
0xa1,0x3e,0xe4,0xde,0x50,0xfe,0x06,0xfd,0xff,0xff, 0xee,0xfe,0xce,0xc7,0x09,0x50,
0x6f,0xe5,0xed,0x08,0x33,0x60,0xef,0xef,0x6a,0xfc, 0xee,0x3e,0x10,0x3c,0xa1,0x8f,
0xe6,0xed,0x9e,0x33,0xe8,0xee,0xdf,0xb8,0xee,0xee, 0x3e,0x10,0xed,0xed,0x8e,0xe5,
0xdd,0xee,0xee,0xef,0xee,0xee,0xff,0xee,0xee,0xce, 0xb7,0xee,0xde,0x7e,0xe4,0xdd,
0xed,0xee,0xee,0xee,0xee,0xee,0xee,0xee,0xee,0xef, 0xdd,0xdd,0x5e,0x90,0xee,0xee,
0xee,0xfe,0xff,0xff,0xff,0xff,0xff,0xee,0xee,0xde, 0xed,0x1b,0x10,0xc8,0xdd,0xcd,
0x9a,0x89,0x88,0x88,0x88,0x88,0xa9,0xdb,0xdd,0x8c, 0x01,0x00,0x10,0x33,0x02,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x22,0x00,0x00, 0x00,0x80,0xdd,0xdd,0xdd,0x1b,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd6, 0x78,0x77,0x77,0x9d,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x5e,0x00,0x00, 0x00,0xe3,0x06,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0xc1,0x07,0x00,0x00,0x00,0x60, 0x9e,0x88,0x88,0x88,0x88,0x88,
0x03,0x00,0xd2,0x02,0x00,0x00,0x00,0x00,0xa7,0xaa, 0xaa,0xaa,0xaa,0xea,0x06,0x00,
0xc2,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0xb0,0x06,0x00,0xc2,0x02,
0xb4,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xda, 0xac,0x3a,0xc2,0x02,0xf8,0xee,
0xee,0xfe,0xff,0xff,0xee,0xee,0xee,0xde,0xed,0x2d, 0xc2,0x02,0xeb,0xee,0xee,0xee,
0xee,0xee,0xee,0xee,0xde,0xdd,0xdd,0x0a,0xd2,0x12, 0xed,0xee,0xee,0xee,0xee,0xee,
0xee,0xee,0xde,0xdd,0xed,0x08,0xd2,0x51,0xee,0xee, 0xee,0xee,0xee,0xee,0xee,0xee,
0xde,0xdd,0xed,0x05,0xc2,0x82,0xde,0xee,0xee,0xee, 0xee,0xee,0xee,0xee,0xde,0xdd,
0xdd,0x02,0xc2,0xb3,0xde,0xee,0xee,0xee,0xee,0xee, 0xee,0xee,0xde,0xdd,0xbd,0x00,
0xc2,0xd5,0xdd,0xee,0xee,0xee,0xee,0xee,0xee,0xee, 0xde,0xdd,0x9e,0x00,0xc2,0xd9,
0xdd,0xed,0xee,0xee,0xee,0xee,0xee,0xee,0xdd,0xdd, 0x6e,0x00,0xc2,0xdc,0xdd,0xdd,
0xee,0xee,0xee,0xee,0xee,0xde,0xdd,0xdd,0x3d,0x00, 0xd2,0xdd,0xdd,0xdd,0xed,0xee,
0xee,0xee,0xee,0xdd,0xdd,0xdd,0x0c,0x00,0xd2,0xdd, 0xdd,0xdd,0xdd,0xed,0xee,0xee,
0xdd,0xdd,0xdd,0xed,0x09,0x00,0xd2,0xee,0xee,0xee, 0xee,0xee,0xee,0xee,0xee,0xee,
0xee,0xfe,0x07,0x00,0x60,0x77,0x77,0x77,0x77,0x77, 0x77,0x77,0x77,0x77,0x77,0x77,
0x01,0x00,0x00,0x00,0x00,0x30,0x97,0xbb,0x79,0x04, 0x00,0x00,0x00,0x00,0x00,0x40,
0xda,0xee,0xfe,0xee,0xbe,0x05,0x00,0x00,0x00,0x00, 0xd6,0xde,0xbd,0x69,0xea,0xed,
0x8f,0x00,0x00,0x00,0x70,0xee,0xda,0x02,0x50,0xec, 0x57,0xd9,0x09,0x00,0x00,0xe6,
0xee,0xd6,0x10,0xc9,0xbb,0x00,0x40,0x9e,0x00,0x40, 0xad,0xee,0xd2,0x11,0x12,0x49,
0x00,0x19,0xf9,0x06,0xb0,0x0a,0xb6,0xd0,0x01,0xb3, 0x4f,0x3b,0x04,0xe2,0x1c,0xe3,
0x09,0x10,0xd0,0x61,0xff,0xae,0x11,0x00,0x82,0x5f, 0xf7,0x37,0x08,0xd0,0x41,0x57,
0xeb,0x03,0xb1,0x72,0x9f,0xf9,0x76,0xbf,0xd2,0x01, 0x82,0xfd,0x09,0x7b,0xc1,0xbe,
0xeb,0xc5,0xde,0xdc,0x93,0xce,0xee,0x4e,0x00,0xe5, 0xcd,0xdb,0xa9,0x34,0xb6,0xfd,
0x3c,0xd7,0xcf,0x79,0xec,0xdd,0xe9,0x4d,0x85,0x55, 0xee,0x35,0x53,0xcd,0x88,0x77,
0xbd,0xf7,0x3b,0xfc,0x8e,0x8d,0x62,0xbd,0x6c,0x37, 0x32,0x9d,0xe4,0x4a,0xbc,0xe9,
0x3b,0x23,0xf9,0x46,0x4a,0x43,0x6d,0xb0,0x4b,0x7a, 0xb3,0x55,0xab,0x9a,0x32,0x63,
0x37,0x2c,0x50,0x5e,0xe6,0x96,0x38,0xfc,0x5c,0x36, 0x42,0x74,0x07,0x00,0xb8,0x63,
0x77,0x7e,0xd5,0x6b,0xad,0x27,0xb7,0x01,0x00,0x90, 0x6c,0x43,0xed,0xa8,0x3b,0xa5,
0x78,0x2a,0x00,0x00,0x00,0xea,0x7b,0xec,0xde,0x6d, 0x43,0x95,0x02,0x00,0x00,0x00,
0x60,0xec,0xee,0xee,0xde,0xbc,0x17,0x00,0x00,0x00, 0x00,0x00,0x51,0xb9,0xdd,0x9b,
0x26,0x00,0x00,0x00,0x00,0x11,0x11,0x11,0x11,0x11, 0x11,0x11,0x11,0x11,0x01,0x00,
0x00,0x00,0x00,0x10,0xdc,0xdc,0xdd,0xdd,0xdd,0xdd, 0xdd,0xdd,0xdd,0xcd,0x49,0x00,
0x00,0x00,0x10,0xdd,0xdd,0xdd,0xed,0xee,0xee,0xee, 0xee,0xdd,0xdd,0xee,0x2a,0x00,
0x00,0x20,0xed,0xee,0xee,0xee,0xee,0xee,0xee,0xee, 0xee,0xee,0xdd,0xce,0x02,0x00,
0x10,0x88,0x88,0x88,0x99,0x99,0x99,0x99,0x99,0x89, 0xb9,0xdd,0xed,0x0b,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xc4,0xdd,0x6e,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40, 0xde,0xbd,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xdb, 0xcd,0x02,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe8,0xdd, 0x03,0x00,0x00,0x00,0x04,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe9,0xdd,0x03, 0x00,0x00,0x90,0x0a,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x10,0xdc,0xcd,0x01,0x00, 0x20,0xfb,0x0a,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x70,0xde,0xae,0x00,0x00,0xc4, 0xee,0x0a,0x00,0x00,0x00,0x00,
0x00,0x00,0x31,0xe8,0xdd,0x4d,0x00,0x60,0xed,0xed, 0xdd,0xdd,0xdd,0xdd,0xdd,0xdd,
0xdd,0xdd,0xde,0xed,0x08,0x00,0xe7,0xdd,0xdd,0xee, 0xee,0xee,0xee,0xee,0xee,0xee,
0xee,0xed,0x9e,0x00,0x00,0xb0,0xde,0xdd,0xee,0xee, 0xfe,0xff,0xff,0xee,0xee,0xee,
0xce,0x05,0x00,0x00,0x00,0xea,0xdd,0x9c,0x99,0x99, 0x99,0x99,0x99,0x99,0x78,0x15,
0x00,0x00,0x00,0x00,0x80,0xee,0x09,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0xe6,0x0a,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x50,0x08,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x31,0x33,0x43,0x44,0x44,0x44,0x44,0x44, 0x33,0x33,0x13,0x00,0x00,0x00,
0x70,0xdd,0xee,0xee,0xee,0xfe,0xff,0xee,0xee,0xee, 0xee,0xdd,0x07,0x00,0x00,0xe9,
0xdd,0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, 0xdd,0x9e,0x00,0x50,0xde,0xdd,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0xdd, 0xed,0x05,0xb0,0xdd,0xdd,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0xdd,0xdd, 0x0b,0xd3,0xdd,0xdd,0x01,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x10,0xdd,0xdd,0x3d, 0xe6,0xdd,0xdd,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x10,0xdd,0xdd,0x6e,0xe8, 0xdd,0xdd,0x01,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x10,0xdd,0xdd,0x8e,0xe9,0xdd, 0xdd,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x10,0xdd,0xdd,0x9e,0xe8,0xdd,0xdd, 0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x10,0xdd,0xdd,0x8e,0xe6,0xdd,0xdd,0x01, 0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x10,0xdd,0xdd,0x6e,0xd4,0xdd,0xdd,0x01,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,
0x10,0xdd,0xdd,0x4d,0xb0,0xdd,0xdd,0x01,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x10,
0xdd,0xdd,0x0b,0x60,0xde,0xdd,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x10,0xdd,
0xed,0x06,0x00,0xea,0xdd,0x56,0x55,0x55,0x55,0x55, 0x55,0x55,0x55,0x65,0xdd,0xae,
0x00,0x00,0x91,0xed,0xee,0xee,0xff,0xff,0xff,0xff, 0xef,0xee,0xee,0xde,0x19,0x00,
0x00,0x00,0x42,0x55,0x55,0x55,0x55,0x55,0x55,0x55, 0x55,0x55,0x24,0x00,0x00,0x74,
0x66,0x66,0x77,0x77,0x77,0x77,0x77,0x77,0x77,0x67, 0x66,0x66,0x67,0xf8,0xee,0xee,
0xee,0xee,0xee,0xee,0xee,0xee,0xee,0xee,0xee,0xee, 0xce,0xe8,0xdd,0xdd,0xdd,0xed,
0xee,0xee,0xed,0xde,0xdd,0xdd,0xdd,0xdd,0xbd,0xe8, 0x59,0x55,0xe7,0x4c,0x44,0xc5,
0x7e,0x55,0x95,0x9e,0x55,0x75,0xbd,0xf8,0x86,0xbc, 0xe5,0x0b,0x00,0xc0,0x5e,0xdb,
0x89,0x6f,0xc8,0x5b,0xbd,0xf8,0xa7,0xde,0xe6,0x0b, 0x00,0xc0,0x6e,0xfd,0x8a,0x7f,
0xea,0x6c,0xbd,0xf8,0xa7,0xde,0xe6,0x0b,0x00,0xc0, 0x6e,0xfd,0x8a,0x7f,0xea,0x6c,
0xbd,0xf8,0x37,0x45,0xe4,0x0b,0x00,0xc0,0x4e,0x54, 0x83,0x7f,0x53,0x44,0xbd,0xf8,
0x07,0x00,0xe3,0x0b,0x00,0xc0,0x3e,0x00,0x80,0x6f, 0x00,0x30,0xbd,0xf8,0x07,0x00,
0xe3,0x0b,0x00,0xc0,0x3e,0x00,0x80,0x7f,0x00,0x30, 0xbd,0xf8,0x07,0x00,0xe3,0x0b,
0x00,0xc0,0x3e,0x00,0x80,0x7f,0x00,0x30,0xbd,0xf8, 0x07,0x00,0xe3,0x0b,0x00,0xc0,
0x3e,0x00,0x80,0x7f,0x00,0x30,0xbd,0xf8,0x07,0x00, 0xe3,0x0b,0x00,0xc0,0x3e,0x00,
0x80,0x6f,0x00,0x30,0xbd,0xf8,0x07,0x00,0xe3,0x6a, 0xcd,0xb5,0x3e,0x00,0x80,0x6f,
0x00,0x30,0xbd,0xf8,0x06,0x00,0xe3,0x7a,0xff,0xb6, 0x3e,0x00,0x80,0x6f,0x00,0x30,
0xbd,0xf8,0x06,0x00,0xe3,0x7a,0xff,0xb6,0x3e,0x00, 0x80,0x6f,0x00,0x30,0xbd,0xf8,
0x07,0x00,0xe4,0x3b,0x66,0xc3,0x3e,0x00,0x80,0x7f, 0x00,0x40,0xbd,0xe8,0xbc,0xcb,
0xdc,0xbd,0xbb,0xdb,0xce,0xcc,0xdc,0xce,0xbb,0xcb, 0xbd,0xe8,0xed,0xee,0xee,0xee,
0xee,0xee,0xee,0xee,0xee,0xee,0xee,0xde,0xce,0xb6, 0xaa,0xba,0xbb,0xbb,0xbb,0xbb,
0xbb,0xbb,0xbb,0xab,0xaa,0xaa,0x9b,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00
};

static const int ALIGN_DATA icon_l_pos[NUM_FONTS] = {
0x000000,0x000180,0x0002ca,0x0003e2,0x0004d4,0x000 600,0x0006ff
};

static const s8 ALIGN_DATA icon_l_width[NUM_FONTS] = {
32,30,28,22,30,30,28
};

static const s8 ALIGN_DATA icon_l_height[NUM_FONTS] = {
24,22,20,22,20,17,20
};

static const s8 ALIGN_DATA icon_l_skipx[NUM_FONTS] = {
1, 1, 2, 5, 2, 1, 2
};

static const s8 ALIGN_DATA icon_l_skipy[NUM_FONTS] = {
0, 1, 2, 1, 2, 4, 2
};


/*------------------------------------------------------
functions
-----------------------------------------------------*/

int icon_l_get_gryph(struct font_t *font, u16 code)
{
if (code < NUM_FONTS)
{
font->data = &icon_l[icon_l_pos[code]];
font->width = icon_l_width[code];
font->height = icon_l_height[code];
font->pitch = 32;
font->skipx = icon_l_skipx[code];
font->skipy = icon_l_skipy[code];
return 1;
}
return 0;
}


If so how do i deciepher this type of code ?

splodger15
December 31st, 2006, 15:24
Why do you need to change it

myers112
December 31st, 2006, 15:27
Well as NJ has finished any work on his emu i want to be able to get a working version that allows the hacked roms that are not working in his last release. They are supported in Mame but NJ didn't support them hence why they are not working. Well if i can get them to work then i wanted to change the main screen to

mvspsp 1.64 (hacked edition) by myers112

Based on the great NJ's source code

splodger15
December 31st, 2006, 15:35
Have you asked NJ if he wants a hacked version of his emulator

Coders hate having hacked versions of there projects

myers112
December 31st, 2006, 15:38
I can't get hold of NJ as he has taken his site down forever now that he has finished with his emu :( Its such a shame that he didn't make the hacked roms compatibal then i would be driving myself crazy trying to work this out.

myers112
December 31st, 2006, 17:30
I take it your not gonna help me any more ?

splodger15
December 31st, 2006, 17:41
Not if you are going to use another coders source code.Without the permision to change it.And then Re-release it under your Name

myers112
December 31st, 2006, 17:57
Not if you are going to use another coders source code.Without the permision to change it.And then Re-release it under your Name

Ok then sorry i'll forget about changing the name part as i can't change that bit anyway as i don't know how, but can you still help with the other part ? I want to get the roms like SvC Boot and Crouching Tiger Hiden Dragon working. I've managed to work out how to add them to the rominfo.mvs and i can compile no problem but the rom convertor desn't support them perticular roms which i have changed but as we discussed before it needs to be compiled.

splodger15
December 31st, 2006, 18:40
Maybe something in the code needs to be changed.I dont know C++ that much.Yaustar is the best person to ask he knows alot about different languages.

yaustar
December 31st, 2006, 23:16
You don't need to add anything to the romcnv source and should work as is.

The rom name that was mentioned in the PM is one that I have never heard of before ("SvC Boot and Crouching Tiger Hiden Dragon") and if it is a bootleg/hacked rom then that could cause a problem for both the conversion and emulator.