Opened 15 years ago
Closed 33 hours ago
#4562 closed defect (outdated)
SCUMM/HE: Spy Fox: Cheese Chase - can't create new levels
Reported by: | SF/truus999 | Owned by: | bluegr |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: |
Description
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 -custom -levels gane files
There is no menu item in group for this game
Ticket imported from: #2843146. Ticket imported from: bugs/4562.
Change History (11)
comment:1 by , 15 years ago
Owner: | set to |
---|---|
Priority: | normal → high |
Summary: | SPy Fox Cheese Chase can't create new levels → CHASE: can't create new levels |
comment:2 by , 15 years ago
comment:3 by , 15 years ago
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 by , 15 years ago
You could "fake" directories by cleverly naming your savestates. But I am not sure whether it would be worth the effort.
comment:6 by , 14 years ago
Priority: | high → normal |
---|
comment:7 by , 11 years ago
Here's an update for this, from pull request 366: https://github.com/scummvm/scummvm/pull/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 by , 11 years ago
Component: | --Unset-- → Engine: SCUMM |
---|
comment:9 by , 4 years ago
Summary: | CHASE: can't create new levels → SCUMM: Spy Fox: Cheese Chase - can't create new levels |
---|
comment:10 by , 3 years ago
Summary: | SCUMM: Spy Fox: Cheese Chase - can't create new levels → SCUMM/HE: Spy Fox: Cheese Chase - can't create new levels |
---|
comment:11 by , 33 hours ago
Owner: | changed from | to
---|---|
Resolution: | → outdated |
Status: | new → closed |
This works fine now, as ScummEngine_v60he::convertFilePath() is able to handle files in subfolders, by prefixing them.
Closing as outofdate
This bug is nice to get fixed before the release. Raising priority for keeping the track.