Opened 10 years ago

Last modified 5 years ago

#4562 new defect

CHASE: can't create new levels

Reported by: SF/truus999 Owned by: Kirben
Priority: normal Component: Engine: SCUMM
Keywords: Cc:


When trying to create cyustom levels you have to type a name. After this you get an error saying There has benn an error Invalid path specified. The game will create an entry in the menu list. My game is in another directory that scummvm (you have to go up 1 step and then to another branch (hope I'm clear on this) and looks like this
Cheese chase
gane files

There is no menu item in group for this game

Ticket imported from: #2843146. Ticket imported from: bugs/4562.

Change History (8)

comment:1 Changed 10 years ago by sev-

Owner: set to Kirben
Priority: normalhigh
Summary: SPy Fox Cheese Chase can't create new levelsCHASE: can't create new levels

comment:2 Changed 10 years ago by sev-

This bug is nice to get fixed before the release. Raising priority for keeping the track.

comment:3 Changed 10 years ago by Kirben

The original version would create a separate directory for the custom levels of each users, but it isn't possible to create directories under ScummVM.

comment:4 Changed 9 years ago by fingolfin

You could "fake" directories by cleverly naming your savestates. But I am not sure whether it would be worth the effort.

comment:5 Changed 8 years ago by sev-

Lowering priority

comment:6 Changed 8 years ago by sev-

Priority: highnormal

comment:7 Changed 6 years ago by bluegr

Here's an update for this, from pull request 366:

"Also, I did hack in a solution for Cheese Chase, by adding this block inside convertFilePath(), after all the other path processing code:

if (dst[0] == '*' && Common::isDigit(dst[2]) && Common::isDigit(dst[3]) && Common::isDigit(dst[4])) { // Custom levels (Cheese Chase)
char customFile[40];
memcpy(customFile, dst + 6, len - 6);
customFile[len - 6] = 0;
snprintf((char *)dst, dstSize, "%s-%s.%c%c%c", _targetName.c_str(), customFile, dst[2], dst[3], dst[4]);

Effectively, this changes files like "*\010\chase001.obj" to "ase-us-chase001.obj.010". Not optimal, but at least the player can create custom levels this way."

comment:8 Changed 5 years ago by Strangerke

Component: --Unset--Engine: SCUMM
Note: See TracTickets for help on using tickets.