xboxscene.org forums

Pages: 1 2 [3]

Author Topic: Texteditor  (Read 584 times)

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
Texteditor
« Reply #30 on: February 08, 2004, 02:43:00 PM »

i whipped up a FileOpen dialog today.  not pretty but functional enough i think.  embarrasingly, i just spent about 4 hours trying to merge it into texteditor.xas so there would be no room for error for setting up the correct callfile path.  i gave up!

but it's there.  to use it, you will need to comment the StringInput line and uncomment the CallFile c:\mxm\scripts\fileopen.xas line.  Again, make sure you change the path to whatever is appropriate.

i tested the texteditor out opening some big xbe's and to my surprise, it didn't bomb.  it did take a long time to load them though.  i was just looking for a filesize limit there and wondering what would happen if somebody accidentally loaded an xbe into it.

i have added file-extension checking anyway though.  txt, xml, ini, nfo, and xas are the ones i added i think.  if you want more, it should be pretty easy to edit.

i will be out of town and away from free-time internet for most of the coming week, so hopefully there won't be anything too terribly wrong with the files above.
Logged

Motocrossman

  • Archived User
  • Full Member
  • *
  • Posts: 107
Texteditor
« Reply #31 on: February 11, 2004, 03:06:00 PM »

i need help i have no idea how to run this
don't flame me cuz i am a noob
Logged

thetruethugg

  • Archived User
  • Sr. Member
  • *
  • Posts: 432
Texteditor
« Reply #32 on: February 11, 2004, 03:12:00 PM »

Hmm, cool.  I'll test this out tonight.
Logged

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
Texteditor
« Reply #33 on: February 11, 2004, 08:59:00 PM »

QUOTE (Motocrossman @ Feb 11 2004, 07:06 PM)
i need help i have no idea how to run this
don't flame me cuz i am a noob

you must have a WIP release of MXM for this to run.  however, if there's demand for it or if get bored, i'll convert to a non-WIP version.
Logged

thetruethugg

  • Archived User
  • Sr. Member
  • *
  • Posts: 432
Texteditor
« Reply #34 on: February 11, 2004, 11:16:00 PM »

Well, it works pretty good.  Didn't get to test much, and I feel like an idiot for asking this, but how do you change the line you want to edit?  I hit everything, couldn't figure out how to NOT edit only the first line of the file.  Maybe it says in this post, too lazy to check, and I need to head to bed now anyway.  

Very impressive though, congrats man, really.
Logged

Motocrossman

  • Archived User
  • Full Member
  • *
  • Posts: 107
Texteditor
« Reply #35 on: February 12, 2004, 06:17:00 AM »

QUOTE
you must have a WIP release of MXM for this to run. however, if there's demand for it or if get bored, i'll convert to a non-WIP version.


if it is possible can u convert it to non-WIP version.
are the WIP version avalible in the usual places?
thanks
Logged

thetruethugg

  • Archived User
  • Sr. Member
  • *
  • Posts: 432
Texteditor
« Reply #36 on: February 12, 2004, 09:25:00 AM »

No, the WIP builds or for the WIP testers only, they may be unstable and cause something wrong to happen to your xbox (this is unlikely, but it did happen awhile ago, one of the builds caused a corrupt eeprom I believe, when switching the video that is, from NTSC to PAL and vise-versa).  But, BJ is expecting to have MXM 0.9o (or 0.9n.7) out soon.
Logged

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
Texteditor
« Reply #37 on: February 12, 2004, 03:11:00 PM »

QUOTE (thetruethugg @ Feb 12 2004, 03:16 AM)
Well, it works pretty good.  Didn't get to test much, and I feel like an idiot for asking this, but how do you change the line you want to edit?  I hit everything, couldn't figure out how to NOT edit only the first line of the file.  Maybe it says in this post, too lazy to check, and I need to head to bed now anyway.  

Very impressive though, congrats man, really.

if you got the script from the links in this thread, there should have been a 'Help' item in the menu.  you bring up the menu by pressing the White button smile.gif

but here's a brief run-down of the controls...

White - brings up menu
Black - deletes characters in the edit line
A - types the currently selected character from the keyboard
B - cycles thru the different keypads
X - moves the cursor (^) back
Y - moves the cursor (^) forward
Dpad - select a key from the keyboard or menu navigation
Rt-Trig + Dpad - scrolls text up, down, left or right

QUOTE
if it is possible can u convert it to non-WIP version.
are the WIP version avalible in the usual places?
thanks

i will definitely do that, but i prolly won't have time till after this weekend.  i will convert the fileOpen script as well.  for an idea of how you might use the fileOpen script with your scripts, see The Executioner thread...
Logged

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
Texteditor
« Reply #38 on: February 19, 2004, 07:28:00 PM »

see first post...
Logged

Motocrossman

  • Archived User
  • Full Member
  • *
  • Posts: 107
Texteditor
« Reply #39 on: February 21, 2004, 03:37:00 PM »

have u made a non-wip version?
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Texteditor
« Reply #40 on: February 21, 2004, 05:11:00 PM »

Did you even look at the first post?
Logged

Motocrossman

  • Archived User
  • Full Member
  • *
  • Posts: 107
Texteditor
« Reply #41 on: February 23, 2004, 06:02:00 AM »

so what do i do with the info on that page.
PS don't flame me cuz i am new to MXM ActionScripting
thanks
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Texteditor
« Reply #42 on: February 23, 2004, 08:17:00 AM »

You ask if there was a non WIP version. In the first post, the first line is:
ok, non-WIP versions of fileOpen.xas, virtualKB.xas, and TextEditor.xas have been posted to the following thread:
Logged
Pages: 1 2 [3]