ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu May 13, 2021 6:31 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Apr 17, 2021 11:22 pm 
User avatar

Joined: Wed Nov 18, 2020 5:54 pm
Posts: 18
I have a string that's delimited by nulls (I put spaces instead)

I want to split the string into an array by nulls. Then loop through each item in the array and log it.

Code:
./SE_PLAYER/char/GAN/jump01.gsn ./SE_PLAYER/char/GAN/jump02.gsn ./SE_PLAYER/char/GAN/itemTake.gsn ./SE_GAME/w00s00/fruit.gsn ./SE_GAME/w00s00/star.gsn

_________________
-Garo


Top
   
PostPosted: Thu Apr 22, 2021 12:14 pm 

Joined: Thu Aug 07, 2014 10:28 pm
Posts: 377
in what programming language?
you could just take a hex editor and replace 0x00 with 0x0D 0x0A
and save it as a text file.


Top
   
PostPosted: Thu Apr 29, 2021 7:55 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12188
I guess he refers to quickbms.
In that case I guess the only option is using getct:
Code:
for
    getct NAME string ' '
    putarray 0 -1 NAME
next


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited