Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Regent
 
Posts: n/a
Default Numbered List with Blank Spaces, etc.


Hi all,
I'm making a soundpack config file for an online game, and I was
wondering if someone would show me how to create it with Excel. I have
absolutely no idea what I'm doing, so detail would be helpful. :)

I have a list of 1024 sound files from a print directory program,
e.g.:

1 4psycho4.wav
2 actnow.mp3
3 alad-alright.wav
4 alad-believe.mp3

(I can make it output the file list with or without numbers.) I need to
convert this list into this format:


1 sound "sound/misc/ta/4psycho4.wav"
1 text "^1^2"

2 sound "sound/misc/ta/actnow.mp3"
2 text "^1^2"

3 sound "sound/misc/ta/alad-alright.wav"
3 text "^1^2"

4 sound "sound/misc/ta/alad-madeyalook.mp3"
4 text "^1^2"

(Every entry is the same, except for the name and extension of the
sound file.)

Then I'll need to type the text in for each file to finish it:

1 sound "sound/misc/ta/4psycho4.wav"
1 text "^1You Psycho!^2"

The final result needs to be output to a notepad document for use in
the game.




An additional project from this Excel document:

I'll need to be able to extract a list of the "text" entries in the
Excel document, to produce a text file. So sound #1 would look like
this:

@1 You Psycho!^

(@1 is the keystroke that plays the sound in the game, and players
would like a list of the sounds to print out, without the non-essential
info and blank space.)


This project would probably take me a year to type by hand, so any help
would be greatly appreciated! :)


--
Regent
------------------------------------------------------------------------
Regent's Profile: http://www.excelforum.com/member.php...o&userid=25763
View this thread: http://www.excelforum.com/showthread...hreadid=391742

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Dim i As Long
Dim iFree
Dim ipos As Long
iFree = FreeFile
Open "c:\myFile.txt" For Output As #iFree
For i = 1 To Cells(Rows.Count, "A").End(xlUp).Row
ipos = InStr(1, Cells(i, "A").Value, " ")
Print #iFree, Left(Cells(i, "A").Value, ipos - 1) & _
" sound/misc/ta/" & _
Right(Cells(i, "A").Value, Len(Cells(i, "A").Value) -
ipos)
Print #iFree, i & " ^1^2"
Next i
Close #iFree


--
HTH

Bob Phillips

"Regent" wrote in
message ...

Hi all,
I'm making a soundpack config file for an online game, and I was
wondering if someone would show me how to create it with Excel. I have
absolutely no idea what I'm doing, so detail would be helpful. :)

I have a list of 1024 sound files from a print directory program,
e.g.:

1 4psycho4.wav
2 actnow.mp3
3 alad-alright.wav
4 alad-believe.mp3

(I can make it output the file list with or without numbers.) I need to
convert this list into this format:


1 sound "sound/misc/ta/4psycho4.wav"
1 text "^1^2"

2 sound "sound/misc/ta/actnow.mp3"
2 text "^1^2"

3 sound "sound/misc/ta/alad-alright.wav"
3 text "^1^2"

4 sound "sound/misc/ta/alad-madeyalook.mp3"
4 text "^1^2"

(Every entry is the same, except for the name and extension of the
sound file.)

Then I'll need to type the text in for each file to finish it:

1 sound "sound/misc/ta/4psycho4.wav"
1 text "^1You Psycho!^2"

The final result needs to be output to a notepad document for use in
the game.




An additional project from this Excel document:

I'll need to be able to extract a list of the "text" entries in the
Excel document, to produce a text file. So sound #1 would look like
this:

@1 You Psycho!^

(@1 is the keystroke that plays the sound in the game, and players
would like a list of the sounds to print out, without the non-essential
info and blank space.)


This project would probably take me a year to type by hand, so any help
would be greatly appreciated! :)


--
Regent
------------------------------------------------------------------------
Regent's Profile:

http://www.excelforum.com/member.php...o&userid=25763
View this thread: http://www.excelforum.com/showthread...hreadid=391742



  #3   Report Post  
Regent
 
Posts: n/a
Default


OK, cool. Problem is, I don't know what to do with this info.

This could be a great help to the gaming community, as we make new
soundpacks all the time, but the work is S-L-O-W... Is there a kind
soul out there who would walk a total Excel NOOB through how to
implement this info? I need step by step instructions.:)

Best Regards,
Regent


--
Regent
------------------------------------------------------------------------
Regent's Profile: http://www.excelforum.com/member.php...o&userid=25763
View this thread: http://www.excelforum.com/showthread...hreadid=391742

  #4   Report Post  
Regent
 
Posts: n/a
Default


bumpety bump bump :)


--
Regent
------------------------------------------------------------------------
Regent's Profile: http://www.excelforum.com/member.php...o&userid=25763
View this thread: http://www.excelforum.com/showthread...hreadid=391742

  #5   Report Post  
Regent
 
Posts: n/a
Default


Regent Wrote:
bumpety bump bump :)

bumpety bump bump


--
Regent
------------------------------------------------------------------------
Regent's Profile: http://www.excelforum.com/member.php...o&userid=25763
View this thread: http://www.excelforum.com/showthread...hreadid=391742

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summarize Out of Stock List David Excel Worksheet Functions 0 July 8th 05 04:16 AM
List not omitting blank cells....?? malik641 Excel Worksheet Functions 2 July 1st 05 04:33 PM
validation and omitting blank vaues from list MGOETZ Excel Worksheet Functions 3 May 20th 05 09:24 PM
"False" filling in the blank spaces Dave O. Excel Discussion (Misc queries) 1 April 17th 05 05:25 PM
Eliminate creating list that returns blank cells Marc Todd Excel Worksheet Functions 1 January 26th 05 09:58 PM


All times are GMT +1. The time now is 11:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"