Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Crash while loading
#10
(07-21-2015, 09:12 AM)Rhino.Freak Wrote:  So this data\SNDDATA_2377.wav is actually taking up 21 characters right?
Correct.

(07-21-2015, 09:12 AM)Rhino.Freak Wrote:  Also a wild thought, can these "limitations" be simply changed and stuff via exe editing? Like 400 sounds be changed to 600 or so..
Simply? No.
Very complexly? Yes.
The way it is layed out in memory is 8000 bytes of sound information and then 4 bytes for a pointer, and then a ton of more memory for other stuff after that.
If you were to change the size of the sound name buffer to support 600 files you would have to make every assembly instruction that uses any of the memory after the sound name buffer access a different offset (because it has changed), missing just a single instruction would cause weird things to happen, and can be very hard to debug.
Also finding every instruction is not an easy task as it would essentially involve solving the halting problem.

Of course if you had the original source code it would be as simply as changing a number from 400 to 600.
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
Reply
Thanks given by:


Messages In This Thread
Crash while loading - by T.O.R.N.A.D.O - 07-20-2015, 03:23 PM
RE: Crash while loading - by Rhino.Freak - 07-20-2015, 03:39 PM
RE: Crash while loading - by STM1993 - 07-20-2015, 04:43 PM
RE: Crash while loading - by Rhino.Freak - 07-20-2015, 05:03 PM
RE: Crash while loading - by T.O.R.N.A.D.O - 07-20-2015, 05:07 PM
RE: Crash while loading - by A-Man - 07-20-2015, 05:16 PM
RE: Crash while loading - by Rhino.Freak - 07-20-2015, 05:19 PM
RE: Crash while loading - by Som1Lse - 07-21-2015, 06:28 AM
RE: Crash while loading - by A-Man - 07-22-2015, 11:58 AM
RE: Crash while loading - by Rhino.Freak - 07-21-2015, 09:12 AM
RE: Crash while loading - by Som1Lse - 07-21-2015, 10:20 AM
RE: Crash while loading - by T.O.R.N.A.D.O - 07-21-2015, 02:24 PM
RE: Crash while loading - by Rhino.Freak - 08-02-2015, 12:47 PM



Users browsing this thread: 1 Guest(s)