View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003028 | FSSCP | mediaVP | public | 2014-04-05 18:50 | 2014-06-08 07:57 |
Reporter | william | Assigned To | niffiwan | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | reopened | ||
Platform | All | ||||
Product Version | 3.7.1 | ||||
Target Version | 3.7.2 | ||||
Summary | 0003028: Game does not run when paths are too long | ||||
Description | The program aborts with the following message: ERROR: "ERANGE: String error. Please Report. Trying to put into 128 byte buffer: *.[vV][pP]" at cfile/cfilesystem.cpp:308 | ||||
Steps To Reproduce | cd /home/USER/wine/freespace2/drive_c/Program\ Files\ \(x86\)/GOG.com/Freespace\ 2/ ./fs2_open_3.7.1 -mod MediaVPs_2014 | ||||
Additional Information | Moving the "Freespace 2" directory under a shorter path allows the game to run. | ||||
Tags | No tags attached. | ||||
|
Thanks for the report william. For now I am going to close the report, as it's not so much a wide spread bug as the absence of a particular feature. To switch the underlying string handling in the engine to support near unlimited lengths is going to be a significant piece of work, with planning and testing. Of course, you've noticed it's hard for you to play the game with the assets in such a file location under a number of nested folders. Can I suggest rather than running with Wine on Linux, you use the native Linux FS2Open release? There are instructions on the forums and Wiki. I believe overall you will both: 1. Not need as long a path, and 2. Enjoy the experience running the engine natively much more. There was after all a lot of hard work expensed to transition from Windows-only support. Any problems setting up Linux, can I suggest you post on the support forums where a knowledgeable Linux user should be able to assist pretty soon. |
|
Given the issues with FSO running in the default Steam location, we'd better revisit this :) |
|
Proposed patch here: https://github.com/niffiwan/fs2open.github.com/commits/longer_paths Still needs a bunch of testing. Thread here: http://www.hard-light.net/forums/index.php?topic=87739.msg1751594 |
|
Fix committed to trunk@10772. |
fs2open: trunk r10772 2014-06-08 03:14 Ported: N/A Details Diff |
Raise MAX_PATH_LEN to 256 so FSO can run in long paths Specifically avoid one issue with running FSO in the default Steam dir Converted some magic 128/127 numbers to MAX_PATH_LEN Convert some Int3() into more friendly errors Stopgap measure until proper fix added with compressed VP support Fix mantis 3028 |
Affected Issues 0003028 |
|
mod - /trunk/fs2_open/code/cfile/cfilesystem.cpp | Diff File | ||
mod - /trunk/fs2_open/code/cutscene/cutscenes.cpp | Diff File | ||
mod - /trunk/fs2_open/code/fred2/management.cpp | Diff File | ||
mod - /trunk/fs2_open/code/gamesnd/eventmusic.cpp | Diff File | ||
mod - /trunk/fs2_open/code/globalincs/pstypes.h | Diff File | ||
mod - /trunk/fs2_open/code/globalincs/systemvars.cpp | Diff File | ||
mod - /trunk/fs2_open/code/mission/missionload.cpp | Diff File | ||
mod - /trunk/fs2_open/code/palman/palman.cpp | Diff File | ||
mod - /trunk/fs2_open/code/parse/parselo.cpp | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-04-05 18:50 | william | New Issue | |
2014-04-27 07:15 | Echelon9 | Note Added: 0015714 | |
2014-04-27 07:15 | Echelon9 | Status | new => closed |
2014-04-27 07:15 | Echelon9 | Resolution | open => no change required |
2014-06-07 09:31 | niffiwan | Assigned To | => niffiwan |
2014-06-07 09:31 | niffiwan | Note Added: 0015813 | |
2014-06-07 09:31 | niffiwan | Status | closed => feedback |
2014-06-07 09:31 | niffiwan | Resolution | no change required => reopened |
2014-06-07 09:33 | niffiwan | Note Added: 0015814 | |
2014-06-07 09:33 | niffiwan | Status | feedback => code review |
2014-06-07 09:33 | niffiwan | Platform | Linux => All |
2014-06-07 09:33 | niffiwan | Target Version | => 3.7.2 |
2014-06-07 10:07 | niffiwan | Summary | Game does not run with MediaVPs_2014 when paths are too long => Game does not run when paths are too long |
2014-06-08 07:57 | niffiwan | Changeset attached | => fs2open trunk r10772 |
2014-06-08 07:57 | niffiwan | Note Added: 0015816 | |
2014-06-08 07:57 | niffiwan | Status | code review => resolved |